
.authorization-modal {
    width: 400px;
    height: 500px;
    border-radius: 20px;
    padding: 125px 30px 30px 30px;
    font-family: 'apercu_pro', sans-serif;
    color: #475669;
    margin: 20px auto;
    background-image: url(/i/tophotels/TH_logo.svg);
    background-repeat: no-repeat;
    background-size: 171px;
    background-color: #f1ebd3;
    background-position-x: center;
    background-position-y: 28px;
    position: relative;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}


.authorization-modal .bth__inp {
    padding: 23px 15px 7px 15px;
}


::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
}

::-ms-reveal {
    display: none;
}

::-ms-clear {
    display: none;
}

.bth__inp:-webkit-autofill,
.bth__inp:-webkit-autofill:hover,
.bth__inp:-webkit-autofill:focus,
.bth__inp:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
}

.authorization-modal .bth__inp-block label.active {
    font-size: 13px;
    top: 4px;
}

.authorization-modal .bth__inp-block label {
    font-size: 14px;
    position: absolute;
    top: 18px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    color: #999;
    left: 16px;
}

.authorization-modal .bth__inp-block {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
    height: 55px;
}

.authorization-modal .bth__btn {
    margin: 0 auto 30px auto;
    width: 293px;
    display: block;
    padding: 14px;
}

.authorization-modal .authorization-modal__remind {
    font-size: 13px;
    text-align: center;
    display: block;
    text-transform: uppercase;
    color: #e03a3a;
}

.authorization-modal-wrapper {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.49);
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;;
}

.authorization-modal__cross {
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
    top: 20px;
    right: 20px;
    background-image: url(/i/tophotels/cross-thin-grey.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.authorization-modal__cross:hover {
    background-image: url(/i/tophotels/cross-thin.svg);
}


@media screen and (max-width: 400px) {
    .authorization-modal {
        width: 80%;
        height: 450px;
        padding: 115px 15px 30px 15px;
        border-radius: 5px;
        background-position-y: 40px;
        background-size: 140px;
    }

    .authorization-modal .bth__inp-block, .authorization-modal .bth__btn {
        margin-bottom: 20px;
    }

}