/*
    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:9999;
	/*overflow:hidden;*/
	-webkit-transform: translate3d(0,0,0);
}
#cboxWrapper {
	max-width:none;
	box-shadow: 0 3px 10px 3px rgba(0,0,0,.2);
	background-color: #fff;
}
#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; padding:0; margin: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:#fff;
	opacity: 0.8;
}
#colorbox{outline:0;}
#cboxContent{
	background-color: #fff;
	padding-bottom: 30px;
	border: 2px solid #fff;
	border-bottom: none;
}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{}
#cboxTitle{
	position:absolute;
	bottom: 0;
	left: 5px;
	line-height: 30px;
	color: inherit;
}
#cboxCurrent{
	position:absolute;
	bottom: 0;
	right: 5px;
	line-height: 30px;
	color: inherit;
	font-family: georgia;
}
#cboxLoadingGraphic{background:url(/img/common/loader.gif) no-repeat center center;}
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
#cboxSlideshow{position:absolute; top:-20px; right:90px; color:inherit;}
/* Prev,Nextボタン領域を画面全域を左右半分に割る */
#cboxPrevious,
#cboxNext {
	display: block;
	width: 50%;
	height: 100%;
	position: absolute;
	top: 0;
	text-indent: -9999px;
	background-color: transparent;
	transition: opacity .3s;
	opacity: 0.3;
}
#cboxPrevious {
	left: 0;
}
#cboxNext {
	right: 0;
}
#cboxPrevious:hover,
#cboxNext:hover {
	opacity: 1;
}
/* Prev,Nextボタン表示 */
#cboxPrevious:after,
#cboxNext:after {
	font-family: "FontAwesome";
	text-indent: 0;
	display: block;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 50%;
	margin-top: -25px;
	font-size: 40px;
	line-height: 50px;
	text-align: center;
	color: #fff;
	background-color: #000;
}
#cboxPrevious:after {
	content: "\f104";
	left: 0;
}
#cboxNext:after {
	content: "\f105";
	right: 0;
}
/* Closeボタン */
#cboxClose {
	display: block;
	width: 36px;
	height: 36px;
	position: absolute;
	top: 5px;
	right: 5px;
	text-indent: -9999px;
	background-color: #000;
	color: #fff;
	transition: opacity .3s;
	opacity: 0.8;
	border-radius: 25px;
}
#cboxClose:hover {
	opacity: 1;
}
#cboxClose:after {
	font-family: "FontAwesome";
	content: "×";
	text-indent: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	font-size: 30px;
	line-height: 36px;
	text-align: center;
}
