@charset "utf-8";


.photo_gallery {
	margin-bottom: 5rem;
}


/* ==========================================================================
 Photo Gallery Slideshow Slides
 ========================================================================== */
.large_slides {
	position: relative;
	width: 100%;
	height: auto;
	max-height: 420px;
	z-index: 0;
}

.large_slides .slide {
	width: 100%;
	position: relative;
	display: none;
}

.large_slides .slide .image {
	width: 100%;
	text-align: center;
}

.large_slides .slide .image img {
	width: auto;
	max-width: 100%;
	max-height: 420px;
	margin: auto;
}

.large_slides .slide .details {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 500;
	display: none;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.5);
}

.large_slides .slide .details .title {
	font-size: 1.6rem;
	line-height: 1.8rem;
	font-weight: bold;
}


/* ==========================================================================
 Photo Gallery Slideshow Thumbnails
 ========================================================================== */
.thumbnails {
	width: 75%;
	margin: auto;
	margin-top: 5px;
}

.thumbnails a {
	display: block;
	float: left;
	width: 24%;
	height: 128px;
	margin: .5%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	border: 3px solid #666;
}

.thumbnails a img {
	width: 100%;
	height: 100%;
}

.thumbnails a.hover,
.thumbnails a.active { border-color: #000; }


/* ==========================================================================
 Photo Gallery Folder Thumbnails
 ========================================================================== */
.root_thumbnails {
	width: 100%;
}

.root_thumbnails a {
	display: block;
	float: left;
	width: 156px;
	height: 190px;
	margin: 0 1rem 1rem 0;
	line-height: 1.5rem;
	text-align: center;
}

.root_thumbnails a .folder_image {
	display: block;
	height: 156px;
	border: 3px solid #666;
}

.root_thumbnails a:hover .folder_image { border-color: #000; }

@media all and (max-width: 1005px) {
	.thumbnails {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.thumbnails a {
		width: 128px;
	}
}

@media all and (max-width: 800px) {
	.thumbnails {
		width: 100%;
	}
}

@media all and (max-width: 620px) {
	.thumbnails a {
		width: 115px;
		height: 115px;
	}
}