
/*-------------Modal Windows start---------------*/

.modal-win {
    background: #fff;
    color: #848C93;
    padding: 45px 30px;
    text-align: center;
    width: 641.6px;
    height: 488.9px;
    box-shadow: 0 10px 30px rgba(137, 146, 244, 0.1);
}

.modal-signup {
    height: 100%;
    margin: 0 auto;
    width: 720px;
}

.modal-win__img:first-child {
    margin-right: 40px;
}

.modal-win__title {
    font-size: 16px;
    line-height: 20px;
    color: #848C93;
    margin-top: 42px;
    margin-bottom: 30px;
}

.modal-form {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-form-open input {
    width: 358px;
    height: 45px;
    background: #EFF4F8;
    margin-bottom: 30px;
    border: none;
    padding: 5px 15px 5px 35px;
    position: relative;
}

.form-modal input {
    height: 45px;
    background: #EFF4F8;
}

.modal-form img {
    position: absolute;
    margin-left: 13px;
    margin-top: 14px;
    z-index: 9;
}

.form__btn {
    width: 196px;
    cursor: pointer;
}


.modal-form-block {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
}

.modal-form-block__pas {
    font-size: 16px;
    line-height: 12px;
    color: #848C93;
    margin-top: 30px;
}

.signup {
    margin-left: 40px;
}

.box-modal {
    position: relative;
}

.modal-win-close span {
    width: 2.56px;
    height: 30.78px;
    background: #697DF6;
    transform: rotate(-45deg);
}

.modal-win-close span:first-child {
    background: #697DF6;
    transform: rotate(45deg);
}

.box-modal_close span {
    position: absolute;
    cursor: pointer;
    width: 33px;
    height: 33px;
}

.form-tariff-btn {
    width: 195.2px;
    height: 45px;
}

.box-modal_close span:before, .box-modal_close span:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #697DF6;
}

.box-modal_close span:before {
    transform: rotate(45deg);
}

.box-modal_close span:after {
    transform: rotate(-45deg);
}

.arcticmodal-close {
    color: #000;
    position: absolute;
    left: 92%;
    top: 2.5%;
    cursor: pointer;
}

.white-popup {
    text-align: left;
    height: 100%;
    padding-bottom: 30px;
}

.white-popup__title {
    color: #324270;
    text-transform: uppercase;
    text-align: center;
    margin: 10px 0 25px 0;
    font-weight: 400;
}

.white-popup__title-signup {
    width: 85%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.regform__control {
    width: 100%;
    background: #EFF4F8;
    border: none;
    padding: 8px 15px 5px 15px;
    color: #324270;
}

.regform__control:active, .regform__control:focus {
    box-shadow: 0 10px 30px rgba(137, 146, 244, 0.15);
}

.inputselect {
    width: 100%;
    background: #EFF4F8;
    border: none;
    padding: 8px 15px 8px 15px;
    text-align: left;
    color: #324270;
    border-radius: 0;
}

.inputselect:hover, .inputselect:active, .inputselect:focus {
    background: #EFF4F8;
    color: #848C93;
    border-radius: 0;
}

.btn-danger:not(:disabled):not(.disabled).active, .btn-danger:not(:disabled):not(.disabled):active, .show > .btn-danger.dropdown-toggle {
    background: #EFF4F8;
    color: #848C93;
    border-radius: 0;
    border: none;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0);
}

.btn-danger:not(:disabled):not(.disabled).active:focus, .btn-danger:not(:disabled):not(.disabled):active:focus, .show > .btn-danger.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-danger.focus, .btn-danger:focus {
    box-shadow: none;
}

.dropdown-menu.show {
    background: #d5c7ff;
    color: #3c3c3c;
    padding: 0;
}

.regform__row {
    padding: 10px 90px;
    text-align: left;
}

.regform__required {
    color: #F75050;
}

.regform__button {
    cursor: pointer;
}

.regform__text {
    color: #848C93;
    margin-bottom: 25px;
    font-size: 15px;
}

select::-ms-expand {
    padding: 2em;
    color: red;
    background: black;
}

.btn-group {
    width: 100%;
}

.dropdown-toggle::after {
    margin-top: 7px;
    right: 12px;
    position: absolute;
    vertical-align: 0;
    border-top: .5em solid;
    border-right: .5em solid transparent;
    border-bottom: 0;
    border-left: .5em solid transparent;
}

.dropdown-item.active, .dropdown-item:active {
    background: #fff;
}
/*-------------Modal Windows end---------------*/

/* ------ Media Queries ------ */

/* 991-1200px */
@media screen and (max-width: 1200px) {
}

/* 767-991px */
@media screen and (max-width: 991px) {

    .regform__row {
        padding: 10px 20px;
    } 

}

/* 576-767px */
@media screen and (max-width: 767px) {

     .modal-win {
        width: 526.6px;
    }

    .arcticmodal-close {
        left: 91.5%;
    } 

}

/* 440-576px */
@media screen and (max-width: 576px) {

     .modal-win {
        width: 393.6px;
    }

    .modal-login {
        margin-top: -106px;
    } 

     .arcticmodal-container_i {
        width: 100%;
    }

    .arcticmodal-container_i2 {
        padding: 0;
    }

    .modal-win {
        width: 100%;
        height: 100%;
    }

    .arcticmodal-close {
        left: 91.5%;
        top: 3%;
    }

    .arcticmodal-close-login {
        top: -20%;
    }

    .white-popup__title-signup {
        width: 100%;
    } 
}

/* 320-440px */
@media screen and (max-width: 440px) {
     .modal-form input {
        width: 100%;
    }

    .modal-win__img-bihost {
        width: 62%;
    }

    .inputselect {
        width: 100%;
    }

    .modal-login {
        margin-top: -80px;
    }

    .signup {
        margin-left: 0;
    } 

     .box-modal_close span:before, .box-modal_close span:after {
        height: 29px;
    }

    .modal-form-block {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

     .arcticmodal-close {
        left: 88.5%;
        top: 1%;
    }

    .arcticmodal-close-login {
        top: -15%;
        left: 89%;
    }

    .white-popup__title {
        font-size: 25px;
    }

    .regform__row {
        padding: 10px 0;
    } 

}