/* custom gallery - filters */
body.disableScroll { overflow: hidden; }
.gallery_wrap {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}
.gallery_filters_wrap {
	width: 100%;
}
.mobFilter-button {
	display: block;
	width: 100px;
	height: 36px;
	border: 2px solid #1562a5;
	border-radius: 20px;
	font-family: 'Lato', sans-serif;
	color: #1562a5;
	font-weight: 700;
	line-height: 1;
	padding: 0 10px;
	box-sizing: border-box;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .5s;
}
.mobFilter-button span {
	display: block;
	position: relative;
	padding: 0 0 0 30px;
}
.mobFilter-button span::before {
	position: absolute;
	content: '';
	width: 22px;
	height: 100%;
	top: 0;
	left: 0;
	background: url(../img/icon-filter.webp) no-repeat center center;
	background-size: 100% auto;
}
.mobFilter-button:hover {
	background: #1562a5;
	color: #FFF;
	text-decoration: none;
}
.gfilters {
	font-family: 'Lato', sans-serif;
	position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    left: 0;
    padding: 60px 20px 30px;
    box-sizing: border-box;
	overflow-y: scroll;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}
.gfilters.active { 
	opacity: 1;
	visibility: visible; 
}
.mobFilter-closeBtn {
	position: absolute;
	top: 14px;
	right: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #000;
	background: #FFF;
	font-weight: 700;
	font-family: 'Lato', sans-serif;
	filter: drop-shadow(4px 4px 6px rgb(0 0 0 / 10%));
	cursor: pointer;
	transition: .5s;
}
.mobFilter-closeBtn:hover {
	filter: drop-shadow(4px 4px 6px rgb(0 0 0 / 30%));
}
.mobFilter-text {
	font-weight: 700;
	font-size: 20px;
	color: #000;
	display: block;
}
#gfilters-category {
	position: relative;
	width: calc(100% + 40px);
	left: -20px;
	margin: 10px 0 0;
	padding: 0;
}
#gfilters-category > li {
	margin: 0;
	padding: 10px 20px;
	list-style-type: none;
	border-bottom: 1px solid #d1d1d5;
}
#gfilters-category > li:first-child {
	border-top: 1px solid #d1d1d5;
}
.gfilter-catName {
	font-family: 'Lato', sans-serif;
	color: #000;
	font-weight: 700;
	position: relative;
	padding: 0 20px 0 0;
}
.gfilter-catName::before {
	position: absolute;
	content: '';
	width: 7px;
	height: 7px;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	right: 2px;
	top: 5px;
	transform: rotate(45deg);
	transition: .5s;
}
#gfilter-items {
	display: none;
	margin: 15px 0 0;
	padding: 0 20px;
}
#gfilter-items > li {
	margin: 0 0 5px;
	padding: 0;
	list-style-type: none;
}
#gfilter-items > li label {
	color: #000;
	line-height: 1.3;
	display: flex;
	align-items: flex-start;
	gap: 5px;
}
#gfilter-items > li input {
	margin: 4px 0 0;
}
#gfilter-items > li label span {
	display: block;
}
.mobFilter-resultsBtn {
	display: block;
	border: none;
	outline: none;
	width: 300px;
	max-width: 100%;
	height: 40px;
	border-radius: 20px;
	color: #fff;
	background: #1a5f96;
	margin: 30px auto 0;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	vertical-align: middle;
	line-height: 1;
	font-family: 'Lato', sans-serif;
	display: flex;
    justify-content: center;
    align-items: center;
	cursor: pointer;
}
.article a.mobFilter-resultsBtn {
	color: #fff;
}
.mobFilter-resultsBtn:hover {
	background: #8bcce1;
	color: #000;
}

.gallery_inner {
	width: 100%;
}
#gallery_active_filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-content: flex-start;
	gap: 5px 25px;
	margin: 0 0 40px;
}
#gallery_active_filters > span {
	display: block;
	position: relative;
	padding: 0 0 0 20px;
	min-height: 14px;
	color: #000;
	cursor: pointer;
}
#gallery_active_filters > span::before {
	position: absolute;
	content: 'X';
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #8bcce1;
	top: 6px;
	left: 0;
	font-weight: 700;
	color: #fff;
	font-size: 10px;
	text-align: center;
	line-height: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .5s;
}
#gallery_active_filters > span:hover::before {
	background: #36c1ee;
}

@media screen and (min-width: 800px) {
	body.disableScroll { overflow: initial; }
	.gallery_wrap {
		flex-wrap: nowrap;
		align-items: flex-start;
	}
	.gallery_filters_wrap {
		width: 260px;
		padding: 40px 0 0;
	}
	.gfilters { 
		display: block; 
		font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
		padding: 0;
		position: static;
		height: auto;
		background: #fff;
		overflow: initial;
		visibility: visible;
		opacity: 1;
	}
	#gfilters-category {
		margin: 0;
		padding: 0;
		list-style-type: none;
		display: flex;
		flex-direction: column;
		gap: 30px;
		position: static;
		width: 100%;
	}
	#gfilters-category li {
		list-style-type: none;
		margin: 0 0 5px;
		padding: 0;
	}
	#gfilters-category > li {
		border: none;
	}
	#gfilters-category > li:first-child {
		border: none;
	}
	.gfilter-catName {
		font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
		font-weight: 700;
		color: #000;
		line-height: 1.1;
		padding: 0 0 0 20px;
		position: relative;
		cursor: pointer;
		transition: .5s;
	}
	.gfilter-catName::before {
		position: absolute;
		content: '';
		top: 3px;
		left: 0;
		width: 0; 
		height: 0; 
		border: none;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent; 
		border-top:10px solid #8bcce1; 
		transition: .5s;
		transform: rotate(-90deg);
	}
	#gfilters-category li.active .gfilter-catName::before { 
		transform: rotate(0); 
	}
	.gfilter-catName:hover {
		color: #36c1ee;	
	}
	.gfilter-catName:hover::before {
		border-top-color: #36c1ee;
	}
	#gfilter-items {
		list-style-type: none;
		margin: 0;
		padding: 15px 0 0 20px;
		display: flex;
		flex-direction: column;
		gap: 4px;
		display: none;
	}
/* 	#gfilter-items > li input {
		display: none;
	} */
	#gfilter-items > li label {
/* 		display: block; */
		cursor: pointer;
		color: #000;
	}
	#gfilter-items > li:hover label {
		color: #36c1ee;
	}
	.gallery_inner { flex: 1; }
	.mobFilter-button,
	.mobFilter-closeBtn,
	.mobFilter-text,
	.mobFilter-resultsBtn { display: none; }
}
@media screen and (min-width: 1120px) {
	.gallery_filters_wrap {
		width: 300px;
	}
}

/*  < mc_gallery >  */
.pinItBtnCont {
	position: absolute;
	left: 10px;
	top: 6px;
	z-index: 10;
	display: block;
}
.article .mc_gallery {
	margin: 0 auto;
	padding: 0;
	column-count: 1;
  	column-gap: 8px;
	-webkit-column-break-inside: avoid;
	max-width: 300px;
}
.article .mc_gallery li {
	position: relative;
	box-sizing: border-box;
	display: block;
	margin: 0 0 8px;
	cursor: pointer;
	overflow: hidden;
}
/* Safari only */
_::-webkit-full-page-media, _:future, :root .article .mc_gallery li {
    display: inline-block;
	margin: 0;
}
.article .mc_gallery li > a {
	display: block;
	width: 100%;
	height: auto;
	box-sizing: border-box;
}
.article .mc_gallery li img {
	display: block;
	margin: auto;
	width: 100%;
	height: auto;
	max-width: 100%;
	transform: scale(1);
	transition: .5s;
}
.article .mc_gallery li .mc_gallery_desc {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: auto;
	padding: 10px;
	color: #FFF;
	font-size: 14px;
	line-height: 1.2;
	background: #011e49;
	text-align: center;
	box-sizing: border-box;
}
.article .mc_gallery li:hover img {
	transform: scale(1.1);
}
@media screen and (min-width: 600px) {
	.article .mc_gallery {
		column-count: 2;
		max-width: 616px;
	}
}
@media screen and (min-width: 800px) {

}
@media screen and (min-width: 1120px) {
	.article .mc_gallery {
		column-count: 3;
		max-width: 924px;
	}
}
@media screen and (min-width: 1400px) {
	.article .mc_gallery {
		column-count: 4;
		max-width: 100%;
	}
}
/*  </ mc_gallery >  */

/*  < lightbox >  */
/* Preload images */
body:after {
	content: url(../img/lightbox/close.png) url(../img/lightbox/loading.gif) url(../img/lightbox/prev.png) url(../img/lightbox/next.png);
	display: none;
}
body.lb-disable-scrolling {
	overflow: hidden;
}
.lightboxOverlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	background-color: black;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
	opacity: 0.8;
	display: none;
}
.lightbox {
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 10000;
	text-align: center;
	line-height: 0;
	font-weight: normal;
}
.lightbox .lb-image {
	display: block;
	height: auto;
	max-width: inherit;
	max-height: none;
	border-radius: 3px;


	/* Image border */
	border: 4px solid white;
}
.lightbox a img {
	border: none;
}
.lb-outerContainer {
	position: relative;
	*zoom: 1;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	border-radius: 4px;


	/* Background color behind image.
	 This is visible during transitions. */
	background-color: white;
}
.lb-outerContainer:after {
	content:'';
	display: table;
	clear: both;
}
.lb-loader {
	position: absolute;
	top: 43%;
	left: 0;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
.lb-cancel {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 auto;
	background: url(../img/lightbox/loading.gif) no-repeat;
}
.lb-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
.lb-container > .nav {
	left: 0;
}
.lb-nav a {
	outline: none;
	background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}
.lb-prev, .lb-next {
	height: 100%;
	cursor: pointer;
	display: block;
}
.lb-nav a.lb-prev {
	width: 34%;
	left: 0;
	float: left;
	background: url(../img/lightbox/prev.png) left 48% no-repeat;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	opacity: 0;
	-webkit-transition: opacity 0.6s;
	-moz-transition: opacity 0.6s;
	-o-transition: opacity 0.6s;
	transition: opacity 0.6s;
}
.lb-nav a.lb-prev:hover {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
}
.lb-nav a.lb-next {
	width: 64%;
	right: 0;
	float: right;
	background: url(../img/lightbox/next.png) right 48% no-repeat;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	opacity: 0;
	-webkit-transition: opacity 0.6s;
	-moz-transition: opacity 0.6s;
	-o-transition: opacity 0.6s;
	transition: opacity 0.6s;
}
.lb-nav a.lb-next:hover {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
}
.lb-dataContainer {
	margin: 0 auto;
	padding-top: 5px;
	*zoom: 1;
	width: 100%;
	-moz-border-radius-bottomleft: 4px;
	-webkit-border-bottom-left-radius: 4px;
	border-bottom-left-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	-webkit-border-bottom-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
.lb-dataContainer:after {
	content:'';
	display: table;
	clear: both;
}
.lb-data {
	padding: 0 4px;
	color: #ccc;
}
.lb-data .lb-details {
	width: 85%;
	float: left;
	text-align: left;
	line-height: 1.1em;
}
.lb-data .lb-caption {
	font-size: 13px;
	font-weight: bold;
	line-height: 1em;
}
.lb-data .lb-caption a {
	color: #4ae;
}
.lb-data .lb-number {
	display: block;
	clear: left;
	padding-bottom: 1em;
	font-size: 12px;
	color: #999;
}
.lb-data .lb-close {
	display: block;
	float: right;
	width: 30px;
	height: 30px;
	background: url(../img/lightbox/close.png) top right no-repeat;
	text-align: right;
	outline: none;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
	opacity: 0.7;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-o-transition: opacity 0.2s;
	transition: opacity 0.2s;
}
.lb-data .lb-close:hover {
	cursor: pointer;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
}
/*  </ lightbox >  */
