/*Для новых модальных окон*/
.poplight{
    cursor: pointer;
}
.popup_block{
    display:none;
}
.popup_block.popup_inblock{
    display:block;
}
#modal_container{
    position:absolute;
    width: 100%;
    height: 100%;
    left:0;
    top:0;
    z-index: 10;
    /*display: none;*/
    visibility:hidden;
    /*overflow-y: scroll;*/
}

.popup_inblock{
    background-color: #fbfbfb;
    padding: 45px 50px 50px;
    color: #000000;
    font-size: 14px;
    font-family: trebuchet ms;
    position: relative;
    top: 0; left: 50%;
    z-index: 20;
    text-align: left;
    box-shadow: 0 5px 20px 0 rgba(0,0,0,0.3);
}
.close{
    float: right;
    margin: -35px -40px 0 0;
    width: 22px;
    height: 22px;
    background-image: url(/plugins/newmodal/img/close_pop.png);
    cursor: pointer;
}
.popup_inblock h2 {
    text-align: center;
    text-transform: uppercase;
    font-family: trebuchet ms;

    background-image: none;
    color: #000000;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    margin-bottom: 28px;
    
}
.modal_item{
    position: absolute;
    width: 100%;
    height: 100%;
    left:0;
    top:0;
    z-index: 20;
    overflow-y: scroll;
}
/*отступ снизу модалки*/
.shift_item{
    height:80px;
}
.fade_modal{
    background-image: url(/plugins/newmodal/img/fadebg.png);
    left:0;
    top:0;
    position: absolute;
    min-width: 100%;
    min-height: 100%;
}
.newmodal_caption {
    color: #000000;
    margin-bottom: 5px;
    width: 170px;
    float: left;

    height: 18px;
}

.newmodal_field select {
    width: 250px;
}
.newmodal_field input[type="text"], .newmodal_field input[type="password"], .newmodal_field textarea{
    width: 284px;
    

}

.newmodal_field textarea{
    resize: none;
    height: 70px;
    padding-top: 5px;
    line-height: normal;
}

.newmodal_field input[type="text"]#captcha.captcha {
    width: 140px;
    float: left;

}


.newmodal_field .captcha_block {
    float: right;
    padding-top: 7px;
    padding-bottom: 3px;
}

.newmodal_button {
    display: inline-block;
}


.newmodal_field {
    
    
}

.newmodal_item {
    margin-bottom: 29px;
}

.newmodal_submit {
    margin-top: 31px;
    text-align: center;
}

.newmodal_submit .standard_button {
    width: 310px;
}

.popup_block_center h2{
    text-align: center;
}

.popup_block_center .newmodal_submit {
    text-align: center;
}


.popup_block_wide .newmodal_caption {
    width: 200px;
    float: left;
}

.popup_block_wide .newmodal_field {
    width: 275px;
    float: left;
}

.popup_block_wide .newmodal_field input[type="text"], .popup_block_wide .newmodal_field input[type="password"] {
    width: 275px;
    float: left;
}


.popup_block_center {
    text-align: center;
}


.glob_popup_block {
    padding-left: 30px;
    padding-right: 30px;
}

.glob_popup_block h2{
    text-align: center;
}
.glob_popup_block .newmodal_submit {

}

.newmodal_notnull {
    font-size: 18px;
    color: #ff0000;
    line-height: 17px;
}

.newmodal_line_tpl {
    margin-bottom: 29px;
    margin-top: 26px;
    width: 100%;
    height: 1px
}

.newmodal_line {
    border-top: 1px solid #e5dac0;
    left: 0;
    width: 100%;
    position: absolute;

}


.popup_block_wide {
    padding: 22px 58px 33px 62px;
}

.popup_block_wide img.btn_close {
    margin-right: -29px;
}

.popup_block_wide h2{
    margin-bottom: 20px;
}

.popup_block_wide .newmodal_item {
    margin-bottom: 5px;
}

.newmodal_checkbox {
    padding-top: 10px;
}

.newmodal_checkbox input[type="checkbox"], .newmodal_checkbox label {
    float: left;
    color: #322e2b;
    margin-right: 7px;
    cursor: pointer;
}

.newmodal_links {
    text-align: center;
    margin-top: 10px;
    color: #2b2262;
}

.newmodal_links a{
    margin-left: 4px;
    margin-right: 4px;
    color: #2b2262;

}

.newmodal_field_hint {
    color: #322e2b;
    margin-top: 3px;
}

.newmodal_text{
    margin-bottom: 8px;
    color: #322e2b;
}

.popup_inblock input[type="text"]#smscode {
    width: 418px;

}
.popup_inblock_wide input[type="text"]#smscode {
    width: 275px;

}

.standard_inputtext {
    border: 1px solid #000000;
    height: 38px;
    line-height: 38px;
    padding: 0 12px;
    font-family: arial;
    font-size: 14px;
}

.standard_button {
    height: 40px;
    line-height: 40px;
    border: 0;
    border-bottom: 2px solid #770808;
    color: #ffffff;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    font-family: trebuchet ms;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    background-color: #c51212;
    background-image: url(img/formbut.jpg);
    background-position: top;
}

.standard_button:hover {
    background-position: bottom;
    background-color: #ae0a0a;
}

.volonteram_modal {
    background-color: #f4f5f6;
    border: 3px solid #0a712f;
    padding: 32px 45px 45px;
}

.volonteram_modal h2 {
    font-size: 24px;
    color: #0a712f;
    text-transform: none;
    font-weight: bold;
    font-family: 'Open Sans Condensed';
    margin-bottom: 33px;
    
}

.volonteram_modal_left {
    width: 280px;
    float: left;
}

.volonteram_modal_right {
    width: 430px;
    float: right;
}

.volonteram_modal .newmodal_caption {
    float: none;
    width: auto;
    font-size: 13px;
    color: #474747;
}

.volonteram_modal .newmodal_item {
    margin-bottom: 30px;
}

.volonteram_modal .newmodal_submit {
    margin-top: 10px;
}

.volonteram_modal .kuzalatau_button {
    padding: 0;
    width: 280px;
}

.volonteram_modal .newmodal_item_textarea {
    margin-bottom: 25px;
}

.volonteram_modal .newmodal_field input[type="text"] {
    width: 254px;
}

.volonteram_modal .newmodal_field input[type="text"].datepicker_double {
    width: 194px;
}

.volonteram_modal .newmodal_field textarea {
    width: 404px;
    height: 223px;
}

.volonteram_modal .close{
    margin-right: -30px;
    margin-top: -20px;
}