/*@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700,900&display=swap&subset=cyrillic');*/

body, html, .form-section {
    height: 100%;
}

.form-section {
    justify-content: center;
    align-items: center;
}

html {
    font-size: 10px;
}

body {
    font-size: 1.8rem;
}

html, body {
    font-family: 'Roboto', sans-serif;
    color: #000;
/*    background: #513b7d;*/
}
@media screen and (min-width: 900px){
    #myform1 .error:not(input){
            right: -2%;
        }

    #myform2 .error:not(input){
            right: -5%;
            width: 70%;
    }
    #myform3 .error:not(input){
            right: -5%;
            width: 70%;
    }
    #myform5 .error:not(input){
            right: 1%;
    }
}

    #myform4 .error:not(input){
            right: 0%;
    }
/*section, header, footer {
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
}*/

@media (max-width: 414px) {
    html {
        font-size: 8px;
    }

    .form-steps__wrapper .step-counter .step_block:before {
        line-height: 4.1rem;
    }

    .step-2 .input-wrapper .password-generate {
        padding: 1rem 0rem;

    }

    .password-generate__buttons .password-btn {
        width: 100%;
    }
}

/*@media (min-width: 575.98px) {
    section, header, footer {
        padding: 0 calc(50vw - 270px);
    }
}

@media (min-width: 767.98px) {
    section, header, footer {
        padding: 0 calc(50vw - 360px);
    }
}

@media (min-width: 991.98px) {
    section, header, footer {
        padding: 0 calc(50vw - 480px);
    }


}

@media (min-width: 1199.98px) {
    section, header, footer {
        padding: 0 calc(50vw - 590px);
    }
}*/


/*
* Custom form
*/


.form-container {
    max-width: 55rem;
    width: 100%;
    padding: 2rem 1.5rem;
    /*border-radius: 30px;*/
    background: #402f63;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
    margin: auto;
}

.form-logo__wrapper {
    text-align: center;
    margin-bottom: 3.5rem;
}


.form-header {
    line-height: 3.8rem;
    font-size: 3rem;
    color: #fff;
    text-align: center;
}

.form-header__h1 {
    font-weight: 900;
}

.color_orange {
    font-weight: 900;
    color: #f56a3f;
}

.form-header__h2 {
    margin-bottom: 2.5rem;
}


.step-counter {
    overflow: hidden;
    width: 50%;
    margin: auto;
    z-index: 1;
    counter-reset: step;
    position: relative;
}


.step-counter, .step-counter .step_block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-counter .step_block {
    float: left;
    width: 33.33%;
    position: relative;
    text-align: center;
}


/*ADD STEPS NUMBERS AND STYLE THEM*/

.step-counter .step_block:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    line-height: 3.1rem;
    background: #513b7d;
    color: #30234a;
    text-align: center;
    font-weight: bold;
}

/*ADD STEPS NUMBERS AND STYLE THEM END*/


/*ADD PROGRESS BAR AND STYLE*/

.step-counter .step_block:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #513b7d;
    top: 15px;
    left: -50%;
    z-index: -1;
}

.step-counter .step_block:first-child:after {
    content: none;
}


/*GREEN CURRENT STEP START*/

.step-counter .step_block.active + .step_block:after {
    background: #f56a3f;
}

.step-counter .step_block.active:before {
    content: url("../fonts/current-step.svg");
    border-color: #f56a3f;
    background: #f56a3f;
    color: white
}

/*GREEN CURRENT STEP END*/
/*ADD PROGRESS BAR AND STYLE END*/


.form-fields__wrapper {
    margin-bottom: 1rem;
}

.field-step {
    display: none;
}

fieldset.step-1 {
    display: block;
}


.input-wrapper {
    position: relative;
    margin-top: 1rem;
}


.field-step .input-wrapper input::placeholder,
.field-step .input-wrapper input {
    font: 300 1.8rem Roboto;
    color: #f7f8fa;
}

.field-step .input-wrapper input {
    width: 100%;
    height: 5.2rem;
    padding: 0 10% 0 2rem;
    border: 0;
    background: #30234a;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}


/*PLACEHOLDER INPUT ANIMATION TO TOP*/
.form-input:focus ~ .floating-label,
.form-input:not(:focus):valid ~ .floating-label {
    top: 5px;
    bottom: 10px;
    left: 20px;
    font-size: 1.1rem;
    opacity: 1;
    color: #f56a3f;
}

.floating-label {
    position: absolute;
    pointer-events: none;
    left: 20px;
    top: 18px;
    transition: 0.3s ease all;
    color: #f7f8fa;
}

/*PLACEHOLDER INPUT ANIMATION TO TOP END*/

.field-step .form-button__next[type=submit] {
    font-size: 1.8rem;
    font-weight: 700;
    padding: 0 2rem;
    display: block;
    height: 5.2rem;
    cursor: pointer;
    text-transform: uppercase;
    color: #fff;
    border: 0;
    background: rgba(255, 102, 51, 0.8);
    -webkit-transition: color, background, 0.5s;
    -moz-transition: color, background, 0.5s;
    -ms-transition: color, background, 0.5s;
    -o-transition: color, background, 0.5s;
    transition: none;
    width: 100%;
    margin: 2.5rem 0;
}

.field-step .form-button__next[type=submit]:hover {
    background: #ff6633;
    color: #fffbf0;
}

.statistics {
    position: relative;
    width: 100%;
    padding-bottom: 225px;
    background: #f8f8f8;
}

.statistics .form-wrap {
    position: absolute;
    top: -70px;
    right: 0;
    left: 0;
    margin: auto;
}


/*HINTS START*/

.intl-tel-input .flag-container {
    font-size: 1.8rem;
    font-weight: 300;
}


.error:not(input) {
        color: red;
    margin-left: 10px;
    user-select: none;
}

.error:not(input):after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid;
}

.error:not(input):after {
    border-color: #ffffff transparent transparent transparent;
    top: 100%;
    right: 1.8rem;
    margin-left: -1rem;
}

.form-input.error {
    background: #30234A url(../fonts/error-pass_icon.svg) no-repeat 96% 50% !important;
    box-shadow: inset 0px 0px 10px 0px rgb(245, 106, 63);
    border: 1px solid rgb(245, 106, 63) !important;
}


/*PASSWORD STEP*/

.field-step .input-wrapper input.password {
    padding-right: 20%;
}

.valid-check {
    pointer-events: none;
    font-weight: 300;
    padding-left: 15px;
    margin: 1%;
    list-style: none;
    background-image: url(../fonts/password_hints.svg);
    -webkit-background-size: 1.5rem;
    background-size: 1.5rem;
    background-repeat: no-repeat;
    background-position: left 50%;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

#myform5 .floating-label{
    transition: none;

}
/*.check {*/
/*background-image: url(https://immediate.makeithappen.icu/images/check_pass-icon.png);*/
/*}*/

/*.valid-check label {*/
/*color: #f7f8fa !important;*/
/*padding: 2px;*/
/*font-weight: 700;*/
/*font-size: 11px;*/
/*!*    line-height: 17px;*!*/
/*!*    display: list-item;*!*/
/*}*/

.valid-check label {
    color: #f7f8fa !important;
    font-size: 1.8rem;
    padding: 2px;
    line-height: 3.2rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.valid-check.check label {
    color: #23B100 !important;

}

.password.error:focus ~ .valid-check:not(.check) > label, .password.error ~ .valid-check:not(.check) > label {
    color: #f7f8fa !important;
}

.input-wrapper .password-generate {
    /*display: none;*/
    position: absolute;
    width: 90%;
    top: 60px;
    right: 10%;
    background: #c5c5c5;
    padding: 1.5rem 1rem;
    text-align: center;
}

.password-generate:after {
    content: '';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #c5c5c5;
    position: absolute;
    top: -5px;
    right: 5%;
}

.password-generate__wrapper {
    width: 90%;
    margin: auto;
}


.show-generator {
    background: url('../fonts/generate-password.svg');
    width: 1.6rem;
    height: 1.6rem;
    position: absolute;
    top: 1.8rem;
    right: 13%;
    cursor: pointer;
}

.password-generate__text {
    color: #30234a;
    margin-bottom: 2.5rem;
}

.password-generate__text .head-title {
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.password-generate__text .body-text {
    font-size: 1.2rem;
}

.password-generate__buttons .password-btn {
    display: inline-flex;
    justify-content: center;
    min-height: 2.5rem;
    border: 0;
    color: #fff;
    padding: .7rem;
}

.password-btn__no {
    width: 30%;
    background: #a2a2a2;
}

.password-btn__yes {
    width: 65%;
    background: #f56a3f;

}

/*PASSWORD STEP END*/


/*HINTS END*/


.phone {
    padding-left: 11.5rem !important;
    padding-right: 10% !important;


}

.selected-flag {
    color: white;
}


.intl-tel-input .selected-flag .iti-arrow {
    margin-right: .6rem;
}

.phone-hint {
    color: #f7f8fa;
    padding: 0 3rem;
    margin-top: 2.5rem;
}

.phone-hint h5 {
    font-weight: 700;
}

.phone-hint h6 {
    color: #f56a3f;
}

.phone-hint p {
    font-size: 1.6rem;
}

.color_white {
    color: #fff;
}


.form-free_places__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.free-place__text {
    font-size: 2.5rem;
}

.free-place__text.color_orange {
    font-weight: 700;
    margin: 0 1rem;
}

.form-free_places__wrapper .oil-branch {
    content: url("../fonts/free_access.svg");
}

.step-2 .free-place__text,
.step-3 .free-place__text {
    font-weight: 300;
}


/*
* Custom form
*/

