/*
   modalbox.css

   Modalbox project

   Created by Andrew Okonetchnikov.
   Copyright 2006-2010 okonet.ru. All rights reserved.

   Licensed under MIT license.
*/

#MB_overlay {
    position: absolute;
    margin: auto;
    top: 0;	left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    border: 0;
    background-color: #000!important;
}
#MB_overlay[id] { position: fixed; }

#MB_windowwrapper {
    position:absolute;
    top:0;
    width:100%;
}

#MB_window {
    position:relative;
    margin-left:auto;
    margin-right:auto;
    top:0;
    left:0;
    border: 0 solid;
    text-align: left;
    z-index: 10000;
    border-color:#363636;
    background-color:#1D1D1D;
    color:#bcbcbc;

    -webkit-box-shadow: 0 0 64px #000;
    -moz-box-shadow: #000 0 0 64px;
    box-shadow: 0 0 64px #000;
}
#MB_window[id] { position: relative; }

#MB_frame {
    position: relative;
    border-style: solid;
    border-width: 0 5px 5px 5px;
    height: 100%;
    border-color:#424242;

    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;

    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;

    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

#MB_header {
    margin: 0;
    height: 28px;
    background-color: #000;
    border-color:#363636;
}

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

#MB_caption {
    font-size:85%;
    font-weight: bold;
    padding: 6px 0 0 12px;
    margin: 0;
    text-align: left;
    color:#FFF; font-size: 14px;
}

#MB_close {
    display:block;
    position:absolute;
    right:0; top:0;
    padding:7px 5px;
    font-weight:bold;
    text-decoration:none;
    font-size:11px;
    color:#FFD95A; 
    font-size: 24px; 
    margin-top: -8px;
}
#MB_close:hover {
    background: transparent;
    color:#FFF;
}

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

/* Color scheme */
#MB_window h1, #MB_window h2, #MB_window h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0px;
}

#MB_window h2 {
    font-size: 16px;
}

#MB_window h3 {
    font-size: 14px;
}

#MB_window ul {
    margin: 10px;
}

#MB_window li {
    padding: 2px 0px;
}

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