#colorbox, #cboxOverlay, #cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    // overflow: hidden;
    -webkit-transform:  translate3d(0,0,0);
}

#cboxWrapper {
    max-width: none;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 3px;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: default !important;
}

#cboxMiddleLeft, #cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling:  touch;
     -webkit-user-select:  none;
    -moz-user-select:      none;
    -ms-user-select:       none;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay, #cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
    cursor: pointer;
}

#cboxClose {
    position: absolute;
    top: -30px;
    right: 0;
    width: 24px;
    height: 24px;
    font-size: 0;
    background: transparent url("../img/icon-close.png") 0 0 no-repeat;
    border: none;
}

.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;
}

#cboxCurrent {
    position: absolute;
    color: #fff;
    top: -26px;
    font-size: 18px;
    font-weight: 200;
}

#cboxPrevious {
    position:absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background:url(images/controls.png) no-repeat -75px 0;
    text-indent:-9999px;
    border: none;
    box-shadow: none;

}

#cboxPrevious:hover {
    background-color: rgba(0, 0, 0, .3);
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, .07));
}

#cboxNext {
    position: absolute;
    bottom: 0;
    right: 0;
    background: url(images/controls.png) no-repeat -50px 0;
    width: 30%;
    height: 100%;
    text-indent: -9999px;
    border: none;
    box-shadow: none;
}

#cboxNext:hover {
    background-color: rgba(0, 0, 0, .3);
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, .07));
}
