#cboxWrapper, .cboxPhoto {
    max-width: none
}

.cboxIframe, .cboxPhoto {
    display: block;
    border: 0
}

#cboxCurrent, #cboxTitle {
    position: absolute;
    color: #949494;
    bottom: 4px
}

#cboxClose:active, #cboxNext:active, #cboxPrevious:active, #cboxSlideshow:active, #colorbox {
    outline: 0
}

#cboxOverlay, #cboxWrapper, #colorbox {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url(images/overlay.png);
    opacity: .9;
    filter: alpha(opacity=90)
}

#cboxBottomLeft, #cboxMiddleLeft {
    clear: left
}

#cboxContent {
    position: relative;
    background: #fff;
    overflow: hidden
}

#cboxTitle {
    margin: 0;
    left: 0;
    text-align: center;
    width: 100%
}

#cboxLoadingGraphic, #cboxLoadingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.cboxPhoto {
    float: left;
    margin: auto;
    -ms-interpolation-mode: bicubic
}

.cboxIframe {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0
}

#cboxContent, #cboxLoadedContent, #colorbox {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box
}

#cboxTopLeft {
    width: 21px;
    height: 21px;
    background: url(images/controls.png) -101px 0 no-repeat
}

#cboxTopRight {
    width: 21px;
    height: 21px;
    background: url(images/controls.png) -130px 0 no-repeat
}

#cboxBottomLeft {
    width: 21px;
    height: 21px;
    background: url(images/controls.png) -101px -29px no-repeat
}

#cboxBottomRight {
    width: 21px;
    height: 21px;
    background: url(images/controls.png) -130px -29px no-repeat
}

#cboxMiddleLeft {
    width: 21px;
    background: url(images/controls.png) left top repeat-y
}

#cboxMiddleRight {
    width: 21px;
    background: url(images/controls.png) right top repeat-y
}

#cboxTopCenter {
    height: 21px;
    background: url(images/border.png) repeat-x
}

#cboxBottomCenter {
    height: 21px;
    background: url(images/border.png) 0 -29px repeat-x
}

.cboxIframe {
    background: #fff
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 28px
}

#cboxCurrent {
    left: 58px
}

#cboxLoadingOverlay {
    background: url(images/loading_background.png) center center no-repeat
}

#cboxLoadingGraphic {
    background: url(images/loading.gif) center center no-repeat
}

#cboxClose, #cboxNext, #cboxPrevious, #cboxSlideshow {
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    width: auto;
    background: 0 0
}

#cboxClose, #cboxNext, #cboxPrevious {
    position: absolute;
    bottom: 0;
    width: 25px;
    height: 25px;
    text-indent: -9999px
}

#cboxSlideshow {
    position: absolute;
    bottom: 4px;
    right: 30px;
    color: #0092ef
}

#cboxPrevious {
    left: 0;
    background: url(images/controls.png) -75px 0 no-repeat
}

    #cboxPrevious:hover {
        background-position: -75px -25px
    }

#cboxNext {
    left: 27px;
    background: url(images/controls.png) -50px 0 no-repeat
}

    #cboxNext:hover {
        background-position: -50px -25px
    }

#cboxClose {
    right: 0;
    background: url(images/controls.png) -25px 0 no-repeat
}

    #cboxClose:hover {
        background-position: -25px -25px
    }

.cboxIE #cboxBottomCenter, .cboxIE #cboxBottomLeft, .cboxIE #cboxBottomRight, .cboxIE #cboxMiddleLeft, .cboxIE #cboxMiddleRight, .cboxIE #cboxTopCenter, .cboxIE #cboxTopLeft, .cboxIE #cboxTopRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#00FFFFFF)
}
