.black {
    background-color: black !important;
}

.separator {
    width: 6px !important;
}

.scroll-outer,
.scroll-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.scroll-inner {
    overflow-x: auto;
    overflow-y: hidden;
}

.hlb-outer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.hlb-outer > .hlb-cal-head,
.hlb-outer > .hlb-cal-body.scroll-outer {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
}

.hlb-sv-head-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.hlb-sv-head-scroll::-webkit-scrollbar {
    display: none;
}

.hlb-sv-head-scroll TABLE {
    width: max-content;
    min-width: 100%;
}

.hlb-sv-head-scroll TABLE.hlb-cal-head {
    width: max-content;
    min-width: 100%;
    max-width: none;
}

.hlb-calendar.scroll-inner {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.hlb-sv-head-scroll TABLE.hlb-cal-head THEAD TR TH:not(.hlb-accom-name-head):not(.separator) {
    width: 40px !important;
    min-width: 40px;
    max-width: 40px;
    box-sizing: border-box;
    text-align: center;
    font-size: 10px;
}

.hlb-calendar TABLE.hlb-cal-body {
    width: max-content;
    min-width: 100%;
    max-width: none;
    table-layout: fixed;
}

.hlb-calendar TABLE.hlb-cal-body TBODY TR TD:not(.hlb-accom-name):not(.separator),
.hlb-calendar TABLE.hlb-cal-body TBODY TR TH:not(.separator) {
    width: 40px !important;
    min-width: 40px;
    max-width: 40px;
    box-sizing: border-box;
}

.hlb-sv-head-scroll TABLE.hlb-cal-head THEAD TR TH.separator {
    display: table-cell;
    width: 6px !important;
    min-width: 6px !important;
    max-width: 6px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.hlb-calendar TABLE.hlb-cal-body TBODY TR TH.separator {
    width: 6px !important;
    min-width: 6px !important;
    max-width: 6px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.hlb-sv-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 4px 0;
    background: #fff;
}

.hlb-sv-pagination button,
.hlb-sv-page-status {
    white-space: nowrap;
}

.hlb-sv-page-status {
    cursor: default !important;
}

.hlb-calendar TABLE THEAD TR.space-below TH,
.hlb-sv-head-scroll TABLE THEAD TR.space-below TH {
    padding-bottom: 12px;
}

.hlb-cal-head .hlb-header {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.hlb-cal-head .hlb-header.hlb-sv-public-header {
    display: flex;
    width: 100%;
    max-width: 100%;
}

.hlb-cal-head .hlb-header {
    /* keep the existing flex properties */
    width: 100%;
    max-width: 100%;
}

.hlb-cal-head .hlb-header.hlb-sv-public-header {
    width: 100% !important;
}

.hlb-cal-head .hlb-header.hlb-sv-public-header .hlb-help {
    float: right;
    margin-left: auto;
}

.hlb-cal-head .hlb-header .hlb-quote-div {
    float: none;
    flex: 0 0 auto;
    margin-bottom: 0;
    line-height: normal;
}

.hlb-cal-head .hlb-header .hlb-quote-div label,
.hlb-accom-filters label,
.hlb-accom-navigation > label {
    display: block;
    margin: 0 0 4px;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

 
.hlb-cal-head .hlb-header .hlb-header-control {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 34px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #a6a8ab;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.hlb-cal-head .hlb-header .hlb-header-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: 0 0 8px rgba(102, 175, 233, .6);
}

.hlb-cal-head .hlb-header .hlb-quote {
    width: auto !important;
    min-width: 90px;
    font-size: 14px;
    padding: 6px 10px;
}

.hlb-accom-filters {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1 1 700px;
    min-width: 0;
    margin: 0;
}

.hlb-accom-filters > div {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-end;
}

.hlb-accom-filter-name {
    width: 200px;
}

.hlb-accom-filter-page-size,
.hlb-accom-filter-sleeps {
    width: 110px;
}

.hlb-accom-filter-pets {
    width: 100px;
}

.hlb-accom-filter-date {
    width: 160px;
}

.hlb-accom-filter-sort {
    width: 145px;
}

.hlb-accom-month-select {
    display: inline-block !important;
    width: auto;
    vertical-align: middle;
}

.hlb-accom-navigation {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-end;
}

.hlb-accom-navigation .btn-group {
    display: flex;
    align-items: center;
}

.hlb-cal-head .hlb-header .hlb-accom-navigation .hlb-accom-month-select {
    flex: 0 0 auto;
    width: auto;
    margin: 0 4px;
}

.hlb-cal-head .hlb-header > .btn-group {
    flex: 0 0 auto;
    margin-left: auto;
}

.hlb-calendar TABLE HLB-ACCOM-NAME {
    position: sticky;
    left: 0;
}

.hlb-calendar TABLE TBODY TR TD.hlb-accom-name,
.hlb-calendar TABLE THEAD TR TH.hlb-accom-name-head,
.hlb-sv-head-scroll TABLE THEAD TR TH.hlb-accom-name-head {
    position: sticky;
    left: 0;
    z-index: 2000;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #fff;
    border-right: 1px solid #ccc !important;
    text-align: left;
}

.hlb-accom-name {
    z-index: 5;
    padding: 8px;
    font-weight: bold;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hlb-accom-name-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hlb-accom-name-link:hover,
.hlb-accom-name-link:focus,
.hlb-sv-mobile-title:hover,
.hlb-sv-mobile-title:focus {
    text-decoration: underline;
}

.hlb-sv-image-preview {
    display: none;
    position: fixed;
    z-index: 90000;
    width: 240px;
    height: 240px;
    padding: 4px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    pointer-events: none;
}

.hlb-sv-image-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hlb-accom-details {
    font-size: 10px;
    font-weight: normal;
    line-height: 12px;
}

.hlb-accom-name-head {
    z-index: 2001 !important;
}

.hlb-calendar TABLE.hlb-cal-body CAPTION.hlb-sv-mobile-name {
    display: none;
}


@media (max-width: 400px) {
    .hlb-cal-head .hlb-header label[for=hlb-quote] {
        display: none;
    }

    .hlb-cal-head .hlb-header .btn {
        padding: 4px 8px;
    }
}

@media (max-width: 767px) {
    .hlb-cal-head,
    .hlb-calendar.scroll-inner {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .hlb-sv-head-scroll TABLE.hlb-cal-head,
    .hlb-calendar TABLE.hlb-cal-body {
        border-spacing: 2px 0;
    }

    .hlb-sv-head-scroll TABLE.hlb-cal-head THEAD TR TH.hlb-accom-name-head,
    .hlb-calendar TABLE.hlb-cal-body TBODY TR TD.hlb-accom-name {
        display: none;
    }

    .hlb-calendar TABLE.hlb-cal-body CAPTION.hlb-sv-mobile-name {
        display: table-caption;
        position: sticky;
        left: 0;
        box-sizing: border-box;
        width: 100vw;
        max-width: 100vw;
        padding: 8px;
        margin: 0 0 8px;
        background: #fff;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: bold;
        z-index: 5;
    }

    .hlb-sv-mobile-title {
        display: inline-block;
        max-width: calc(100vw - 170px);
        margin-right: 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }

    .hlb-calendar TABLE.hlb-cal-body CAPTION .hlb-accom-details {
        display: inline-block;
        font-weight: normal;
        vertical-align: middle;
        white-space: nowrap;
    }
}
