#colorbox, #cboxOverlay, #cboxWrapper {
    position: absolute;
    top:0;
    left:0;
    z-index:999;
    overflow:hidden;
}

#cboxOverlay {
    background:#000;
    position: fixed;
    width: 100%;
    height: 100%;
}

#colorbox {
    border-radius: 7px;
    -moz-border-radius: 7px;
    background: #333333;
}
#cboxTopLeft, #cboxTopRight, #cboxTopCenter {
    height: 114px;
}

#cboxMiddleLeft, #cboxBottomLeft {
    clear:left;
}

#cboxMiddleLeft, #cboxMiddleRight, #cboxBottomLeft, #cboxBottomRight, #cboxTopLeft, #cboxTopRight {
    width: 28px;
}

#cboxBottomCenter {
    height: 28px;
}
#cboxContent, #cboxLoadingOverlay, #cboxLoadingGraphic {
    border-radius: 7px;
    -moz-border-radius: 7px;
    position: relative;
    background: #fafafa;
}
#cboxLoadedContent {
    overflow: auto;
    margin-top: 100px;
}

#cboxTitle {
    position: absolute;
    top: 39px;
    left: 0;
    width: 100%;
    text-align: center;
    font-weight: normal;
    font-size: 200%;
}

#cboxTitle div.content {
    background: url(../img/bg-header.gif) repeat-x 0 50%;
    margin: 0 25px;
}

#cboxTitle div.content span {
    background: #fafafa;
    padding: 0 20px;
}

#cboxClose, #cboxBack {
    position: absolute;
    top: -100px;
    right: 0;
    overflow: hidden;
    color: #fff;
    height: 38px;
    line-height: 38px;
}

#cboxClose {
    background: url(../img/close-icon.png) no-repeat 100% 50%;
    padding-right: 24px;
}
#cboxBack {
    background: url(../img/back-icon.png) no-repeat 0 50%;
    padding-left: 24px;
}

#cboxBack span {
    background: url(../img/large-separator.gif) no-repeat 100% 0;
    padding-right: 20px;
    margin-right: 20px;
    display: block;
}

#cboxContent h2 {
    font-size: 150%;
    background: none;
}

#cboxContent h3 {
    font-size: 130%;
}

#cboxContent h4 {
    font-size: 120%;
}

#cboxContent h5 {
    font-size: 110%;
}
#cboxContent div.item {
    padding-bottom: 10px;
}
#cboxContent a.image {
    max-height: 205px;
}

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

#cboxLoadingGraphic {
    background: #fafafa url(../img/ajax-loader.gif) no-repeat 50% 50%;
}

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

.cboxPhoto {float:left; margin:auto; border:0; display:block;}
.cboxIframe {width:100%; height:100%; display:block; border:0;}
#cboxCurrent {position:absolute; top:-41px; left:58px; font-weight:bold; color:#7c7c7c;}
#cboxPrevious, #cboxNext, #cboxSlideshow {position:absolute; bottom:-29px; background:url(../img/colorbox/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
#cboxPrevious {left:0px; background-position: -51px -25px;}
#cboxPrevious.hover {background-position:-51px 0px;}
#cboxNext {left:27px; background-position:-75px -25px;}
#cboxNext.hover {background-position:-75px 0px;}
.cboxSlideshow_on #cboxSlideshow {background-position:-125px 0px; right:27px;}
.cboxSlideshow_on #cboxSlideshow.hover {background-position:-150px 0px;}
.cboxSlideshow_off #cboxSlideshow {background-position:-150px -25px; right:27px;}
.cboxSlideshow_off #cboxSlideshow.hover {background-position:-125px 0px;}

.cover-popup #cboxLoadedContent {
    margin: 0;
    float: left;
    height: auto !important;
}

.cover-popup #cboxLoadingOverlay {
    background: none;
}

.cover-popup #cboxLoadingGraphic {
    background: url("../img/loading_transparent.gif") no-repeat scroll 50% 47% transparent;
}

.cover-popup #cboxLoadedContent {
    border: solid 2px #555;
}

.cover-popup .cboxPhoto {
    margin: 0;
}

.cover-popup #cboxClose,
.cover-popup #cboxBack {
    top: auto;
}

.cover-popup #cboxTopLeft,
.cover-popup #cboxTopRight,
.cover-popup #cboxTopCenter {
    height: 20px;
}

.cover-popup #cboxContent {
    border: none;
    background: transparent;
}

.cover-popup #cboxMiddleLeft,
.cover-popup #cboxMiddleRight {
    min-height: 100px;
    height: 100px !important;
}

.cover-popup #cboxWrapper {
    float: left;
}

.cover-popup#colorbox {
    padding-bottom: 0px !important;
    float: left;
}

.cover-popup #cboxTitle {
    text-align: left;
    font-size: 120%;
    position: static;
    width: 80%;
    float: left;
}

.cover-popup #cboxTitle .content {
    background: none;
    margin: 0;
}

.cover-popup #cboxTitle .content span {
    padding: 10px 20px 0 0;
    background: transparent;
    color: #fafafa;
    display: block;
    line-height: 1.4;
}

.cover-popup #cboxClose,
.cover-popup #cboxBack {
    position: static;
    float: right;
    height: 35px;
    line-height: 35px;
    display: none;
    opacity: 0;
}

.cover-popup #cboxBottomCenter,
.cover-popup #cboxBottomLeft,
.cover-popup #cboxBottomRight {
    height: 0px;
}

.cover-popup #cboxWrapper > div {
    float: left;
}