/*Для новых модальных окон*/
.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: 20;
    /*display: none;*/
    visibility:hidden;
    /*overflow-y: scroll;*/
}

.popup_inblock{
    background-color: #ffffff;
    padding: 35px 44px 37px;
    color: #000000;
    font-size: 14px;
    position: relative;
    top: 0; left: 50%;
    z-index: 20;
    text-align: left;
}
.close{
    float: right;
    margin: -26px -35px 0 0;
    width: 40px;
    height: 40px;
    background-image: url(/plugins/newmodal/img/close_pop.png);
    cursor: pointer;
}
.popup_inblock h2 {
    text-align: left;
    

    background-image: none;
    color: #41494e;
    font-size: 26px;
    font-weight: normal;
    margin: 0;
    padding: 0;
    
    margin-bottom: 33px;
    
}
.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%;
}
.fade_blur {
    filter: blur(3px);
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='blur'><feGaussianBlur stdDeviation='3'/></filter></svg>#blur");
    -webkit-filter: blur(3px);
    -ms-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
}

.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: 279px;
    
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

}

.newmodal_field textarea{
    height: 70px;
}

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

}


.newmodal_field .captcha_block {
    float: right;
    padding: 3px 4px 4px;
    height: 23px;
    border-radius: 3px;
    background-color: #000000;
}

.newmodal_button {
    display: inline-block;
}


.newmodal_field {
    
}

.newmodal_item {
    margin-bottom: 40px;
}

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



.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;

}

.newmodal_hint {
    display: inline-block;
    color: #29343a;
    
    border-top: 2px solid #41494e;
    padding: 3px 4px 0;
    margin-top: 29px;
}

.popup_block .itgo_button {
    height: 40px;
    line-height: 40px;;
}