/*
    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:visible !important;}
#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:url(/assets/colorbox/default/images/overlay.png) repeat 0 0; }
#colorbox{outline:0;}
    #cboxTopLeft{width:1px; height:1px; background:#fff;}
    #cboxTopRight{width:1px; height:1px; background:#fff;}
    #cboxBottomLeft{width:1px; height:1px; background:#fff;}
    #cboxBottomRight{width:1px; height:1px; background:#fff;}
    #cboxMiddleLeft{width:1px; background:#fff;}
    #cboxMiddleRight{width:1px; background:#fff;}
    #cboxTopCenter{height:1px; background:#fff;}
    #cboxBottomCenter{height:1px; background:#fff;}
    #cboxContent{background:#fff; overflow:hidden;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{margin-bottom:117px;}
        #cboxTitle{position:absolute; bottom:80px; left:0; padding: 0 20px; text-align:left; width:100%; color:#2e2c2c; font-size: 14px; line-height: normal;  box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
        #cboxCurrent{position:absolute; bottom:20px; left:138px; color:#959c9f; font-size: 14px; line-height: 46px; }
        #cboxLoadingOverlay{background:url(/assets/colorbox/default/images/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(/assets/colorbox/default/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; background-image: url(/assets/colorbox/default/images/controls.png); background-repeat: no-repeat; }
        
        /* 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; text-indent: -9999px; width: 46px; height: 46px; background-position: 0 -184px; bottom: 20px; right: 20px; }
		#cboxSlideshow:hover { background-position: 0 -230px; }
		.cboxSlideshow_on #cboxSlideshow { background-position: 0 -276px; }
		.cboxSlideshow_on #cboxSlideshow:hover { background-position: 0 -322px; }
        
		#cboxPrevious{position:absolute; text-indent:-9999px; width: 46px; height: 46px; background-position: 0 0; bottom: 20px; left: 20px; }
        #cboxPrevious:hover{background-position:0 -46px;}
        
		#cboxNext{position:absolute; text-indent:-9999px; width: 46px; height: 46px; background-position: 0 -92px; bottom: 20px; left: 71px;}
        #cboxNext:hover{background-position:0 -138px;}
        
		#cboxClose{position:absolute; text-indent:-9999px; width: 54px; height: 53px; text-indent: -9999px; background-position: 0 -368px; top: 0; right: 0; }
        #cboxClose:hover{background-position:0 -421px;}

.cbox-banner #cboxTopLeft, 
.cbox-banner #cboxTopCenter, 
.cbox-banner #cboxTopRight,
.cbox-banner #cboxMiddleLeft,
.cbox-banner #cboxMiddleRight, 
.cbox-banner #cboxBottomLeft, 
.cbox-banner #cboxBottomCenter, 
.cbox-banner #cboxBottomRight,
.cbox-banner #cboxTitle { display: none !important; }
.cbox-banner #cboxLoadedContent { margin: 0; }
.cbox-banner #cboxWrapper,
.cbox-banner #cboxContent,
.cbox-banner #colorbox { overflow: visible !important; background: 0; }
.cbox-banner #cboxClose { top: -53px; right: 0; }
#popup-content { max-width: 800px; }

.terms-popup #colorbox, 
#colorbox.terms-popup,
.terms-popup #cboxOverlay,
.terms-popup #cboxWrapper,
.terms-popup #cboxContent { overflow: visible !important; }
.terms-popup #cboxLoadedContent { margin: 0; }
.terms-popup #cboxClose { top: -53px; right: 0; }