@charset "UTF-8";
/*
    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{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;}
.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:#fff; background:url(../images/clear_bg/white40.png);}
#colorbox{outline:0; background:#fff; -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5); -moz-box-shadow: 0 0 5px rgba(0,0,0,0.5); box-shadow: 0 0 5px rgba(0,0,0,0.5); }
.no-rgba #colorbox{ box-shadow: 0 0 5px #000; }
    #cboxContent{background:#fff; overflow:hidden;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{ margin:46px 20px 80px; padding:0; overflow:hidden!important; }
        #cboxTitle{ position:absolute; bottom:33px; left:0; text-align:center; width:100%; color:#52544f; font-size:16px;}
        #cboxCurrent{ display:none!important; }
        #cboxLoadingOverlay{background:url(../images/colorbox/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(../images/colorbox/loading.gif) no-repeat center center;}

        /* 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; width:auto; background:none; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute; bottom:25px; left:12px; background:url(../images/icon_arrow_left.png) no-repeat; background-size:100% auto; width:25px; height:30px; text-indent:-9999px;}
        #cboxNext{position:absolute; bottom:25px; right:12px; background:url(../images/icon_arrow_right.png) no-repeat; background-size:100% auto; width:25px; height:30px; text-indent:-9999px;}
        #cboxClose{position:absolute; top:15px; right:15px; background:url(../images/icon_close.png) no-repeat; background-size:100% auto; width:18px; height:18px; text-indent:-9999px;}
        #cboxPrevious:hover, #cboxNext:hover, #cboxClose:hover{ opacity:0.8;}
		
#cboxLoadedContent { max-height:574px; }
#colorbox img{ max-width:100%; width:auto; height:auto; min-height:100%; /*width:100%;*/ margin:0 auto; }
/*#colorbox img{ width:auto; max-width:100%; height:auto; max-height:100%; margin:0 auto; }*/

@media screen and (max-width : 768px){

#cboxTitle{ bottom:23px; font-size:15px; }
#cboxPrevious{ bottom:13px; left:8px; width:20px; height:30px; }
#cboxNext{ bottom:13px; right:8px; width:20px; height:30px; }
#cboxClose{ top:10px; right:10px; background-size:100% auto; width:18px; height:18px; }

#cboxLoadedContent { height:auto!important; max-height:460px!important; overflow:hidden!important; }
#colorbox img { width:100%; height:auto; min-height:0; max-height:100%; }

}
