.block_request_quote, .block_order_form{
    width: 100%;
}
.emodal_form {
    background: #fff;
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    width: 400px;
    padding: 60px 40px 40px;

    position: fixed;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 10001;
    transform: scale(0);
    transition: transform 0.2s;
    height: min-content;
}

.emodal_form.open {
    transform: scale(1);
}

.emodal_form svg {
    display: block;
}

.emodal_form .svg-title .title {
    font-weight: 700;
    font-size: 26px;
    line-height: 100%;
    margin-top: -20px;
    margin-bottom: 40px;
}

.emodal_form .mdi-close svg {
    fill: currentColor;
}

.tools_request_quote .btn {
    font-weight: 600;
    padding: 13px 0 !important;
    display: block;
    margin: auto auto 0;
    height: auto;
    width: 160px;
    text-align: center;
}

.tools_request_quote .btn.close-oneClick {
    margin-top: 20px;
    margin-bottom: 20px;
}

.block_buy_on_click-background {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9;
    bottom: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.emodal_form .emodal_content input.btn {
    height: 40px;
    border: 0;
    margin: 0 auto;
    float: none;
    padding: 0;
    font-size: 14px;
}

.emodal_form .emodal_content {
    background-color: #fff;
    position: relative;
}

.emodal_form .emodal-title .emodal_content input[type='text'] {
    color: #000;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0 10px;
    line-height: 35px;
}

.emodal_form .emodal_content input[type='text']::-webkit-input-placeholder {
    color: #9e9e9e;
}

.emodal_form .emodal_content input[type='text']::-moz-placeholder {
    color: #9e9e9e;
}

/* Firefox 19+ */
.emodal_form .emodal_content input[type='text']:-moz-placeholder {
    color: #9e9e9e;
}

/* Firefox 18- */
.emodal_form .emodal_content input[type='text']:-ms-input-placeholder {
    color: #9e9e9e;
}

.emodal_form .emodal_content input[type='text'].error::-webkit-input-placeholder {
    color: rgba(244, 67, 54, .6);
}

.emodal_form .emodal_content input[type='text'].error::-moz-placeholder {
    color: rgba(244, 67, 54, .6);
}

/* Firefox 19+ */
.emodal_form .emodal_content input[type='text'].error:-moz-placeholder {
    color: rgba(244, 67, 54, .6);
}

/* Firefox 18- */
.emodal_form .emodal_content input[type='text'].error:-ms-input-placeholder {
    color: rgba(244, 67, 54, .6);
}

.emodal_form .emodal_content input[type='text'].error {
    color: rgba(244, 67, 54, .6) !important;
}

[id^=wrp_msg],
#agreement-modal{
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 5;
    display: none;
}

[id^=wrp_msg].open_msg,
#agreement-modal{
    display: flex;
    flex-direction: column;
    line-height: 18px;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    padding: 40px 40px 20px 40px;
}
/*попапы*/
[id^=wrp_msg].open_msg{
    position: fixed;
    z-index: 10002;
    width: 400px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 60px 40px 40px;
}
[id^=wrp_msg] .mdi-close{
    cursor: pointer;
    position: absolute;
    width: 31px;
    height: 31px;
    background: none;
    top: 15px;
    right: 15px;
    transition: 0.2s all linear;
    color: var(--main_text_black) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 20;
}
[id^=wrp_msg] .mdi-close:hover {
    background-color: var(--main_bg_gray);
    transition: 0.2s linear;
}

[id^=wrp_msg] .mdi-close:active {
    background-color: #E4E4E4;
    transition: 0.2s linear;
}
[id^=wrp_msg] .mdi-close svg{
    fill: currentColor;
}
[id^=wrp_msg] .svg-title svg{
    margin-bottom: 40px;
}
[id^=wrp_msg] .svg-title .title{
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    color: var(--main_text_black);
    margin-bottom: 40px;
}
[id^=wrp_msg] .svg-title .subtitle{
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    margin-bottom: 40px;
}
[id^=wrp_msg] .svg-title .message{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
}
[id^=wrp_msg] .svg-title + .btn{
    width: 100%;
    height: 50px;
}
/*конец попапов*/

[id^=wrp_msg] span {
    color: var(--main-txt);
}

.pk_wrp {
    margin-bottom: 32px;
    text-align: left;
}

.emodal_form .emodal-title .pk_wrp label {
    display: block;
}

.emodal_form .emodal_content .pk_wrp input[type='checkbox'] {
    width: auto;
    margin: 0;
    height: auto;
    position: relative;
    top: -16px;
    left: 10px
}

.emodal_form .emodal-title .pk_wrp a {
    font-size: 12px;
    font-weight: normal;
    text-transform: none;
    width: 80%;
    color: #2AC64F;
    line-height: 13px;
    text-align: left;
}

.emodal_form .emodal-title .pk_wrp a:hover {
    color: #0CA02F;
}

.emodal_form .emodal-title .pk_wrp.error a {
    color: #F44336;
}

.tools_request_quote #close_onebay.mdi-close {
    cursor: pointer;
    position: absolute;
    width: 31px;
    height: 31px;
    background: none;
    top: -48px;
    right: -27px;
    transition: 0.2s all linear;
    color: var(--main_text_black) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 20;
}

.tools_request_quote #close_onebay.mdi-close:hover {
    background-color: var(--main_bg_gray);
    transition: 0.2s linear;
}

.tools_request_quote #close_onebay.mdi-close:active {
    background-color: #E4E4E4;
    transition: 0.2s linear;
}

.tools_request_quote .emodal-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 32px;

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tools_request_quote.emodal_form .emodal_content .pk_wrp input[type='checkbox'] {
    display: none;
}

.tools_request_quote .main-user-consent-request-announce {
    max-height: 40px;
}

.tools_request_quote.emodal_form .emodal_content .main-user-consent-request-announce {
    font-size: 14px;
}

.tools_request_quote.emodal_form .emodal_content .pk_wrp input[type='checkbox']:checked + .main-user-consent-request-announce:before {
    content: "";
    background-size: cover;
    color: #202020;
}

.tools_request_quote.emodal_form .main-user-consent-request-announce:before {
    color: var(--main_color);
    border-color: var(--main_color);
}

.tools_request_quote .form_inputs {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.tools_request_quote .form_inputs input {
    border: 1px solid var(--main_text_gray);
    border-radius: 6px;
    outline: none;
    padding: 16px;
    color: var(--main_text_black);
    font-size: 14px;
    height: 50px;
    width: 100%;
}

.tools_request_quote .form_inputs input:not(:last-child) {
    /*margin-bottom: 8px;*/
    /*margin-bottom: 24px;*/
}


.tools_request_quote .form_inputs input:focus {
    border: 1px solid var(--main_text_gray);
}

.tools_request_quote .form_inputs input + .error-msg {
    font-size: 12px;
    color: rgba(244, 67, 54, .6);
    height: 12px;
    margin-top: 2px;
    margin-bottom: 12px;
    text-align: left;
    opacity: 0;
}

.tools_request_quote .form_inputs input.error + .error-msg {
    opacity: 1;
}

.tools_request_quote .btn {
    background-color: var(--main_color);
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main_text_button);
    width: 100%;
    min-height: 50px;
    height: 50px;
    transition: .2s!important;
}

.tools_request_quote .btn:hover {
    background-color: var(--yellow-button-hover);
    transition: .2s;
}

.tools_request_quote .btn:active {
    transform: scale(0.95);
    transition: .2s;
}

#one-click-btn-send.disabled {
    background-color: var(--border-bottom-gray) !important;
    color: var(--gray-button-color) !important;
    pointer-events: none;
}

.background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1001;
    background: var(--main-txt);
    opacity: 0;
    transition: opacity 0.3s;
}

.background.open {
    display: block;
    opacity: 0.3;
}

#wrp_msg div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.phone-wrp {
    position: relative;
}

.captcha-wrap {
    display: flex;
    /*align-items: center;*/
}

.captcha-input-wrap {
    position: relative;
    width: 50%;
}

.captcha-wrap .captcha {
    margin-bottom: 24px;
    margin-left: 12px;
    max-width: 50%;
    height: 50px;
}

.reload-captcha {
    position: absolute;
    width: 36px;
    height: 36px;
    background: var(--main_color);
    border-radius: 6px;
    right: 6px;
    top: 50%;
    margin-top: -32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.reload-captcha svg {
    fill: var(--main_text_button);
}

@media(hover:hover) {
    .reload-captcha:hover {
        background-color: var(--yellow-button-hover);
    }
}

.reload-captcha:active {
    transform: scale(0.95);
}

.wrp-flag {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
}

.flag_phone_disable {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 2;
}

.agreement-wrp .agreement {
    font-weight: 400;
    font-size: 12px;
    line-height: 160%;
    text-align: left;
    cursor: pointer;
}
.agreement-wrp .agreement span{
    border-bottom: 1px dashed var(--main-txt);
    transition: 0.2s;
}
.agreement-wrp .agreement span:hover{
    border-color: transparent;
}

.agreement-wrp .agreement-input {
    float: left;
    height: 18px !important;
    width: 18px !important;
    text-align: center;
    margin: 2px 8px 0 0;
    border: 1px solid #C4C4C4 !important;
    border-radius: 3px !important;
    background-color: #fff;
    padding: 0 !important;
    transition: 0.2s all linear;
    cursor: pointer;
}

.agreement-wrp > .agreement-input:hover {
    border: 1px solid var(--main-txt) !important;
}
.agreement-wrp > .agreement-input.checked {
    background: url(images/check-symbol.svg) no-repeat center;
    background-size: contain;
    border: 1px solid #DBC96B!important;
}

.agreement-wrp > .agreement-input.checked:hover {
    border: 1px solid #A6974D!important;
}

#agreement-modal{
    width: 640px;
    margin-left: -120px;
    padding: 40px;
    display: none;
    z-index: 21;
}

#agreement-modal.open{
    display: block;
}

#agreement-modal .title{
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 32px;
    color: var(--main_text_black);
    text-align: left;
}

#agreement-modal .content{
    text-align: left;
    padding: 0 10px 10px 0;
    width: 100%;
    background: #fff;
    -moz-appearance: none;
    font-size: 14px;
    border-radius: 6px;
    margin: 0 0 20px 0;
    /*height: 280px;*/
    height: 257px;
    line-height: 160%;
}

#agreement-modal .buttons{
    display: flex;
    justify-content: space-between;
}

#agreement-modal .btn{
    width: calc(50% - 4px);
    transition: 0.2s all linear;
}

#agreement-modal .btn.no-agree{
    background-color: var(--border-bottom-gray);
    color: var(--main-txt);
}

#agreement-modal .btn.no-agree:hover{
    background-color: var(--gray-button-hover);
}
@media (max-width: 680px) {
    #agreement-modal{
        width: 480px;
        margin-left: -38px;
        padding: 30px;
    }
    #agreement-modal .title{
        margin-bottom: 24px;
    }
    #agreement-modal .content{
        height: 260px;
    }
}
@media (max-width: 500px) {
    .emodal_form {
        width: calc(100% - 40px);
        padding: 40px 20px 20px;
    }
    #agreement-modal{
        width: 100%;
        margin-left: 0;
        padding: 30px 15px;
    }
    .tools_request_quote #close_onebay.mdi-close {
        right: -15px;
        top: -35px;
    }
    #agreement-modal .content{
        height: 250px;
        padding-right: 5px;
    }
    #agreement-modal .title{
        font-size: 18px;
        margin-bottom: 16px;
        height: 56px;
    }
    .agreement-wrp .agreement {
        font-size: 10px;
    }
    .captcha-input-wrap{
        width: 57%;
    }
    .captcha-wrap .captcha{
        max-width: 43%;
    }
    .emodal_form .emodal_content input.btn{
        height: 46px;
        min-height: unset;
    }
    [id^=wrp_msg].open_msg{
        max-width: calc(100% - 32px);
        padding: 40px 20px 20px;
    }
    [id^=wrp_msg] .svg-title + .btn{
        height: 46px;
    }
    .tools_request_quote .btn{
        min-height: 46px;
        height: 46px;
    }
    #agreement-modal .btn{
        min-height: 46px;
        height: 46px;
    }
}
.btn.request_quote{
    height: 56px;
    background-color: var(--main_color);
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    transition: 0.2s all linear!important;
    width: 100%;
}
.product-item-container.mini_tiles .btn.request_quote,
.product-item-container.tiles .btn.request_quote,
.product-item-container.lines .btn.request_quote{
    font-size: 16px;
}
/*.product-item-container.mini_tiles .block_order_form .btn.request_quote,*/
/*.product-item-container.tiles .block_order_form .btn.request_quote{*/
/*    font-size: 14px;*/
/*}*/
.btn.request_quote:hover{
    background-color: var(--yellow-button-hover);
}
.btn.request_quote:active{
    transform: scale(0.95);
}
.tools_request_quote .main-user-consent-request-announce{
    max-height: 40px;
}

.tools_request_quote.emodal_form .emodal_content .main-user-consent-request-announce {
    font-size: 14px;
}

.tools_request_quote.emodal_form .emodal_content .pk_wrp input[type='checkbox']:checked + .main-user-consent-request-announce:before {
    content: "";
    background-size: cover;
    color: #202020;
}

.tools_request_quote.emodal_form .main-user-consent-request-announce:before {
    color: var(--main_color);
    border-color: var(--main_color);
}
