@font-face {
    font-family: "TTCommonsMedium";
    src: url("../../fonts/TTCommons-Medium.woff2") format("woff2"),
    url("../../fonts/TTCommons-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "TTCommonsDemiBold";
    src: url("../../fonts/TTCommons-DemiBold.woff2") format("woff2"),
    url("../../fonts/TTCommons-DemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "TTCommonsRegular";
    src: url("../../fonts/TTCommons-Regular.woff2") format("woff2"),
    url("../../fonts/TTCommons-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.offer-search {
    overflow: visible;

    min-height: 440px;
    padding-top: 160px;
    height: auto;
}
.offer-search .bg {
    border-radius: 0 0 60px 60px;
    overflow: hidden;
}
.offer-search .content {
    padding-bottom: 50px;
}
.offer-search .breadcrumbs {
    margin-bottom: 60px;
}
.offer-search .hotel-header {
    margin-bottom: 60px;
}
.offer-search .hotel-header-cols {
    display: block;
}
.offer-search .hotel-header-address {
    display: flex;
    align-items: center;
}
.offer-search .hotel-header-address .location-block__icon {
    position: relative;
    top: -3px;
}
.offer-search .hotel-header-address .location-block__icon img {
    height: 100%;
    width: auto;
}
.offer-search .hotel-header-price {
    background-color: #eb6a06de;
    border-radius: 10px;
    padding: 10px 15px 8px 15px;
    line-height: 1;
    white-space: nowrap;
    font-size: 22px;
    margin-top: 10px;
}

#select-city-form select.chosen-select {
    display: none;
}

.main-search {
    padding-top: 140px;
    padding-bottom: 100px;
    margin: 0px 11px;
}
.main-search .hotel-card {
    margin-top: -140px;
    z-index: 9;
    position: relative;
}
.main-search .schedule {
    margin-top: 0px;
}
.main-search .text ul li {
    margin-bottom: 0px;
}
.hotel-card-rows {
    min-height: 70px;
}
.hotel-card-products {
    display: flex;
    /* display: grid; */
    /* grid-template-columns: repeat(4, 1fr); */
    gap: 20px;
}
.hotel-card-product-icon img {
    width: 40px;
    height: auto;
}
.hotel-card-map {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
}

.tour-card {
    position: relative;
}
.tour-card-image {
    background-color: #eaeaea;
}
.tour-card__link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.tour-card-uslugs-icon,
.tour-card-uslugs-icon:hover {
    cursor: default;
}
.tour-card-uslugs-icon img {
    width: 32px;
    height: auto;
}
.tour-card-items {
    gap: 15px 0px;
}
.tour-card-rating .tour-card-text {
    font-weight: 500;
}
.tour-card-text a {
    color: inherit;
}
.tour-card-title--badge {
    background: rgba(22, 127, 252, 0.15);
    padding: 5px 10px 3px 10px;
    border-radius: 7px;
}
.tour-card__row {
    position: relative;
}

.search-form svg,
.tour-card svg {
    width: auto;
    height: auto;
}

.search-form-items {
    gap: 0px 15px;
    align-items: center;
}
.search-form-items__item input[type="radio"] {
    display: none !important;
}
.search-form-items__item input[type="radio"]:checked + label {
    color: #fff;
}
.search-form-cols__col.has-error
.select2-container--default
.select2-selection--single {
    border-color: red;
}
.select2-search--dropdown .select2-search__field {
    height: 40px;
    padding: 10px 12px;
}

.search-form-confirm {
    padding: 20px 40px 20px 20px;
}
.search-form-confirm p {
    line-height: 1.4;
    color: initial;
}
.search-form-confirm__buttons {
    margin-top: 20px;
    display: flex;
    align-items: center;
}
.search-form-confirm__buttons .button {
    min-width: 120px;
    white-space: nowrap;
}

.search-form .search-btn,
.search-form .select2-container--default .select2-selection--single,
.search-form .datepicker-field__input,
.search-form .search-params {
    border-radius: 7px;
}

.breadcrumbs__item {
    font-size: 24px;
}

.search-block-label {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1;
}
.search-form__switch {
    cursor: pointer;
    text-indent: -9999px;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 22px;
    background: #fff;
    display: block;
    border-radius: 16px;
    position: relative;
    margin-bottom: 4px;
}
.search-form__switch::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: 2px;
    width: 17px;
    height: 17px;
    background: #3b7df4;
    border-radius: 50%;
    transition: 0.3s;
}
.search-form__switch--active::after {
    left: 19px;
}

a.search-btn {
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.items-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 11px;
}

.items-list__col {
    width: auto;
}

.hotel-gallery-slider {
    max-width: 790px;
    overflow: hidden;
    position: relative;
}
.hotel-gallery-nav {
    z-index: 9;
}
.hotel-gallery-rows__row {
    position: relative;
}
.gallery-item-content {
    position: relative;
}
.gallery-item-content__mask {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 16px;
}

.default-tabs {
    margin-bottom: 10px;
    overflow-x: auto;
}
.tab-link {
    border-radius: 10px;
    cursor: pointer;
    min-width: unset;
    padding: 0px 30px;
}
.tab-link:hover,
.tab-link--active {
    background: #f67f03a3;
}
.tab-link__text--active {
    border-bottom: 2px dashed rgba(0, 0, 0, 0.3);
}

.hotel-slider-zoom img {
    width: 18px;
    height: auto;
}
.gallery-item,
.gallery-item-content__mask,
.hotel-slider-item {
    border: 2px solid #fff;
}

.gallery-item {
    position: relative;
}
.gallery-item a.fancybox,
.hotel-slider-item a.fancybox {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* calendar */

.date-picker-wrapper {
    padding: 0 !important;
    border: 1px solid #ddd !important;
    border-radius: 0;
    box-shadow: none !important;
    background: #fff;
    border-width: 0 1px 1px 1px !important;
    font-family: "TT Commons";
    z-index: 9;
}
.date-picker-wrapper .month-wrapper {
    padding: 15px;
    border: none;
}
.date-picker-wrapper .footer {
    display: none;
}
.date-picker-wrapper .month-wrapper table {
    /* width: 100%; */
}
.date-picker-wrapper .month-wrapper table .week-name {
    height: 20px;
    line-height: 1;
    font-weight: 400;
    text-transform: capitalize;
}
.date-picker-wrapper .month-wrapper table .week-name th {
    font-weight: 600;
    font-size: 14px;
    line-height: 101%;
    text-align: center;
    color: #344054;
    width: 20px;
}
.date-picker-wrapper .month-wrapper table .day {
    padding: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 101%;
    text-align: center;
    color: #344054;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}
.date-picker-wrapper .month-wrapper table .day.invalid {
    opacity: 0.5;
}
.date-picker-wrapper .month-wrapper table .day.toMonth.valid {
    color: #344054;
}
.date-picker-wrapper .month-wrapper table .day.lastMonth,
.date-picker-wrapper .month-wrapper table .day.nextMonth {
    display: flex;
    color: #667085;
}
.date-picker-wrapper .month-wrapper table .day.real-today {
    background-color: transparent;
}
.date-picker-wrapper .month-wrapper table .day:hover {
    background: #e8f2ff;
    color: #167ffc !important;
}
.date-picker-wrapper .month-wrapper table .day.checked {
    color: #167ffc !important;
    background: #e8f2ff;
}
.date-picker-wrapper .month-wrapper table .day.checked.first-date-selected,
.date-picker-wrapper .month-wrapper table .day.checked.last-date-selected {
    background: #167ffc !important;
    color: #fff !important;
}
.date-picker-wrapper .month-wrapper table .day.real-today.checked,
.date-picker-wrapper .month-wrapper table .day.real-today.hovering {
    color: #167ffc;
    background: #e8f2ff;
}
.date-picker-wrapper table .caption {
    height: auto;
}
.date-picker-wrapper table .caption > th:first-of-type,
.date-picker-wrapper table .caption > th:last-of-type {
    width: 20px;
    height: 20px;
}
.date-picker-wrapper table .caption > th:first-of-type span,
.date-picker-wrapper table .caption > th:last-of-type span {
    background-image: url("../img/prev.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    width: 20px;
    height: 20px;
    font-size: 0;
    display: flex;
    padding: 0;
}
.date-picker-wrapper table .caption > th:first-of-type span:hover,
.date-picker-wrapper table .caption > th:last-of-type span:hover {
    background-color: transparent;
}
.date-picker-wrapper table .caption > th:last-of-type {
    transform: rotate(180deg);
}
.date-picker-wrapper .month-element {
    font-weight: 400;
    font-size: 16px;
    line-height: 79%;
    text-align: center;
    color: #344054;
    text-transform: capitalize;
}
.date-picker-wrapper .month-wrapper table .day.toMonth.day--success {
    background: #f77f03;
    color: #fff !important;
}

.js-search-form {
    position: relative;
}
.js-search-form.loading::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    background: url("../img/tube-spinner.svg") no-repeat center;
    background-size: 80px auto;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
}

.text .schedule .table__btn {
    padding-top: 4px;
}

.js-search-result .popular-tours--active {
    display: block !important;
    opacity: 1 !important;
}

@media (max-width: 1200px) {
    .hotel-gallery-cols__col {
        width: 100%;
        display: block;
    }
    .hotel-gallery-slider {
        max-width: unset;
    }
    .select2-container--default .select2-selection--single {
        height: 54px;
    }
    .search-form {
        padding-left: 0;
        padding-right: 0;
        adding-bottom: 0;
    }
}

@media (max-width: 1180px) {
    .search-block-label,
    .breadcrumbs__item {
        font-size: 16px;
    }

    .items-list {
        grid-template-columns: 1fr 1fr;
    }

    .items-list__col {
        min-width: 100%;
    }

    .tour-card-uslugs-icon[title] {
        position: relative;
    }
    .tour-card-uslugs-icon[title]:hover::after,
    .tour-card-uslugs-icon[title]:focus::after {
        content: attr(title);
        position: absolute;
        top: 90%;
        color: #000;
        background-color: #f1f1f1;
        border: 1px solid #bababa;
        width: 120px;
        padding: 3px;
        font-size: 12px;
        z-index: 9;
        border-radius: 3px;
    }

    .offer-search .bg {
        border-radius: 0 0 30px 30px;
    }
}

.offer--with-search {
    overflow: visible;
    height: 680px;
}
.offer--with-search .offer__gallery {
    /* border-radius: 0 0 60px 60px; */
    border-radius: 0 !important;
    overflow: hidden;
}
.offer--with-search .content {
    padding-bottom: 240px;
}

.offer--with-search .offer__wrap {
    bottom: 120px;
}

.offer-search__block {
    position: absolute;
    bottom: 0;
    z-index: 9;
    width: 100%;
    padding: 45px 0px;
}

.offer-search__block .content,
.offer--with-search .offer-search__block .content {
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 1180px) {
    .offer--with-search {
        height: 1050px;
    }
    .offer--with-search .offer__gallery {
        border-radius: 0 0 30px 30px;
    }
    .offer--with-search .search-form {
        padding-bottom: 0;
    }
    .offer--with-search .content {
        padding-bottom: 500px;
    }
    .offer--with-search .offer__wrap {
        bottom: 370px;
    }

    .offer-search__block {
        padding: 15px 0px;
    }

    .search-form-cols__col {
        flex-direction: column;
    }
    .search-form-cols__col .search-params-menu {
        position: static;
        margin-top: -5px;
    }
}

/* v1.0.11 */
