/*
|--------------------------------------------------------------------------
| 4.0-featured-boxes.css
|--------------------------------------------------------------------------
|
| Featured boxes styles
|
*/

/* Featured square thumb
-------------------------------------------------- */
.featured-boxes-wrap {
	margin-bottom: 30px;
}

.featuredboxes-itme {
	position: relative;
	margin-bottom: 30px;
}

.featuredboxes-itme:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.16);
}

.featuredboxes-itme.without-img {
	background-color: #A0A0A0;
}

.featuredboxes-itme img {
	width: 100%;
}

.featuredboxes-itme h3,
.featuredboxes-itme p,
.featuredboxes-itme p:after,
.featuredboxes-itme .featuredboxes-line {
	position: absolute;
	left: 40px;
	margin-bottom: 0;
}

.featuredboxes-itme h3 {
	bottom: 40px;
	font-size: 28px;
	font-weight: 300;
	text-transform: capitalize;
	color: #fff;
	-webkit-transition: all .6s ease;
	transition: all .6s ease;
}

.featuredboxes-itme.with-text:hover h3 {
	bottom: 90px;
}

.featuredboxes-itme p {
	bottom: 43px;
	font-size: 12px;
	font-weight: 300;
	color: #fff;
	opacity: 0;
	-webkit-transition: all .6s ease-in-out;
	transition: all .6s ease-in-out;
}

.featuredboxes-itme:hover p {
	opacity: 1;
}

.featuredboxes-itme p:after {
	bottom: 3px;
	right: -13px;
	left: auto;
	font-family: FontAwesome;
	content: "\f054";
	color: #D4BA7A;
	font-size: 8px;
	text-align: center;
}

.template2 .featuredboxes-itme p:after {
	color: #0CB4CE;
}

.featuredboxes-itme .featuredboxes-line {
	bottom: 75px;
	width: 0;
	border-bottom: 3px solid;
	-webkit-transition: all .4s ease-out;
	transition: all .4s ease-out;
	-webkit-transition-delay: 0.15s; /* Safari */
	transition-delay: 0.15s;
}

.template2 .featuredboxes-itme .featuredboxes-line {
	border-bottom-color: #0CB4CE;
}

.featuredboxes-itme:hover .featuredboxes-line {
	width: 65%;
}


/* Featured posts
-------------------------------------------------- */
.featured-posts-item {
	position: relative;
	margin-bottom: 60px;
}

.featured-posts a {
	color: #313131;
}

.featured-posts-thumb {
	position: relative;
}

.featured-posts-thumb a {
	position: relative;
	display: block;
}

.featured-posts-thumb a:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(12, 180, 206, 0.73);
	opacity: 0;
	transition: .3s all ease-in-out;
}

.template1 .featured-posts-thumb a:after {
	background-color: rgba(203, 170, 92, 0.73);
}

.featured-posts-item:hover .featured-posts-thumb a:after {
	opacity: 1;
}

.featured-posts-item:hover .featured-posts-thumb a .h-line,
.featured-posts-item:hover .featured-posts-thumb a .v-line {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: #fff;
	z-index: 2;
	transition: 0.4s all ease-in-out;
	-webkit-transition-delay: 0.1s; /* Safari */
	transition-delay: 0.1s;
}

.featured-posts-item:hover .featured-posts-thumb a .h-line {
	width: 98px;
	height: 1px;
	-webkit-transform: translate(-50%,0);
	transform: translate(-50%,0);
}

.featured-posts-item:hover .featured-posts-thumb a .v-line {
	width: 1px;
	height: 98px;
	-webkit-transform: translate(0,-50%);
	transform: translate(0,-50%);
}

.featured-posts-header {
	position: relative;
}

.featured-posts-header h2 {
	font-size: 17px;
	margin: 23px 35px 13px 0;
}

.featured-posts-header h2 a {
	font-weight: 600;
	letter-spacing: -0.7px;
	transition: .3s all ease-in-out;
}

.featured-posts-item:hover h2 a {
	color: #0CB4CE;
}

.template1 .featured-posts-item:hover h2 a {
	color: #CBAA5C;
}

.featured-posts-header .zilla-likes {
	position: absolute;
	top: 0;
	right: 0;
	background-color: transparent;
	padding: 0;
	line-height: 22px;
	color: #B4BAB9;
	font-size: 15px;
	font-weight: 400;
}

.featured-posts-header .zilla-likes:hover,
.featured-posts-header .zilla-likes.active {
	color: #444;
	background-color: transparent;
	padding-right: 0;
	transition: .3s all ease-in-out;
}

.featured-posts-header .zilla-likes.active {
	color: #EE4F5B;
}

.featured-posts-header .zilla-likes:before {
	display: none;
}

.featured-posts-header .zilla-likes:after {
	font-family: 'FontAwesome';
	content: "\f004";
	font-size: 16px;
	font-weight: 600;
}

.featured-posts-content {
	text-transform: capitalize;
}

.featured-posts-content span {
	font-size: 15px;
	letter-spacing: -0.3px;
}

.featured-posts-content .cat {
	display: block;
	margin-top: 20px;
}

.featured-posts-content .cat a {
	font-size: 13px;
	background-color: #D4D5D6;
	padding: 3px 7px;
	border-radius: 2px;
	transition: .3s all ease-in-out;
}

.featured-posts-content .cat a:hover {
	color: #fff;
	background-color: #444;
}