/*
    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;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}

#cboxLoadedContent,#cboxLoadedContent img{
        width: 100%;
        height:auto;
}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer; outline: none; border: 0;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box;  outline: none;}

/* 
    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-color: var(--red);}
#colorbox{}
#cboxContent{margin-top:5em; margin-left:30px; margin-right:30px; margin-bottom: 4px;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{
	border:2px solid #000;
	box-shadow:  0 0 0 4px var(--gold);
    /*border:0.5em solid var(--gold);*/ background:#fff; border-radius: 10px;
    
    }
#cboxTitle{
	position:absolute;
	top:-20px;
	left:0;
	color:#FFF;
	font-weight: bold;
	letter-spacing: 1px;
	font-size: 14px;
}
#cboxCurrent{position:absolute; top:-23px; right:5em; color:#fff;	}
#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
#cboxPrevious{position:absolute; top:50%; left:-30px; margin-top:-25px; background:url(../img/controls.png) no-repeat top left; width:25px; height:50px; text-indent:-9999px;}
#cboxPrevious:hover{background-position:bottom left;}
#cboxNext{position:absolute; top:50%; right:-30px; margin-top:-25px; background:url(../img/controls.png) no-repeat top right; width:25px; height:50px; text-indent:-9999px;}
#cboxNext:hover{background-position:bottom right;}
#cboxLoadingOverlay{background:#fff;}
#cboxLoadingGraphic{background:url(../img/box_loading.gif) no-repeat center center;}
#cboxClose{
	position:absolute;
	top:-4em;
	right:0px;
	display:block;
	background:url(../img/controls_close.png) no-repeat center;
	background-size: contain;
	width:4em;
	height:4em;
	text-indent:-9999px;
	transition: all 0.2s 0s ease-out;
	transform: scale(1);
	opacity: 1;
}
#cboxClose:hover{/*background-position:bottom;*/ transform: scale(0.8); opacity: 1;}
@media (max-width: 786px) {
	#cboxContent{margin-left:10px; margin-right:10px;}
	#cboxPrevious{left:7px; }
	#cboxNext{right:7px;}

}
