.avia-dates {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #eeeeee;
    border-radius: 5px;
    padding: 10px;
    text-transform: uppercase;
    gap: 15px;
}

.avia-dates .avia-date__btn.left::before {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.avia-dates .avia-date__btn:hover .hint {
    top: -50px;
    bottom: auto;
}

.avia-dates .avia-date__btn:not(.fas)::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url(https://tophotels.ru/csstx/i/arrow-right-orange.svg) center/10px no-repeat;
}

.avia-dates .avia-date__scroll {
    max-width: calc(100% - 210px);
    white-space: nowrap;
    overflow: auto;
}

.avia-dates .avia-date__btn {
    border: none;
    background: rgba(255, 255, 255, 0.74) center/40px no-repeat;
    border-radius: inherit;
    height: 72px;
    color: #ff8e41;
    font-size: 35px;
    width: 40px;
}

.avia-dates-wrap .avia-dates {
    padding: 0;
    background: transparent;
}

.avia-dates-wrap {
    background: #eeeeee;
    border-radius: 5px;
    padding: 15px;
}

.avia-dates .avia-date__btn.avia-date__btn--big + .avia-date__scroll{
    max-width: calc(100% - 70px);
}
.avia-dates .avia-date__btn.avia-date__btn--big {
    background: rgba(255, 255, 255, 0.74) !important;
    width: 60px;
    line-height: 72px;
    text-align: center;
}

.avia-dates .avia-date__btn.avia-date__calendar {
    width: 72px;
    margin-left: auto;
    background-image: url(https://tophotels.ru/csstx/i/chart-calendar.svg) !important;
}

.avia-dates .avia-date.active {
    color: #ffffff;
    background: #999999;
}

.avia-dates .avia-date__scroll .avia-date:last-of-type {
    margin: 0;
}

.avia-dates .avia-date .avia-date__empty {
    color: #666666;
    font-size: 13px;
}

.avia-dates .avia-date .avia-date__empty::before {
    content: "\f002";
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    margin-right: 10px;
}

.avia-dates .avia-date .bold {
    line-height: 23px;
}

.avia-dates .avia-date {
    background: #ffffff;
    font-size: 14px;
    cursor: pointer;
    width: 110px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: top;
    border-radius: 5px;
    padding: 10px;
}

@media screen and (min-width: 1025px) {
    .avia-dates .avia-date:not(.active):hover {
        background-color: rgba(255, 255, 255, 0.75);
    }

    .avia-dates .avia-date__btn:hover {
        background-color: #ffffff;
    }
}

@media screen and (max-width: 1023px) {
    .avia-dates .avia-date__btn.avia-date__calendar {
        width: 50px;
    }

    .avia-dates .avia-date__btn:not(.fas)::before {
        background-size: 8px;
    }

    .avia-dates .avia-date__btn {
        background-size: 25px;
        width: 30px;
    }

    .avia-dates .avia-date__scroll {
        max-width: calc(100% - 160px);
    }
}

@media screen and (max-width: 767px) {
    .avia-dates .avia-date__scroll {
        max-width: calc(100% - 60px);
    }

    .avia-dates .avia-date .avia-date__empty {
        font-size: 10px;
    }

    .avia-dates .avia-date .avia-date__empty::before {
        margin-right: 3px;
    }

    .avia-dates .avia-date__btn {
        background-size: 20px;
        width: 20px;
        height: 50px;
        line-height: 50px;
    }

    .avia-dates .avia-date__btn:not(.fas)::before {
        background-size: 5px;
    }

    .avia-dates .avia-date .mb10 {
        margin-bottom: 5px !important;
    }

    .avia-dates .avia-date .fz16 {
        font-size: 13px !important;
    }

    .avia-dates {
        gap: 10px;
    }

    .avia-dates .avia-date {
        font-size: 10px;
        width: auto;
        margin-right: 5px;
        padding: 5px;
    }
}