/*
 * Copyright inpleworks, Co.
*/

.xet-rest-content .item {
	color: #7b7b7b;
}
.xet-rest-content .item .caption a {
	color: #3b3b3b;
}
.xet-rest-content .thumbnail a>i {
	font-size: 20px;
}

/* List
---------------------------------*/
.xet-rest-list .flex-table .flex-table-tr {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid rgba(197,210,224,.7);
	color: #5b5b5b;
}
.xet-rest-list .flex-table .flex-table-tr a {
	font-weight: 500;
	color: #3b3b3b;
}
.xet-rest-list .flex-table .flex-table-td .category {
	color: #5b5b5b;
}
.xet-rest-list .flex-table .flex-table-td span {
	font-size: 12px;
	margin-right: 5px;
	color: #5b5b5b; 
}


/* Webzine
---------------------------------*/
.xet-rest-webzine { 
	position: relative;
}
.xet-rest-webzine .item .thumbnail {
	position: relative;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-webzine .item .thumbnail img {
	vertical-align: top;
    width: 100%;
    transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-webzine .item .thumbnail a {
	z-index: 1;
	position: absolute;	
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-webzine .item .thumbnail a>i {
	display: none;
}
.xet-rest-webzine .item .caption p span,
.xet-rest-webzine .item .caption p span a { 
	display: inline-block;
	margin-right: 6px;
}

/* QA
---------------------------------*/
.xet-rest-qa { 
	position: relative;
	color: #555;
}
.xet-rest-qa .item .caption {
	position: relative;
}
.xet-rest-qa .item .caption:after {
	content:"";
	display: block;
	position: absolute;
	bottom: -17px;
	left: 25px;
	width: 21px;
	height: 18px;
	background: url(../img/comment-arrow.png) no-repeat;
}
.xet-rest-qa .item .caption h6 {
	font-weight: bold;
}
.xet-rest-qa .nick-name .nick-name {
	line-height: 50px;
}
.xet-rest-qa .nick-name .nick-name-icon {
	display: inline-block;
	margin-right: 15px;
	width: 50px;
	height: 50px;
	line-height: 50px;
	font-size: 24px;
	text-align: center;
	background: #ccc;
	color: #fff;
}

/* Gallery
-------------------------------------- */ 
.xet-rest-gallery .item {
	background-color: #2b2b2b;
}
.xet-rest-gallery .item .vertical-align {
	background: linear-gradient(to top,rgba(0,0,0,0.5) 0,rgba(0,0,0,0) 33%);
}
.xet-rest-gallery .item .link-wrp {
	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-gallery .item .link-wrp a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;	
}
.xet-rest-gallery .item .link-wrp a>i {
	display: none;
}
.xet-rest-gallery .item .caption {
	color: #fff;
}
.xet-rest-gallery .item .caption span {
	margin: 0 3px;
}


/* Masonry gallery
-------------------------------------- */ 
/* category filter */  
.xet-rest-masonry-filter { 
	text-align: center;
    margin-bottom: 20px; 
}
.xet-rest-masonry-filter button {
	display: inline-block; 
	cursor: pointer;
	margin: 0 0 10px;
    padding: 8px 30px;
    font-size: 14px;	
	text-decoration:none;
	background: none;
	color: #333;
	border: 0;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-masonry-filter button.current { 
    color: #58c4a7;
}

/* thumbnail */
.xet-rest-masonry .item {
	color: #fff;
}
.xet-rest-masonry .thumbnail figure {
	position: relative;
	overflow: hidden;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;	
}
.xet-rest-masonry .thumbnail figure img {
	display: block;
	vertical-align: top;
    width: 100%;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-masonry .thumbnail figcaption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	color: #fff;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-masonry .thumbnail figcaption .vertical-align {
	background: linear-gradient(to top,rgba(0,0,0,0.5) 0,rgba(0,0,0,0) 33%);
}
.xet-rest-masonry .thumbnail figcaption span {
	margin: 0 3px;
}
.xet-rest-masonry .thumbnail a {
	z-index: 1;
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;	
}
.xet-rest-masonry .thumbnail a>i {
	display: none;
}
/* init Isotope */
.visible_item{
	display:none;
}


/* Blog
-------------------------------------- */ 
.xet-rest-blog .thumbnail {
	position: relative;
	overflow: hidden;
	background: #000;
}
.xet-rest-blog .thumbnail img {
	width: 100%;
	vertical-align: top;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-blog .thumbnail a {
	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;	
}
.xet-rest-blog .thumbnail a>i {
	display: none;
}
.xet-rest-blog .item .caption span {
	margin: 0 3px;
}

/* scroll 
-------------------------------------- */ 
.xet-rest-scroll .item .thumbnail {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	color: #ababab;
	background-color: #2b2b2b;
}
.xet-rest-scroll .item .thumbnail .vertical-align {
	background: linear-gradient(to top,rgba(0,0,0,0.5) 0,rgba(0,0,0,0) 33%);
}
.xet-rest-scroll .item .thumbnail span {
	margin: 0 3px;
}
.xet-rest-scroll .item .thumbnail .caption {
	color: #fff !important;
}
.xet-rest-scroll .item .thumbnail a {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-scroll .item .thumbnail a>i {
	display: none;
}
.xet-rest-scroll .owl-nav {
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}

/* Scroll Tab
-------------------------------------- */ 
.xet-rest-tab .item {
	position: relative;
}
.xet-rest-tab .item .thumbnail {
	color: #ababab;
	background-color: #2b2b2b;
}
.xet-rest-tab .item .thumbnail .vertical-align {
	background: linear-gradient(to top,rgba(0,0,0,0.5) 0,rgba(0,0,0,0) 33%);
}
.xet-rest-tab .item .thumbnail span {
	margin: 0 3px;
}
.xet-rest-tab .item .thumbnail a {
	z-index: 1;
	position: absolute;	
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-tab .item .thumbnail a>i {
	display: none;
}
.xet-rest-tab .item .caption {
	color: #fff;
}


/* responsive */
@media (max-width: 767px) {	
	.xet-rest-masonry-filter button { 
		margin: 0 0 10px;
		padding: 5px 15px;
		font-size: 13px;
	}
	.xet-rest-container .item {
		text-align: center;
	}
	
	/* List - Table */
	.xet-rest-list .flex-table {
		border-top: 1px solid rgba(197,210,224,.7);
	}
	.xet-rest-list .flex-table .flex-table-tr {
		padding: 0 0 10px;
	}
	.xet-rest-list .flex-table .flex-table-td {
		position: relative;
		padding: 0;
		margin-bottom: 0;
		margin-top: 10px;
	}
}

@media (min-width: 992px) {	

	/* Webzine
---------------------------------*/
	.xet-rest-webzine .item .thumbnail a {
		opacity: 0;
		background-color: rgba(0,0,0,.3);
	}
	.xet-rest-webzine .item .thumbnail a>i {
		display: block;
	}
	.xet-rest-webzine .item:hover .thumbnail a {
		opacity: 1;
	}

	/* gallery
-------------------------------------- */ 
	.xet-rest-gallery .item .link-wrp {
		opacity: 0;
		background-color: rgba(0,0,0,.3);
	}
	.xet-rest-gallery .item .link-wrp a>i {
		display: block;
	}
	.xet-rest-gallery .item:hover .link-wrp {
		opacity: 1;	
	}

	/* Masonry gallery
-------------------------------------- */ 
	.xet-rest-masonry .thumbnail a {
		opacity: 0;
	}
	.xet-rest-masonry .thumbnail a>i {
		display: block;
	}
	.xet-rest-masonry .item:hover .thumbnail a {
		opacity: 1;
	}
	.xet-rest-masonry .item:hover .thumbnail figure img {
		-moz-transform: scale(1.1); 
		-webkit-transform: scale(1.1); 
		transform: scale(1.1);
	}
	.xet-rest-masonry .item:hover .thumbnail figcaption {
		background-color: rgba(0,0,0,.3);
	}

	/* Blog
-------------------------------------- */ 
	.xet-rest-blog .thumbnail a {
		opacity: 0;	
		background-color: rgba(0,0,0,.3);
	}
	.xet-rest-blog .thumbnail a>i {
		display: block;
	}
	.xet-rest-blog .item:hover .thumbnail a {
		opacity: 1;
	}
	.xet-rest-blog .item:hover .thumbnail img {
		-moz-transform: scale(1.1); 
		-webkit-transform: scale(1.1); 
		transform: scale(1.1);
	}
	
	/* Scroll
-------------------------------------- */ 
	.xet-rest-scroll .item .thumbnail a {
		opacity: 0;
		background-color: rgba(0,0,0,.3);
	}
	.xet-rest-scroll .item .thumbnail a>i {
		display: block;
	}
	.xet-rest-scroll .item:hover .thumbnail a {
		opacity: 1;
	}
	.xet-rest-scroll:hover .owl-nav {
		opacity: 1;
	} 

	/* Scroll Tab
-------------------------------------- */ 
	.xet-rest-tab .item .thumbnail a {
		opacity: 0;
		background-color: rgba(0,0,0,.3);
	}
	.xet-rest-tab .item .thumbnail a>i {
		display: block;
	}
	.xet-rest-tab .item:hover .thumbnail a {
		opacity: 1;
	}
	
	
	/* List
-------------------------------------- */ 	
	.xet-rest-list .flex-table .flex-table-td a:hover { 
		text-decoration: underline;
	}
}

