#colorbox, #cboxWrapper {
    position:absolute;
    top:0;
    left:0;
    z-index:9999;
    }

#cboxWrapper {                       
    position:fixed;
    left: auto;
    right: auto;
    padding-top: 8%;
    }

#cboxOverlay{
    position:fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:9999;
    }

#cboxMiddleLeft, #cboxBottomLeft{
    clear:left;
    }

#cboxContent{
    position:absolute;
    }
    
#cboxLoadedContent{
    overflow:auto;
    -webkit-overflow-scrolling: touch;
    }
    
#cboxTitle{
    margin:0;
    }
    
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;vertical-align: middle; width: 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:#20201E;
    opacity: 1.0;
    filter: alpha(opacity = 100);
    }

#colorbox{
    outline:0;
}

/* affichage image plein écran */
#cboxContent{
    background:#fff;
    border: 0;
    margin: 0;
    padding: 30px;
    }
    
.cboxIframe{
    background:#fff;
}

#cboxError{
    padding: 50px;
    border: 0;
    }
        
#cboxLoadedContent{
    border:0px solid #20201E;
    background: none;
    padding: 40px;
    }
    
#cboxTitle{
    position:absolute;
    top:-20px;
    left:0;
    color:#ccc;
    }
    
/***  pagination ***/
#cboxCurrent{
    position:absolute;
    display: none;
    visibility: hidden;
    top:-20px;
    right:0px;
    }
    
#cboxLoadingGraphic{
    background:url(images/colorbox/loading.gif) no-repeat center center;
    }        
   
/* Évite les contours sur :active (clic de souris), mais conserve les contours sur :focus (navigation par onglets) */        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {
    outline:0;
    border: 0;
    }

#cboxPrevious:focus, #cboxNext:focus, #cboxSlideshow:focus, #cboxClose:focus {
    outline:0;
    border: 0;
    }
        
#cboxSlideshow {
    position:absolute;
    top:-20px;
    right:90px;
    color:#fff;
    }



/* Boutons plein écran */
    #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
        border: 0;
        padding:0;
        margin:0;
        overflow:visible;
        width:auto;
        background:none; 
        }

#cboxPrevious {
    position:fixed;
    top:50%;
    margin-top:-50px;
    left: 0%;
    background:url(images/colorbox/gauche-01.png) no-repeat top left;
    width:60px;
    height:120px;
    text-indent:-9999px;
    }
    
#cboxPrevious:hover {
    background:url(images/colorbox/gauche-02.png) no-repeat top left;
    background-position:bottom left;
    }

#cboxNext {
    position:fixed;
    top:50%;
    margin-top:-50px;
    right: 0;
    background:url(images/colorbox/droite-01.png) no-repeat top right;
    width:60px;
    height:120px;
    text-indent:-9999px;
    }

#cboxNext:hover {
    background:url(images/colorbox/droite-02.png) no-repeat top right;
    background-position:bottom right;
    }

#cboxClose {
    position:absolute;
    top:0px;
    right:20px;
    display:block;
    background:url(images/colorbox/close-01.png) no-repeat top center;
    width:70px;
    height:35px;
    text-indent:-9999px;
    }
    
#cboxClose:hover {
    background:url(images/colorbox/close-02.png) no-repeat top center;
    background-position:bottom center;
    }