#colorbox{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    /*overflow:hidden;*/
    -webkit-transform: translate3d(0, 0, 0);
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    outline: 0;
}
#cboxOverlay {
    top: 0;
    left: 0;
    z-index: 9999;
    -webkit-transform: translate3d(0, 0, 0);
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    -webkit-transform: translate3d(0, 0, 0);
    max-width:none;
}
#cboxContent {
    position: relative;
    margin-top: 32px;
    overflow: visible;
    background: #000;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}
#cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    overflow: auto;
    background:#000;
     padding:0;
    -webkit-overflow-scrolling: touch;
}

#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxLoadingOverlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:#000;
}

#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#cboxPrevious {
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-indent: -9999px;
    width: 20px;
    right: 44px;
    position: absolute;
    top: -20px;
    background: url(images/controls.png) no-repeat 0 0;
}
#cboxNext {
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -20px;
    background: url(images/controls.png) no-repeat ;
    background-position:-25px 0px;
    right:22px;
}

#cboxSlideshow {
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -20px;
    background: url(images/controls.png) no-repeat 0 0;
}
#cboxClose {
    cursor: pointer;
    background: url(images/close.png) no-repeat 0 0 !important;
    width: 60px !important;
    height: 60px !important;
    top: 60px !important;
    right: 40px !important;
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-indent: -9999px;
    position: absolute;
    background-position:-50px 0px;
}

@media screen and (max-width: 900px) {
    #cboxClose{
    background:url(images/close.png) no-repeat 0 0 !important;
    width: 60px !important;
    height: 60px !important;
    top: 25px !important;
    right: 10px !important;
   }
}
.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;background:#fff;}

        #cboxError{padding:50px; border:0 solid #ccc;}
        #cboxTitle{margin:0;position:absolute; top:-22px; left:0; color:#000;}
        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

        
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious:hover{background-position:0px -25px;}
        #cboxNext:hover{background-position:-25px -25px;}
        
        #cboxClose:hover{background-position:-50px -25px;}
        .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;}
