/*
	Colorbox Core Style:
	The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper { position: absolute; top: 0; left: 0; z-index: 99997; -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 {
	display: inline-block;
	position: fixed;
	top: 50%;
	left: 50%;
	border: 1px solid #105670;
	border-top-color: transparent;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	margin: -12px 0 0 -12px;
	z-index: 9999;
	animation: spin .5s infinite linear;
}
@keyframes spin { 0%{ transform: rotate(0deg); } 100%{ transform: rotate(360deg); }}

#cboxOverlay {
	background: #FFFFFF;
	opacity: 1;
}

.cboxIframe {
	background-color: #105670;
}

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

.modal-gallery-close {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	padding: 40px;
	opacity: 0;
	cursor: pointer;
	transition: none;
	z-index: 99999;
}

.modal-gallery-prev,
.modal-gallery-next {
	display: none;
	position: fixed;
	top: 0;
	width: 50%;
	height: 100vh;
	transition: none;
	z-index: 99998;
}

.modal-gallery-prev {
	left: 0;
	cursor: url(../img/share/cursor-left.svg), auto;
}

.modal-gallery-next {
	right: 0;
	cursor: url(../img/share/cursor-right.svg), auto;
}

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