﻿/*
    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:visible; -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:url(/AcoraCMS/Javascript/jQuery/colorbox/example1/images/overlay.png) repeat 0 0; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
    #cboxTopLeft{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #cboxTopRight{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #cboxBottomLeft{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #cboxBottomRight{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #cboxMiddleLeft{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #cboxMiddleRight{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #cboxTopCenter{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #cboxBottomCenter{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #cboxContent{background:#fff; overflow:visible;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{}
        #cboxTitle{position:relative; bottom: 0; left: 0; box-sizing: border-box; padding:10px; font-family: Arial, Helvetica, sans-serif; font-size: 16px; text-align:center; width:100%; color:#fff; background-color: #000;}
        #cboxTitle:empty{display: none !important;}
        #cboxCurrent{position:absolute; bottom: 0; left: 0; width: 100%; font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-transform: uppercase; color: #fff; line-height: 28px; background: #000; text-align: center;}
#cboxCurrent {
    position: absolute;
    float: none !important;
    margin: 0 auto;
    bottom: 5px;
    left: calc(50% - 60px);
    width: 120px;
    height: 28px;
    line-height: 28px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 25%);
    background: rgba(0,0,0,0.25);
    border-radius: 0;
}
        #cboxLoadingOverlay{background:url(/AcoraCMS/Javascript/jQuery/colorbox/example1/images/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(/AcoraCMS/Javascript/jQuery/colorbox/example1/images/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: 5px; left: 5px; width:28px; height:28px; text-align: center; text-indent:-9999px; background: rgba(0,0,0,0.25);}
        #cboxPrevious::before{content: "\279c"; position: absolute; bottom: 0; left: 0; width: 28px; line-height: 28px; text-indent: 0; font-size: 18px; color: #fff; text-shadow: -1px -1px 1px rgb(0 0 0 / 50%); transform:rotate(180deg);}
        #cboxPrevious:hover{}
        #cboxNext{position:absolute; bottom: 5px; right: 5px; width: 28px; height: 28px; text-align: center; text-indent: -9999px; background: rgba(0,0,0,0.25);}
        #cboxNext::before{content: "\279c"; position: absolute; bottom: 0; left: 0; width: 28px; line-height: 28px; text-indent: 0; font-size: 18px; color: #fff; text-shadow: 1px 1px 1px rgb(0 0 0 / 50%);}
        #cboxClose{position: absolute; z-index: 10; bottom: auto; top: -13px; right: -13px; width: 40px; height: 40px; text-indent: -9999px; background: var(--site-button-close-background); background-image: var(--site-button-close-background-image); background-position: center center; background-repeat: no-repeat; border-radius: 100%; box-shadow: 0 0 5px rgb(0 0 0 / 100%); }
        #cboxClose:hover{background: var(--site-button-close-hover-background); background-image: var(--site-button-close-hover-background-image); background-position: center center; background-repeat: no-repeat; border-radius: 100%; transition: 100ms all ease-in-out;}

/*
  The CMS edit window
*/
#colorbox.cmEditor {
}

    #colorbox.cmEditor #cboxTopLeft{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #colorbox.cmEditor #cboxTopRight{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #colorbox.cmEditor #cboxBottomLeft{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #colorbox.cmEditor #cboxBottomRight{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #colorbox.cmEditor #cboxMiddleLeft{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #colorbox.cmEditor #cboxMiddleRight{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #colorbox.cmEditor #cboxTopCenter{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}
    #colorbox.cmEditor #cboxBottomCenter{width: 3px; height: 3px; background: rgba(0,0,0,0.15);}

    #colorbox.cmEditor #cboxWrapper {
        border-radius: 2px;
        background: rgba(0,0,0,0.15);
    }

    #colorbox.cmEditor #cboxContent {
        border-radius: 0;
    }

    #colorbox.cmEditor #cboxLoadedContent {
        height: 100% !important;
    }

    #colorbox.cmEditor #cboxTitle{display: none !important;}

/*
    Special Lighboxes 
*/

#colorbox.content-video {
    /* Lightboxes launched using the CMS video link classes get this class. */
}

    #colorbox.content-video #cboxContent,
    #colorbox.content-video .cboxIframe {
        background: #000;
    }

#colorbox.content-gallery {
    /* Lightboxes launched using the CMS gallery link classes get this class. */
}