/*----- modal, bg-wait, notification -----*/

.modal{
    width: 600px;
    height: auto;
    min-height: 150px;
    position:absolute;
    top:15%;
    left:50%;   
    margin-left:-215px;
    background: #fff;    
    border:1px solid #ccc;    
    box-shadow: #222 0px 2px 2px 2px;
    display: none;
     z-index:99; 

}

.modal #modal-content{
    width: 580px;
    height: auto;
    min-height: 100px;
    padding: 10px;
    background: #fff;
    font-weight: bold;
}


.modal #modal-header{
    width: 580px;
    height:25px;
    padding: 10px;
    border-bottom: 1px solid #222767;
    background-color:#222767;
    background: -webkit-linear-gradient(top, #222767, #201e4e);
    background: -moz-linear-gradient(top, #222767, #201e4e);
    background: -ms-linear-gradient(top, #222767, #201e4e);
    background: -o-linear-gradient(top, #222767, #201e4e);
    background: linear-gradient(top, #222767, #201e4e);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222767', endColorstr='#201e4e', GradientType=0 ); IE6-9
    font-weight: bold;
    border-bottom:1px solid #ccc;  
    text-transform: uppercase;
    text-align: center;

}

.modal #modal-header h2{
   margin: 0;
   font-size: 18px;
   color: #fff;
}

.modal #modal-footer{
    width: 580px;
    height:30px;
    padding: 10px;
    background: #f2f2f2;
    border-top: 1px solid #ccc;   
}

#modal-bg{
    width: 100%;
    height:100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index:9;   
    display: none;
}

.modal #modal-close{
    position: absolute;
    top: -13px;
    right: -13px;
    width: 30px;
    height: 30px;
    background:url(../images/modal-close.png) no-repeat;
    background-size: 30px 30px;
    cursor: pointer;
}

.modal  form input, .modal form select, .modal form textarea{
    width: 540px;
    margin: 5px 0;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    font-size: 11px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    padding: 5px 3px;
}

.modal input[type='submit'], .modal input[type='reset']{
    border: 1px solid rgba(0, 0, 0, .2);
    color: #fff;
    display: inline-block;
    padding: .5em .8em;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    background: #16a4c8;
    background: linear-gradient(top, #16a4c8 0%, #1086b6 100%);
    background: -moz-linear-gradient(top, #16a4c8 0%, #1086b6 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #16a4c8), color-stop(100%, #1086b6));
    background: -webkit-linear-gradient(top, #16a4c8 0%, #1086b6 100%);
    cursor:pointer;
    float: right;
    margin: 0 5px;
}
.modal form label{
    color: #575757;
    display: block;
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 5px 0;
    padding: 0 0 0 3px;
}

.modal form input:focus, .modal form select:focus, .modal form te/xtarea:focus{ border: 1px solid #b3b3b3;}

.modal form select{
    border: 1px solid #DDDDDD;
    border-radius: 3px;
}

#notification{
    width: 100%;
    height: 80px;
    padding: 10px;
    position: fixed;
    top: 0;  
    background: rgba(17,17,17,0.8);    
    z-index: 999999;
    display: none;
}

#notwrap{
    margin: 0 auto;
    width: 850px;
    height: 40px;
    padding: 13px 0 10px 50px;
}

#notwrap a{
    border: 1px solid rgba(0, 0, 0, .2);
    color: #fff;
    display: inline-block;
    padding: 0 15px 2px 15px  ;
    font-size: 12px;
    text-shadow: #0E0E0E 0px 1px 1px;
    text-decoration: none;   
    background: url(../img/bg_box_head.jpg) repeat-x;       
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);        
    cursor:pointer;
    float: right;
    margin: 5px  5px 0 0;
}

#notwrap.note_error{
    background: url(../img/note_error.png) left center no-repeat;
    background-size: 38px 38px;
    font-size: 16px;
    font-weight: bolder;
    color: #ef6e52;
}

#notwrap.note_success{
    background: url(../img/note_success.png) left center no-repeat;
    background-size: 38px 38px;
    font-size: 16px;
    font-weight: bolder;
    color: #59be36;
}