/*
    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;  -webkit-transform: translate3d(0,0,0);}
#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; 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:#000; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
    #cboxContent{margin-top:20px;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{background:#fff;}
        #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}        #cboxLoadingGraphic{background:url("../img/top/loading.gif") no-repeat center center;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxSlideshow {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
         #cboxSlideshow:active {outline:0;}
        
        #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
#cboxOverlay {
	z-index: 999999;
}
#colorbox {
	z-index: 1000000;
	overflow: visible;
}
#cboxWrapper {
	overflow: visible;
}
#cboxMiddleLeft, #cboxBottomLeft,
#cboxContent, 
#cboxLoadedContent {
	height: auto !important;
}
#cboxPrevious,
#cboxNext {
	display: none !important;
}
.posterCboxPrevious,
.posterCboxNext,
.ettCboxPrevious,
.ettCboxNext {
	position: absolute;
	display: inline-block;
	top: 50%;
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 0;
	line-height: 0;
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
	cursor: pointer;
	color: transparent;
	border: none;
	outline: none;
	background: transparent;
}
.posterCboxPrevious::before,
.posterCboxNext::before,
.ettCboxPrevious::before,
.ettCboxNext::before {
	content: '';
  width: 14px;
  height: 14px;
	color: black;
  border: 0px;
  border-top: solid 2px #000;
  border-right: solid 2px #000;
  position: absolute;
  top: 50%;
  margin-top: -4px;
}
.posterCboxPrevious::before,
.posterCboxNext::before {
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
}

.ettCboxNext {
  right: 1%;
  padding-left: 20px;
}
.posterCboxNext {
	right: 0;
}
.posterCboxNext::before,
.ettCboxNext::before{
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
	right: 14px;
}
.posterCboxPrevious,
.ettCboxPrevious {
	left: 1.6%;
  padding-right: 20px;
}
.posterCboxPrevious {
	left: 0;
}
.posterCboxPrevious::before,
.ettCboxPrevious::before{
  -ms-transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
	left: 10px;
}
.posterCboxPrevious:hover,
.posterCboxPrevious:focus,
.posterCboxNext:hover,
.posterCboxNext:focus,
.ettCboxPrevious:hover,
.ettCboxPrevious:focus,
.ettCboxNext:hover,
.ettCboxNext:focus
{
    color: transparent;
    outline: none;
    background: transparent;
}
.posterCboxPrevious:hover:before,
.posterCboxPrevious:focus:before,
.posterCboxNext:hover:before,
.posterCboxNext:focus:before,
.ettCboxPrevious:hover:before,
.ettCboxPrevious:focus:before,
.ettCboxNext:hover:before,
.ettCboxNext:focus:before
{
    opacity: 1;
}

#cboxClose,
#cboxCurrent{
	display: none !important;
}
#cboxTitle {
	top: -38px;
}
.poster_btn_close,
.btn_close {
  position: absolute;
	display: inline-block;
	top: 3%;
	right: 5%;
	text-indent: -9999px;
	width: 3px;
	height: 28px;
	background: #000;
	transform: rotate(45deg);
}
.poster_btn_close {
	top: -15%;
	right: 3%;
	bottom: #fff;
	z-index: 99999999999;
}
.poster_btn_close:before,
.btn_close:before {
  display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: -12px;
	width: 28px;
	height: 3px;
	margin-top: -2px;
	background: #000;
}
.poster_btn_close,
.poster_btn_close:before {
	background: #fff;
}
.poster_btn_close:hover,
.btn_close:hover {
	opacity: 0.8;
	transition: 0.3s;
	cursor: pointer;
}
#cboxLoadedContent {
	border-radius: 5px;
}
.modal_conts {
  margin: 20px 0;
}
.modal_conts .conts_picture {
	margin: 0 auto;
	width: 50%;
}
.modal_conts .text {
	margin: 20px auto 0;
	width: 76%;
}
.modal_conts .text p {
	padding-top: 10px;
}
.modal_conts .text p:first-child {
	padding-top: 0;
}
.modal_conts p.name {
	font-weight: bold;
}
.modal_conts .notes {
	margin-top: 0;
	font-size: 1.2rem;
}
.cboxPhoto {
	width: 100% !important;
	height: auto !important;
}
.poster_modal_conts {
  margin:  0;
}
.poster_modal_conts .poster_conts_picture {
	margin: 0 auto;
	width: 100%;
}

/* PC */
@media screen and (min-width: 768px), print {
	#cboxLoadedContent {
		width: 560px;
	}
	.modal_conts {
		margin: 30px 0;
	}
		.modal_conts .conts_picture {
		margin: 0 auto;
		width: 200px;
	}
	.modal_conts .text {
		margin: 20px auto 0;
		width: 82%;
	}
	.modal_conts .text p {
		padding-top: 10px;
	}
	.modal_conts .text p:first-child {
		padding-top: 0;
	}
	.modal_conts .notes {
		margin-top: 0;
		font-size: 1.2rem;
	}
	.modal_conts_poster {
		margin: 0;
	}
	.modal_conts_poster .conts_picture {
		width: 100%;
	}
	.poster_btn_close {
		top: -8%;
		right: 2%;
	}
	.posterCboxNext {
		right: -5%;
	}
	.posterCboxPrevious {
		left: -4.5%;
	}
}
