/* [TB 15.01.2010: NOTE, this file is changed.     */
/*   If you update to a newer version of modalbox  */
/*   you'll need to migrate our customizations     */
#MB_overlay {
    position: fixed;
    margin: auto;
    top: 0;	left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    background-color: #000;
}
#MB_overlay[id] { position: absolute; }

#MB_window {
    position: relative;
    top: 5%;
    border: 0 solid;
    text-align: left;
    z-index: 10000;
}

* html #MB_window {
    position: absolute;
    top: 50px;
    border: 0 solid;
    text-align: left;
    z-index: 10000;
}

#MB_window[id] { position: absolute; }

#MB_frame {
    position: relative;
    background-color: #EFEFEF;
    height: 100%;
}

#MB_header {
    margin: 0;
    padding: 0;
}

#MB_content {
    padding: 6px .75em;
    overflow: auto;
}

#MB_caption {
    font: bold 100% "Lucida Grande", Arial, sans-serif;
    text-shadow: #FFF 0 1px 0;
    padding: .5em 2em .5em .75em;
    margin: 0;
    text-align: left;
}

#MB_close {
    display: block;
    position: absolute;
    right: 5px; top: 4px;
    padding: 2px 3px;
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
}
#MB_close:hover {
    background: transparent;
}

#MB_loading {
    padding: 1.5em;
    text-indent: -10000px;
    background: transparent url(spinner.gif) 50% 0 no-repeat;
}

/* Color scheme */
#MB_frame {
    padding-bottom: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}
#MB_window {
    background-color: #EFEFEF;
    /*color: #000;*/
    -webkit-box-shadow: 0 8px 64px #000;
    -moz-box-shadow: 0 0 64px #000;
    box-shadow: 0 0 64px #000;

    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

#MB_header {
    background-color: #DDD;
    border-bottom: 1px solid #CCC;
}
#MB_caption { color: #000 }
#MB_close { color: #777 }
#MB_close:hover { color: #000 }


/* Alert message */
.MB_alert {
    margin: 10px 0;
    text-align: center;
}

/* skin customization */
#MB_header,
#MB_loading,
#MB_caption {display:none;}
#MB_frame {
    padding-bottom: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
#MB_content {padding: 0;}

#MB_window,
#MB_frame {
    -webkit-box-shadow:  0 0 0 #000;
    -moz-box-shadow: 0 0 0 #000;
    background-color: transparent !important;}