/*
	Colorbox Core Style:
	The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper { position: fixed !important; top: 0 !important; left: 0 !important; min-width: 100% !important; min-height: 100% !important; z-index: 99998; -webkit-transform: translate3d(0,0,0); }
#cboxWrapper { max-width: none; }
#cboxOverlay { position: fixed; width: 100%; height: 100%;}
#cboxMiddleLeft, #cboxBottomLeft { clear: left; }
#cboxContent { position: relative; background: none; }
#cboxLoadedContent { overflow: auto; -webkit-overflow-scrolling: touch; }
#cboxLoadingOverlay, #cboxLoadingGraphic { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow { cursor: pointer; }
.cboxPhoto { float: left; margin: auto; border: 0; display: block; max-width: none; -ms-interpolation-mode: bicubic; }
.cboxIframe { width: 100%; height: 100%; display: block; border: 0; padding: 0; margin: 0; }
#colorbox, #cboxContent, #cboxLoadedContent { box-sizing: content-box; }
#colorbox { outline: 0; }
#cboxCurrent { position: absolute; top: 0; right: 0; color: #FFFFFF; }
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { border: 0; padding: 0; margin: 0; overflow: visible; width: auto; background: none; }
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active { outline: 0; }
#cboxSlideshow { position: absolute; top: 0; right: 0; color: #FFFFFF; }
#cboxClose, #cboxPrevious, #cboxNext { display:none !important; }

#cboxLoadingGraphic {
	position: fixed !important;
	top: 50% !important;
	bottom: 50% !important;
	right: 50% !important;
	left: 50% !important;
	border: 1px solid rgba(0,0,0,1);
	border-top-color: transparent;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	margin: -12px 0 0 -12px !important;
	z-index: 99999;
	animation: spin 0.5s infinite linear;
}
@keyframes spin{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); }}

#cboxOverlay {
	background-color: #FFFFFF;
	opacity: 1;
	filter: alpha(opacity = 100);
}

.cboxIframe {
	background-color: #000000;
}

.cboxPhoto {
	max-width: 1000px;
	height: auto !important;
}

.modal-close {
	font-family: 'JoannaNova-Regular', sans-serif;
	display: none;
	position: fixed;
	top: 20px;
	right: 15px;
	background: url(../img/share/ico-close.svg) no-repeat center top 6px;
	background-size: 29px 16px;
	box-sizing: border-box;
	width: 50px;
	height: 50px;
	padding: 29px 0 0 3px;
	font-size: 13px;
	text-align: center;
	letter-spacing: 0.08em;
	cursor: pointer;
	z-index: 99999;
	opacity: 0;
	transition: none;
}

.modal-close:hover {
	transition: .15s linear;
	opacity: 0.5 !important;
}

/*
.modal-prev, .modal-next {
	display: none;
	top: 0;
	background: #CCC;
	width: 50%;
	height: 100%;
	min-height: 100%;
	transition: none;
	text-indent: -9999px;
	z-index: 2;
}

.modal-prev { left: 0; transform: scaleX(-1) !important;}
.modal-next { right: 0; }

.modal-prev, .modal-next {
	position: fixed;
}
*/