/*
    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:4999;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow: hidden; -webkit-overflow-scrolling: touch;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxDirection, #cboxPrevious, #cboxNext, #cboxSlideshow{cursor:pointer;}
.cboxPhoto {
	margin:auto; 
	border:0; 
	-ms-interpolation-mode:bicubic;
	float: right !important;
}
.cboxIframe {width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent {-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}
/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay {
	opacity: 0.9; 
	filter: alpha(opacity = 90);
	background-color: #c8c8c8;
	background-repeat: repeat;
}

#colorbox {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50.1%, -50%) !important;
	outline: none;
}

#cboxContent {
	transform: translate(0, -20px);
}

#cboxLoadedContent {
	box-sizing: border-box;
	float: right;
}

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

#cboxTitle {
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	box-sizing: border-box;
	padding: 10px 12px 12px 12px;
	white-space: normal;
	font-weight: 500;
	position: absolute;
	background-color: white;
	bottom: -65px;
	width: calc(100% - 65px);
	height: 60px;
	margin: 0;
}

#cboxTitle span {
	font-size: 10px;
	font-weight: 300;
	line-height: 1.8;
	display: block;
}

#cboxCurrent {
	position: absolute;
	bottom: -65px;
	right: 0;
	width: 60px;
	box-sizing: border-box;
	color: #3e3e40;
	font-size: 18px;
	padding: 18px 0 0 0;
	background: white;
	height: 60px;
	text-align: center;
}



/* #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}*/
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */#cboxDirection, #cboxPrevious, #cboxNext, #cboxSlideshow {
	border:0;
	padding:0;
	margin:0;
	overflow:visible;
	width:auto;
	background:none;
	font-size: 0;
}
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */#cboxDirection:active, #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active {outline:0;}
#cboxSlideshow {
	position:absolute;
	bottom:0px;
	right:30px;
}

#cboxDirection {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	cursor: auto;
}

#cboxPrevious, #cboxNext {
	width: 50%;
	height: 100%;
	color: #3e3e40;
	transition: all 300ms ease;
}

#cboxPrevious {
	float: left;
}

#cboxNext {
	float: right;
}

#cboxPrevious::before, #cboxNext::before {
	position: absolute;
	top: 51%;
	width: 0;
	height: 0;
	border-style: solid;
	content: ' ';
	box-sizing: border-box;
	transition: all 300ms ease;
}

#cboxPrevious::before {
	border-width: 24px 40px 24px 0;
	border-color: transparent;
	left: -45px;
}

#cboxNext::before {
	border-width: 24px 0 24px 40px;
	border-color: transparent;
	right: -45px;
}

#cboxPrevious:hover::before {
	border-color: transparent #3e3e40 transparent transparent;
	transition: all 300ms ease;
}

#cboxNext:hover::before {
	border-color: transparent transparent transparent #3e3e40;
	transition: all 300ms ease;
}

#cboxClose {
	display: none;
}

#cboxOverlay::before, #cboxOverlay::after {
	position: absolute;
	right: 35px;
	content: ' ';
	height: 45px;
	width: 2px;
	background-color: #2b2b2b;
	top: 15px;
	transition: all 300ms ease;
	opacity: 0;
}

#cboxOverlay::before {transform: rotate(45deg);}
#cboxOverlay::after {transform: rotate(-45deg);}

#cboxOverlay:hover::before, #cboxOverlay:hover::after {
	transition: all 300ms ease;
	opacity: 1;
}

@media only screen and (max-width: 599px) and (orientation: portrait) {
	#cboxContent {
		margin: 0;
		line-height: 0;
	}

	#cboxLoadedContent {padding-left: 0;}

	#cboxTitle {
		font-size: 3.2vw;
		padding: 2.4vw;
		width: 100%;
		margin-top: 1.1vw;
		line-height: 1.3;
		bottom: initial;
		height: auto;
		position: relative;
		min-height: 10vw;
	}

	#cboxTitle::before {
		display: none;
	}

	#cboxTitle span {
		font-size: 2.5vw;
		display: block;
	}

	#cboxTitle:empty {visibility: hidden;}

	#cboxTitle span:not(:empty) #cboxTitle {visibility: visible;}

	#cboxCurrent {
		font-size: 4vw;
		width: 100%;
		line-height: 1.8;
		padding: 1.5vw;
		bottom: unset;
		left: unset;
		margin-top: 1.1vw;
		height: 10vw;
		position: relative;
	}

	#cboxDirection {padding: 0;}

	#cboxPrevious::before {
		left: 2vw;
		border-width: 3vw 5vw 3vw 0;
		top: unset;
		bottom: -9vw;
		border-color: transparent #3e3e40 transparent transparent;
	}

	#cboxNext::before {
		right: 2vw;
		border-width: 3vw 0 3vw 5vw;
		top: unset;
		bottom: -9vw;
		border-color: transparent transparent transparent #3e3e40;
	}

	#cboxOverlay::before, #cboxOverlay::after {display: none;}
}

@media only screen and (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
	#cboxContent {
		margin: 0;
		line-height: 0;
	}

	#cboxLoadedContent {padding-left: 0;}

	#cboxTitle {
		font-size: 20px;
		padding: 12px 14px 14px 14px;
		width: 100%;
		margin-top: 6px;
		line-height: 1.3;
		bottom: initial;
		height: auto;
		position: relative;
		min-height: 60px;
	}

	#cboxTitle::before {
		display: none;
	}

	#cboxTitle span {
		font-size: 14px;
		display: block;
	}

	#cboxTitle:empty {visibility: hidden;}

	#cboxCurrent {
		font-size: 24px;
		width: 100%;
		line-height: 1.2;
		padding: 15px;
		bottom: unset;
		left: unset;
		margin-top: 6px;
		height: 60px;
		position: relative;
	}

	#cboxDirection {padding: 0;}

	#cboxPrevious::before {
		left: 15px;
		border-width: 18px 34px 18px 0;
		top: unset;
		bottom: -54px;
		border-color: transparent #3e3e40 transparent transparent;
	}

	#cboxNext::before {
		right: 15px;
		border-width: 18px 0 18px 34px;
		top: unset;
		bottom: -54px;
		border-color: transparent transparent transparent #3e3e40;
	}

	#cboxOverlay::before, #cboxOverlay::after {display: none;}
}



/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);}
	