/*
    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;}
#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: #000;
    opacity: 0.5 !important;
    filter: alpha(opacity = 50) !important;
}

#colorbox  {
    outline: 0;
}

#cboxContent {
    margin-top: 0px;
    overflow: visible;
    background: #000;
}

.cboxPhoto {
    border: 1px solid #EEE;
}

.cboxIframe {
    background:  #FAFAFA;
}
    
#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}
    
#cboxLoadedContent {
    background: #FFFFFF;
    padding: 2px 2px 30px 2px;
}
    
#cboxLoadingGraphic {
    background: url(../images/loading-minimal.gif) no-repeat center center;
}
    
#cboxLoadingOverlay {
    background: #000;
}
    
#cboxTitle {
    position: absolute;
    bottom: 5px;
    left: 5px;
    color: #9E9E9E;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}
    
#cboxCurrent {
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: #9E9E9E;
    font-size: 12px;
}

/* 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;
    overflow: visible;
    position: absolute;
    text-indent: 0px;
    color: #FFF;
    background-color: transparent;
    transition: color 0.3s linear 0s;
    text-shadow: 2px 2px 20px rgba(0,0,0,.2);
}

#cboxPrevious:before,
#cboxNext:before,
#cboxSlideshow:before,
#cboxClose:before {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

#cboxPrevious:hover ,
#cboxNext:hover ,
#cboxSlideshow:hover ,
#cboxClose:hover {
    color: gray;
}

#cboxPrevious,
#cboxNext {
    font-size: 50px;
    width: 20%;
    height: 50%;
    top: 25%
}

/* avoid outlines on : active (mouseclick), and on : focus (tabbed navigating) */
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active,
#cboxPrevious:focus,
#cboxNext:focus,
#cboxSlideshow:focus,
#cboxClose:focus {
    outline: 0;
}

#cboxPrevious {
    left: 0px;
    text-align: left;
}

#cboxPrevious:before {
    /*content: "<";*/
    content: "\e079";
}

    
#cboxNext {
    right: 0px;
    text-align: right;
}

#cboxNext:before {
    /*content: "<";*/
    content: "\e080";
}

#cboxClose {
    font-size: 20px;
    right: 0px;
    top: 0px;
    text-align: right;
}

#cboxClose:before {
    /*content: "x";*/
    content: "\e014";
}
    

.cboxSlideshow_on #cboxPrevious,
.cboxSlideshow_off #cboxPrevious {
    right: 66px;
}
    
.cboxSlideshow_on #cboxSlideshow {
    background-position: -75px -25px;
    right: 44px;
}
    
.cboxSlideshow_on #cboxSlideshow: hover {
    background-position: -100px -25px;
}
    
.cboxSlideshow_off #cboxSlideshow {
    background-position: -100px 0px;
    right: 44px;
}
    
.cboxSlideshow_off #cboxSlideshow: hover {
    background-position: -75px -25px;
}

