#cboxWrapper,
.cboxPhoto {
    max-width: none
}

#cboxCurrent,
#cboxTitle {
    position: absolute;
    color: #ccc;
    top: -20px
}

.cboxIframe,
.cboxPhoto {
    border: 0;
    display: block
}

#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;
    -webkit-transform: translate3d(0, 0, 0)
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .9;
    filter: alpha(opacity=90)
}

#cboxBottomLeft,
#cboxMiddleLeft {
    clear: left
}

#cboxTitle {
    margin: 0;
    left: 0
}

#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
}

#cboxContent {
    position: relative;
    margin-top: 20px;
    background: #000
}

.cboxIframe {
    background: #fff
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border: 5px solid #000;
    background: #fff
}

#cboxCurrent {
    right: 0
}

#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
}

#cboxNext,
#cboxPrevious {
    top: 50%;
    margin-top: -32px;
    width: 28px;
    height: 65px;
    position: absolute;
    text-indent: -9999px
}

#cboxSlideshow {
    position: absolute;
    top: -20px;
    right: 90px;
    color: #fff
}

#cboxPrevious {
    left: 5px;
    background: url(images/controls.png) top left no-repeat
}

#cboxPrevious:hover {
    background-position: bottom left
}

#cboxNext {
    right: 5px;
    background: url(images/controls.png) top right no-repeat
}

#cboxNext:hover {
    background-position: bottom right
}

#cboxClose {
    position: absolute;
    top: 5px;
    right: 5px;
    display: block;
    background: url(images/controls.png) top center no-repeat;
    width: 38px;
    height: 19px;
    text-indent: -9999px
}

#cboxClose:hover {
    background-position: bottom center
}