/*
    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; */-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;  -webkit-transition:all 5s ease; -moz-transition:all 5s ease; -o-transition:all 5s ease; -ms-transition:all 5s ease; transition:all 5s ease-in-out;}
.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(0,0,0,0.9); opacity: 0.7; filter: alpha(opacity = 70);}
#colorbox{outline:0; font-family: 'Open Sans', sans-serif;}
    #cboxContent{margin-top:40px; margin-bottom:0px;background:none;}
        .cboxIframe{background:none;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{border:0px solid #000; background:none;}
        #cboxTitle{position:absolute; float:left;  width:95%; margin:0 auto; left:0; right:0; background-color:rgba(0,0,0,0.80); color:#fff; line-height:normal; padding: 10px 165px 10px 15px; font-size:14px; bottom:0px;}
		#cboxTitle h4{font-weight:600; padding:0 0 5px;}
		#cboxTitle:after{position:absolute; content:""; background-color:#fff; left:-15px; top:50%; width:30px; height:2px; display:none;}
        #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
        /*#cboxLoadingGraphic{background:url(../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; top:-20px; right:90px; color:#fff;}
        #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; /* background:url(images/controls.png) no-repeat top left; */ text-indent:-9999px;}
        #cboxPrevious:hover{background-position:bottom left;}
        #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; /* background:url(images/controls.png) no-repeat top right; */ text-indent:-9999px;}
        #cboxNext:hover{background-position:bottom right;}
        #cboxClose{position:absolute; top:-40px; right:0px; display:block; background:url(../img/close-white.png) no-repeat 50% 50%; width:40px; height:40px; text-indent:-9999px; -webkit-transition:all 5s ease; -moz-transition:all 5s ease; -o-transition:all 5s ease; -ms-transition:all 5s ease; transition:all 5s ease-in-out;}

		
       /*  #cboxClose:hover{background-position:bottom center;} */

/* custom class start */
.cBox1 #cboxClose{position:absolute; top:-40px; right:0px; display:block; background:url(../img/close-white.png) no-repeat 50% 50%; width:40px; height:40px; text-indent:-9999px;}
.box22 #cboxClose{position:absolute; top:-40px; right:0; display:block; background:url(../img/op-close-leader2.png) no-repeat top center; width:21px; height:21px; text-indent:-9999px; outline:none; margin:0; border:0; }
.box33 #cboxClose{position:absolute; top:-40px; right:0; display:block; background:url(../img/op-close-leader2.png) no-repeat top center; width:21px; height:21px; text-indent:-9999px; outline:none; margin:0; border:0; }

	   
@media (max-width:500px){
   #cboxPrevious{ margin-top:0px; }
}
