/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorboxCast, #cboxCastOverlay, #cboxCastWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; -webkit-transform: translate3d(0,0,0);}
#cboxCastWrapper {max-width:none;}
#cboxCastOverlay{position:fixed; width:100%; height:100%;}
#cboxCastMiddleLeft, #cboxCastBottomLeft{clear:left;}
#cboxCastContent{position:relative;}
#cboxCastLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxCastTitle{margin:0;}
#cboxCastLoadingOverlay, #cboxCastLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxCastPrevious, #cboxCastNext, #cboxCastClose, #cboxCastSlideshow{cursor:pointer;}
.cboxCastPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxCastIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorboxCast, #cboxCastContent, #cboxCastLoadedContent{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.
*/
#cboxCastOverlay{
/*	background:#4f3460; */
/*	background:rgba(243, 170, 68, 0.6); */
/*	background:rgba(0, 0, 0, 0.6); */
	background:rgba(30, 128, 210, 0.9); 
	opacity: 0.0; 
	filter: alpha(opacity = 0);
}

#colorboxCast{
	outline:0;
	background-color: #fff;
/*	box-shadow:0px 0px 6px 1px rgba(243, 170, 68, 0.7);*/
}

#cboxCastContent{
	/*margin-top:32px; */
	overflow:visible; 
	/*background:#000;*/

}
.cboxCastIframe{background:#fff;}
#cboxCastError{padding:50px; border:1px solid #ccc;}
#cboxCastLoadedContent{
	/*background:#000;*/
	padding:0px;
}
#cboxCastLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
#cboxCastLoadingOverlay{
	background:#fff;
}
#cboxCastTitle{position:absolute; top:-22px; left:0; color:#000;}
#cboxCastCurrent{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 */
#cboxCastPrevious, #cboxCastNext, #cboxCastSlideshow, #cboxCastClose {
	border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;
}

#cboxCastClose{
	background:url(../images/btn_tojiru.png) no-repeat 0 0;
	width: 44px;
	height: 44px;
	top:13px;
	right:22px;
}

@media screen and (max-width: 767px) {
	#cboxCastClose{
		background-size: 21px;
		width: 21px;
		height: 21px;
		top:10px;
		right:10px;
	}
}


/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxCastPrevious:active, #cboxCastNext:active, #cboxCastSlideshow:active, #cboxCastClose:active {outline:0;}

#cboxCastPrevious{background-position:0px 0px; right:44px;}
#cboxCastPrevious:hover{background-position:0px -25px;}
#cboxCastNext{background-position:-25px 0px; right:22px;}
#cboxCastNext:hover{background-position:-25px -25px;}
/*        #cboxCastClose{background-position:-50px 0px; right:0;}*/
/*        #cboxCastClose:hover{background-position:-50px -25px;}*/
.cboxCastSlideshow_on #cboxCastPrevious, .cboxCastSlideshow_off #cboxCastPrevious{right:66px;}
.cboxCastSlideshow_on #cboxCastSlideshow{background-position:-75px -25px; right:44px;}
.cboxCastSlideshow_on #cboxCastSlideshow:hover{background-position:-100px -25px;}
.cboxCastSlideshow_off #cboxCastSlideshow{background-position:-100px 0px; right:44px;}
.cboxCastSlideshow_off #cboxCastSlideshow:hover{background-position:-75px -25px;}
