/* Colorbox 1.6.4 layout, restyled without image assets. */
#colorbox,
#cboxOverlay,
#cboxWrapper {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999999;
	overflow: hidden;
	transform: translate3d(0, 0, 0);
}

#cboxWrapper {
	max-width: none;
}

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

#cboxMiddleLeft,
#cboxBottomLeft {
	clear: left;
}

#cboxContent {
	position: relative;
	margin: 42px;
	background: #111;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

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

#cboxTitle {
	position: absolute;
	left: 0;
	bottom: -31px;
	width: 100%;
	margin: 0;
	color: #fff;
	font: 500 14px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-align: center;
}


#cboxCurrent {
	position: absolute;
	right: 0;
	bottom: -31px;
	color: rgba(255, 255, 255, 0.78);
	font: 500 12px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

#cboxLoadingOverlay {
	background: #111;
}

#cboxLoadingGraphic::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border: 3px solid rgba(255, 255, 255, 0.25);
	border-top-color: #fff;
	border-radius: 50%;
	animation: gm-cbox-spin 750ms linear infinite;
}

#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
	position: absolute;
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.62);
	color: #fff;
	font: 600 13px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	cursor: pointer;
}

#cboxPrevious,
#cboxNext {
	top: 50%;
	min-width: 78px;
	padding: 12px 14px;
	transform: translateY(-50%);
}

#cboxPrevious {
	left: 12px;
}

#cboxNext {
	right: 12px;
}

#cboxClose {
	top: -38px;
	right: 0;
	padding: 9px 13px;
}

#cboxSlideshow {
	bottom: -38px;
	left: 0;
	padding: 9px 13px;
}

#cboxPrevious:hover,
#cboxPrevious:focus-visible,
#cboxNext:hover,
#cboxNext:focus-visible,
#cboxClose:hover,
#cboxClose:focus-visible,
#cboxSlideshow:hover,
#cboxSlideshow:focus-visible {
	background: #fff;
	color: #111;
	outline: 0;
}

.cboxPhoto {
	float: left;
	margin: auto;
	border: 0;
	display: block;
	max-width: none;
}

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

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

@keyframes gm-cbox-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
	#cboxContent {
		margin: 34px 12px;
	}

	#cboxPrevious,
	#cboxNext {
		top: auto;
		bottom: 10px;
		min-width: 0;
		transform: none;
	}
}
