/* -----------------------------------------
	04. Modules
----------------------------------------- */

/* Front Page Slider */
#home-slider {
	position: relative;
	top: -160px;
	margin-bottom: -160px;
	background: none;

	.slides {
		li {
			position: relative;
			height: 850px;
			background-position: center top;
		}
	}

	&.flexslider .slides > li:first-child {
		display: block;
	}

	&.flexslider.loading .slides > li:first-child {
		opacity: 1 !important;
	}

	.flex-control-nav {
		bottom: 10px;
		z-index: 10;
	}

	.flex-control-nav li {
		margin: 0 3px;
	}

	.flex-control-paging li a {
		background: #FFF;
		opacity: 0.6;
		border: none;
		border-radius: 100%;
		box-shadow: none;
	}

	.flex-control-paging li a.flex-active,
	.flex-control-paging li a:hover {
		opacity: 1;
	}
}

.slide-content {
	width: 100%;
	text-align: center;
	color: #FFF;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
}

.slide-title {
	font-size: 48px;
	font-weight: 300;
	letter-spacing: 3px;
	text-transform: uppercase;
	line-height: 1;
	margin: 0 0 8px;
}

.slide-subtitle {
	font-size: 11px;
	letter-spacing: 3px;
	margin: 0 0 20px;
}

.section-title {
	text-align: center;
	font-size: 24px;
	font-weight: 400;
	position: relative;
	text-transform: uppercase;
	margin: 0 0 50px;
	line-height: 1;
	letter-spacing: 0.18em;

	&:after {
		content: "";
		width: 30px;
		position: absolute;
		bottom: -15px;
		left: 50%;
		margin-left: -15px;
		height: 2px;
		background-color: #fff;
	}
}

.slide-video-wrap {
	width: 750px;
	max-width: 100%;
	margin: 0 auto;
	padding-top: 210px;
	position: relative;

	iframe {
		box-shadow: 0 0 40px rgba(#000, 0.5);
	}
}

/* Item Styling */

.item-list {
	div[class*="col-lg-3"] {
		.item-title-main {
			font-size: 14px;
			letter-spacing: 2px;
		}
	}
}

.item {
	position: relative;
	margin: 0 0 50px;
	padding: 10px;
}

.item-media {
	margin: 0 0 30px;

	.entry-title {
		margin: 0 0 10px;
	}
}

.item-media-thumb {
	padding: 7px;
	margin: 0 0 15px;
}

.item-price {
	position: absolute;
	right: 0;
}

.item-thumb {
	position: relative;

	&:after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 140px;
		background-image: -webkit-linear-gradient(-90deg, rgba(black, 0.7), transparent);
		background-image: linear-gradient(to top, rgba(black, 0.7), transparent);
	}
}

a.zoom {
	position: relative;
	display: block;

	&:after {
		font-family: FontAwesome;
		content: "\f00e";
		font-size: 33px;
		position: absolute;
		line-height: 1;
		top: 50%;
		left: 50%;
		margin: -17px 0 0 -17px;
		color: #FFF;
		opacity: 0.3;
		transition: opacity 0.18s ease;
		background: none;
	}

	&:hover {
		&:after {
			opacity: 1;
		}
	}
}

.item-info {
	position: absolute;
	bottom: -20px;
	left: 50%;
	width: 100%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
	color: #FFF;
	text-align: center;
	z-index: 1;
	
	p:last-child {
		margin-bottom: 0;
	}
}

.item-title-intro {
	font-size: 24px;
	text-transform: uppercase;
	font-weight: 900;
	line-height: 1;
}

.item-title-main {
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 15px;

	+ .item-byline {
		margin-top: -15px;
	}
}

.item-byline {
	@include secondary-font-style();
	font-weight: normal;
}

.item-btn {
	background: #242424;
}

.item-fullwidth {
	.item-thumb {
		max-height: 240px;
		overflow: hidden;
	}
}

.item-meta {
	width: 100%;
	border-top: 1px solid $border-color;

	th, td {
		@include secondary-font-style();
		text-align: left;
		padding: 13px 15px;
		border-bottom: 1px solid $border-color;
		border-left: 1px solid $border-color;
		width: 50%;
	}

	td {
		font-weight: 400;
		border-right: 1px solid $border-color;
	}

	td.action {
		padding: 3px;
	}

	.btn {
		@include secondary-font-style();
		font-weight: normal;
		width: 100%;
	}
}


/* Entry Styles */
.entry {
	margin: 0 0 60px;

	&:only-of-type {
		margin: 0;
	}
}

.entry-thumb {
	position: relative;
	display: inline-block;
	margin: 0 0 20px;
	max-width: 100%;
	padding: 10px;
	border: 1px solid $border-color;

	a {
		display: block;
		line-height: 0;
	}

	.alignnone,
	.alignleft,
	.aligncenter,
	.alignright {
		margin: 0;
	}
}

.entry-title {
	font-weight: bold;
	margin: 0 0 5px;
	position: relative;
	font-size: 24px;

	a {
		color: #FFF;

		&:hover {
			color: $primary-color;
		}
	}
}

.entry-meta {
	color: #3F3F3F;
	text-transform: uppercase;
	font-size: 12px;
	margin: 0 0 15px;
}

.entry-time {
	color: #FFF;
}

.entry-content {
	@include clearfix();
	margin-bottom: 0;

	h1, h2, h3, h4, h5, h6 {
		font-weight: bold;
	}

	h1 {
		font-size: 28px;
	}

	h2 {
		font-size: 26px;
	}

	h3 {
		font-size: 23px;
	}

	h4 {
		font-size: 20px;
	}

	h5 {
		font-size: 18px;
	}
}

/* Pagination */
#paging, .page-numbers li {
	> span, a {
		display: inline-block;
		color: #FFF;
		background-color: #1D1D1D;
		margin: 0 10px 5px 0;
		padding: 7px 14px;
		font-weight: bold;
		font-size: 14px;
		text-transform: uppercase;
	}

	.current,
	a:hover {
		background-color: $primary-color;
	}
}

.tip-content {
	color: #333;
}

/* Video Single */
.video-wrap {
	margin: 0 0 50px;
}

/* Gallery Staple */
.tp-grid {
	list-style: none;
	padding: 0;
	z-index: 1;

	li {
		border: none;
		width: 255px;
	}

	.item-info, a.zoom:after {
		opacity: 0;
		transition: opacity 0.18s ease;
	}

	&.tp-open {
		.item-info {
			opacity: 1;
		}

		a.zoom {
			&:after {
				opacity: 0.3;
			}

			&:hover:after {
				opacity: 0.8;
			}
		}
	}
}

.tp-title {
	background: none;
	top: auto;
	bottom: -4px;
	text-align: center;
	box-shadow: none;
	font-weight: normal;
	left: auto;
	width: 100%;
	color: #FFF;
	padding: 0;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 15px;

	span:nth-child(2) {
		background: none;
		box-shadow: none;
		color: #fff;
		opacity: 0.8;
		display: none;
	}
}

.stapel-head {
	position: relative;
}

.tp-close {
	display: none;
	position: absolute;
	right: 0;
	top: -13px;
	font-size: 34px;
}

/* Isotope Filtering */
.filters-nav {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	text-align: center;

	li {
		display: inline-block;
		margin-right: 10px;
	}

	.btn {
		background-color: #1d1d1d;

		&:hover {
			background-color: $primary-color;
		}
	}
}