/***********************************************************************
  /$$$$$$   /$$$$$$  /$$       /$$       /$$$$$$$$ /$$$$$$$  /$$     /$$
 /$$__  $$ /$$__  $$| $$      | $$      | $$_____/| $$__  $$|  $$   /$$/
| $$  \__/| $$  \ $$| $$      | $$      | $$      | $$  \ $$ \  $$ /$$/
| $$ /$$$$| $$$$$$$$| $$      | $$      | $$$$$   | $$$$$$$/  \  $$$$/
| $$|_  $$| $$__  $$| $$      | $$      | $$__/   | $$__  $$   \  $$/
| $$  \ $$| $$  | $$| $$      | $$      | $$      | $$  \ $$    | $$
|  $$$$$$/| $$  | $$| $$$$$$$$| $$$$$$$$| $$$$$$$$| $$  | $$    | $$
 \______/ |__/  |__/|________/|________/|________/|__/  |__/    |__/
 **********************************************************************/
.media_collection_gallery div.square-gallery-container
{
	position: relative;
	width: 100%;
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-items: center;
	overflow: hidden;
}

.media_collection_gallery div.square-gallery-container a.square-image-link:link,
.media_collection_gallery div.square-gallery-container a.square-image-link:visited
{
	position: relative;
	background-color: #dcdcdc;
	max-height: 360px;
	overflow: hidden;
	padding-top: 100%;
	height: 0;
	width: 100%;
}

.media_collection_gallery div.square-gallery-container a.square-image-link img,
.media_collection_gallery div.square-gallery-container a.square-image-link video
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	height: 100%;
	transition: all 150ms;
	max-width: none !important;
}

.media_collection_gallery div.square-gallery-container a.square-image-link:hover img,
.media_collection_gallery div.square-gallery-container a.square-image-link:hover video
{
	transform: scale(1.05);
	box-shadow: 0 0 5px rgba(0,0,0,0.4);
}

.media_collection_gallery div.square-gallery-container a.square-image-link:active img,
.media_collection_gallery div.square-gallery-container a.square-image-link:active video
{
	transform: scale(1);
	box-shadow: 0 0 5px rgba(0,0,0,0.4);
}

.media_collection_gallery div.square-gallery-container .square-image-caption-container
{
	width: 100%;
}

.media_collection_gallery div.square-gallery-container .square-image-caption-container .caption
{
	font-size: 14pt;
	font-weight: bold;
	white-space: nowrap;
}

.media_collection_gallery div.square-gallery-container .square-image-caption-container .description
{
	font-size: 12pt;
	white-space: nowrap;
}

.media_collection_gallery div.square-gallery-container .square-image-caption-container a.square-image-link:link,
.media_collection_gallery div.square-gallery-container .square-image-caption-container a.square-image-link:active,
.media_collection_gallery div.square-gallery-container .square-image-caption-container a.square-image-link:visited
{
	text-decoration: underline;
	transition: all 150ms;
	white-space: nowrap;
}

.media_collection_gallery div.square-gallery-container .square-image-caption-container a.square-image-link:hover
{

}

/* Lightbox Styles */
.sl-overlay
{
	background: #000000;
	opacity: 0.8;
}

.sl-wrapper .sl-close
{
	font-size: 28pt;
	color: #ffffff;
}

.sl-wrapper .sl-counter
{
	font-size: 16pt;
	color: #ffffff;
}

.sl-wrapper .sl-navigation button.sl-prev,
.sl-wrapper .sl-navigation button.sl-next
{
	font-size: 30pt;
	color: #ffffff;
}

.sl-wrapper .sl-image .sl-caption
{
	font-size: 16pt;
}

.sl-wrapper .sl-image .description
{
	font-size: 12pt;
}

.sl-wrapper .sl-image .lightbox-link
{
	margin-top: 10px;
}

.sl-wrapper .sl-image a:link,
.sl-wrapper .sl-image a:active,
.sl-wrapper .sl-image a:visited
{
	font-size: 12pt;
}

@media screen and (max-width:1200px)
{
	.sl-wrapper .sl-close
	{
		right: 20px;
    	top: 80px;
	}
}