.modal .close-btn {
     width: var(--fs-25);
     height: var(--fs-25);
     background: url(../img/close-btn.png) center center no-repeat;
     background-size: var(--fs-14);
     position: absolute;
     top: var(--fs-10);
     right: var(--fs-10);
     cursor: pointer;
}
 .modal .close {
     position: absolute;
     width: var(--fs-45);
     height: var(--fs-45);
     top: var(--fs-15);
     right: var(--fs-15);
     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: var(--fs-25);
     height: var(--fs-25);
}
 .bgf2 {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.6);
}


 .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: 560px;
     height: auto;
     background: #1A191B;
     padding: 0px;
     overflow: hidden;
     -webkit-box-sizing: border-box;
     box-sizing: border-box;
     border-radius: 20px;
     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);
}
@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 {
     padding: var(--fs-40);
     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;
     flex-direction: row;
     display: grid;
     grid-template-columns: 1fr 1fr;
     grid-gap: 0;
}
 .modal .container-form .img{
     width: 100%;
     height: 100%;
 }
 .modal .container-form .cont{
     padding: 70px 52px 70px 52px;
 }
.modal .container-form .cont h2{
        -webkit-text-stroke-width: 0px;
        font-family: "Geologica", Sans-serif;
        font-size: 40px;
        margin-top: 0;
}
 .modal .content-close {
     height: var(--fs-50);
     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;
     background: url(../img/close-btn-white.png) center center no-repeat;
     cursor: pointer;
}
 .modal .input-choose .choose {
     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{
    background: none !important;
    border: none !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
}
.modal .input-cont input::placeholder{
    color: #757575
}








.modal-content{
    padding: 0;
    border-radius: 0;
    /* background: #fff !important; */
    z-index: 1;
    background-color: #fff;
    background-image: url(../img/popup-bg.webp);
    background-position: 100% 0;
    background-size: 100%;
    width: 1040px;
}
.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: 20px !important;
    right: 15px !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: "Steppe", sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 90%;
    letter-spacing: -0.08em;
    background: -webkit-gradient(linear, left top, left bottom, from(#e6e5e6), to(#b9b9ba));
    background: -o-linear-gradient(top, #e6e5e6 0%, #b9b9ba 100%);
    background: linear-gradient(180deg, #e6e5e6 0%, #b9b9ba 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.modal .descr{
        font-family: "Steppe", sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 130%;
        letter-spacing: -0.08em;
        color: #A9A9A9;
        max-width: 400px;
        margin-top: 20px;
}
.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: #5DA1D2;
        -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 input.error{
    border: 1px solid red;
}
.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: #66ffcc; */
    color: #000;
    /* 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: #081D53;
    background: url(../img/btn_bg.svg) center center no-repeat;
    background-size: cover;
}

.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 .btn{
    width: 100%;
    cursor: pointer;
    background: -webkit-gradient(linear, left top, left bottom, from(#0F6D52), to(#0F6D52)) padding-box, -webkit-gradient(linear, left top, right top, from(#000000), to(#BAD5F3)) border-box;
    background: -o-linear-gradient(#0F6D52, #0F6D52) padding-box, -o-linear-gradient(left, #000000 0%, #BAD5F3 100%) border-box;
    background: linear-gradient(#0F6D52, #0F6D52) padding-box, linear-gradient(90deg, #000000 0%, #BAD5F3 100%) border-box;
    background: linear-gradient(90deg, #67aeb8 0%, #de9975 100%) padding-box, linear-gradient(90deg, #000000 0%, #BAD5F3 100%) border-box;
    border-radius: 100px;
    border: 1px solid transparent;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    font-family: "Steppe", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 60px;
    text-align: center;
    color: #000;
}
.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 .popup-img{
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    z-index: -1;
}


@media (max-width: 1300px) {
     .modal-content {
         width: 1090px;
         /* padding: 40px; */
    }
    .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;
    }
}

@media (max-width: 1000px) {
     .modal-content {
         width: 600px;
         /* padding: 40px; */
    }
    .modal .container-form{
        grid-template-columns: 1fr;
    }
}
 @media (max-width: 570px) {
     .modal.active {
         /* overflow: hidden; */
    }
     .modal-content {
         width: 90vw;
         /* max-height: 100vh; */
         /* min-height: 100vh; */
         /* overflow-y: auto; */
         border-radius: 0;
         /* padding: 20px; */
         /* overflow: auto; */
         /* overflow-y: scroll; */
    }
     #form3 .modal-content {
         min-height: 0;
    }
     .modal-dialog {
         padding: 0;
    }
     .modal .container-form {
         padding-left: var(--fs-20);
         padding-right: var(--fs-20);
             padding-top: 0;
    }
     .modal .content-close {
         display: -webkit-box;
         display: -ms-flexbox;
         display: flex;
    }
     .modal .h4{
         font-size: 30px
     }
     .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 .container-form .cont h2{
         font-size: 26px;
     }
     .modal .container-form .img{
         height: 200px;
     }
     .modal .container-form .cont{
         padding: 30px 20px 25px;
     }
}