/* Base Superbox Styles */
#superbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
}

#superbox-wrapper {
    position: fixed;
    z-index: 9999;
    top: 0;
    display: table;
    width: 100%;
    height: 100%;
}

#superbox-container {
    position: relative;
    display: table-cell;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

#superbox {
    margin: 0 auto;
    padding: 0;
}

#superbox-container .loading {
    margin: 0;
    text-align: center;
}

/* IE7 */
*:first-child+html #superbox-container {
    position: absolute;
    top: 50%;
    display: block;
    height: auto;
}

*:first-child+html #superbox {
    position: relative;
    top: -50%;
    display: block;
}

/* IE6 - Thanks to Thickbox for IE expressions */
* html #superbox-container {
    position: absolute;
    top: 50%;
    display: block;
    height: auto;
}

* html #superbox {
    position: relative;
    top: -50%;
    display: block;
}

* html #superbox-overlay {
    position: absolute;
    height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight + 'px' : document.body.offsetHeight + 'px');
}

* html #superbox-wrapper {
    position: absolute;
    margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

/* Default Theme */
#superbox-overlay {
    background: #eeeeee url(../images/ui-modal-bg.png) 50% 50% repeat;
    opacity: .50;
    filter: Alpha(Opacity = 50);
}

#superbox-container .loading {
    text-align: center;
    font-size: 40px;
    color: #fff;
}

#superbox {
    background: #FFFFFF;
    border: solid 1px #003766;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 5px #C0C7D5;
    -webkit-box-shadow: 0 0 5px #C0C7D5;
    box-shadow: 0 0 5px #C0C7D5;
}

#superbox-title {
    background: #003766;
    color: #FFFFFF;
    padding-left: 10px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
}

#superbox-innerbox {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
}

#superbox.image {
    text-align: center;
}

#superbox .close {
    float: right;
    overflow: hidden;
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    color: #FFFFFF;
}


#superbox .close a {
    color: #FFFFFF;
    text-decoration: none;
}
#superbox .close a:hover {
    text-decoration: none;
}

#superbox .nextprev {
    overflow: hidden;
    margin: 0;
}

iframe {
    overflow-x: hidden;
    overflow-y: auto;
}