#cboxOverlay,
.cboxIframe {
    width: 100%;
    height: 100%
}

.cboxIframe,
.cboxPhoto {
    display: block;
    border: 0;
    cursor: pointer;
}

#cboxCurrent,
#cboxTitle {
    position: absolute;
    color: #949494;
    bottom: 0px
}

#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;
    background: url(../png/overlay.png)
}

#cboxBottomLeft,
#cboxMiddleLeft {
    clear: left
}

#cboxContent {
    position: relative;
    background: #FFF;
    overflow: hidden; cursor:pointer;
}

#cboxTitle {
    margin: 0;
    left: 0;
    text-align: center;
    width: 100%; color:#666; font-size:14px;
}

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

.cboxPhoto {
    cursor: pointer;
    float: left;
    margin: auto;
    max-width: none;
    -ms-interpolation-mode: bicubic
}

#cboxContent,
#cboxLoadedContent,
#colorbox {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box
}

#cboxTopLeft {
    width: 21px;
    height: 21px;
    background: url(../png/controls.png) -101px 0 no-repeat
}

#cboxTopRight {
    width: 21px;
    height: 21px;
    background: url(../png/controls.png) -130px 0 no-repeat
}

#cboxBottomLeft {
    width: 21px;
    height: 21px;
    background: url(../png/controls.png) -101px -29px no-repeat
}

#cboxBottomRight {
    width: 21px;
    height: 21px;
    background: url(../png/controls.png) -130px -29px no-repeat
}

#cboxMiddleLeft {
    width: 21px;
    background: url(../png/controls.png) left top repeat-y
}

#cboxMiddleRight {
    width: 21px;
    background: url(../png/controls.png) right top repeat-y
}

#cboxTopCenter {
    height: 21px;
    background: url(../png/border.png) repeat-x
}

#cboxBottomCenter {
    height: 21px;
    background: url(../png/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(../loading_background.html) center center no-repeat
}

#cboxLoadingGraphic {
    background: url(../loading.html) 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(../png/controls.png) -75px 0 no-repeat
}

#cboxPrevious:hover {
    background-position: -75px -25px
}

#cboxNext {
    left: 27px;
    background: url(../png/controls.png) -50px 0 no-repeat
}

#cboxNext:hover {
    background-position: -50px -25px
}

#cboxClose {
    right: 0;
    background: url(../png/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)
}