.rec1-catalog-container {
    font-size: 1em;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.ui-tabs .ui-tabs-panel div span.requiredText {
    font-size: 90%;
    color: #111111;
}

.rec1-catalog-heading {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%
}

.rec1-catalog-tabs {
    overflow: hidden;
    border-bottom: 1px #ddd solid;
    cursor: default;
    position: relative;
    width: 100%;
}

.rec1-catalog-tabs-inner {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.rec1-catalog-tab {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: table-cell;
    width: 20%;
}

.rec1-catalog-tab-btn {
    height: 37px;
    float: left;
    width: 100% !important;
    padding: 0;
    margin: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 3px #222 solid;
    border-radius: 0px !important;
    text-decoration: none;
    color: #111;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.1s ease-out;
    background: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rec1-catalog-tab button {
    border-radius: 0px;
}

.rec1-catalog-tab-btn:hover {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom-width: 6px;
    background: none;
}

.rec1-catalog-tab-btn .selected {
    height: 37px;
}

.rec1-catalog-tab-label {
    width: 88%;
}

.rec1-catalog-tab .rec1-catalog-tab-label,
.rec1-catalog-tab .rec1-catalog-tab-item-count {
    display: table-cell;
    vertical-align: middle;
}

.rec1-catalog-tab .rec1-catalog-tab-label > h4 {
    display: block;
    padding: 0 0.75em;
    line-height: 38px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    font-weight: 400;
    font-size: 13px;
    margin: 0;
}

.rec1-catalog-tab .rec1-catalog-tab-item-count {
    text-align: right;
    width: 20px;
    padding-right: 5px;
    direction: rtl;
}

.rec1-catalog-tab .rec1-catalog-tab-item-count .badge {
    background-color: #d1d1d1;
}

.rec1-catalog-tab-btn.selected .rec1-catalog-tab-item-count .badge {
    background-color: #fff !important;
    color: #444;
}

.rec1-catalog-panel-left {
    float: left;
    cursor: default;
    width: 22%;
    width: 200px;
    max-width: 250px;
    color: #666;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: -1px;
}

.fullscreen .rec1-catalog-panel-left {
    display: none;
}

.rec1-catalog-panel-offset {
    margin-left: 50px;
}

.rec1-catalog-filters-title {
    padding: 0;
    font-size: 11px;
    text-transform: uppercase;
    color: #ccc;
    font-weight: bold;
    letter-spacing: 1px;
    float: none;
    line-height: 40px;
}

.rec1-catalog-filters {
    border-right: 1px #ddd solid;
}

.rec1-catalog-filters-clear-btn {
    display: block;
}

.rec1-catalog-filters-inner {
    padding: 5px 15px 5px 0;
}

.ui-filter {
    margin-bottom: 1em;
}

.ui-filter input[type="text"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 26px;
    width: 100%;
    padding: 2px 5px;
}

.ui-filter-label {
    padding: 0.3em 0;
    font-weight: bold;
    font-size: 14px;
    color: #444;
}

.ui-filter .has-error {
    color: #a94442;
}

.ui-filter-label i {
    display: inline-block;
    margin-right: 5px;
    width: 1em;
    height: 1em;
    vertical-align: top;
    font-size: 14px;
    color: #999;
    font-weight: normal;
}

.ui-filter-list ul {
    padding: 0px;
}

.ui-filter-list-option {
    list-style: none;
    cursor: pointer;
    color: #444;
    padding-left: 1.2em;
}

.ui-filter-list-option:hover {
    background-color: #eee;
}

.ui-filter-list-option.down {
}

.ui-filter-list-option.checked {
    font-weight: 400;
    color: #444;
}

.ui-filter-list-option > label {
    padding: 0.3em;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1em;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}

.ui-filter-list-option > label input {
    margin-bottom: 2px;
}

.ui-filter-list .ui-selectmenu {
    width: 100%;
}

.ui-filter-list-more {
    display: block;
    cursor: pointer;
    padding: 0.3em 0.2em 0.3em 1.4em;
}

.ui-filter-list-more span {
    text-decoration: underline;
    margin-right: 0.2em;
}

.ui-filter-list-more i {
    font-size: 16px;
    vertical-align: bottom;
}

.ui-front.dropdown-menu {
    z-index: 1100
}

.rec1-catalog-settings {
}

.rec1-catalog-body {
    margin: 0 1em;
}

.rec1-catalog-tab-body {
    padding: 10px;
}

.rec1-catalog-items {
    float: left;
    width: 78%;
    width: calc(100% - 200px);
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.fullscreen .rec1-catalog-items {
    width: 100%;
}

.rec1-catalog-items-inner {
    border-left: 1px #ddd solid;
    min-height: 400px;
}

.rec1-catalog-section {
    margin: 0;
    border-bottom: 1px #d8d8d8 solid;
    border-right: 1px #d8d8d8 solid;
}

.rec1-catalog-section-title {
    color: #b1b1b1;
    padding: 0.5em;
    background-color: #f3f3f3;
    border: 1px #ddd solid;
    margin: -1px;
    position: relative;
    z-index: 21;
    padding: 8px;
}

.rec1-catalog-section-title h3 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: rgba(255, 255, 255, 0.34) 1px 1px 0px;
    margin: 0;
}

.rec1-catalog-section-description {
    padding: 0 0.5em;
    margin: 0.5em 0;
    font-size: 12px;
    color: #666;
}

.rec1-catalog-section-groups {
}

.rec1-catalog-section.columns-2 .rec1-catalog-section-groups {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-rule: 1px #ddd solid;
    -moz-column-rule: 1px #ddd solid;
    column-rule: 1px #ddd solid;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
}

.rec1-catalog-group {
    padding: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
    transition: height 0.35s;
    background-color: #fff;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    -o-column-break-inside: avoid;
    -ms-column-break-inside: avoid;
    column-break-inside: avoid;
}

.rec1-catalog-group-heading {
    padding: 0;
}

.rec1-catalog-group.collapsible .rec1-catalog-group-heading {
    padding: 5px 0;
    cursor: pointer;
}

.rec1-catalog-group.odd {
    background-color: #fafafa;
}

.rec1-catalog-group:hover {
    background-color: #eee;
}

.rec1-catalog-group-minimize {
    position: absolute;
    top: 1em;
    right: 1em;
    padding: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 15px;
    font-weight: bold;
    color: #757575;
    cursor: pointer;
    display: none;
    text-align: center;
    border: none;
    background: none;
}

.rec1-catalog-group-details {
    display: none;
    padding: 10px;

    max-width: 100%;

    overflow-x: hidden;
}

.rec1-catalog-group-details img {
    width: auto;
    max-height: 400px;
}

.rec1-catalog-item-description img {
    width: auto;
    max-height: 400px;
}

.rec1-catalog-group-minimize:hover {
    color: #000;
}

.rec1-catalog-group-view-selector {
    padding: 1em;
    padding-right: calc(2em + 20px);
    display: none;
}

.rec1-catalog-group.selected {
    margin: -1px;
    margin-bottom: 0;
    border: 1px #ddd solid;
    background-color: #fff;
    z-index: 20;
    cursor: auto;
    padding: 5px 0 0 0;
}

.rec1-catalog-group.selected .rec1-catalog-group-minimize,
.rec1-catalog-group.selected .rec1-catalog-group-view-selector {
    display: block;
}

.rec1-catalog-group.selected .rec1-catalog-group-name {
    font-weight: bold;
    font-size: 18px;
}

.rec1-catalog-group.multi-selection .rec1-catalog-group-name {
    font-size: 13px;
}

.rec1-catalog-group-name h4 {
    font-size: 17px;
    margin: 0;
}

.rec1-catalog-group.selected .rec1-catalog-group-items,
.rec1-catalog-group.selected .rec1-catalog-group-maps {
    display: block;
}

.rec1-catalog-group.selected .rec1-catalog-group-details {
    display: block;
    border-bottom: 1px #ddd solid;
}

.rec1-catalog-group.selected .rec1-catalog-group-item-count,
.rec1-catalog-group.selected .rec1-catalog-group-price,
.rec1-catalog-group.selected .rec1-catalog-group-desc-text {
    display: none;
}

.rec1-catalog-group.selected .rec1-catalog-group-thumbnail {
    width: 32px;
}

.rec1-catalog-group.selected .rec1-catalog-group-thumbnail i {
    font-size: 24px;
    color: #585858;
}

.rec1-catalog-group.multi-selection.selected {
    box-shadow: none;
}

.rec1-catalog-group-name {
    color: #0f73a8;
    font-size: 15px;
    text-decoration: underline;
    padding: 0.2em 0 0.2em 10px;
    cursor: pointer;
    max-width: 40%;
}

.rec1-catalog-group-name:hover {
    color: #18a5f0;
}

.rec1-catalog-group-desc-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.2em 0 0.2em 10px;
}

.rec1-catalog-group-item-count {
    background-color: #fff;
    border: 1px #bbb solid;
    color: #bbb;
}

.rec1-catalog-group-price {
    font-size: 15px;
    font-weight: bold;
    padding: 0.2em 0.3em 0.2em 0;
    color: #aaa;
}

.rec1-catalog-group-info {
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
}

.rec1-catalog-group-info li {
    color: #555;
    display: inline-block;
    margin-right: 1.8em;
    padding: 0.2em 0.2em 0.2em 0;
    zoom: 1;
    display: inline;
}

.rec1-catalog-group-items,
.rec1-catalog-group-maps {
    display: none;
    padding: 0;
}

.rec1-catalog-group-items.view-list {
}

.rec1-catalog-group-items.view-tiles {
    padding: 8px 0 1px 0;
}

.rec1-catalog-item {
    line-height: 28px;
    background-color: #fff;
    position: relative;
}

.rec1-catalog-item > .ui-row-12 > .rec1-catalog-item-feature,
.rec1-catalog-item > .ui-row-12 > .rec1-catalog-item-name,
.rec1-catalog-item > .ui-row-12 > .rec1-catalog-item-price,
.rec1-catalog-item > .ui-row-12 > .rec1-catalog-item-price .item-price {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    height: 28px;
}

.rec1-catalog-item > .ui-row-12 > .rec1-catalog-item-price {
    overflow: visible;
    width: 15% !important;
}

.rec1-catalog-item > .ui-row-12 > .rec1-catalog-item-feature,
.rec1-catalog-item > .ui-row-12 > .rec1-catalog-items-heading-feature {
    width: 13%;
    padding-right: 5px;
    font-size: 0.9em;
    white-space: nowrap;
}

.rec1-catalog-items-heading-feature i.icon,
.rec1-catalog-items-heading-name i.icon {
    color: #ccc;
    margin-right: 0.3em;
    display: none;
}

.rec1-catalog-items-heading-sort {
    cursor: pointer;
    color: #666;
    font-size: 16px;
}

.rec1-catalog-item:last-child {
    border-bottom: none;
}

.rec1-catalog-item-heading {
    cursor: pointer;
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.rec1-catalog-items-heading {
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.rec1-catalog-item.tile .rec1-catalog-item-heading {
    padding-left: 5px;
}

.rec1-catalog-group-thumbnail {
    padding: 0 10px;
    width: 34px;
    float: left;
}

.rec1-catalog-group-thumbnail i {
    width: 1em;
    height: 0.5em;
    line-height: 0.5em;
    font-size: 24px;
    display: block;
    text-align: center;
    margin-top: 0.25em;

    /* Don't show icons until they are available for activities */
    display: none;
}

.rec1-catalog-group-thumbnail img {
    min-width: 100%;
    max-width: 100%;
}

.rec1-catalog-item-name {
    font-size: 13px;
    cursor: pointer;
    color: #333;
    padding: 0 5px;
    float: left;
}

.rec1-catalog-item-name > i {
    font-size: 24px;
    margin-right: 10px;
    line-height: 28px;
    color: #aaa;
}

.view-tiles .rec1-catalog-item-name > i {
    vertical-align: middle;
}

.view-list .rec1-catalog-item-name {
    color: #265A87;
    font-weight: bold;
    width: 24%;
}

.view-list .rec1-catalog-items-heading-name {
    width: 24%;
    padding: 0 5px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
}

.rec1-catalog-items-heading-feature {
    font-weight: bold;
    color: #666;
    cursor: pointer;
}

.rec1-catalog-items-heading-feature > span {
    display: inline-block;
    max-width: 80%;
    max-width: calc(100% - 25px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: baseline;
    font-size: 80%;
    text-transform: uppercase;
}

.view-list .rec1-catalog-item-name > span {
    margin-left: 0;
    padding: 0 8px;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 40px;
}

.view-list .rec1-catalog-items-heading-name > span {
    margin-left: 0;
    padding: 0 8px;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: baseline;
    font-size: 80%;
    text-transform: uppercase;
}

.item-inventory {
    color: #468847;
    font-weight: bold;
    text-align: left;
    margin-left: 33px;
    margin-top: -10px;
}

.item-inventory.out-of-stock {
    color: #b94a48;
    font-weight: normal;
}

.ada-dark-background .rec1-catalog-item-name,
.ada-dark-background .rec1-catalog-item-price .item-price,
.ada-dark-background .item-inventory {
    color: #fff !important;
}

.view-list .rec1-catalog-item-heading > .rec1-catalog-item-name:hover {
    overflow: visible;
    position: relative;
    z-index: 5;
}

.view-list .rec1-catalog-item-name:hover > span {
    overflow: visible;
    max-width: none;
    background-color: #d9edf7;
}

.view-list .rec1-catalog-item.expanded .rec1-catalog-item-name span {
    background-color: #d9edf7;
}

html .view-tiles .rec1-catalog-item-name {
    width: auto !important;
    white-space: normal !important;
    overflow: visible !important;
    line-height: 1em;
}

.view-tiles .rec1-catalog-item-name > span {
    display: inline-block;
    width: 70%;
    width: calc(100% - 38px);
    line-height: 20px;
    vertical-align: middle;
    line-height: 1em;
    padding-right: 38px;
}

.rec1-catalog-item-status-asterisk {
    font-size: 38px;
    line-height: 1em;
    vertical-align: top;
    margin: 0 5px;
    width: 16px;
    display: inline-block;
}

.rec1-catalog-item-status-icon {
    font-size: 16px;
    line-height: 1.5em;
    vertical-align: top;
    margin: 0 5px;
    width: 16px;
    display: inline-block;
}

.rec1-catalog-item-feature {
    color: #666;
}

.rec1-catalog-item-feature > i {
    font-size: 14px;
    margin-right: 3px;
}

.rec1-catalog-item-feature > span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.rec1-catalog-item .rec1-catalog-item-feature.location,
.rec1-catalog-items-heading .rec1-catalog-items-heading-feature.location {
    width: 16%;
}

.rec1-catalog-item .rec1-catalog-item-feature.dates,
.rec1-catalog-items-heading .rec1-catalog-items-heading-feature.dates {
    width: 11%;
}

.rec1-catalog-item .rec1-catalog-item-feature.days,
.rec1-catalog-items-heading .rec1-catalog-items-heading-feature.days {
    width: 8%;
}

.rec1-catalog-item .rec1-catalog-item-feature.times,
.rec1-catalog-items-heading .rec1-catalog-items-heading-feature.times {
    width: 10%;
}

.rec1-catalog-item .rec1-catalog-item-feature.enrollment,
.rec1-catalog-items-heading .rec1-catalog-items-heading-feature.enrollment {
    width: 10%;
}

.rec1-catalog-item .rec1-catalog-item-feature.ageGender,
.rec1-catalog-items-heading .rec1-catalog-items-heading-feature.ageGender {
    width: 10%;
}

.rec1-catalog-item-price {
    padding-right: 0;
    font-weight: bold;
    text-align: right;
    color: #999;
}

.rec1-catalog-item-actions {
    padding-right: 20px;
    text-align: right;
}

.rec1-catalog-item-content {
    display: none;
    padding: 0 10px 10px 10px;
}

.rec1-catalog-item.expanded .rec1-catalog-item-content {
    display: block;
}

.rec1-catalog-item-action {
    cursor: pointer;
}

.rec1-catalog-item:hover {
    background: #fafafa;
}

.rec1-catalog-item.expanded {
    background: #fff;
}

.rec1-catalog-group-items.view-list .rec1-catalog-item {
}

.rec1-catalog-group-items.view-tiles .rec1-catalog-item {
    float: left;
    margin: -1px;
    border: 1px #ddd solid;
    width: 20%;
    padding-top: 15px;
    padding-bottom: 15px;
    cursor: pointer;
}

.rec1-catalog-section.columns-2
.rec1-catalog-group-items.view-tiles
.rec1-catalog-item {
    width: 50%;
}

.rec1-catalog-group-items.view-tiles .rec1-catalog-item-price,
.rec1-catalog-item-price {
    float: none;
    position: absolute;
    text-align: right;
    right: 5px;
    width: auto !important;
}

.rec1-catalog-item-price .item-price,
.rec1-catalog-item-price .cart-quantity {
    color: #fff;
    width: auto;
    padding: 0 5px;
    margin-left: 5px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    position: relative;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}

.rec1-catalog-item-price .item-price {
    background-color: #d1d1d1;
    background: none;
    color: #555;
}

.rec1-catalog-item-price .item-price.item-price-faded {
    color: #ccc;
}

.rec1-catalog-group-items.view-tiles .item-price {
}

.rec1-catalog-group-items.view-list .item-price {
    margin-left: 8px;
}

.rec1-catalog-item-price .cart-quantity {
    background-color: #5cb85c;
    position: absolute;
    right: 100%;
    margin-right: 0px;
    line-height: 21px;
    top: 2px;
    width: 23px;
    border-radius: 100%;
    text-align: center;
}

.rec1-catalog-item-price .cart-quantity-zero {
    display: none;
}

.rec1-catalog-item-description {
    margin: 5px -10px;
    padding: 5px 10px;
    border-top: 1px #f0f0f0 solid;
}

.rec1-catalog-item-description > p:first-child {
    margin-top: 0;
}

.rec1-catalog-item-description > p:last-child {
    margin-bottom: 0;
}

.rec1-catalog-minicart {
    margin-left: auto;
    margin-right: 0;
    color: #444;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease-out;
    max-width: 150px;
    height: 34px;
    position: relative;
    border: 1px #ddd solid;
    height: 58px;

    -webkit-transition: background 0.2s linear;
    -moz-transition: background 0.2s linear;
    -ms-transition: background 0.2s linear;
    -o-transition: background 0.2s linear;
    transition: background 0.2s linear;
}

.rec1-catalog-cart-container {
    height: 58px;
    background-color: #fff;
}

.balances-due-container {
    margin-top: 5px;
    margin-left: 5px;
}

.rec1-catalog-minicart:hover {
    background-color: #eee;
}

.rec1-catalog-minicart .cart-icon {
    margin-top: 10px;
}

.rec1-catalog-minicart .cart-text {
    text-align: center;
    margin-top: 10px;
}

#rec1-public-wrapper .rec1-catalog-minicart .cart-text {
    margin-top: 14px;
}

.rec1-catalog-heading .rec1-catalog-minicart {
    display: table-cell;
    width: 15%;
    float: none;
    text-align: center;
    vertical-align: middle;
    border: 1px #ddd solid;
}

.rec1-catalog-minicart-total {
    vertical-align: middle;
    line-height: 1em;
    white-space: nowrap;
    display: block;
}

.rec1-catalog-minicart-count {
    line-height: 1em;
    font-size: 12px;
    white-space: nowrap;
    color: #666;
    display: block;
}
.nav-link .rec1-catalog-minicart-count {
    color: #fff;
    display: inline;
}

.rec1-catalog-minicart i {
    line-height: 1em;
    font-size: 32px;
    display: inline-block;
    vertical-align: middle;
}

.rec1-catalog-minicart.empty {
    color: #999;
}

.rec1-catalog-minicart.empty i {
    font-size: 24px;
}

.rec1-catalog-minicart.empty .rec1-catalog-minicart-total {
    line-height: 24px;
    margin-right: 0.3em;
}

.rec1-catalog-minicart.glow {
    color: #0a0;
}

.rec1-catalog-minicart:hover {
    color: #0a0;
}

.rec1-catalog-minicart.ui-state-highlight {
    border-color: transparent;
    color: #0a0;
}

.rec1-catalog-cart .new-item {
    background: #fdffec;
}

.rec1-catalog-cart .cart-item-remove {
    color: #ccc;
    display: block;
    text-align: center;
    cursor: default;
    padding: 2px;
    padding-right: 0;
}

.rec1-catalog-cart .cart-item-remove:hover {
    color: #ca4c4c;
}

.rec1-catalog-cart .cart-item-remove:before {
    font-size: 10px;
}

.cart-contents tr td:has(.cart-item-remove) {
    padding: 0!important;
}

.rec1-catalog-cart .ui-table tbody > tr {
    border-top: none;
}

.rec1-catalog-cart .ui-table tbody.cart-item-group,
.rec1-catalog-cart .ui-table tfoot {
    border-top: 1px #e0e0e0 solid;
}

.cart-item-group {
    cursor: pointer;
}

.cart-item-group:hover {
    background-color: #fafafa;
}

.rec1-catalog-cart .cart-item-name {
    white-space: nowrap;
}

.rec1-catalog-cart .cart-item-name-child {
    padding-left: 1em;
}

.rec1-catalog-cart .cart-item-child {
    font-size: 0.9em;
    color: #999;
}

html .rec1-catalog-cart input.cart-item-quantity {
    width: 3em;
    text-align: center;
}

.rec1-catalog-cart table tr td {
    vertical-align: middle;
}

/* These availability styles for the two types of calendars are duplicated in dashboard.css */

.daterangepicker .legend-row {
    clear: both;
}

.daterangepicker .legend-color {
    float: left;
}

.daterangepicker .legend-text {
    float: left;
    padding-top: 7px;
}

.daterangepicker td.available.rec1-catalog-range-calendar-day-available,
.daterangepicker .legend-color > .available {
    /* Full Calendar's selector for td has an !important on the background color which kills this. Making this !important so we can win the battle. */
    background: #5cb85c !important;
    color: #fff;
}

.daterangepicker td.available.rec1-catalog-range-calendar-day-partial,
.daterangepicker .legend-color > .partial {
    /* Full Calendar's selector for td has an !important on the background color which kills this. Making this !important so we can win the battle. */
    background: #f0ad4e !important;
    color: #000;
}

.daterangepicker td.in-range.rec1-catalog-range-calendar-day-available,
.daterangepicker td.available.in-range.rec1-catalog-range-calendar-day-available,
.daterangepicker td.active.in-range.rec1-catalog-range-calendar-day-available,
.daterangepicker td.active.rec1-catalog-range-calendar-day-available,
.daterangepicker td.active.rec1-catalog-range-calendar-day-available:hover,
.daterangepicker td.in-range.rec1-catalog-range-calendar-day-partial,
.daterangepicker td.available.in-range.rec1-catalog-range-calendar-day-partial,
.daterangepicker td.active.in-range.rec1-catalog-range-calendar-day-partial,
.daterangepicker td.active.rec1-catalog-range-calendar-day-partial,
.daterangepicker td.active.rec1-catalog-range-calendar-day-partial:hover {
    /* Full Calendar's selector for td has an !important on the background color which kills this. Making this !important so we can win the battle. */
    background: #328efd !important;
    color: #000;
    border-color: transparent;
    border-radius: 0;
}

.daterangepicker td.off.available.rec1-catalog-range-calendar-day-partial,
.daterangepicker td.off.available.rec1-catalog-range-calendar-day-available {
    /* Full Calendar's selector for td has an !important on the background color which kills this. Making this !important so we can win the battle. */
    background: #fff !important;
    color: #555;
}

.daterangepicker td.disabled.rec1-catalog-range-calendar-day-unavailable,
.daterangepicker .legend-color > .unavailable {
    /* Full Calendar's selector for td has an !important on the background color which kills this. Making this !important so we can win the battle. */
    background: #f0f0f0 !important;
    color: #c3c3c3 !important;
    cursor: not-allowed;
    text-decoration: none;
}

.rec1-catalog-calendar-day-unavailable > a {
}

.rec1-catalog-calendar-day-partial > a.ui-state-default {
    background-image: none;
    color: #000;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.rec1-catalog-calendar-day-available > a.ui-state-default {
    background-image: none;
    background-color: #0c7c41;
    color: #fff;
    border-color: #4cae4c;
}

.rec1-catalog-calendar-day-partial > a.ui-state-active,
.rec1-catalog-calendar-day-available > a.ui-state-active {
    background-image: none;
    background-color: #328efd;
    border: 1px #1e6cc9 solid;
    box-shadow: none;
    color: #000;
    border-radius: 4px;
    font-weight: bold;
}

.rec1-checkout-receipt-printer-status {
    height: 40px;
    width: 100%;
}

.rec1-catalog-gallery-image img {
    max-width: 100%;
}

body.branding-civicrec .rec1-catalog-cart.floating-controls,
body.branding-civicrec .rec1-catalog-cart.floating-controls.scrollMarginTop {
    top: 50px !important;
    bottom: 65px !important;
    height: auto !important;
}

body.branding-civicrec .rec1-catalog-cart.floating-controls .rec1-cart-flex {
}

body.branding-civicrec .rec1-catalog-cart.floating-controls .cart-contents {
    margin-top: 0px !important;
}

body.branding-civicrec .rec1-catalog-cart .cart-contents {
    margin-top: 0px;
    border-top: none;
    border-right: none;
}

body.branding-civicrec
.rec1-catalog-cart.scrollMarginTop:not(.floating-controls)
.cart-contents {
    margin-top: 0px;
}

.rec1-catalog-minicart.floatable {
    position: fixed;
    top: 0;
    height: 58px;
    width: 150px;
    z-index: 30 !important;
    background-color: #fff;

    o-box-shadow: #b8b8b8 0 0 8px;
    -moz-box-shadow: #b8b8b8 0 0 8px;
    -webkit-box-shadow: #b8b8b8 0 0 8px;
    box-shadow: #b8b8b8 0 0 8px;
    right: 0 !important;
    left: auto !important;
}

.rec1-catalog-cart.ui-dropdown-scrollable.floatable {
    position: fixed;
    right: 0 !important;
    left: auto !important;
    top: 40px !important;
}

.rec1-catalog-group-details.hasThumbnail {
    min-height: 115px;
}

.cart-quickpay {
    min-width: 600px !important;
}

.waiver-agreement-signature img {
    max-width: 200px;
    max-height: 80px;
}

.rec1-cart-dropdown-addon-panel {
    border: 1px #ddd solid;
    position: absolute;
    width: 250px;
    min-height: 200px;
    left: 0;
    top: 0;
    background-color: #f3f3f3;
    padding: 10px;
}

.rec1-cart-dropdown-addon-panel .ui-listview {
    margin: 10px -10px;
}

.quickpay-container .heading-muted {
    padding-bottom: 15px;
}

.rec1-catalog-cart-container {
    display: block;
    min-width: 130px;
}

.rec1-cart-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rec1-catalog-cart .form-group {
    margin-bottom: 5px;
}

.rec1-catalog-cart .ui-table td {
    padding: 0.3em 5px;
}

.rec1-catalog-cart .cart-item .input-group {
    vertical-align: middle;
}

.rec1-catalog-cart .cart-item-quantity-decrease i::before,
.rec1-catalog-cart .cart-item-quantity-increase i::before {
    font-size: 9px !important;
}

.rec1-catalog-cart .cart-item-quantity-increase,
.rec1-catalog-cart .cart-item-quantity-decrease {
    height: 30px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.rec1-catalog-cart .cart-item-quantity {
    height: 30px;
    width: 50px;
    font-size: 12px;
}

.rec1-catalog-cart .cart-contents {
    flex: 1;
}

.rec1-catalog-cart .cart-contents-total {
    flex: none;
}

.rec1-catalog-cart .cart-contents-quickpay {
    flex: none;
}

.rec1-catalog-cart .quickpay-container .form-group button {
    font-size: 12px;
}

.rec1-catalog-cart .quickpay-container .quickpay-total {
    height: 26px;
    font-size: 12px;
}

.rec1-catalog-cart .cart-contents {
    overflow-y: auto !important;
}

.rec1-catalog-cart .quickpay-submit {
    font-size: 18px;
    padding: 5px 16px 5px 16px;
}

.cart-contents {
    width: 100%;
}

.cart-contents .ui-table,
.cart-contents-total .ui-table {
    table-layout: fixed;
}

.cart-item-note {
    width: 100%;
}

/* first and last delete icons */
.cart-contents tr th:nth-child(1),
.cart-contents tr th:nth-child(5),
.cart-contents tr td:nth-child(1),
.cart-contents tr td:nth-child(5)
.cart-contents-total tr th:nth-child(1),
.cart-contents-total tr th:nth-child(5),
    /* items DO NOT display quantity -- column 4 -- Delete */
.cart-contents:not(.has-quantity) tr td:nth-child(4),
.cart-contents:not(.has-quantity) tr th:nth-child(4),
.cart-contents-total:not(.has-quantity) tr th:nth-child(4) {
    width: 10% !important;
    padding-left: 0!important;
}

/* items DO NOT display quantity -- column 2 -- Item Description */
.cart-contents:not(.has-quantity) tr th:nth-child(2),
.cart-contents:not(.has-quantity) tr td:nth-child(2),
.cart-contents-total:not(.has-quantity) tr th:nth-child(2) {
    width: 65% !important;
}

/* items display quantity -- column 2 -- Item Description smaller */
.cart-contents.has-quantity tr th:nth-child(2),
.cart-contents.has-quantity tr td:nth-child(2),
.cart-contents-total.has-quantity tr th:nth-child(2) {
    width: 40% !important;
}

/* overflow on item description / ellipsis */
.cart-contents tr th:nth-child(2),
.cart-contents tr td:nth-child(2),
.cart-contents-total tr th:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* items with quantity -- column 3 -- Quantity */
.cart-contents.has-quantity tr th:nth-child(3),
.cart-contents.has-quantity tr td:nth-child(3),
.cart-contents-total.has-quantity tr th:nth-child(3) {
    width: 30%;
}

/* items DO NOT display quantity -- column 3 -- Total */
.cart-contents:not(.has-quantity) tr th:nth-child(3),
.cart-contents:not(.has-quantity) tr td:nth-child(3),
.cart-contents-total:not(.has-quantity) tr th:nth-child(3) {
    width: 20%;
}

/* items with quantity -- column 4 -- Total */
.cart-contents.has-quantity tr th:nth-child(4),
.cart-contents.has-quantity tr td:nth-child(4),
.cart-contents-total.has-quantity tr th:nth-child(4) {
    width: 20%;
}

.cart-contents-empty {
    margin-top: 37px;
    text-align: center;
    font-size: 40px;
    color: #ccc;
}

.cart-contents-empty .empty-icon {
    margin-bottom: 25px;
}

.cart-contents-empty i::before {
    font-size: 125px;
    color: #ccc;
}

.rec1-catalog-cart {
    top: 0px !important;
    position: fixed !important;

    bottom: 65px !important;
    left: auto !important;
    max-width: 650px !important;
    width: 650px !important;
}

body.branding-civicrec .rec1-catalog-cart {
    top: 71px !important;
}

.rec1-catalog-cart.ui-dropdown-open {
    right: 0 !important;
}

.checkout-cart-item.discount-child-item {
    color: #0bb747;
}

.dps-calendar .fc-day .day-label {
    font-size: 12px;
    margin-left: 3px;
    margin-top: 4px;
    font-weight: Bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 18px;
}

.wds-calendar td.fc-day,
.dps-calendar td.fc-day {
    position: relative !important;
}

.wds-calendar .dropin-participant-count-label,
.dps-calendar .dropin-participant-count-label {
    color: #fff !important;
    border: none !important;
    font-size: 0.7em !important;
    height: auto;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5) !important;
    padding: 5px;
}

.reservation-recurring label {
    display: block;
    font-weight: normal !important;
}

.reservation-recurring label input,
.reservation-recurring label .selectmenu {
    margin-left: 5px;
}

.recurring-reservation-daySelector label:not(:first-of-type) {
    margin-left: 6px;
}

.recurring-reservation-daySelector label {
    display: inline;
}

.datepicker {
    z-index: 20;
}

.license-wrapper input, .license-wrapper select {
    height: 30px;
    width: 100%;
}

.license-wrapper .col-sm-5, .license-wrapper .col-sm-5, .license-wrapper .col-sm-1 {
    padding: 0px;
}

.license-plate {
    border: #EEE thin solid;
    margin-bottom: 2px;
    padding: 2px;
}

.license-wrapper .btn {
    width: 100%;
    padding: 0px !important;
    height: 30px;
}

.rental-item-time-slot {
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    border: 1px solid #D8D8D8;
    line-height: 1.2em;
    position: absolute;
    margin-inline: 1.2em;
    max-height: 270px;
    overflow-y: auto;
}

.rental-item-time-slot div.title {
    background-color: #EEEEEE;
    color: #666666;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    display: flex;
    justify-content: center;
    font-size: .8em;
    padding: .3em 1em;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 2em;
}

.rental-item-time-slot tr.rate th {
    text-align: center;
}

.rental-item-time-slot img.loading {
    width: 16px;
    align-self: center;
    margin: 20px;
}

.rental-item-time-slot td.rental-item.time {
    color: black;
    font-weight: bold;
    width: 1%;
    white-space: nowrap;
}

.rental-item-time-slot td.rental-item.availability {
    text-align: center;
}

.rental-item-time-slot td.rental-item.availability.available {
    background-color: #4CAE4C;
    color: #FFFFFF
}

.rental-item-time-slot td.rental-item.availability.partial {
    background-color: #F0AD4E;
    color: #000000;
}

.rental-item-time-slot td.rental-item.availability.unavailable {
    background-color: #F0F0F0;
    color: #555555;
    opacity: .35;
}

.rental-item-time-slot table {
    border-spacing: 1px;
    border-collapse: separate;
    margin: .2em;
    font-size: .8em;
}

.rental-item-time-slot table tbody tr td {
    border: 1px solid #D8D8D8;
}

.rental-item-time-slot table tbody tr td:first-child {
    border: none;
    text-align: end;
    padding-right: .2em;
}

/* Accessibility color overrides */
.rec1-catalog-group-name {
    /* darker blue for AAA against white */
    color: #265A87;
}

.rec1-catalog-minicart.empty, .rec1-catalog-group-price {
    color: #555;
}

.rec1-catalog-minicart, .rec1-catalog-minicart-count {
    color: #222;
}

.rec1-catalog-group-item-count {
    color: #555;
    border-color: #555;
}

/* NEW Interactive Grid Customizations */

.interactive-grid-container {
    padding: 20px 10px!important;
}

.interactive-grid-table {
    border-collapse: collapse !important;
}

/* Grid View - Center align column and row headers */
.interactive-grid-heading {
    padding-top: 20px;
}

/* Fix legend item spacing */
.interactive-grid-heading .text-center > span {
    display: inline-flex !important;
    align-items: center;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.interactive-grid-heading .text-center > span:last-child {
    margin-right: 0;
}

.interactive-grid-heading .text-center > span .interactive-grid-item-icon-legend {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.interactive-grid-column-heading {
    text-align: center !important;
    vertical-align: middle !important;
    border: 1px solid #D1D5DC !important;
    padding-bottom: 9px !important;
}

.interactive-grid-column-heading:first-child {
    text-align: left !important;
    padding-left: 10px !important;
}

.interactive-grid-column-weekday,
.interactive-grid-column-date,
.interactive-grid-column-content {
    display: inline-block !important;
    text-align: center !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.interactive-grid-column-weekday {
    margin-right: 0.25em !important;
}

.interactive-grid-row-legend {
    text-align: left !important;
    vertical-align: middle !important;
    border: 1px solid #D1D5DC !important;
    padding-left: 10px !important;
}

.interactive-grid-row-legend div {
    text-align: left !important;
}

.interactive-grid-cell {
    border: 1px solid #D1D5DC !important;
    border-left: 1px solid #D1D5DC !important;
    padding: 0 !important;
    height: 45px !important;
    line-height: 45px !important;
    text-align: center !important;
}

.interactive-grid-cell > div {
    border-left: none !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
}

/* Interactive grid availability status colors */
.availability-full {
    background-color: #408100 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.availability-partial {
    background-color: #f4dc66 !important;
    color: #232323 !important;
    outline: 1px solid #707070; /* accessibility: non-text contrast for yellow background */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.availability-none {
    background-color: #cc0020 !important;
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Accessibility label text inside facility grid cells (A / PA / U) */
.availability-label {
    font-size: 14px;
    text-align: center;
    line-height: 1;
}

/* Links (Adjust/Refund) on unavailable cells need white text for contrast */
.availability-none a {
    color: #ffffff !important;
}

/* Renter name in unavailable cells: truncate with ellipsis */
.facility-grid-renter-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Control grid width and enable horizontal scrolling */
.interactive-grid-inner {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.interactive-grid-table {
    min-width: 100%;
    table-layout: auto;
    width: 100%;
}

.interactive-grid-column-heading,
.interactive-grid-cell {
    min-width: 100px;
    width: auto;
}

.interactive-grid-row-legend {
    min-width: 120px;
    width: auto;
}

/* Add to Cart button styling */
.rec1-add-to-cart {
    border-radius: 8px !important;
    border: 1px solid #408100 !important;
    background-color: #408100 !important;
    color: #ffffff !important;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px 0 rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.20) !important;
}

.rec1-add-to-cart:hover {
    background-color: #367300 !important;
    border-color: #367300 !important;
}

/* Cancel button styling */
.rec1-cancel-button {
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
    background-color: #f4f4f4 !important;
    color: #232323 !important;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px 0 rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.20) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.rec1-cancel-button:hover,
.rec1-cancel-button:active,
.rec1-cancel-button:focus {
    background-color: #eeeeee !important;
    border-color: #d0d0d0 !important;
}

/* Rental modal header styling */
.rec1-rental-modal-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.rec1-rental-modal-title {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    color: #232323;
}

/* Facility information list styling */
.rec1-facility-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.rec1-facility-info-row {
    display: grid;
    grid-template-columns: 0.55fr 1.5fr;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.rec1-facility-info-label {
    font-weight: 600;
    color: #232323;
    font-size: 0.9rem;
    text-align: left;
}

.rec1-facility-info-value {
    color: #232323;
    font-size: 0.9rem;
    word-wrap: break-word;
}

/* Account member list styling */
.rec1-account-member-list {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.rec1-account-member-heading {
    background-color: #f9f9f9;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #232323;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
}

.rec1-account-member-item {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.rec1-account-member-item:last-child {
    border-bottom: none;
}

.rec1-account-member-info {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rec1-account-member-info h5 {
    margin: 0;
    font-weight: 600;
    color: #232323;
}

/* Facility user lookup styling */
.rec1-facility-user-lookup {
    background-color: #ffffff;
}

/* Reservation form styling */
.rec1-reservation-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rec1-form-section-heading {
    font-size: 1rem!important;
    font-weight: 600!important;
    color: #232323!important;
    margin: 0 0 1rem 0;
    text-transform: none!important;
}

/* Form control improvements */
.rec1-reservation-form .form-control,
.rec1-reservation-form select,
.rec1-reservation-form input {
    height: 2.5rem;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
}

.rec1-reservation-form select {
    height: auto;
    min-height: 3rem;
}

.rec1-reservation-form .form-control:focus,
.rec1-reservation-form select:focus,
.rec1-reservation-form input:focus {
    border-color: #408100;
    box-shadow: 0 0 0 0.2rem rgba(64, 129, 0, 0.15);
}

/* Recurring reservation checkbox alignment */
.rec1-recurring-reservation {
    display: flex;
    align-items: center;
}

.rec1-recurring-reservation input[type="checkbox"],
.rec1-recurring-reservation .form-check-input {
    margin: 0 0.5rem 0 0;
}

/* Action buttons container */
.rec1-action-buttons {
    margin-top: 1.5rem;
}

/* Interactive grid controls height consistency */
.interactive-grid-slot-size {
    height: 30px !important;
}
.interactive-grid-refresh {
    height: 30px !important;
    line-height: 1;
}

@media (max-width: 767.98px) {
    /* Grid View - Stack column headers on mobile: weekday on one line, date on next */
    .interactive-grid-column-weekday {
        display: block;
        white-space: nowrap;
    }

    .interactive-grid-column-date {
        display: block;
        white-space: nowrap;
    }

    .interactive-grid-column-heading,
    .interactive-grid-cell {
        min-width: 70px;
    }

    .interactive-grid-row-legend {
        min-width: 80px;
    }
    .reservation-slots-available  {
        margin-top: 20px !important;
    }
    .balances-due-container {
        margin-top: 0px !important;
    }
}

@media (max-width: 992px) {
    .interactive-grid-table tr td div span {
        display: inline-block;
        max-width: 95%;
        white-space: nowrap;
        overflow: hidden !important;
        text-overflow: ellipsis;
    }

    /* Mobile: single column layout for facility info */
    .rec1-facility-info-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 996px) {
    .interactive-grid-column-weekday {
        display: block !important;
        white-space: nowrap !important;
    }

    .interactive-grid-column-date,
    .interactive-grid-column-content {
        display: block !important;
        white-space: nowrap !important;
    }

    .interactive-grid-cell > div {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (max-width: 1024px) {
    .interactive-grid-column-heading,
    .interactive-grid-cell {
        min-width: 70px;
    }

    .interactive-grid-row-legend {
        min-width: 90px;
    }
}

/* Responsive column sizing for smaller screens */
@media (max-width: 1300px) {
    .interactive-grid-column-heading,
    .interactive-grid-cell {
        min-width: 80px;
    }

    .interactive-grid-row-legend {
        min-width: 100px;
    }
}

.facility-grid-renter-name {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    line-height: normal;
    padding: 0 5px!important;
    text-align: center;
}

.facility-grid-renter-name span {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.interactive-grid-cell > .availability-none > div:last-child {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0;
    line-height: normal;
}

@media (max-width: 992px) {
    .interactive-grid-table tr td div.facility-grid-renter-name span {
        display: block;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* =================================================
   FACILITY REGISTRATION MODAL (grid + map views)
   Replaces the old .facility-map-popover / .popover-lg approach.
   ================================================= */

/* Slightly wider than modal-lg (800px) and pushed down a touch */
.rec1-facility-registration-modal .modal-dialog {
    max-width: 900px;
    margin-top: 4rem;
    width: calc(100% - 1rem);
}

/* Header layout: title left-aligned, close button right-aligned with white text */
.rec1-facility-registration-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rec1-facility-registration-modal .facility-modal-title {
    text-align: left;
    flex: 1;
    margin: 0;
}
.rec1-facility-registration-modal .close,
.rec1-facility-registration-modal .btn-close {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none;
    float: none;
    margin-left: 1rem;
}

/* Hide the duplicate close button that the form template renders
   (.rec1-rental-modal-header = BS5 responsive template,
    .closeDetails btn-group = legacy non-responsive template) */
.rec1-facility-registration-modal .rec1-rental-modal-header,
.rec1-facility-registration-modal .modal-body .closeDetails {
    display: none !important;
}

/* Scrollable body so long forms don't extend off-screen */
.rec1-facility-registration-modal .modal-body {
    overflow-y: auto;
    max-height: 70vh;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar styling */
.rec1-facility-registration-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}
.rec1-facility-registration-modal .modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}
.rec1-facility-registration-modal .modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.rec1-facility-registration-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Availability color classes applied to .modal-header */
.rec1-facility-registration-modal .modal-header.bg-success {
    background-color: #408100 !important;
    color: #ffffff;
}
.rec1-facility-registration-modal .modal-header.bg-success .facility-modal-title,
.rec1-facility-registration-modal .modal-header.bg-success .close {
    color: #ffffff;
}

.rec1-facility-registration-modal .modal-header.bg-warning {
    background-color: #f4dc66 !important;
    color: #232323;
}
.rec1-facility-registration-modal .modal-header.bg-warning .facility-modal-title,
.rec1-facility-registration-modal .modal-header.bg-warning .close {
    color: #232323;
}

.rec1-facility-registration-modal .modal-header.bg-danger {
    background-color: #cc0020 !important;
    color: #ffffff;
}
.rec1-facility-registration-modal .modal-header.bg-danger .facility-modal-title,
.rec1-facility-registration-modal .modal-header.bg-danger .close {
    color: #ffffff;
}

/* Only override position on the popup datepicker (not the inline calendar) */
.rec1-facility-registration-modal .ui-datepicker:not(.ui-datepicker-inline) {
    position: absolute !important;
    transform: none !important;
}

/* Prevent column sizing constraints from clipping content */
.rec1-facility-registration-modal .col-lg-5,
.rec1-facility-registration-modal .col-lg-7,
.rec1-facility-registration-modal .rec1-rental-details-row {
    overflow: visible !important;
    max-height: none !important;
}

@media (max-width: 768px) {
    .rec1-facility-registration-modal .modal-body {
        max-height: 60vh;
    }
}
