/*Для новых модальных окон*/
#modal_container{
    position: fixed;
    width: 100%;
    height: 100%;
    left:0;
    top:0;
    z-index: 10;
    visibility:hidden;
}
#modal_container.open_container{
    visibility: visible;
}
body.blocked_body{
    overflow: hidden;
    min-height: 100%;
}
.modal_overlay{
    position: fixed;
    overflow: auto;
    width: 100%;
    height: 100%;
    top:0px;
    left:0px;
    overflow-y: scroll;
    text-align: center;
    background-color: rgba(19,183,184, 0.64);
}
.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;
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 1;
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(./img/close_pop.png);
    cursor: pointer;
    background-color: #f4f4f4;
    
}

/*Пользовательские стили*/
.poplight{
    cursor: pointer;
}
.popup_block{
    display:none;
    padding: 25px 30px 30px;
    background-color: #ffffff;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.popup_block_headmenu {
    padding: 0;
}

.popup_block_headmenu .modal_close {
    display: none;
}

.modal h2 {
    text-align: center;
    text-transform: uppercase;
    background-image: none;
    color: #000000;
    font-size: 40px;
    font-family: 'Roboto Condensed';
    font-weight: bold;
    margin: 0 0 28px;
    padding: 0;
}

.modal_descr {
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 28px;
}

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

.newmodal_field textarea{
    height: 70px;
    resize: none;
    line-height: normal;
    padding-top: 7px;
    
    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: 15px;
}

.newmodal_submit {
    
    text-align: center;
}

.newmodal_submit .andora_button {
    padding: 0 25px;
}

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

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

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

.otzyv_popup_block {
    
}

.otzyv_popup_block .popup_block_content {
    text-align: center;
}

.otzyv_popup_block .newmodal_item.newmodal_item_text {
    
    
    width: 45%;
    padding: 0 2%;
    display: inline-block;
}

.otzyv_popup_block .newmodal_item .surpris_inputtext {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.otzyv_popup_block .newmodal_item.newmodal_item_textarea {
    width: 94%;
    font-family: inherit;
    display: inline-block;
}

.otzyv_popup_block .newmodal_item textarea.surpris_inputtext {
    width: 100%;
    height: 120px
}

.modal_descr {
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    text-align: center;
}


.popup_block_img {
    position: absolute;
    bottom: 100%;
    width: 100%;
    left: 0;
}

.popup_block_img img {
    display: block;
    width: 100%;
}

.modal_type_zvonok, .modal_type_zamer, .modal_type_complect, .modal_type_feedback {
    background-color: #1a1a1a;
    padding: 50px 100px 45px;
    color: #ffffff;
}

.modal_type_zvonok h2, .modal_type_zamer h2, .modal_type_complect h2, .modal_type_feedback h2 {
    color: #ffffff;
    margin-bottom: 25px;
}

.modal_type_zvonok .modal_descr, .modal_type_zamer .modal_descr, .modal_type_complect .modal_descr, .modal_type_feedback .modal_descr {
    color: #acacac;
    margin-bottom: 40px;
}

.modal_type_zvonok .popup_block_list, .modal_type_zamer .popup_block_list, .modal_type_complect .popup_block_list, .modal_type_feedback .popup_block_list {
    text-align: justify;
}

.modal_type_zvonok .newmodal_item, .modal_type_zamer .newmodal_item, .modal_type_complect .newmodal_item, .modal_type_feedback .newmodal_item {
    display: inline-block;
    vertical-align: top;
    width: 270px;
}

.modal_type_zvonok .andora_inputtext, .modal_type_zamer .andora_inputtext, .modal_type_complect .andora_inputtext, .modal_type_feedback .andora_inputtext {
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    width: 100%;
    padding: 0 20px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #393939;
    color: #ffffff;
    border: 0;
}

.modal_type_feedback .newmodal_item.newmodal_item_textarea, .modal_type_feedback .newmodal_item.newmodal_item_name {
    width: 100%;
}

.modal_type_feedback textarea.andora_inputtext {
    padding-top: 10px;
    height: 120px;
    line-height: normal;
    
}

.modal_type_feedback {
    background-image: url(/img/modal_feedback_back.jpg);
    background-position: bottom center;
    background-repeat: no-repeat;
}

.modal_type_zvonok .newmodal_submit .andora_button, .modal_type_zamer .newmodal_submit .andora_button, .modal_type_complect .newmodal_submit .andora_button, .modal_type_feedback .newmodal_submit .andora_button {
    width: 100%;
    height: 60px;
    line-height: 60px;
}

@media only screen and (max-width: 780px){
    .modal_type_zvonok, .modal_type_zamer, .modal_type_complect, .modal_type_feedback {
        padding: 50px;
    }
}

@media only screen and (max-width: 770px){
    .modal_type_zvonok .newmodal_item, .modal_type_zamer .newmodal_item, .modal_type_complect .newmodal_item, .modal_type_feedback .newmodal_item {
        width: 48%;
    }
}
    
@media only screen and (max-width: 500px){
    .modal_type_zvonok, .modal_type_zamer, .modal_type_complect, .modal_type_feedback {
        padding: 30px;
    }
}