ul.recent-posts,
ul.recent-posts li {
	position: relative;
    padding: 0;
}

ul.recent-posts {
    line-height: 24px;
	overflow: hidden;
}

.recent-posts .recent-posts__title {
    color: #262626;
}

.recent-posts .recent-posts__title:hover {
	color: #f9c809;
}

.recent-posts .recent-posts__media {
	position: relative;
}

.recent-posts .cat-links {
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 1;
	margin: 0;
	padding: 1px 26px 0;
	text-align: center;
	overflow: hidden;
	background-color: #f9c809;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.recent-posts.layout-2 .recent-posts__title-inner,
.recent-posts.layout-3 .recent-posts__title-inner {
	font-family: 'Raleway', sans-serif;
	font-size: 22px;
	font-size: 2.2rem;
	font-weight: 400;
	line-height: 30px;
}

.recent-posts .post-info {
	margin-top: 12px;
	margin-bottom: 0;
}

.recent-posts__excerpt {
	color: #929292;
	line-height: 30px;
}

.recent-posts .more-link {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
}


/* Layout 1 */

.recent-posts.layout-1 .recent-posts__inner {
	position: relative;
	min-height: 100px;
	padding: 10px 0;
}

.recent-posts.layout-1 li + li {
    margin-top: 20px;
}

.recent-posts.layout-1 .recent-posts__media {
    width: 120px;
    height: 80px;
    float: left;
    margin-right: 20px;
}

.recent-posts.layout-1 .recent-posts__media .post-thumbnail {
	width: 120px;
	height: 80px;
}

.recent-posts.layout-1 .recent-posts__content {
	position: relative;
	height: 80px;
    margin-left: 120px;
}

.recent-posts.layout-1 .recent-posts__title {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
    
    display: block;
    position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);

    max-height: 60px;
    overflow: hidden;
    line-height: 20px;    
    padding: 0 30px 0 20px;
}

.recent-posts.layout-1 .recent-posts__date {
    margin-top: 9px;
}

.recent-posts.layout-1 .recent-posts__arrow {
	background-color: #f9c809;

	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 25px;
	height: 25px;
	text-align: center;
}

.recent-posts.layout-1 .recent-posts__arrow i:before {
    color: #262626;
    font-size: 10px;
    position: relative;
    top: -1px;
}

.recent-posts.layout-1 .recent-posts__arrow:hover {
    background-color: #262626;
}

.recent-posts.layout-1 .recent-posts__arrow:hover i:before {
    color: #fff;
}



/* Layout 1 ( Featured ) */

.recent-posts__featured .widget-title {
	color: #262626;
	background-color: #f9c809;

	font-family: Raleway, sans-serif;
	font-size: 24px;
	font-size: 2.4rem;
	font-weight: 400;
	text-transform: none;

	margin: 0;
	padding: 0 30px;
	line-height: 70px;
	text-align: left;
}

.recent-posts__featured .recent-posts {
	background-color: #f5f5f5;
	padding: 40px 30px;
}

.recent-posts__featured .recent-posts .recent-posts__arrow i:before {
	left: 1px;
}



/* Layout 2 */

.recent-posts.layout-2 li {
    float: left;
    width: 370px;
}

.recent-posts.layout-2 li + li {
	margin-left: 30px;
}

.recent-posts.layout-2 li:last-child {
	margin-bottom: 0 !important;
}

.recent-posts.layout-2 .recent-posts__inner {
	position: relative;
	border: 5px solid #f9c809;
}

.recent-posts.layout-2 .recent-posts__media {
	margin: -5px -5px 0;
}

.recent-posts.layout-2 .recent-posts__media a.post-thumbnail {
	display: block;
	width: 100%;
	height: 247px;
}

.recent-posts.layout-2 .recent-posts__content {
    padding: 0 40px 52px;
    height: 315px;
    overflow: hidden;
    position: relative;
    margin-top: -60px;
    z-index: 1;
}

.recent-posts.layout-2 .recent-posts__title {
    display: block;
    position: relative;
    height: 60px;
    overflow: hidden;
    margin-top: 18px;
}

.recent-posts.layout-2 .recent-posts__title-inner {
	position: absolute;
	left: 0;
	top: 50%;

	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.recent-posts.layout-2 .recent-posts__excerpt {
	margin-top: 3px;
}

.recent-posts.layout-2 .more-link {
    left: -5px;
    bottom: -5px;
}



/* Layout 3 */

.recent-posts.layout-3 li + li {
	margin-top: 30px;
}

.recent-posts.layout-3 .recent-posts__media-inner {
	position: relative;
	overflow: hidden;
}

.recent-posts.layout-3 .recent-posts__content {
	text-align: center;
}

.recent-posts.layout-3 .post-info {
	margin-top: 10px;
}

.recent-posts.layout-3 .more-link {
    left: auto;
    right: 0;
}

.recent-posts.layout-3 .recent-posts__title {
	display: block;
	margin-top: 8px;
}

.recent-posts.layout-3 .recent-posts__title-inner {
	text-transform: uppercase;
}

.recent-posts.layout-3 .recent-posts__excerpt {
	margin-top: 14px;
}


/* Media Queries */

@media screen and (min-width: 15em) {
	
	.recent-posts.layout-2 li {
		width: 100%;
		margin-bottom: 30px;
	}

	.recent-posts.layout-2 li + li {
		margin-left: 0;
	}

	.recent-posts.layout-2 .recent-posts__media a.post-thumbnail {
		height: 300px;
	}

	.recent-posts.layout-2 .recent-posts__content {
		padding: 0 15px 20px;
	}

	.recent-posts.layout-3 .recent-posts__content {
		padding: 15px 15px 60px;
	}

}

@media screen and (min-width: 450px) {

	.recent-posts.layout-2 .recent-posts__media a.post-thumbnail {
		height: 400px;
	}

}

@media screen and (min-width: 620px) {

	.recent-posts.layout-2 .recent-posts__media a.post-thumbnail {
		height: 500px;
	}	

	.recent-posts.layout-2 .recent-posts__content {
		padding: 0 40px 52px;
	}

	.recent-posts.layout-3 .recent-posts__content {
		padding: 15px 40px 52px;
	}

}

@media screen and (min-width: 768px) {
	
	.recent-posts.layout-2.posts-amount-2 li {
		width: 48%;
		margin-bottom: 0;
	}

	.recent-posts.layout-2.posts-amount-3 li {
		width: 30.65%;
		margin-bottom: 0;
	}

	.recent-posts.layout-2 li + li {
		margin-left: 30px;
	}

	.recent-posts.layout-2 .recent-posts__media a.post-thumbnail {
		height: 350px;
	}

	.recent-posts.layout-2 .recent-posts__excerpt {
		height: 90px;
		overflow: hidden;
	}

}

@media screen and (min-width: 992px) {

	.recent-posts.layout-2.posts-amount-2 li {
		width: 47.64%;
		margin-bottom: 0;
	}

	.recent-posts.layout-2.posts-amount-3 li {
		width: 31.265%;
		margin-bottom: 0;
	}


	.recent-posts.layout-3 .recent-posts__inner {
		position: relative;
		height: 280px;
	}

	.recent-posts.layout-3 .recent-posts__media {
		position: absolute;
		left: 0;
		top: 0;
		width: 370px;
		height: 240px;
		margin-top: 20px;
	}

	.recent-posts.layout-3 .recent-posts__media a.post-thumbnail {
		display: block;
		width: 370px;
		height: 240px;
	}

	.recent-posts.layout-3 .recent-posts__content {
		margin-left: 370px;
		height: 280px;
		overflow: hidden;
		padding: 44px 39px 55px;
		text-align: left;
	}


	.recent-posts.layout-3 .recent-posts__title {
		line-height: 30px;
		height: 30px;
		overflow: hidden;
	}

	.recent-posts.layout-3 .recent-posts__excerpt {
		line-height: 30px;
		height: 90px;
		overflow: hidden;
	}

}

@media screen and (min-width: 1200px) {
	
	.recent-posts.layout-2 li {
		width: 370px !important;
	}

	.recent-posts.layout-2 .recent-posts__media a.post-thumbnail {
		height: 350px;
	}

}


/* Browsers adjustments */

/* IE10+ */

@media screen and (min-width: 992px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {

	.recent-posts.layout-2.posts-amount-2 li {
		width: 47.6% !important;
		/*width: 47.64%;*/
	}
}

/* Edge */

@supports (-ms-ime-align:auto) {

	@media screen and (min-width: 992px) {

		.recent-posts.layout-2.posts-amount-2 li {
			width: 47.6% !important;
		}
	}
}


/* rtl */

body.rtl .recent-posts .cat-links {
	right: 50%;
	left: auto;
}

body.rtl .recent-posts .more-link {
	right: 0;
	left: auto;
}

/* Layout 1 */

body.rtl .recent-posts.layout-1 .recent-posts__media {
	float: right;
	margin-left: 20px;
	margin-right: auto;
}

body.rtl .recent-posts.layout-1 .recent-posts__content {
	margin-right: 120px;
	margin-left: auto;
}

body.rtl .recent-posts.layout-1 .recent-posts__title {
	padding: 0 20px 0 30px;
}

body.rtl .recent-posts.layout-1 .recent-posts__arrow {
	left: 0;
	right: auto;
}

/* Layout 1 ( Featured ) */

body.rtl .recent-posts__featured .widget-title {
	text-align: right;
}

/* Layout 2 */

body.rtl .recent-posts.layout-2 li {
	float: right;
}

body.rtl .recent-posts.layout-2 li + li {
	margin-right: 30px;
	margin-left: auto;
}

body.rtl .recent-posts.layout-2 .recent-posts__title-inner {
	right: 0;
	left: auto;
}

body.rtl .recent-posts.layout-2 .more-link {
	right: -5px;
	left: auto;
}

/* Layout 3 */

body.rtl .recent-posts.layout-3 .more-link {
	right: auto;
	left: 0;
}


/* Made by the RTL-er.com - http://www.rtl-er.com */

@media screen and (min-width: 15em) {

	body.rtl .recent-posts.layout-2 li + li {
		margin-right: 0;
		margin-left: auto;
	}

}

@media screen and (min-width: 768px) {

    body.rtl .recent-posts.layout-2 li + li {
        margin-right: 30px;
        margin-left: auto;
    }

}

@media screen and (min-width: 992px) {

    body.rtl .recent-posts.layout-3 .recent-posts__media {
        left: auto;
        right: 0;
    }

    body.rtl .recent-posts.layout-3 .recent-posts__content {
        margin-left: 0;
        margin-right: 370px;
        text-align: right;
    }

}

@media screen and (min-width: 1200px) {

    body.rtl .recent-posts.layout-2 li {
        width: 365px !important;
    }
}