/*
    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;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:hidden; -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;}
#colorbox .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:rgba(255,255,255,.8);
}
#colorbox{
    outline:0;
}
        #colorbox .cboxIframe{
            background:#fff;
        }
        #colorbox .cboxPhoto{
            display: block;
        }
        #cboxError{padding:50px;}
        #cboxContent{
            background: #fff;
            border: 1px solid #f5c8c2;
            overflow: hidden;
            -webkit-border-radius: 3px;
            -moz-border-radius: 3px;
            border-radius: 3px;
            -webkit-box-sizing:border-box;
            -moz-box-sizing:border-box;
            box-sizing:border-box;
        }
        #cboxLoadedContent{
        }
        #cboxTitle{position:absolute; top:-20px; left:0; color:#fff;}
        #cboxCurrent{position:absolute; top:-20px; right:0px; color:#fff; display:none !important;}
        #cboxLoadingGraphic{}

        /* 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{}
        #cboxPrevious{}
        #cboxNext{}
        #cboxClose{position:absolute; top:-1px; right:24px; display:block; background:url(../img/cbox_close.png) no-repeat center 0; background-size: 40px auto; width:40px; height:56px; text-indent:-9999px;}
        #cboxClose:hover{opacity: 0.7}

        #cboxClose{
            transition: all 0.3s ease-in-out 0s;
            -moz-transition: all 0.3s ease-in-out 0s;
            -webkit-transition: all 0.3s ease-in-out 0s;
            -o-transition: all 0.3s ease-in-out 0s;
            -ms-transition: all 0.3s ease-in-out 0s;
        }

@media screen and (max-width : 767px){
    #cboxClose{right:19px; background-size: 30px auto; width:30px; height:42px;}
    #cboxClose:hover{opacity: 1}
}



