.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-btn svg{
        -webkit-transform: scale(0.7);
            -ms-transform: scale(0.7);
                transform: scale(0.7);
    display: block;
    width: 100%;
    height: 100%;
}

#form3 .h4 {
    font-size: 18px !important;
    padding-top: 20px !important;
    font-weight: 400 !important;
    color: #000 !important;
    line-height: 1.55 !important;
    text-align: center;
    
    
}

#form3 .modal-content {
    width: 360px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#form3 .container-form {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.modal .close {
    position: absolute;
    width: 45px;
    height: 45px;
    top: 5px;
    right: 5px;
    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;
    z-index: 99;
}

.modal .close svg {
    width: 25px;
    height: 25px;
}

.bgf2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*    background: rgba(3,3,3,0.7);*/
    /*-webkit-backdrop-filter: blur(3px);*/
    /*backdrop-filter: blur(3px);*/
    background: rgba(0, 0, 0, 0.6);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    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: 100vh;
    width: 100vw;
    padding: 30px 0;
    -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;
}

.modal-content {
    border-radius: 15px;
    position: relative;
    top: 50%;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
    width: 560px;
    height: auto;
    background: #fff;
    padding: 0px;
/*    overflow: hidden;*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
/*    border-radius: 0px;*/
    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: -webkit-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
*/
    -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: 500px){
    .modal-content{
        border-radius: 0;
    }
}
#form2 .modal-content{
    width: 1160px;
}
#form2 iframe{
    border-radius: 15px;
    width: 100% !important;
    height: 720px !important;
}
@media (max-width: 1200px){
    #form2 .modal-content{
        width: 940px;
    }
    #form2 iframe{
        height: 530px !important;
    }
}
@media (max-width: 960px){
    #form2 .modal-content{
        width: 620px;
    }
    #form2 iframe{
        height: 350px !important;
    }
}
@media (max-width: 640px){
    #form2 .modal-content{
        width: 500px;
        height: auto;
        min-height: 0;
    }
    #form2 iframe{
        height: 280px !important;
    }
}
@media (max-width: 500px){
    #form2 .modal-content{
        width: 100%;
    }
    #form2 iframe{
        height: calc(100vw * 720 / 1280) !important;
        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 .form-head {
    top: 0;
    left: 0;
    width: 100%;
}

.modal .container-form {
    padding: 40px 45px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.modal .h4 {
    font-size: 36px;
    margin-bottom: 13px;
    color: #161616;
    font-family: 'ProximaNova', Arial, sans-serif;
    text-align: center;
    width: 100%;
    font-weight: 600;
    
    color: #333333;
    font-size: 35px;
    font-family: 'Igra', Arial, sans-serif;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 20px;
}
.modal .h4 span{
    color: rgb(189, 157, 98);
}
.modal .descr {
    line-height: 1.55;
    width: 100%;
    text-align: center;
    color: #161616;
    font-size: 16px;
    font-weight: 300;
    padding-bottom: 10px;
    font-family: 'ProximaNova';
}

.modal .input {
    position: relative;
    margin-top: 40px
}

.modal .i1 {
    margin-top: 20px;
}

.modal .i1 input {
    height: 50px;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.33;
    color: rgb(189, 157, 98);
    border-radius: 15px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Igra', Arial, sans-serif;
    border: 1px solid #bd9d62;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
}

.modal input {
    width: 100%;
    ;
    position: relative;
    color: rgb(0, 0, 0);
    border: none;
    opacity: 1;
    background: none;
    outline: none;
    border-bottom: 1px solid rgb(59, 59, 59);
    height: 50px;
    padding: 26px 20px 10px;
    padding-left: 0;
    font-size: 16px;
    line-height: 1.33;
    font-weight: 400;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.modal .error input,
#input-phone-code-1.error {
    border: 2px solid #cc091c;
}
#input-phone-code-1 input{
    border: none !important
}


/*
.modal input::-moz-placeholder {
  color: transparent;
}
.modal input::-webkit-input-placeholder {
  color: transparent;
}
.modal input:-ms-input-placeholder {
  color: transparent;
}
.modal input::-ms-input-placeholder {
  color: transparent;
}
.modal input::placeholder {
  color: transparent;
}
*/

.modal .input label {
    position: absolute;
    width: 100%;
    top: 20px;
    left: 0;
    font-weight: 400;
    font-size: 14px;
    height: 15px;
    color: #000;
    -webkit-transform: translateY(0%) scale(1);
    -ms-transform: translateY(0%) scale(1);
    transform: translateY(0%) scale(1);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    z-index: -1;
}

.modal input:not(:-moz-placeholder-shown) ~ label {
    transform: translate( -15%, -100%) scale(.7);
    left: 0;
}

.modal input:not(:-ms-input-placeholder) ~ label {
    -ms-transform: translate( -15%, -100%) scale(.7);
    transform: translate( -15%, -100%) scale(.7);
    left: 0;
}

.modal input:not(:placeholder-shown) ~ label,
.modal input:focus ~ label {
    -webkit-transform: translate( -15%, -100%) scale(.7);
    -ms-transform: translate( -15%, -100%) scale(.7);
    transform: translate( -15%, -100%) scale(.7);
    left: 0;
}

.modal button {
    margin-top: 20px;
    width: 100%;
    height: 60px;
    cursor: pointer;
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Igra', Arial, sans-serif;
    line-height: 60px;
    font-weight: 700;
    border-width: 2px;
    border-radius: 30px;
    background-color: #bd9d62;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    margin-right: 0;
}
    
.modal button:hover {
    background-color: transparent;
    border: 2px solid #bd9d62;
    color: #bd9d62;
}

.modal .small {
    margin: auto;
    margin-top: 20px;
    max-width: 350px;
        color: #333333;
    font-size: 13px;
    font-family: 'Igra', Arial, sans-serif;
    line-height: 1.4;
    font-weight: 400;
    opacity: 0.7;
}
.modal .small a{
    border-bottom: 1px solid #bd9d62;
    color: #333333;
    font-size: 13px;
    font-family: 'Igra', Arial, sans-serif;
    line-height: 1.4;
    font-weight: 400;
}

.modal .content-close {
    height: 50px;
    background: #212121;
    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;
}

@media (max-width: 1300px) {
    .modal-content {
        width: 460px;
    }
}

@media (max-width: 560px) {
    .modal.active {
        overflow: hidden;
    }
    .modal-content {
        width: 100%;
        max-height: 100vh;
        min-height: 100vh;
        overflow-y: auto;
    }
    #form3 .modal-content {
        min-height: 0;
    }
    .modal-dialog {
        padding: 0;
    }
    .modal .container-form {
        padding-left: 20px;
    }
    .modal .content-close {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

.form2 .logo {
    height: 80px;
    margin-bottom: 30px;
}

.form2 .container-form {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}

.form2 .i1,
.form2 .i3 {
    width: 100%;
}