.block-search-main {
    max-width: 1216px;
    width: 100%;
    position: absolute;
    top: 582px;
    left: calc(50% - 608px);
    margin: 0 auto;
    background: #fff;
    border: 1px solid #D1D2D9;
    border-radius: 19px;
    overflow: hidden;
    z-index: 3;
}

.tl-container {
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
    background-color: #FFF;
}

#block-search.block-search-inner {
    margin-bottom: 30px;
}

.tl-block {
    max-width: 1440px;
    margin: 0 auto;
}
#tl-hotel-select {
    display: none;
}
.bookmarks {
    display: flex;
    align-items: flex-end;
}
#hotel-apartament {
    margin-right: 10px;
}
#hotel-rooms, #hotel-apartament {
    height: 80px;
    background: rgba(247, 247, 247, 0.6);
    margin-bottom: 0;
    max-width: 340px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    padding-left: 0;
    opacity: 0.8;
}
#hotel-rooms.active {
    background: rgb(247, 247, 247);
    opacity: 1;
}
#hotel-apartament.active {
    background: rgb(247, 247, 247);
    opacity: 1;
}
#hotel-apartament.active .name_hotel,#hotel-rooms.active .name_hotel {
    color: #226CB7;
}
#hotel-apartament.active .name_hotel,#hotel-rooms.active .name_hotel {
    color: #226CB7;
}
#hotel-rooms, #hotel-apartament:hover {
    cursor: pointer;
}
.name_hotel {
    font-family: Open Sans,sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 25px;
    padding-right: 10px;
}
body.menu-open:before {
    z-index: 2147483632;
}
.block-search-rooms {
    border: 1px solid #D1D2D9;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
}
.block-search-rooms-details {
    border: 1px solid #D1D2D9;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    top: 1100px;
    right: 120px;
    max-width: 272px;
    width: 100%;
    z-index: 2;
}

#block-search.block-search-inner.block-search-rooms {
    margin: 0;
}

@media screen and (max-width: 1550px) {
    .block-search-rooms-details {
        right: 10%;
    }
}

@media screen and (max-width: 1270px) {
    .block-search-main {
        left: 60px;
        right: 60px;
        width: calc(100% - 120px);
    }
    .block-search-rooms-details {
        right: 2%;
    }
}

@media screen and (max-width: 1100px) {
    .block-search-main {
        top: 617px;
    }
    .block-search-rooms-details {
        top: 617px;
        right: 60px;
        left: 60px;
        max-width: unset;
        width: calc(100% - 120px);
    }
}

@media (max-width: 991px) {
    .header {
        z-index: 9;
    }
}

@media screen and (max-width: 767px) {
    #hotel-rooms, #hotel-apartament {
        flex-direction: column;
    }
    .name_hotel {
        font-size: 14px;
        line-height: 19px;
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 720px) {
    .block-search-main {
        top: 412px;
        left: 35px;
        right: 35px;
        width: calc(100% - 70px);
    }
    .block-search-rooms-details {
        top: 412px;
        right: 35px;
        left: 35px;
        width: calc(100% - 70px);
    }
}

@media screen and (max-width: 550px) {
    #hotel-rooms, #hotel-apartament {
        flex-direction: column;
    }
    .name_hotel {
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 373px) {
    .name_hotel {
        padding-right: 0;
    }
}

