#colorbox, #cboxOverlay, #cboxWrapper {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99997;
	-webkit-transform: translate3d(0,0,0);
}

#cboxWrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100vh !important;
}

#cboxOverlay {
	position: fixed;
	width: 100%;
	height: 100%;
}

#cboxMiddleLeft, #cboxBottomLeft {
	clear: left;
}

#cboxContent{
	position: relative;
}

#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;
}

.cboxIframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	padding: 0;
	margin: 0;
}

#colorbox, #cboxContent, #cboxLoadedContent {
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}

#cboxOverlay {
	background: #FFFFFF;
	transition: .1s linear !important;
}

#colorbox {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100vh !important;
	min-height: 100% !important;
	outline: 0;
}

#cboxContent {
	background: none;
	width: 100% !important;
	height: 100vh !important;
}

.cboxIframe {
	background: #FFFFFF;
}

#cboxError {
	padding: 50px;
	border: 1px solid #ccc;
}

#cboxLoadedContent {
	background: #FFFFFF;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

#cboxTitle {
	display: none !important;
}

#cboxCurrent {
	position: absolute;
	bottom: 60px;
	left: 60px;
	font-size: 18px;
	letter-spacing: 0.2em;
}

#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: -20px;
	right: 90px;
	color: #FFFFFF;
}

#cboxClose,
#cboxPrevious,
#cboxNext {
	display: none !important;
}

.modal-close {
	display: block;
	box-sizing: border-box;
	position: fixed;
	top: 15px;
	right: 15px;
	height: 44px;
	padding: 30px;
	transition: .15s ease-out;
	cursor: pointer;
	z-index: 99999;
	pointer-events: none;
	opacity: 0;
}

.modal-close.on {
	pointer-events: auto;
	opacity: 1;
}

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

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

.modal-prev.on,
.modal-next.on { display: block; }

.modal-close:hover,
.modal-prev:hover,
.modal-next:hover { opacity: 0.6; }

.modal-prev span,
.modal-next span { display: none; }