.arcticmodal-overlay,
.arcticmodal-container { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 1000; }
.arcticmodal-container { overflow: auto; margin: 0; padding: 0; border: 0; border-collapse: collapse; }
*:first-child+html .arcticmodal-container { height: 100% }
.arcticmodal-container_i { height: 100%; margin: 0 auto;}
.arcticmodal-container_i2 { padding: 24px; margin: 0; border: 0; vertical-align: middle; }
.arcticmodal-error { padding: 20px; border-radius: 10px; background: #000; color: #fff; }
.arcticmodal-loading { width: 80px; height: 80px; border-radius: 10px; background: #000 url(../img/loading.gif) no-repeat 50% 50%; }


.b-modal {
    background:white;
    border: 1px solid #44474c;
    border-top: 0;
    -webkit-border-top-left-radius: 15px;
    -webkit-border-top-right-radius: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.b-modal_head {
    background: url('../img/misc/popup-header-bg.png') no-repeat 100% -35px;;
    position: relative;
    height:35px;
}

.b-modal_head > div {
    background: url(../img/misc/popup-header-bg.png) no-repeat 0px 0px;
    height: 35px;
    overflow: hidden;
    margin: 0 12px 0 0;
}

.b-modal_content {
    padding: 20px;
    width:auto;
    position: relative; // for  title
    /*min-height: 100px;
    min-width: 200px;*/
}

.b-modal_close {
    display: block;
    position: absolute;
    right: 8px;
    top: 5px;
    width: 27px;
    height: 26px;
    background: url(../img/icons/i-close.png) no-repeat;
    text-decoration: none;
    text-indent: -999em;
    overflow: hidden;
    opacity: 0.8;
}

.b-modal_close:hover {
    opacity: 1
}

.b-modal-title {
    color: #fff;
    padding:0px;
    text-align: left;
    font-size: 17px;
    position: absolute;
    top: -28px;
    
}
