* {
    padding: 0;
    margin: 0;
}

.ale_widget {
    background-color: #3d358d;
    color: #fff;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;

    width: 55px;
    height: 55px;

    position: fixed;
    top: 45%;
    right: 0px;
    padding: 10px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    z-index: 50;
    transition: 0.3s;
    cursor: pointer;
    font-size: 1.1em;
}

.ale_widget__phone, .widget__phone {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.ale_widget__phone {
    max-width: 15px;
}

.ale_widget:hover {
    opacity: 0.7;
    box-shadow: 0px 0px 10px #28235b;
}

.ale_widget:hover img svg path {
    fill: #3d358d !important;
    filter: invert(1)
}


.modal {
    display: none;
    position: fixed;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    left: 50%;
    top: 50%;
    width: 350px;
    height: 520px;
    margin-left: -180px;
    margin-top: -295px;
    padding: 20px 20px 20px 25px;
    background-color: #ffffff;
    box-shadow: 0px 0px 15px 15px rgba(100, 100, 100, 0.2);
    z-index: 10;
}

.modal-show {
    display: block;
    -webkit-animation: bounce 0.6s;
            animation: bounce 0.6s;
}

.modal-flex {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

.modal-header {
    margin-bottom: 50px;
    justify-content: flex-end;
    margin-top: 0px;
}

.modal-header-text {
    font-size: 2.5em;
    font-weight: 500;
}

.btn-modal-close {
    position: relative;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    font-size: 0;
    width: 32px;
    height: 32px;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    opacity: 0.5;
}

.btn-modal-close::before {
    content: "";
    position: absolute;
    display: block;
    width: 3px;
    height: 24px;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    background-color: #e74246;
}

.btn-modal-close::after {
    content: "";
    position: absolute;
    display: block;
    width: 3px;
    height: 24px;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    background-color: #e74246;
}

.btn-modal-close:focus {
    outline: none;
}

.btn-modal-close:hover,
.btn-modal-close:focus {
    opacity: 1;
}

.btn-modal-send {
    width: 250px;
    color: #fff;
    font-size: 2em;
    text-transform: uppercase;
}

.modal-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-inline-input {
    margin-bottom: 40px;
}

.modal-input {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 250px;
    padding: 15px 15px 15px 17px;
    border-style: solid;
    border-radius: 3px;
    border-color: #d7dcde;
    font-size: 1.8em;
}

.modal-input:focus {
    border-color: #000000;
    outline: none;
}

.modal_policy__text {
    font-size: 1.3em;
}

.modal-error {
    -webkit-animation: shake 0.6s;
            animation: shake 0.6s;
    border: 3px solid #e74246;
    color: #e74246;
}

.modal-error:focus {
    border: 3px solid #e74246;
    color: #e74246;
    outline: none;
}

@-webkit-keyframes bounce {
    0% {
        -webkit-transform: translateY(-2000px);
                transform: translateY(-2000px);
    }

    70% {
        -webkit-transform: translateY(30px);
                transform: translateY(30px);
    }

    90% {
        -webkit-transform: translateY(-10px);
                transform: translateY(-10px);
    }

    100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

@keyframes bounce {
    0% {
        -webkit-transform: translateY(-2000px);
                transform: translateY(-2000px);
    }

    70% {
        -webkit-transform: translateY(30px);
                transform: translateY(30px);
    }

    90% {
        -webkit-transform: translateY(-10px);
                transform: translateY(-10px);
    }

    100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

@-webkit-keyframes shake {
    0%,
    100% {
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: translateX(-10px);
                transform: translateX(-10px);
    }

    20%,
    40%,
    60%,
    80% {
        -webkit-transform: translateX(10px);
                transform: translateX(10px);
    }
}

@keyframes shake {
    0%,
    100% {
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: translateX(-10px);
                transform: translateX(-10px);
    }

    20%,
    40%,
    60%,
    80% {
        -webkit-transform: translateX(10px);
                transform: translateX(10px);
    }
}