#colorbox,
#cboxContent,
#cboxLoadedContent {
	box-sizing: content-box;
	outline: none;
}

#colorbox,
#cboxOverlay,
#cboxWrapper {
	overflow: hidden;
	overscroll-behavior-y: contain;
	position: absolute;
	top: 0;
	left: 0;
	transform: translate3d(0, 0, 0);
	z-index: 99999;
}

#cboxWrapper {
	max-width: none;
}

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

#cboxMiddleLeft,
#cboxBottomLeft {
	clear: left;
}

#cboxContent {
	position: relative;
	margin-top: 20px;
	background: #000;
	font-size: 14px;
}

#cboxLoadedContent {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	background: #fff;
}

#cboxTitle {
	position: absolute;
	top: -20px;
	left: 0;
	right: 140px;
	color: #ddd;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.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;
	background: #fff;
}

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

#cboxCurrent {
	position: absolute;
	top: -20px;
	right: 0;
	color: #ddd;
}

#cboxLoadingGraphic {
	background: url(/images/wait.svg) no-repeat center / 48px 48px;
}

#cboxSlideshow {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 24px;
	height: 24px;
	background: #ddd;
}

#cboxSlideshow.slideshow-stop {
	background: #333;
}

#cboxPrevious,
#cboxNext {
	position: absolute;
	top: 50%;
	margin-top: -21px;
	width: 36px;
	height: 42px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.4) url(/images/icons/icon-slider.svg) no-repeat center;
}

#cboxPrevious {
	left: 0;
	transform: rotate(180deg);
}

#cboxNext {
	right: 0;	
}

#cboxPrevious:hover,
#cboxNext:hover {
	background-color: #bbb;
}

#cboxClose {
	position: absolute;
	top: 0;
	right: 0;
	background: url(/images/design/icon-close.svg) no-repeat;
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

#cboxClose:hover {
	background-color: rgba(0, 0, 0, 0.1);
}