@charset  "utf-8";

/* ==========================================================================
 Photo Gallery Container
 ========================================================================== */
.photo_gallery {
	width: 100%;
	float: left;
	overflow: hidden;
}


/* ==========================================================================
 Photo Gallery Slideshow
 ========================================================================== */
.large_slides {
	width: 62%;
	height: 438px;
	float: left;
	position: relative;
}

.large_slides .slide {
	width: 100% !important;
	height: 438px;
	position: absolute;
	top: 0;
	left: 0;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
	display: none;
}

.large_slides .slide .details {
	width: 100%;
	padding: 5px;
	position: absolute;
	bottom: 0;
	left: 0;
	background: url(/images/body/transparent-brown.png) repeat;
	color: #FFF;
}

.large_slides .slide .details .title {
	font-size: 16px;
	line-height: 18px;
	font-weight: 700;
}


/* ==========================================================================
 Photo Gallery Thumbnails
 ========================================================================== */
.thumbnails {
	width: calc(38% - 2rem);
	padding-left: 2rem;
	min-height: 160px;
	float: left;
	overflow: hidden;
}

.thumbnails a {
	width: 24%;
	padding: .5%;
	display: block;
	float: left;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.thumbnails a.hover,.thumbnails a.active {
	border-color: #77191b;
}


/* ==========================================================================
 Photo Gallery Folder Thumbnails
 ========================================================================== */
.root_thumbnails {
	width: 100%;
	float: left;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
}

.root_thumbnails a {
	display: block;
	margin: 0 1rem 1rem 0;
	position: relative;
	text-align: center;
	float: left;
	max-width: 150px;
	width: calc(10% - 1rem);
}


/* ==========================================================================
 Media Queries
 ========================================================================== */
@media all and (max-width: 1300px) {
	.thumbnails a {
		width: 32%;
	}
}

@media all and (max-width: 1200px) {
	.root_thumbnails a {
		width: calc(14.28% - 1rem);
	}
}

@media all and (max-width: 1000px) {
	.thumbnails a {
		width: 49%;
	}
}

@media all and (max-width: 900px) {
	.root_thumbnails a {
		width: calc(20% - 1rem);
	}
}

@media all and (max-width: 800px) {
	.large_slides {
		width: 100%;
		height: 350px;
	}
	
	.large_slides .slide {
		height: 350px;
	}
	
	.thumbnails {
	    float: none;
	    width: 100%;
	    padding: 0;
	    padding-top: 1rem;
	}
	
	.thumbnails a {
		width: 24%;
	}
}

@media all and (max-width: 750px) {
	.root_thumbnails a {
		width: calc(25% - 1rem);
	}
}

@media all and (max-width: 650px) {
	.thumbnails a {
		width: 32%;
	}
}

@media all and (max-width: 575px) {
	.root_thumbnails a {
		width: calc(33% - 1rem);
	}
}

@media all and (max-width: 500px) {
	.thumbnails a {
		width: 49%;
	}
}

@media all and (max-width: 415px) {
	.root_thumbnails a {
		width: calc(50% - 1rem);
	}
}

@media all and (max-width: 325px) {
	.root_thumbnails a {
		width: calc(100% - 1rem);
	}
}