#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxWrapper {max-width:none;  -webkit-box-shadow: 5px 5px 10px 5px #333333;
box-shadow: 5px 5px 10px 5px #333333;}
#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;}
#cboxOverlay{background:#f2f5db; }
#colorbox{outline:0;}
/*    #cboxTopLeft{width:20px; height:20px; border-radius:6px 0px 0px 0px; background-color:#FFF;}
    #cboxTopRight{width:20px; height:20px;  border-radius:0px 6px  0px 0px; background-color:#FFF;}
    #cboxBottomLeft{width:20px; height:20px;  border-radius:0px 0px  0px 6px;  background-color:#FFF;}
    #cboxBottomRight{width:20px; height:20px; border-radius:0px 0px  6px 0px;   background-color:#FFF;}
    #cboxMiddleLeft{width:20px;  background-color:#FFF;}
    #cboxMiddleRight{width:20px;  background-color:#FFF;}
    #cboxTopCenter{height:20px;  background-color:#FFF;}
    #cboxBottomCenter{height:20px;  background-color:#FFF;}*/
    #cboxContent{background:#fff; overflow:hidden; padding:0px 10px}
        .cboxIframe{background:#fff;}
        #cboxError{padding:0px; border:1px solid #ccc;}
        #cboxLoadedContent{margin-top:28px; margin-bottom:28px;}
        #cboxTitle{position:absolute; bottom:0px; left:0; text-align:left; width:100%; color:#414141;}
        #cboxCurrent{position:absolute; top:4px; left:58px; color:#949494; display:none !important}
        /*#cboxLoadingOverlay{background:url(../../images/v2/loading_background.png) no-repeat center center;}*/
        #cboxLoadingGraphic{background:url(../../images/v2/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; top:4px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute; top:0; left:0; background:url(../../images/v2/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px; display:none !important}
        #cboxPrevious:hover{background-position:-75px -25px;}
        #cboxNext{position:absolute; top:0; left:27px; background:url(../../images/v2/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px; display:none !important}
        #cboxNext:hover{background-position:-50px -25px;}
        #cboxClose{position:absolute; top:0px; right:0px; background:url(../../images/v2/suClose.png) no-repeat 0px 0; width:32px; height:28px; text-indent:-9999px;}
        #cboxClose:hover{background-position:0px 0px;}
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}
.pop_trms #cboxClose{ background-color:#9ac23b;}

@media only screen and (max-width: 1100px){
#cboxLoadedContent{margin-top:28px; margin-bottom:50px;}
  #cboxTopLeft{width:10px; height:10px; border-radius:6px 0px 0px 0px; background-color:#FFF;}
    #cboxTopRight{width:10px; height:10px;  border-radius:0px 6px  0px 0px; background-color:#FFF;}
    #cboxBottomLeft{width:20px; height:10px;  border-radius:0px 0px  0px 6px;  background-color:#FFF;}
    #cboxBottomRight{width:10px; height:10px; border-radius:0px 0px  6px 0px;   background-color:#FFF;}
    #cboxMiddleLeft{width:10px;  background-color:#FFF;}
    #cboxMiddleRight{width:10px;  background-color:#FFF;}
    #cboxTopCenter{height:10px;  background-color:#FFF;}
    #cboxBottomCenter{height:10px;  background-color:#FFF;}
}
