.modal .close-btn {
     width: 25px;
     height: 25px;
     background: url(../img/close-btn.png) center center no-repeat;
     background-size: 14px;
     position: absolute;
     top: 10px;
     right: 10px;
     cursor: pointer;
}
 .modal .close {
     position: absolute;
     width: 45px;
     height: 45px;
     top: 15px;
     right: 15px;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-pack: center;
     -ms-flex-pack: center;
     justify-content: center;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
     cursor: pointer;
}
 .modal .close svg {
     width: 25px;
     height: 25px;
}
 .bgf2 {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.6);
}

.modal .f1_s1,
.modal .f1_s2{
    display: none;
}
.modal.s1 .f1_s1{
    display: block;
}
.modal.s2 .f1_s2{
    display: block;
}

 .modal {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     display: block;
     visibility: hidden;
     z-index: 999999999;
     overflow-x: hidden;
     overflow-y: auto;
     opacity: 0;
     -webkit-transition: .6s;
     -o-transition: .6s;
     transition: .6s;
    /* background: rgba(1,1,1,0.8);
    */
}
 .modal.active {
     opacity: 1;
     visibility: visible;
}
 .modal-dialog {
     position: relative;
     min-height: 100%;
     width: 100%;
     -webkit-box-sizing: border-box;
     box-sizing: border-box;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-pack: center;
     -ms-flex-pack: center;
     justify-content: center;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
     padding: 40px 0;
}
 .modal-content {
     position: relative;
     top: 50%;
     -webkit-background-clip: padding-box;
     background-clip: padding-box;
     outline: 0;
     width: 100%;
     height: auto;     
     overflow: hidden;
     -webkit-box-sizing: border-box;
     box-sizing: border-box;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-orient: vertical;
     -webkit-box-direction: normal;
     -ms-flex-direction: column;
     flex-direction: column;
     -webkit-transition: 0.3s;
     -o-transition: 0.3s;
     transition: 0.3s;
     -webkit-transition-timing-function: ease-out;
     -o-transition-timing-function: ease-out;
     transition-timing-function: ease-out;
     -webkit-transform: translate(0, 25%) scale(0.9);
     -ms-transform: translate(0, 25%) scale(0.9);
     transform: translate(0, 25%) scale(0.9);
     
     padding: 50px 40px;
    border-radius: 20px;
    z-index: 1;
    background: #f4f4f4;
    max-width: 645px;
}
@media(max-width: 450px){
    .modal-content{
        border-radius: 0;
    }
}
 .modal.active .modal-content {
     -webkit-transform: translate(0, 0) scale(1) !important;
     -ms-transform: translate(0, 0) scale(1) !important;
     transform: translate(0, 0) scale(1) !important;
}
 .modal .container-form {
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-orient: vertical;
     -webkit-box-direction: normal;
     -ms-flex-direction: column;
     flex-direction: column;
     justify-content: flex-start;
     align-items: flex-start;
}
 .modal .content-close {
     height: 50px;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-pack: end;
     -ms-flex-pack: end;
     justify-content: flex-end;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
     display: none;
}
 .modal .content-close .close {
     position: relative;
     top: 0;
     left: 0;
     margin-right: 5px;
     background: url(../img/close-btn-white.png) center center no-repeat;
     background-size: 20px;
     cursor: pointer;
}
 .modal .input-choose .choose {
     margin-top: 10px;
     margin-bottom: 10px;
     margin-left: 5px;
     font-size: 14px;
     color: rgb(130, 130, 130);
     font-family: 'Igra', Arial, sans-serif;
     font-style: normal;
     font-weight: 400;
}
 .modal .input-choose .choose span {
     cursor: pointer;
     transition: 0.15s;
}
 .modal .input-choose .choose.un span:nth-child(1), .modal .input-choose .choose.ph span:nth-child(2) {
     color: #D4F100;
}
.modal .input-cont input{
    font-size: 18px;
}
@media(max-width: 450px){
    .modal .content-close{
        height: 20px;
    }
    .modal .content-close .close{
        top: 20px;
    }
}






.bgf2{
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    /* height: 100% !important; */
    /*-webkit-backdrop-filter: blur(3px) !important;*/
    /*backdrop-filter: blur(3px) !important;*/
    background: rgba(0, 0, 0, 0.6) !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
    z-index: 0 !important;
    overflow-y: scroll;
}

.modal .close svg{
    width: 25px !important;
    height: 25px !important;
    top: 50% !important;
    left: 50% !important;
    -webkit-transform: scale(0.75) translate(-50%, -50%) !important;
        -ms-transform: scale(0.75) translate(-50%, -50%) !important;
            transform: scale(0.75) translate(-50%, -50%) !important;
}

.modal .close{
    width: 45px !important;
    height: 45px !important;
    top: 5px !important;
    right: 5px !important;
    z-index: 1 !important;
}

.big-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
}
.big-bg.active {
    opacity: 1;
    visibility: visible;
}


.modal .h4{
     font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 50px;
    line-height: 90%;
    letter-spacing: -0.04em;
    color: #1e2121;
}
.modal .h4 span{
    color: #4ca970;
}
.modal .h3{
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 90%;
    letter-spacing: -0.04em;
    color: #1e2121;
    margin-top: 40px;
}
.modal .list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin-top: 30px;
    width: 100%;
}
.modal .list .box{
    background: #fff;
    border-radius: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    grid-gap: 20px;
    min-height: 135px;
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #fff;
}
.modal .list .box:hover{
    border: 1px solid #4CA970;
}
.modal .list .box .l1{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.modal .list .box .l1 img{
    width: 40px;
    height: auto;
}
.modal .list .box .l1 img:nth-child(2){
    display: none;
}
.modal .list .box .l1 .price{
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 90%;
    letter-spacing: -0.04em;
    color: #1e2121;
}
.modal .list .box .h2{
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 90%;
    letter-spacing: -0.04em;
    color: #1e2121;
}
.modal .list .box.active{
    background: #4CA970;
}
.modal .list .box.active .l1 .price,
.modal .list .box.active .h2{
    color: #fff;
}
.modal .list .box.active .l1 img:nth-child(1){
    display: none;
}
.modal .list .box.active .l1 img:nth-child(2){
    display: block;
}
.modal .descr{
    max-width: 500px;
    margin-top: 20px;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #1e2121;
    opacity: 0.8;
}
.modal .descr span{
    color: #fff;
}
.modal .form{
    display: flex;
    flex-direction: column;
    grid-gap: 30px;
    margin-top: 60px;
    width: 100%;
}
.modal .form .h5{
        font-family: "Steppe", sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -0.06em;
        color: #3abba3;
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
}
.modal .form input{
        margin-top: 10px;
        width: 100%;
        height: 50px;
        border: 1px solid #1f1e1e;
        border-radius: 10px !important;
        background: #121212;
        font-family: "Steppe", sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 50px;
        letter-spacing: -0.08em;
        color: #cdcdcd;
        padding-left: 20px;
        outline: none;
}
.modal .form .vars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;
    grid-gap: 10px;
}

.modal .form .vars input {
    display: none;
}

.modal .form .vars .label {
    border-radius: 55px;
    border: 1px solid #252525;
    overflow: hidden;
    transition: 0.2s;
}
.modal .form .vars .label.long{
    grid-column-start: 1;
    grid-column-end: 3;
}

.modal .form .vars .label:hover {
    border-color: #3b3b3b;
    background: #4CA970;
    /* transform: translate(0, -5px); */
}

.modal .form .vars label {
    cursor: pointer;
    padding: 0px 20px;
    white-space: nowrap;
    text-align: center;
    font-style: normal;
    line-height: 34px;
    transition: 0.3s;
    height: 34px;
    display: block;
    font-family: "Steppe", sans-serif;
    font-weight: 400;
    font-size: 14px;
    /* line-height: 130%; */
    letter-spacing: -0.08em;
    color: #f4f4f4;
}

.modal .form .vars .label:hover label ,
.modal .form .vars input:checked~label {
    color: #fff;
    background-color: #0f6d52;
}

.modal .form .vars.contact_var {
    margin-top: 15px;
}

.modal .form .vars.contact_var .label {
    width: calc(50% - 5px);
}

.modal .form .input-cont {
    margin-left: 30px;
    max-width: calc(100% - 30px);
}


.modal .form .vars.error .label,
.input-cont.error,
.modal .form input.base-input.error {
    border-color: red !important;
}
.modal .btns_list{
    width: 100%;
}
.modal .btns{
    width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}
.modal .btns.active{
    display: grid;
}
.modal .btns div{
    text-align: center;
}
.modal .btns .btn_2{
    border: 1px solid #4ca970;
    border-radius: 500px;
    padding: 19px 32px;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.04em;
    color: #4ca970;
    cursor: pointer;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}
.modal .btns .btn_2:hover{
/*    color: #1E2121;*/
    background: #fff;
}
.modal .small{
    font-family: "Steppe", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 110%;
    letter-spacing: -0.08em;
    color: #646465;
    max-width: 320px;
    text-align: center;
    margin: auto;
    margin-top: 14px;
}

.modal.f2 input,
.modal.f2 textarea,
.modal .f1_s2 input,
.modal .f1_s2 textarea{
    width: 100%;
    padding: 22px 21px;
    width: 100%;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.04em;
    color: rgba(30, 33, 33, 1);
    background: #fff;
    border: 1px solid #fff;
    border-radius: 10px !important;
    outline: none;
    transition: 0.3s;
    margin-top: 15px;
}
.modal.f2 textarea,
.modal .f1_s2 textarea{
    min-height: 120px;
}
.modal.f2 input:focus,
.modal.f2 textarea:focus,
.modal .f1_s2 input:focus,
.modal .f1_s2 textarea:focus{
    border-color: #4ca970;
}
.modal.f2 input::placeholder,
.modal.f2 textarea::placeholder,
.modal .f1_s2 input::placeholder,
.modal .f1_s2 textarea::placeholder{
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.04em;
    color: rgba(30, 33, 33, 0.5);
}
.modal .f1_s2 .btns{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
    margin-top: 15px;
    border-top: none;
    padding-top: 0;
}
.modal .f1_s2 .btns .btn_2{
    border-radius: 10px;
    padding: 24px 21px;
}
.modal.f2 .btn,
.modal .f1_s2 .btn{
    border-radius: 10px;
    padding: 24px 21px;
    width: 100%;
    height: 71px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4ca970;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.04em;
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
}
.modal.f2 .btn:hover,
.modal .f1_s2 .btn:hover{
    background: #3F8F5E;
}
.modal.f2 .btn{
    margin-top: 15px;
}
.modal .var_when{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid rgba(0,0,0, 0.2);
    border-radius: 100px;
    padding: 4px;
    justify-content: flex-start;
    flex-direction: row;
    gap: 10px;
    margin-top: 15px;
}
.modal .h5{
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 90%;
    letter-spacing: -0.04em;
    color: #1E2121;
    width: 100%;
    text-align: center;
    margin-top: 15px;
}
.modal .var_when .var{
    width: 50%;
    padding: 6px 12px;
    border-radius: 40px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 90%;
    letter-spacing: -0.04em;
    color: #1E2121;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}
.modal .var_when .var.active{
    background: #4CA970;
    color: #fff;
}
.modal .vars_choose .var{
    display: none;
}
.modal .vars_choose .var.active{
    display: block;
}
.modal .vars_date{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: auto;
    flex-grow: 1;
    grid-gap: 14px;
    margin-top: 20px;
}
.modal .vars_time{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-grow: 1;
    grid-gap: 14px;
    margin-top: 30px;
}
.modal .vars_date div,
.modal .vars_time div{
    border-radius: 10px;
    width: 100px;
    height: 40px;
    background: rgba(0,0,0,0.075);
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.04em;
    color: #1E2121;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}
.modal .vars_date div:hover,
.modal .vars_time div:hover{
    background: rgba(0,0,0,0.15);
}
.modal .vars_date div.active,
.modal .vars_time div.active{
    color: #fff;
    background: #4CA970;
}

@media (max-width: 1300px) {
    .modal .h4{
        font-size: 34px;
    }
    .modal .descr{
        font-size: 14px;
    }
    .modal .popup-img{
        width: 100px;
        top: 20px
    }
    .modal .form{
        margin-top:40px;
    }
    .modal .form .h5{
        font-size: 16px;
    }
    .modal .form .vars label{
        font-size: 12px;
    }
    .modal .btn{
        height: 50px;
/*        line-height: 50px;*/
        font-size: 18px;
    }
    .modal .small{
        font-size: 10px;
    }
    .modal .btns .btn_2{
        padding: 15px 0;
    }
}
 @media (max-width: 570px) {
     .modal.active {
         /* overflow: hidden; */
    }
     .modal-content {
         width: 100%;
         /* max-height: 100vh; */
         /* min-height: 100vh; */
         /* overflow-y: auto; */
         border-radius: 0;
         padding: 10px;
         padding-top: 55px;
         padding-bottom: 30px;
         /* overflow: auto; */
         /* overflow-y: scroll; */
    }
     #form3 .modal-content {
         min-height: 0;
    }
     .modal-dialog {
         padding: 0;
    }
     .modal .container-form {
             padding-top: 0;
    }
     .modal .content-close {
         display: -webkit-box;
         display: -ms-flexbox;
         display: flex;
    }
     .modal .h4{
         font-size: 8vw;
     }
     .modal .form .vars{
         grid-template-columns: 1fr;
     }
     .modal .form .vars .label.long {
         grid-column-end: 2;
     }
     .modal .form .vars label{
        font-size: 14px;
    }
     .modal .descr{
/*         max-width: 65vw;*/
     }
     .modal .descr br{
         display: none;
     }
     .modal .var_when{
         flex-direction: column;
         white-space: nowrap;
         align-items: stretch;
         border-radius: 15px;
     }
     .modal .var_when .var{
         width: 100%;
     }
     .modal .vars_date{
         flex-wrap: wrap;
         justify-content: center;
     }
}