#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100000000;
    overflow: hidden;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: both;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

#cboxOverlay {
    background: url(../images/overlay.png) repeat 0 0;
}

#cboxContent {
    background: #fff;
    overflow: hidden;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    behavior: url(css/PIE.htc);
    position: relative;
}

.cboxIframe {
    background: #fff;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    behavior: url(css/PIE.htc);
    position: relative;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    margin: 10px 10px 10px 10px;
    overflow: auto;
    overflow-x: hidden;
}

#cboxLoadingOverlay {
    background: url(../images/loading_background.png) no-repeat center center;
}

#cboxLoadingGraphic {
    background: url(../images/loading.gif) no-repeat center center;
}

#cboxClose {
    position: absolute;
    top: 0;
    right: 0;
    background: url(../images/controls.png) no-repeat -25px 0;
    width: 25px;
    height: 25px;
    /* text-indent: -9999px; */
    color: transparent;
}

#cboxClose:hover {
    background-position: -25px -25px;
}
#cboxClose:focus{
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
    background-position: -25px -25px;
}
#cboxClose.ccb {
    position: absolute;
    top: 5px;
    right: 3px;
    background: url(images/controls-l.png) no-repeat -22px -2px;
    width: 32px;
    height: 32px;
    /* text-indent: -9999px; */
    color: transparent;
}
#cboxClose.ccb:focus{
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
    background-position: -21px -33px;
}
#cboxClose.ccb:hover {
    background-position: -21px -33px;
}