#hotel_ki_body {
    background: #fefefe;
    color: #2b2a29;
    font-family: 'Fact Narrow', sans-serif;
    font-size: 18px;
}

#hotel_ki_body {
    *,
    *:before,
    *:after {
        box-sizing: border-box;
    }

    button,
    input,
    select,
    textarea {
        font-family: 'Fact Narrow', sans-serif;
        font-size: 18px;
    }

    input,
    select,
    textarea {
        background: #fff;
    }

    input,
    textarea {
        padding: 4px;
    }

    input:focus,
    textarea:focus {
        outline: none;
    }

    button {
        cursor: pointer;
    }

    ol,
    ul {
        list-style: none;
    }

    table {
        border-spacing: 0;
        width: 100%;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    img {
        display: block;
        max-width: 100%;
    }

    img[src=""],
    img:not([src]) {
        display: none;
    }

    p {
        margin: 0 0 14px 0;
    }

    .underline {
        text-decoration: underline;
    }

    .underline:hover {
        text-decoration: none;
    }

    .flex {
        display: flex;
    }

    .flex_inline {
        display: inline-flex;
    }

    .flex_column {
        flex-direction: column;
    }

    .flex_row {
        flex-direction: row;
    }

    .flex_wrap {
        flex-wrap: wrap;
    }

    .flex_1 {
        flex: 1;
    }

    .align_items_start {
        align-items: start;
    }

    .align_items_center {
        align-items: center;
    }

    .align_self_stretch {
        align-self: stretch;
    }

    .justify_center {
        justify-content: center;
    }

    .justify_space_between {
        justify-content: space-between;
    }

    .gap_10 {
        gap: 10px;
    }

    .gap_14 {
        gap: 14px;
    }

    .gap_20 {
        gap: 20px;
    }

    .padding_6 {
        padding: 6px !important;
    }

    .padding_8 {
        padding: 8px !important;
    }

    .text_center {
        text-align: center;
    }

    .text_left {
        text-align: left;
    }

    .gray_block {
        background: #acacac;
    }

    .gray_color {
        color: #909090;
    }

    .font_weight_500 {
        font-weight: 500;
    }

    .border_radius_6 {
        border-radius: 6px !important;
    }

    .no_border {
        border: 0 !important;
    }

    .no_margin {
        margin: 0 !important;
    }

    .no_padding {
        padding: 0 !important;
    }

    [class*="center_block_"] {
        margin: 0 auto;
        padding: 0 14px;
    }

    @media (min-width: 1057px) {
        .center_block_1000 {
            width: 1028px;
        }
    }

    @media (min-width: 1257px) {
        .center_block_1200 {
            width: 1228px;
        }
    }

    .cursor_pointer {
        cursor: pointer;
    }

    .button {
        background: #fff;
        border: 0;
        border-radius: 14px;
        color: #2b2a29;
        cursor: pointer;
        display: inline-flex;
        gap: 8px;
        justify-content: center;
        line-height: 1;
        padding: 10px 20px;
    }

    .button:hover {
        text-decoration: none;
    }

    .button_green {
        background: #04b200;
        color: #fff;
    }

    .button_gray {
        background: #efefef;
        border: 2px solid #ccc;
    }

    .button_dark {
        background: #2b2a29;
        color: #fff;
    }

    .button_white {
        background: #fff;
        border: 2px solid #2b2a29;
    }

    .button_text_green {
        color: #04b200;
    }

    .button_wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 14px 0 0 0;
    }

    [class*="border_green_"] {
        border-color: #04b200;
        border-style: solid;
    }

    .border_green_1 {
        border-width: 1px;
    }

    .border_green_2 {
        border-width: 2px;
    }

    .disabled_button {
        background: #efefef;
        color: #aaa;
        cursor: not-allowed;
    }

    .frame.search_form {
        background-image: url('/images/search/bg_small.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        color: #fff;
        margin: 50px 0;
        padding: 16px 14px 30px;
    }

    @media (min-width: 576px) {
        .frame.search_form {
            background-image: url('/images/search/bg_medium.jpg');
        }
    }

    @media (min-width: 768px) {
        .frame.search_form {
            background-image: url('/images/search/bg_large.jpg');
        }
    }

    @media (min-width: 1000px) {
        .frame.search_form {
            background-image: url('/images/search/bg_extra_large.jpg');
        }
    }

    .frame.search_form hr {
        display: none;
    }

    .frame.search_form h2,
    .frame.search_form h3 {
        margin: 0;
    }

    .frame.search_form h2 {
        color: #fff;
        font-size: 22px;
        margin-bottom: 20px;
        -webkit-text-stroke: 1px #2b2a29;
        text-stroke: 1px #2b2a29;
        text-align: center;
    }

    @media (min-width: 768px) {
        .frame.search_form h2 {
            font-size: 30px;
        }
    }

    @media (min-width: 992px) {
        .frame.search_form h2 {
            font-size: 38px;
        }
    }

    .frame.search_form .checkin_date_search_frame {
        font-weight: 500;
        margin: 0 auto;
    }

    @media (min-width: 1057px) {
        .frame.search_form .checkin_date_search_frame {
            width: 1000px;
        }
    }

    .frame.search_form .checkin_date_search_frame > h3,
    .frame.search_form .checkin_date_search_frame > p {
        font-size: 20px;
        margin: 10px 0;
    }

    .frame.search_form .multi_check_list_opt,
    .frame.search_form .search_form_grouping_block {
        display: flex;
        flex-wrap: wrap;
    }

    .frame.search_form .multi_check_list_opt {
        gap: 16px;
        margin: 8px 0 20px;
    }

    .frame.search_form .multi_check_list_opt:last-of-type {
        margin-bottom: 0;
    }

    .frame.search_form .search_form_grouping_block {
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }

    .check_list_element {
        cursor: pointer;
        padding: 0 0 0 30px;
        position: relative;
    }

    .check_list_element:before,
    .check_list_element:after {
        content: '';
        position: absolute;
    }

    .check_list_element:before {
        background: #fff;
        border: 1px solid #2b2a29;
        height: 20px;
        left: 0;
        top: 3px;
        width: 20px;
    }

    .check_list_element.checked_element:after {
        border: solid #2b2a29;
        border-width: 0 0 4px 4px;
        height: 8px;
        left: 3px;
        top: 8px;
        transform: rotate(-45deg);
        width: 14px;
    }

    #check_in_out_date_label {
        background: #fff;
        border-radius: 10px;
        color: #2b2a29;
        display: flex;
        flex-direction: column;
        line-height: 1;
        padding: 4px 10px 4px 62px;
        position: relative;
    }

    #check_in_out_date_label:before,
    #check_in_out_date_label:after {
        content: '';
    }

    #check_in_out_date_label:before {
        background: url('/images/icons/calendar.svg') no-repeat center center / contain;
        filter: invert(49%) sepia(5%) saturate(87%) hue-rotate(22deg) brightness(90%) contrast(87%);
        height: 24px;
        left: 12px;
        position: absolute;
        top: calc(50% - 12px);
        width: 24px;
    }

    #check_in_out_date_label:after {
        background: #727271;
        border-radius: 4px;
        bottom: 6px;
        left: 48px;
        position: absolute;
        top: 6px;
        width: 4px;
    }

    #check_in_out_date_label span {
        font-size: 14px;
        font-weight: 400;
    }

    #check_in_out_date_label input {
        border: 0;
        font-weight: 500;
        padding: 0;
    }

    .pickmeup_input {
        font-variant-numeric: tabular-nums;
        min-width: 190px;
    }

    .button_submit {
        color: #04b200;
        font-weight: 600;
        font-size: 22px;
        margin: 0 auto;
        min-width: 260px;
    }

    .all_rooms_on {
        text-align: center;
    }

    .frame.overflow_frame {
        margin: 0 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hotel_room tr td {
        padding: 10px;
    }

    .hotel_room tr.hotel_rooms_head td {
        background: #727271;
        border: 0;
        color: #fff;
        white-space: nowrap;
    }

    .hotel_room tr.hotel_rooms_head td.hotel_room_type,
    .hotel_room tr.hotel_rooms_head td.hotel_rooms_order {
        text-align: center;
    }

    .hotel_room tr td.hotel_room_type > p:first-child {
        font-weight: 600;
    }

    .hotel_room tr td.hotel_room_img img {
        object-fit: cover;
        max-height: 360px;
        margin: 0 auto;
    }

    .hotel_room tr td.avalible_rooms,
    .hotel_room tr td.hotel_room_guests {
        white-space: nowrap;
    }

    .hotel_room tr td.hotel_room_price .main_offer_price {
        margin-left: 10px;
        padding: 4px 0;
        position: relative;
    }

    .hotel_room tr td.hotel_room_price .main_offer_price:before {
        background: #04b200;
        border-radius: 4px;
        content: '';
        height: 100%;
        left: -10px;
        position: absolute;
        top: 0;
        width: 4px;
    }

    .hotel_room tr td.hotel_room_price .main_offer_price b {
        font-weight: normal;
    }

    .hotel_room tr td.hotel_room_order {
        text-align: center;
    }

    .hotel_room tr td p {
        margin: 8px 0 0 0;
    }

    .hotel_room tr td p:first-of-type {
        margin-top: 0;
    }

    .hotel_room tr .hotel_room_icons {
        font-size: 0;
        padding: 0 5px;
    }

    .hotel_room tr .hotel_room_icons .hotel_icon {
        float: left;
        margin-left: 5px;
        margin-right: 5px;
    }

    .hotel_room tr .hotel_icon {
        margin-bottom: 10px;
    }

    .hotel_room .mobile_element {
        display: none;
    }

    @media (min-width: 861px) {
        .frame.overflow_frame {
            border: 1px solid #ccc;
            border-radius: 6px;
            padding: 10px 10px 0 10px;
        }
    
        .hotel_room tr.hotel_rooms_head td.hotel_rooms_order {
            width: 1%;
        }
    
        .hotel_room tr.room_frame ~ tr.room_frame td {
            border-top: 1px solid #727271;
        }
    
        .hotel_room tr td.hotel_room_img {
            padding-left: 0;
            vertical-align: top;
            width: 1%;
        }
    
        .hotel_room tr td.hotel_room_img img {
            height: 120px;
            max-width: 180px;
            min-width: 180px;
        }
    
        .hotel_room tr td.hotel_room_type {
            width: 30%;
        }
    }

    @media (min-width: 1029px) {
        .frame.overflow_frame {
            margin: 0 calc((100% - 1000px) / 2);
            width: 1000px;
        }
    }

    @media (max-width: 860px) {
        .hotel_room {
            display: flex;
            justify-content: center;
        }
    
        .hotel_room .hotel_rooms_head,
        .hotel_room .hotel_room_icons_tr {
            display: none;
        }
    
        .hotel_room tr {
            border: 1px solid #ccc;
            border-radius: 6px;
            display: block;
            margin-bottom: 14px;
        }
    
        .hotel_room tr td {
            border: 0;
            display: block;
            width: 100%;
        }
    
        .hotel_room .mobile_element {
            display: inline-block;
        }
    
        .hotel_room td.hotel_room_order .mobile_element {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }
    }

    @media (max-width: 860px) and (min-width: 381px) {
        .hotel_room tr {
            max-width: 380px;
        }
    }

    .section {
        margin-bottom: 40px;
        margin-top: 40px;
    }

    .section_title {
        display: block;
        font-size: 22px;
        font-weight: 700;
        padding-bottom: 20px;
    }

    .section_title,
    .section_title:hover {
        text-decoration: none;
    }

    @media (min-width: 768px) {
        .section_title {
            font-size: 30px;
            margin: 0 40px;
        }
    }

    @media (min-width: 992px) {
        .section_title {
            font-size: 38px;
        }
    }

    .icon,
    .hotel_icon {
        display: inline-flex;
        font-size: 0;
    }

    .icon:before,
    .hotel_icon:before {
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        content: '';
        display: block;
        height: 30px;
        width: 30px;
    }

    .hotel_icon:before,
    .green_icon:before {
        filter: invert(40%) sepia(98%) saturate(1611%) hue-rotate(84deg) brightness(97%) contrast(111%);
    }

    .white_icon:before {
        filter: invert(99%) sepia(52%) saturate(2%) hue-rotate(255deg) brightness(111%) contrast(100%);
    }

    .small_icon:before {
        height: 18px;
        width: 18px;
    }

    .big_icon:before {
        height: 50px;
        width: 50px;
    }

    .big_icon_width:before {
        width: 50px;
    }

    .paysystem_icon:before {
        height: 40px;
        width: 80px;
    }

    .dog_icon:before {
        background-image: url('/images/icons/dog.svg');
    }

    .wash_machin_icon:before {
        background-image: url('/images/icons/washing_machine.svg');
    }

    .smoke_icon:before {
        background-image: url('/images/icons/smoke.svg');
    }

    .tv_icon:before {
        background-image: url('/images/icons/tv.svg');
    }

    .bath_icon:before {
        background-image: url('/images/icons/bath.svg');
    }

    .cond_icon:before {
        background-image: url('/images/icons/conditioner.svg');
    }

    .cupboard_icon:before {
        background-image: url('/images/icons/cupboard.svg');
    }

    .kitchen_icon:before {
        background-image: url('/images/icons/kitchen.svg');
    }

    .bedroom_icon:before {
        background-image: url('/images/icons/bedroom.svg');
    }

    .calendar_icon:before {
        background-image: url('/images/icons/calendar.svg');
    }

    .dzen_icon:before {
        background-image: url('/images/icons/dzen.svg');
    }

    .heart_icon:before {
        background-image: url('/images/icons/heart.svg');
    }

    .home_icon:before {
        background-image: url('/images/icons/home.svg');
    }

    .instagram_icon:before {
        background-image: url('/images/icons/instagram.svg');
    }

    .telegram_icon:before {
        background-image: url('/images/icons/telegram.svg');
    }

    .whatsapp_icon:before {
        background-image: url('/images/icons/whatsap.svg');
    }

    .vk_icon:before {
        background-image: url('/images/icons/vk.svg');
    }

    .marker_icon:before {
        background-image: url('/images/icons/marker.svg');
    }

    .trash_icon:before {
        background-image: url('/images/icons/trash.svg');
    }

    .visa_icon:before {
        background-image: url('/images/icons/visa.svg');
    }

    .mastercard_icon:before {
        background-image: url('/images/icons/mastercard.svg');
    }

    .maestro_icon:before {
        background-image: url('/images/icons/maestro.svg');
    }

    .mir_icon:before {
        background-image: url('/images/icons/mir.svg');
    }

    .sbp_icon:before {
        background-image: url('/images/icons/sbp.svg');
    }

    .exclamation_icon:before {
        background-image: url('/images/icons/red_exclamation.svg');
        filter: none;
    }

    .arrow_icon:before {
        background-image: url('/images/icons/arrow.svg');
    }

    .arrow_right_icon:before {
        transform: rotate(180deg);
    }

    .arrow_up_icon:before {
        transform: rotate(90deg);
    }

    .arrow_down_icon:before {
        transform: rotate(-90deg);
    }

    .hidden {
        display: none;
    }

    .modal {
        contain: paint;
        max-width: 670px;
        overflow: initial;
        padding: 20px;
    }

    .modal .modal {
        max-width: auto;
        padding: 0;
    }

    .modal h2 {
        color: #2b2a29;
        font-size: 22px;
        margin: 0 12px 10px 0;
        text-align: center;
        text-transform: uppercase;
    }

    .modal .f-button[data-fancybox-close] {
        color: rgb(43, 42, 41);
        top: 0;
    }

    .form_edit_frame {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .form_label_wrapper {
        align-items: center;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 6px;
        display: flex;
        flex: 1;
        gap: 10px;
        padding: 6px 10px;
    }

    .form_label_wrapper .form_label_header {
        border: solid #ccc;
        border-width: 0 1px 0 0;
        padding-right: 10px;
        white-space: nowrap;
    }

    .form_label_wrapper .form_edit_input {
        border: 0;
        margin: 0;
        min-width: 100px;
        padding: 0;
        width: 100%;
    }

    .form_sticky_frame {
        background: #fff;
        bottom: -8px;
        margin-bottom: -20px;
        padding-bottom: 20px;
        padding-top: 14px;
        position: sticky;
    }

    .checkbox {
        align-items: start;
        cursor: pointer;
        display: flex;
        gap: 10px;
        -webkit-user-select: none;
      -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    }

    .checkbox .checkmark {
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 6px;
        cursor: pointer;
        display: flex;
        padding: 4px;
    }

    .checkbox .checkmark:before {
        border-radius: 4px;
        content: '';
        display: block;
        height: 14px;
        width: 14px;
    }

    .checkbox input {
        display: none !important;
    }

    .checkbox input:checked ~ .checkmark:before {
        background: #04b200;
    }

    .order_table tr {
        height: 1px;
    }

    .order_table th,
    .order_table td {
        border-left: 1px solid #cdcdcd;
        font-weight: 500;
        height: inherit;
        padding: 0 2px;
        text-align: center;
    }

    .order_table th {
        color: #909090;
    }

    .order_table th:first-child,
    .order_table td:first-child {
        border: 0;
    }

    .order_table td:first-child {
        text-align: left;
    }

    .order_table th div,
    .order_table td div {
        padding: 6px;
        height: 100%;
    }

    .order_table td div {
        border-top: 1px solid #cdcdcd;
    }

    .ui-selectmenu-menu,
    .ui-selectmenu-button {
        color: #212121;
        cursor: pointer;
        -webkit-user-select: none;
      -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    }

    .ui-selectmenu-button {
        align-items: center;
        display: flex;
        flex: 1;
        gap: 10px;
        overflow: hidden;
        width: 100%;
    }

    .ui-selectmenu-text {
        overflow: hidden;
        flex: 1;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ui-selectmenu-button .ui-icon {
        align-items: center;
        border-left: 1px solid #727271;
        display: flex;
        height: 100%;
        order: 1;
        padding: 0 2px 0 8px;
    }

    .ui-selectmenu-button .ui-icon:before {
        background: url('/images/icons/arrow.svg') no-repeat center center / cover;
        content: '';
        display: block;
        filter: invert(49%) sepia(5%) saturate(87%) hue-rotate(22deg) brightness(90%) contrast(87%);
        height: 14px;
        padding: 4px;
        transform: rotate(-90deg);
        width: 14px;
    }

    .ui-selectmenu-button-open .ui-icon:before {
        transform: rotate(90deg);
    }

    .ui-selectmenu-menu {
        display: none;
        left: 0;
        margin: 0;
        padding: 0;
        position: absolute;
        text-align: left;
        top: 0;
        z-index: 3;
    }

    .ui-selectmenu-menu .ui-menu {
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 6px;
        margin: 0;
        padding: 0;
    }

    .ui-selectmenu-open {
        display: block;
    }

    .ui-selectmenu-button,
    .ui-selectmenu-menu .ui-menu .ui-menu-item-wrapper {
        padding: 6px 8px;
    }

    .ui-menu-item-wrapper.ui-state-active {
        background: #ccc;
    }

    .form_select_wrapper .ui-selectmenu-button {
        margin: -6px -10px;
    }

    .form_label_wrapper.required,
    .required.checkbox .checkmark,
    .required textarea {
        outline: 2px solid transparent;
        outline-offset: -2px;
        outline-color: #e65054;
    }

    .square_label_wrapper {
        flex: 0;
        padding: 6px;
    }

    .square_label_wrapper .form_edit_input {
        height: 24px;
        min-width: auto;
        text-transform: uppercase;
        width: 24px;
    }

    .quantity .quantity_button {
        border: 1px solid #2b2a29;
        border-radius: 50%;
        color: #2b2a29;
        font-size: 27px;
        width: 40px;
        height: 40px;
        padding: 0;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    }

    .quantity .quantity_button:disabled {
        border-color: #999;
        color: #999;
    }

    .quantity_label {
        flex: 0 1 auto;
        height: 40px;
        padding: 4px;
        width: 60px;
    }

    .quantity .quantity_input {
        width: 100%;
    }

    .quantity .quantity_input::-webkit-inner-spin-button,
    .quantity .quantity_input::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .quantity .quantity_input[type=number] {
        -moz-appearance: textfield;
    }

    .show_detail {
        cursor: pointer;
    }

    .top_block_content *:has(> img[src=""]),
    .contacts_block *:has(> img[src=""]) {
        display: none;
    }
}

#ajax_loader {
    align-items: center;
    animation: fadeOut 0.5s forwards;
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    left: 0;
    margin: 0;
    max-height: 100%;
    max-width: 100%;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100001;
}

#ajax_loader[open] {
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        visibility: visible;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        visibility: hidden;
    }

    to {
        opacity: 1;
        visibility: visible;
    }
}

#ajax_loader:focus {
    outline: none;
}

#ajax_loader .spinner {
    animation: loader 1s linear infinite;
    border: 5px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    box-sizing: border-box;
    height: 48px;
    transform: translate(-50%, -50%);
    width: 48px;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}