/*
    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: 10001;
	overflow:hidden;
}
#cboxWrapper {
	max-width:none;
}
#cboxOverlay {
	position:fixed;
	width:100%;
	height:100%;
}
#cboxMiddleLeft, #cboxBottomLeft {
	clear:left;
}
#cboxContent {
	position:relative;
}
#cboxLoadedContent {
	overflow:auto;
	-webkit-overflow-scrolling: touch;
}
#cboxTitle {
	margin:0;
}
#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;
}
#colorbox, #cboxContent, #cboxLoadedContent {
	box-sizing:content-box;
	-moz-box-sizing:content-box;
	-webkit-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 {
	background:#000;
	opacity:0.7 !important;
	/*opacity:1 !important;*/
}
#colorbox {
	outline:0;
}
#cboxContent {
	/*margin-top:32px;*/
	overflow:visible;
	padding:0 85px;
	margin-bottom:60px;
}
.cboxIframe {
	background:#fff;
}
#cboxError {
	padding:50px;
	border:1px solid #ccc;
}
#cboxLoadedContent {
	/*background:#000;
	padding:1px;*/
}
#cboxLoadingGraphic {
	background:url(../img/mk-loading.gif) no-repeat center center;
	background-size:64px 64px;
}
#cboxLoadingOverlay {
	background:#fff;
}
#cboxTitle {
	position:absolute;
	/*top:-22px;*/
	bottom:-60px;
	left:85px;
	color:#000;
}
#cboxCurrent {
	position:absolute;
	top:-22px;
	right:205px;
	text-indent:-9999px;
}
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
    #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
	border:0;
	padding:0;
	margin:0;
	overflow:visible;
	text-indent:-9999px;
	background:none;
	/*
	width:20px;
	height:20px;*/
	position:absolute;
	/*top:-20px;*/
	background-position:left top;
	background-repeat:no-repeat;
	background-size:100% auto;
}
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {
	outline:0;
}
#cboxPrevious {
	/*background-image:url(../img/cb-prev.png);
	width:27px;
	height:51px;*/
	background-image: url(../img/color-prev.png);
    background-size: 100% auto;
    width: 57px;
    height: 57px;
	top:50%;
	margin-top:-29.5px;
	left:0px;
}
#cboxPrevious:hover {
	/*background-position:0px -25px;*/
	opacity:0.7;
}
#cboxNext {
	/*background-image:url(../img/cb-next.png);
	width:27px;
	height:51px;
	top:50%;
	margin-top:-25px;*/
	background-image: url(../img/color-next.png);
    background-size: 100% auto;
    width: 57px;
    height: 57px;
	top:50%;
	margin-top:-29.5px;
	right:0px;
}
#cboxNext:hover {
	/*background-position:-25px -25px;*/
	opacity:0.7;
}
#cboxClose {
	right:0;
	top:0;
	/*background-image:url(../img/cb-close.png);
	width:36px;
	height:36px;*/
	background: url(../img/bt-lightbox-close-bk.png) no-repeat left top;
    background-size: 100% 100%;
    width: 57px;
    height: 57px;
}
#cboxClose:hover {
	opacity:0.7;
}
/*
.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious {
	right:66px;
}
.cboxSlideshow_on #cboxSlideshow {
	background-position:-75px -25px;
	right:44px;
}
.cboxSlideshow_on #cboxSlideshow:hover {
	background-position:-100px -25px;
}
.cboxSlideshow_off #cboxSlideshow {
	background-position:-100px 0px;
	right:44px;
}
.cboxSlideshow_off #cboxSlideshow:hover {
	background-position:-75px -25px;
}*/

@media screen and (max-width:987px) {
#cboxContent {
	padding: 0;
    margin:33px 0 60px;
}
.zoomIcon {
	display:none;
}
#cboxPrevious {
    width: 15px;
    height: 28px;
    top:inherit;
	bottom:-40px;
    left: 0px;
}
#cboxNext {
    width: 15px;
    height: 28px;
    top:inherit;
	bottom:-40px;
    right: 0px;
}
#cboxClose {
    right: 0;
    top: 0;
    background-image: url(../img/close-sp.gif);
    width: 23px;
    height: 23px;
	/*position:fixed;*/
	top:-33px;
	right:0px;
	background-size:23px 23px;
	z-index:15000;
}
#cboxTitle {
    position: absolute;
    bottom: -40px;
    left: 10%;
    color: #000;
	width:80%;
	text-align:center;
	max-height:2.5em;
}
}