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: #3c3c3c;
}

.recent-posts .recent-posts__title:hover {
	color: #0eb2e7;
}

.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: #0eb2e7;
	-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 {
	color: #0eb2e7;
	font-family: 'Quicksand', sans-serif;
	font-size: 19px;
	font-size: 1.9rem;
	font-weight: bold;
	line-height: 1.2em;
}

.recent-posts.layout-2 a .recent-posts__title-inner,
.recent-posts.layout-3 a .recent-posts__title-inner {
	-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 a:hover .recent-posts__title-inner,
.recent-posts.layout-3 a:hover .recent-posts__title-inner {
	color: #ff9000;
}

.recent-posts .post-info {
	margin-top: 12px;
	margin-bottom: 0;
}

.recent-posts__excerpt {
	color: #787878;
	line-height: 30px;
}

.recent-posts .more-link {
	color: #3c3c3c;
	font-weight: 400;
	
    position: absolute;
	left: 50%;
	bottom: 25px;
	z-index: 1;

	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);

	width: 90%;
	max-width: 250px;
	border-top: 1px solid #dcdcdc;
	padding-top: 24px;
	text-align: center;
}

.recent-posts .more-link:hover {
	color: #0eb2e7;
}


/* Layout 1 */

.recent-posts.layout-1 .recent-posts__inner {
	position: relative;
	min-height: 85px;
	padding: 0;
}

.recent-posts.layout-1 li + li {
    margin-top: 20px;
}

.recent-posts.layout-1 .recent-posts__media {
    width: 85px;
    height: 85px;
    float: left;
    margin-right: 15px;
}

.recent-posts.layout-1 .recent-posts__media .post-thumbnail {
	width: 85px;
	height: 85px;
}

.recent-posts.layout-1 .recent-posts__content {
	position: relative;
	height: 85px;
    margin-left: 85px;
	padding-top: 7px;
}

.recent-posts.layout-1 .recent-posts__title {
	font-family: 'Quicksand', sans-serif;
	font-size: 15px;
	font-size: 1.5rem;
	font-weight: bold;
    
    display: block;
	position: relative;

	height: 2.6em;
	overflow: hidden;
	line-height: 1.2em;

	padding-right: 15px;
}

.recent-posts.layout-1 .recent-posts__title-inner {

    display: block;
    position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);

	max-height: 2.6em;
}

.recent-posts.layout-1 .recent-posts__date {
    margin-top: 9px;
}

.recent-posts.layout-1 .hentry-sub {
	margin-top: 3px;
}



/* Layout 1 ( Featured ) */

.recent-posts__featured .widget-title {
	color: #3c3c3c;
	background-color: #0eb2e7;

	font-family: Quicksand, 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;
}

.recent-posts.layout-2 .recent-posts__media {
	margin: 0;
}

.recent-posts.layout-2 .recent-posts__media a.post-thumbnail {
	display: block;
	width: 100%;
	/*height: 247px;*/
}

.recent-posts.layout-2 .recent-posts__media a.post-thumbnail,
.recent-posts.layout-2 .recent-posts__media a.post-thumbnail * {
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.recent-posts.layout-2 .recent-posts__content {
    padding: 23px 27px 15px;
    overflow: hidden;
    position: relative;
    z-index: 1;

	background-color: #f0f0f0;
	border-top: 2px solid #0eb2e7;
	text-align: center;

	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

.recent-posts.layout-2 .hentry-sub {
	text-align: center;
	margin-bottom: 0;
}

.recent-posts.layout-2 .recent-posts__title {
    display: block;
    position: relative;
    height: 2.4em;
    overflow: hidden;
	margin-bottom: -1px;
	letter-spacing: 0.02em;
}

.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%);

	width: 100%;
	text-align: center;
}

.recent-posts.layout-2 .recent-posts__excerpt {
	margin-top: 3px;
}



/* 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: 15px 15px 15px;
	}

	.recent-posts.layout-2 .recent-posts__content.with-read-more {
		padding: 15px 15px 92px;
	}

	.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: 23px 27px 15px;
	}

	.recent-posts.layout-2 .recent-posts__content.with-read-more {
		padding: 23px 27px 92px;
	}

	.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__content {
		height: 206px;
	}

	.recent-posts.layout-2 .recent-posts__content.with-read-more {
		height: 280px;
		padding-bottom: 15px;
	}

	.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.layout-1 .recent-posts__media {
	float: right;
	margin-left: 15px;
	margin-right: auto;
}

body.rtl .recent-posts.layout-1 .recent-posts__content {
	margin-right: 85px;
	margin-left: auto;
}

body.rtl .recent-posts.layout-1 .recent-posts__title {
	padding-left: 15px;
	padding-right: 0;
}

body.rtl .recent-posts__featured .widget-title {
	text-align: right;
}

body.rtl .recent-posts__featured .recent-posts .recent-posts__arrow i:before {
	right: 1px;
	left: auto;
}

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-3 .more-link {
	right: auto;
	left: 0;
}

@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;
    }

}