/*magnific popup*/
.mfp-bg {
	background: #fff;
	opacity: 1;
	filter: alpha(opacity=100);
}
.mfp-title, 
.mfp-counter, 
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close{
	color:#3e3e3e;
}
.mfp-bottom-bar{
	margin-top:-30px;
}
/*left-right button*/
button.mfp-arrow{
    width: 50px;
    height: 50px;
    background: var(--white) url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%228%22%20height%3D%2214%22%20viewBox%3D%220%200%208%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.293%207%20.646%201.354l.708-.708L7.707%207l-6.353%206.354-.708-.707L6.293%207z%22%20fill%3D%22%231D252D%22%2F%3E%3C%2Fsvg%3E%0A") center center no-repeat;
    border: solid 1px var(--color-2);
	opacity: 1;
	-webkit-transform: none;
    transform: none;
	-webkit-transform-origin: inherit;
    transform-origin: inherit;
}
button.mfp-arrow:hover{
    background: var(--color-1) url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%228%22%20height%3D%2214%22%20viewBox%3D%220%200%208%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.293%207%20.646%201.354l.708-.708L7.707%207l-6.353%206.354-.708-.707L6.293%207z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E%0A") center center no-repeat;
    border: solid 1px var(--color-1);
}
button.mfp-arrow, button.mfp-arrow:active{
	margin-top:-25px;
}
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a,
.mfp-arrow-left:before, .mfp-arrow-left .mfp-b,
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a,
.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
	display:none;
}
/*left button*/
button.mfp-arrow.mfp-arrow-left {
    transform: rotate(180deg) !important;
	margin-left: 80px;
}
/*right button*/
button.mfp-arrow.mfp-arrow-right {
	margin-right: 80px;
}
/*close button*/
button.mfp-close,
button.mfp-close-btn{ /*mobile close bug fix*/
	position:fixed; /*fix*/
	left:inherit;
	top:24px;
	right:24px;
	width:25px;
	height:25px;
	background: var(--white) url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2225%22%20height%3D%2225%22%20viewBox%3D%220%200%2025%2025%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.5%2011.793%202.354%201.646l-.708.708L11.793%2012.5%201.646%2022.646l.708.708L12.5%2013.207l10.146%2010.147.708-.707L13.207%2012.5%2023.354%202.354l-.707-.708L12.5%2011.793z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E') center center no-repeat;
	text-indent: 9000px;
}
figcaption{
	display:none !important;	
}
img.mfp-img{
	padding:20px 0;
}
.mfp-figure:after { /*mfp-img bg -> padding fix*/
	display:none;
	/*
    top: 20px;
    bottom: 20px;
	box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
	background-color: var(--white);
	*/
}
.mfp-container {
    padding-left: 0;
    padding-right: 0;
}
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
	.mfp-img-mobile .mfp-bottom-bar .mfp-title, 
	.mfp-img-mobile .mfp-bottom-bar .mfp-counter, 
	.mfp-img-mobile .mfp-close{
		color:#fff;
	}
	img.mfp-img{
		padding:0;
	}
	.mfp-figure:after { /*mfp-img bg -> padding fix*/
		top: 0;
		bottom: 0;
	}
}
/* Small devices(sm) devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
	button.mfp-arrow.mfp-arrow-left {
		margin-left: 10px;
	}
	button.mfp-arrow.mfp-arrow-right {
		margin-right: 10px;
	}
	img.mfp-img{
		padding:0;
	}
}