/*Для новых модальных окон*/
#modal_container{
    position: fixed;
    width: 100%;
    height: 100%;
    left:0;
    top:0;
    z-index: 100;
    visibility:hidden;
}
#modal_container.open_container{
    visibility: visible;
}
body.blocked_body{
    overflow: hidden;
    min-height: 100%;
    margin-left: 0px;
}
.modal_overlay{
    position: fixed;
    overflow: auto;
    width: 100%;
    height: 100%;
    top:0px;
    left:0px;
    overflow-y: scroll;
    text-align: center;
    background-image: url(/img/open_bg.png);
}
.modal_overlay.not_overlay {
    background-image: none;
    overflow-y: visible;
    position: absolute;
}
.modal_after{
    display: inline-block;
    height: 100%;
    width: 0px;
    vertical-align: middle;
}
.modal{
    display: inline-block !important;
    position: relative;
    max-width: 80%;
    vertical-align: middle;
    margin: 30px 0;
    text-align: left;    
}
.modal_close{
    display: block;
    float: right;
    margin: -20px -28px 0 0;
    width: 30px;
    height: 30px;
    background-image: url(./img/close_pop.png);
}

/*Пользовательские стили*/
.poplight{
    cursor: pointer;
}
.popup_block{
    display:none;
    /*background-image: url(./img/modal_bg.png);*/
    padding: 22px 30px 30px;
    font-size: 16px;
}
.popup_block.form_wrapper{
    width: 310px;
}
.popup_block .form_field{
    margin-left: 0;
    width: 100%;
    margin-bottom: 30px;
}
.popup_block .form_field_submit{
    margin-bottom: 0;
}

.popup_block .button{
    padding: 0 40px;
    height: 40px;
}


.popup_block.modal{
    display: inline-block;
}

.popup_block h2 {
    text-align: center;
    text-transform: uppercase;
    background-image: none;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 21px;
}
.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{
    height: 70px;
    resize: none;
    line-height: normal;
    padding-top: 7px;
    font-family: trebuchet ms;
    font-size: 14px;
}

.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_block input[type="text"]#smscode {
    width: 418px;

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

}
.standard_textarea, .standard_inputtext{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font: inherit;
    background-color: #fff;
    color: #011226;
    border: 1px solid
}
.standard_inputtext {
    border-color: #d6d8da;
    height: 40px;
    line-height: 40px;
    padding: 0 18px;
    
}
.standard_inputtext[disabled]{
    font-weight: bold;
}
.shopcart_order .standard_inputtext{
    outline: none;
    background-color: #f8f8f9;
}
.shopcart_order .standard_inputtext:focus{
    border-color: #b5dff1;
    background-color: #fff;
}
.standard_select{
    
}
.standard_textarea{
    border-color: #dcdcdc;
    height: 180px;
    line-height: 20px;
    padding: 14px 18px;
    margin: 0;
    resize: none;
}
.search_input{
    width: 100%;
    padding-left: 46px;
    background-image: url(/img/ico/search_red.png);
    background-repeat: no-repeat;
    background-position: 18px center;
    
    -o-transition: width 0.4s;
    -ms-transition: width 0.4s;
    -moz-transition: width 0.4s;
    -webkit-transition: width 0.4s;
    transition: width 0.4s;
}
@media only screen and (min-width: 1280px){
    .search_input:focus, .head_search:active .search_input{
        width: 167%;
    }
    .fixed .head_search .search_input:focus{
        width: 100%;
    }
}
@media only screen and (min-width: 1800px){
    .search_input:focus, .head_search:active .search_input{
        width: 153%;
    }
}
.form_order .standard_inputtext{
    width: 224px;
}

.standard_button {
    height: 40px;
    line-height: 40px;
    border: 0;
    text-decoration: none;
    color: #ffffff;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Exo 2';
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    background-color: #f34f50;
    background-image: linear-gradient(to top, #db0a2e, #f34f50);
    background-position: top;
    box-shadow: 0 3px 0 #af0623;
}
.auth_button{
    width: 100%;
}

.standard_button:hover {
    background-color: #db0a2e;
    background-image: linear-gradient(to bottom, #db0a2e, #f34f50);
}
.popup_block .form_text{
    text-align: center;
}

.portfolio_modal{
    padding: 0;
    max-width: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    overflow: hidden;
}
.portfolio_modal .modal_close, .shopcart_modal .modal_close{
    border: 1px solid #c3c3c3;
    margin: 0;
    right: 10px;
    top: 10px;
    z-index: 3;
    position: relative;
    width: 28px;
    height: 28px;
    background: url(./img/modal_close_bg.png) no-repeat center center;
    position: absolute;
}

.shopcart_modal{
    background-color: #eeeff0;
    background-image: none;
    padding: 40px;
    max-width: none;
    width: 900px;
    max-width: 90%;
    -webkit-box-sizing: border-box
    -moz-box-sizing: border-box
    box-sizing: border-box
}
.zayavka_btn{
    width: 100%;
}
.popup_block .placeholder + .field_info{
    display: none;
}

.reg_auth_modal{
    width: 500px;
    background-color: #eeeff0;
    padding: 0;
}
.reg_auth_modal .modal_close{
    display: none;
}
.reg_auth_modal .standard_select, .reg_auth_modal .custom_form_span, .reg_auth_modal .standard_inputtext, .reg_auth_modal .standard_button{
    height: 50px;
    width: 100%;
}
.reg_auth_modal .custom_form_span{
    width: auto;
}
.shopcart_modal .shopcart_list{
    margin-bottom: 20px;
}
.modal_shopcart_bottom_wr{
    text-align: right;
}
.modal_shopcart_bottom_wr .standard_button{
    margin-left: 20px;
    padding: 0 20px;
    vertical-align: top;
}
.form_wr .modal_close{
    display: none;
}
.onclick_block{
    background-color: #fff;
    text-align: center;
}