html,
body {
    margin: 0;
}

#hotel_ki_body {
    .header {
        background: #2b2a29;
        border-bottom: 2px solid #04b200;
        display: flex;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .header .menu {
        display: flex;
        gap: 6vw;
        margin: 0 auto;
        overflow-x: auto;
        padding: 0;
        -webkit-overflow-scrolling: touch;
    }

    .header .menu li a {
        color: #04b200;
        display: block;
        font-weight: 500;
        padding: 18px;
        text-align: center;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .top_block {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .top_block_item {
        align-items: center;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        display: flex;
        justify-content: start;
        padding: 14px;
        position: relative;
    }

    .top_block_background {
        display: flex;
        height: auto;
        left: 50%;
        min-height: 100%;
        min-width: 100%;
        position: absolute;
        top: 50%;
        transform: translate(-50%,-50%);
        width: auto;
        z-index : 0;
    }

    .top_block_background .top_block_background_image {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        flex: 1;
    }

    .top_block_shading:before {
        background: rgba(0, 0, 0, 0.4);
        content: '';
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

    .top_block_shading .top_block_inner {
        position: relative;
    }

    .top_block_first {
        align-items: end;
        grid-row: 1 / 4;
        justify-content: start;
        overflow: hidden;
        padding-bottom: 0;
    }

    .top_block_first .top_block_content img {
        width: 270px;
    }

    .top_block_first .top_block_content .top_block_relative {
        background: rgba(255, 255, 255, 0.8);
        border-radius: 6px 6px 0 0;
        padding: 20px;
        position: relative;
    }

    .top_block_first .button_like {
        border-radius: 50%;
        padding: 10px;
        position: absolute;
        right: 6px;
        top: 6px;
    }

    .top_block_first ~ .top_block_item {
        color: #fff;
        font-weight: 500;
        justify-content: center;
        min-height: 160px;
    }

    .top_block_first ~ .top_block_item .top_block_content {
        align-items: center;
        display: inline-flex;
        flex-direction: column;
        gap: 8px;
        min-width: 200px;
    }

    @media (min-width: 576px) {
        .top_block_first .top_block_content .top_block_relative {
            padding: 40px;
            width: 400px;
        }

        .top_block_first .button_like {
            right: 30px;
            top: 30px;
        }
    }

    @media (min-width: 768px) {
        .top_block {
            grid-template-columns: 2fr 1fr;
        }
    
        .top_block_first {
            min-height: 570px;
        }
    }

    @media (min-width: 1000px) {
        .top_block {
            grid-template-columns: calc((100% - 1000px) / 2 + 700px) calc((100% - 1000px) / 2 + 290px);
        }
    
        .top_block_first {
            justify-content: end;
        }
    
        .top_block_first .top_block_inner {
            width: 686px;
        }
    }

    @media (min-width: 1200px) {
        .top_block_first ~ .top_block_item {
            justify-content: start;
        }
    
        .top_block_first ~ .top_block_item .top_block_inner {
            text-align: right;
            width: 276px;
        }
    }

    .about_block {
        display: flex;
        gap: 20px;
    }

    .about_item {
        flex: 1;
        gap: 10px;
    }

    .floors_block {
        border: 1px solid #ccc;
        border-radius: 6px;
        color: #727271;
        padding: 10px 14px 10px 25px;
    }

    .floors_block_header {
        background: #ccc;
        border-radius: 6px;
        color: #2b2a29;
        display: inline-flex;
        margin-left: -15px;
        min-width: 140px;
        padding: 4px 15px;
    }

    .floors_block_content:last-of-type p:last-of-type {
        margin-bottom: 0;
    }

    .about_images {
        display: none;
        grid-template-columns: 1fr;
    }

    .about_images .about_image {
        display: flex;
        flex-direction: column;
        gap: 10px;
        order: 1;
    }

    .about_images .about_image:nth-child(2) {
        order: 0;
    }

    .about_images .about_image img {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .about_images .about_image .social_links {
        justify-content: end;
    }

    .about_images .about_image .social_links .icon:before {
        height: 40px;
        width: 40px;
    }

    @media (min-width: 576px) {
        .about_item .section_title {
            margin: 0 38px;
        }
    
        .about_description {
            padding: 0 38px;
        }
    
        .floors_block {
            margin: 0 -38px;
            padding-left: 38px;
        }
    
        .about_images {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }
    
        .about_images .about_image:nth-child(2) {
            grid-row: 1 / 3;
            grid-column: 2;
            order: 1;
        }
    }

    @media (min-width: 1028px) {
        .about_item:first-child {
            flex: 1.3;
        }
    }

    @media (max-width: 900px) {
        .about_block {
            flex-direction: column;
        }
    }

    .slider_wrapper a {
        text-decoration: underline;
    }

    .slider_wrapper a:hover {
        text-decoration: none;
    }

    .slider_wrapper .slider_header .slider_title {
        align-items: center;
        display: flex;
        justify-content: space-between;
        text-align: center;
    }

    .slider_wrapper .slider_header .slider_controls {
        justify-content: center;
        margin: 8px 0 0 20px;
    }

    .slider_wrapper .slider {
        display: flex;
        gap: 14px;
        justify-content: center;
        overflow: hidden;
    }

    .slider_wrapper .slider .slide img {
        height: 200px;
        min-width: 290px;
        object-fit: cover;
        width: 290px;
    }

    .slider_wrapper .slider .slide span {
        display: block;
        margin: 6px 20px 0;
    }

    @media (max-width: 575px) {
        .slider_wrapper .slider_header .slider_controls {
            display: none;
        }
    }

    .contacts_wrapper {
        display: flex;
        font-weight: 700;
        gap: 50px;
    }

    .contacts_wrapper .contacts_header {
        font-weight: 300;
    }

    .contacts_wrapper .contacts_block {
        display: flex;
        flex-direction: column;
        flex: 1;
        gap: 30px;
    }

    .contacts_wrapper .contacts_block > iframe {
        width: 100%;
    }

    .contacts_wrapper .contacts_block .contacts_image {
        width: 220px;
    }

    .contacts_wrapper .contacts_block .contacts_inner {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
    }

    @media (min-width: 576px) {
        .contacts_wrapper .social_links {
            width: 78px;
        }
    }

    @media (max-width: 769px) {
        .contacts_wrapper {
            flex-direction: column;
            gap: 40px;
        }
    
        .contacts_wrapper .contacts_block {
            gap: 20px;
        }
    }

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

    .footer .footer_inner {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: space-between;
        padding-bottom: 30px;
        padding-top: 30px;
    }

    .footer .footer_inner .links {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .footer .footer_inner .logo img {
        width: 240px;
    }

    @media (max-width: 575px) {
        .footer .footer_inner {
            align-items: center;
            flex-direction: column;
        }
    }

    .social_links {
        display: flex;
        flex-wrap: wrap;
        font-size: 0;
        gap: 10px;
    }

    .social_links > * {
        background: #2b2a29;
        border-radius: 12px;
        padding: 2px;
    }

    .up {
        background: #2b2a29;
        border: 0;
        border-radius: 50%;
        cursor: pointer;
        font-size: 0;
        padding: 10px;
        position: fixed;
        right: 14px;
        top: 0;
    }

    @media (max-width: 769px) {
        .up {
            display: none;
        }
    }

    .bx-wrapper {
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        position: relative;
        -ms-touch-action: pan-y;
        touch-action: pan-y;
    }

    .bxslider {
        margin: 0;
        padding: 0;
        -webkit-perspective: 1000;
    }

    .bx-viewport {
        -webkit-transform: translateZ(0);
    }

    .slider_controls {
        display: flex;
        font-size: 0;
        gap: 20px;
    }

    .slider_controls .slider_control {
        background: #efefef;
        border: 2px solid #ccc;
        border-radius: 50%;
        font-size: 0;
        padding: 10px;
    }

    .slider_controls .slider_control .icon:before {
        height: 20px;
        width: 20px;
    }
}