.xdsoft_datetimepicker {
    border-radius: 5px;
    border: 1px lightgrey solid;
}

.xdsoft_datetimepicker * {
    border-radius: 5px;
}

.xdsoft_datetimepickerselect {
    border-radius: 4px;
    cursor: pointer;
}

.xdsoft_date >div:hover, .xdsoft_label>.xdsoft_select>div>.xdsoft_option:hover, .xdsoft_time:hover, .xdsoft_time>div>div:hover {
    background-color: grey !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover, .xdsoft_time_box xdsoft_scroller_box .xdsoft_time_variant .xdsoft_time:hover {
    background: grey !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover {
    color: #fff !important;
    background-color: grey !important;
}

.xdsoft_current {
    background-color: black !important;
}

.xdsoft_date, .xdsoft_timepicker {
    background-color: white;
}

.xdsoft_date >div {
    font-size: large !important;
}

.xdsoft_disabled {
    opacity: .5;
    background-color: lightgray;
}

.xdsoft_datetimepicker .xdsoft_calendar td, .xdsoft_time{
    font-size: 15px;
}

.xdsoft_time_box>div>div {
    font-size: 15px;
}

.xdsoft_prev, .xdsoft_next {
    margin-left: auto !important;
    margin-right: auto !important;
}

.xdsoft_scroller_box {
    width: 150px;
}

.xdsoft_timepicker.active {
    width: fit-content !important;
}

.xdsoft_time {
    font-size: large !important;
}

select:disabled {
    background-color: lightgray;
    color: white;
    cursor: not-allowed;
}

#booking-area legend {
    font-weight: bold;
}

div#edit-message {
    padding: 8px;
    text-align: center;
    background: black;
    color: white;
    border-radius: 5px;
}

#booking-form-no-recording {
    text-align: center;
}

#site-selection-form, #room-selection-form {
    display: inline-block;
}

.room-name legend {
    font-weight: 800;
    padding-top: 5px
}

.room-info-area {
    display: flex;
}
.room-info {
    text-align: left;
}
.room-image img{
    border-radius: 5px;
}
.room-info-top {
    padding-top: 8px;
}
.room-info-left {
    width: 50%;
    float: left;
}
.room-info-right {
    width: 50%;
    float: right;
}
.room-data-table{
    display: table;
}
.room-data-row {
    display: table-row;
}
.room-data-name {
    display: table-cell;
    font-weight: 300;
}
.room-data-value {
    display: table-cell;
    padding: 5px;
}
.room-long-description {
    width: 100%;
    display: flex;
}

#makePIABooking, #makePODBooking {
    display: inline-block;
    border: none;
    margin: unset;
    padding: 0px !important;
}

.POD-button, .PIA-button, .PIA-POD-or
{
    display: inline-block;
    padding: 5px;
    line-height: 0.75;
}
.pay_on_day_booking_disabled, .pay_in_advance_booking_disabled, .pay_on_day_booking_disabled:hover, .pay_in_advance_booking_disabled:hover
{
    background-color: lightgrey !important;
    cursor: not-allowed;
}

#session-selection-form, #payment_options {
    text-align: center;
}

#payment_options legend {
    text-align: left;
}

#card-element {
    padding: 5px;
}

#site-selection, #room-selection {
    display: inline-block;
    border: solid 1px lightgrey;
    padding: 6px 3px;
    margin: 6px 3px;
    border-radius: 6px;
    height: 2.3em;
    padding-top: 1em;
    vertical-align: middle
}

#session-selection {
    padding: 6px 3px;
    width: 100%;
}

.band-member-price {
    display: inline-block;
    font-size: 0.7em;
}

#site-and-room {
    width: 100%;
    text-align: center;
    display: inline-block;
}

.last-message {
    text-align: center;
    background: black;
    color: white;
    border-radius: 5px;
}

.booking-time-message {
    text-align: center;
    background: black;
    color: white;
    border-radius: 5px;
}

.date-time-controls {
    width: 100%;
    text-align: center;
    display: inline-block;
}

.start-date-time-selection, .end-date-time-selection {
    display: inline-block;
    border: solid 1px lightgrey;
    padding: 3px 3px;
    margin: 5px 3px;
    border-radius: 6px;
    width: 20em;
    vertical-align: middle;
    height: 7.5em;
}

.date-control {
    padding-top: 0.5em;
    display: grid;
}

.length-control {
    padding-top: 0.5em;
    display: block;
}

.session-length-selection {
    display: inline-block;
    border: solid 1px lightgrey;
    padding: 3px 3px;
    margin: 5px 3px;
    border-radius: 6px;
    width: 15em;
    vertical-align: middle;
    height: 7.5em;
}

.session-length-selection label {
    padding-top: 1em;
}

#session-length-hours {
    display: inline;
}

#start-date-select, #end-date-select, #start-time-select, #end-time-select {
    width: 20em;
    overflow: hidden;
    height: 2em;
    text-align: center;
    resize: none;
    padding: unset;
    /*display: block;*/
}

#DateSelection {
    border: none;
}

input.session-length {
    width: 4em;
    text-align: center;
    height: 2em;
    padding: 1px 1px 4px 4px;
    font-size: large;
}

.session-length-selection label {
    display: block;
}

div.view-controls {
    text-align: right;
    padding: 1px 1px 4px 4px;
    font-size: small;
}

.view-button {
    padding: 6px !important;
}

fieldset {
    border-radius: 6px;
    padding: 11px 12px 6px !important;
}

.free {
    background: #5aac4c;
    cursor: pointer;
    vertical-align: text-top;
}

.selfs {
    cursor: pointer;
    vertical-align: text-top;
    background-image: radial-gradient(#fff74e 5%, #efe22f 0%);
    background-size: 5px 5px;
}

.busy {
    cursor: not-allowed;
    vertical-align: text-top;
    background: repeating-linear-gradient(-45deg, #616b6b , #616b6b 4px, #444d4d 5px, #616b6b 3px);
}

.free:hover, .selfs:hover {
    opacity: 0.6;
}

.availability-table {
    border-radius: 5px;
    padding: 6px;
    margin-bottom: 4px !important;
    width: 100%;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.availability-table thead,
.availability-table tbody {
    display: block;
    width: 100%;
}

.availability-table tbody {
    height: 50vh;
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.availability-table thead tr,
.availability-table tbody tr {
    display: inline-table;
    width: 100%;
    table-layout: fixed;
}

/*.availability-room-heading, .availability-time-heading {*/
/*    transform: rotate(-45deg);*/
/*    transform-origin: center;*/
/*    border: none;*/
/*    padding-bottom: 15px !important;*/
/*    vertical-align: bottom;*/
/*}*/

/*.availability-time-heading {*/
/*    text-align: right;*/
/*}*/

.availability-time-column {
    text-align: right;
    transform: translateY(-1em);
    border: none !important;
}

.availability-bottom {
    border: none;
    margin-bottom: 4px !important;
}

.availability-bottom-row {
    display: inline-flex;
    width: 100%;
}

.availability-key-left {
    float: left;
    width: 50%;
}

.availability-view-controls-right {
    float: right;
    width: 50%;
}

.key-cursor {
    cursor: auto !important;
}
.key-cursor:hover {
    opacity: unset !important;
}

.availability-form table td {
    /*height: 14px;*/
    border: 1px solid white;
    /*border-radius: 5px;*/
    font-size: 0.9em;
    padding: 4px;
    opacity: 1;
}

.availability-dates {
    border: solid 1px white;
    overflow: visible;
    font-size: 1.4em !important;
    font-weight: 500 !important;
    text-transform: none !important;
    background: black;
    color: white;
    border-radius: 5px;
}
/* room selection */
.unselected {
    border: solid 1px white;
}

.swapMessage, .noChangesMessage{
    font-size: 0.85em;
    padding: 8px 0px 5px 0px;
    text-align: center;
}

.selected-start {
    border: solid 1px white;
    box-shadow: 0 -6px 0 black;
    position:relative;
    z-index:2;
}

.selected-start-left {
    border: solid 1px white;
    box-shadow: 0px -6px 0 black, -6px 0px 0 black, -6px -6px 0 black;
    position:relative;
    z-index:2;
}
.selected-start-right {
    border: solid 1px white;
    box-shadow: 0px -6px 0 black, 6px 0px 0 black, 6px -6px 0 black;
    position:relative;
    z-index:2;
}
.selected-start-left-right {
    border: solid 1px white;
    box-shadow: 0px -6px 0 black, -6px 0px 0 black, 6px 0px 0 black, -6px -6px 0 black, 6px -6px 0 black;
    position:relative;
    z-index:2;
}

.selected-mid {
    border: solid 1px white;
    position:relative;
    z-index:2;
}

.selected-mid-left {
    border: solid 1px white;
    box-shadow: -6px 0 0 black;
    position:relative;
    z-index:2;
}
.selected-mid-right {
    border: solid 1px white;
    box-shadow: 6px 0 0 black;
    position:relative;
    z-index:2;
}
.selected-mid-left-right {
    border: solid 1px white;
    box-shadow: -6px 0 0 black, 6px 0 0 black;
    position:relative;
    z-index:2;
}

.selected-end {
    border: solid 1px white;
    box-shadow: 0 6px 0 black;
    position:relative;
    z-index:2;
}

.selected-end-left {
    border: solid 1px white;
    box-shadow: 0px 6px 0 black, -6px 0px 0 black, -6px 6px 0 black;
    position:relative;
    z-index:2;
}
.selected-end-right {
    border: solid 1px white;
    box-shadow: 0px 6px 0 black, 6px 0px 0 black, 6px 6px 0 black;
    position:relative;
    z-index:2;
}
.selected-end-left-right {
    border: solid 1px white;
    box-shadow: 0px 6px 0 black, -6px 0px 0 black, 6px 0px 0 black, -6px 6px 0 black, 6px 6px 0 black;
    position:relative;
    z-index:2;
}

.selected-start-end-left-right {
    border: solid 1px white;
    box-shadow: 0px -6px 0 black, 0px 6px 0 black, -6px 0px 0 black, 6px 0px 0 black, 6px 6px 0 black, -6px 6px 0 black, 6px -6px 0 black, -6px -6px 0 black;
    position:relative;
    z-index:2;
}

#band_name {
    width: 20em;
    height: 2em;
    vertical-align: bottom;
}

button.ui-button-icon-only {
    width: 2.4em;
    height: 2em;
    vertical-align: bottom;
    background: #323232;
}

#no_of_band_members {
    vertical-align: bottom;
}

.record_box {
    display: block;
    padding: 8px 0 5px;
}

.band-member-controls
{
    display: inline;
}

.band-member-selection {
    display: block;
    padding: 8px 0px 5px 0px;
}

.main-band-details {
    text-align: left;
    width: fit-content;
    margin: auto;
}

#other-band-member-text {
    padding-block-start: 6px;
}

#band-member-fields {
    padding: 8px;
}

.member-name-col, .member-remove-col {
    min-width: 5em;
    vertical-align: middle;
    text-align: center;
}

#record_this_rehearsal {
    vertical-align: sub;
}

/*css for future half cell colouring*/
td.halfbusy {
    position: relative;
    background: #73ac39; border: 1px solid white;
}
td.halfbusy > span{
    position:relative;
}

td.halfbusy:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 25%;
    background: #616b6b;
}

.total-discounts {
    padding-top: 5px;
}
.asset-price {
    display:inline-block;
}
.price-pounds {
    display:inline-block;
    font-size: 1.0em;
}
.price-pence {
    display:inline-block;
    font-size: 0.8em;
}

.equipment-selection-box {
    max-height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
    border: lightgray inset 1px;
    border-radius: 5px;
}

/* Don't hide equipment list scroll bars on mobile */
.equipment-selection-box::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 10px;
}

.equipment-selection-box::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

.equipment-selection-message {
    background: black;
    color: white;
    border-radius: 5px;
    padding: 8px 8px 4px 8px;
    margin-bottom: 4px;
}

input[type="checkbox"] {
    padding: 5px;
    width: 1.5em;
    height: 1.5em;
    margin: 5px;
}
/* Tooltips */
td .tooltip {
    position: relative;
    display: grid;
    /*padding-right: 8px;*/
    /*border-bottom: 1px dotted black;*/
}

.tooltip {
    display: inline-block;

}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 5px;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;

    /*min-width: 300px;*/
    max-height: 300px;
    overflow: auto;
    bottom: 100%;
    left: 50%;
    margin-left: -100px; /* Use half of the width to center the tooltip */

    /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 0.7s;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1 !important;
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.tooltip {
    position: relative;
    cursor: pointer;
}

.hovertext {
    position: relative;
    display: block;
    padding-right: 8px;
    font-weight: 700;
}

.hovertext .session {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 5px;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 3;

    min-width: 60px;
    max-height: 300px;
    bottom: 100%;
    left: 10%;
    margin-left: 10px; /* Use half of the width to center the tooltip */

    /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 0.7s;
}

/* Show the tooltip text when you mouse over the tooltip container */
.hovertext:hover .session {
    visibility: visible;
    opacity: 1;
    z-index: 3;
}

.hovertext .session::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
    z-index: 3;
}

#session-selection {
    text-align: center;
    min-width: 50em;
}
@media screen and (max-width: 1280px) {
    #session-selection {
        min-width: unset;
    }
}

.session-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1em;
    align-items: center;
    justify-content: center;
}

.session-option-label {
    cursor: pointer;
}

.session-option-label.disabled {
    cursor: not-allowed;
    opacity: .3;
}

.session-option {
    flex: 1 1 45%;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: 0.3s;
    background: #f9f9f9;
    position: relative;
}

.session-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.session-option label {
    cursor: pointer;
    display: block;
}

.session-option:hover {
    border-color: #333;
    background: #fff;
}

.session-option.selected {
    border: 6px solid black;
}

.session-option input[type="radio"]:checked + label,
.session-option.selected label {
    border-color: #000;
    font-weight: bold;
}

.confirmation_message {
    font-weight: 300;
}

.session_details, .recordings, .selected-equipment-list, .payment{
    padding-top: 5px;
    font-weight: 300;
}

.selected-equipment-list {
    margin: auto;
}

.session_details legend, .recordings legend, .selected-equipment-list legend, .payment legend, .doorcodes legend {
    font-weight: bold;
}

.selected-equipment-list {
    display: table;
}

.selected-equipment-asset {
    display: table-row;
}

.selected-equipment-asset-image, .selected-equipment-asset-name, .selected-equipment-asset-price {
    display: table-cell;
    vertical-align: middle;
}

.selected-equipment-asset-price {
    padding-left: 5px;
}

.selected-equipment-asset-image img {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

.access-code-name {
    font-weight: 300;
    display: inline;
}

.access-code-value {
    font-weight: bold;
    display: inline;
}

#session-show-details {
    cursor: pointer;
}

#session-details {
    text-align: left;
    padding: 5px;
    font-weight: 300;
}

#session-details li {
    font-size: small;
}

#session-details ul {
    margin-bottom: 4px;
}

div.asset-available {
    padding: 1px 1px;
    opacity: 1;
}

div.asset-unavailable {
    opacity: 0.5 !important;
}

div.image, div.asset-details, div.asset-selection, div.asset-options, div.asset-pricing{
    width: auto;
}
.asset-option {
    display: inline;
}

div.availability {
    width: auto;
    overflow: auto;
    position: relative;
}

.availability-scroll-spinner {
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    display: none;
    pointer-events: none;
    z-index: 3;
    animation: availability-spin 0.8s linear infinite;
}

.availability-scroll-spinner.is-top {
    top: 8px;
    bottom: auto;
}

.availability-scroll-spinner.is-visible {
    display: block;
}

.availability-day-sticky {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 4px 6px;
    background: black;
    color: white;
    font-size: 1.3em;
    border: solid 1px white;
    border-radius: 5px;
    display: none;
    z-index: 2;
    text-align: left;
    pointer-events: none;
}

.availability-day-sticky.is-visible {
    display: block;
}

@keyframes availability-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.price-name {
    font-weight: 300;
    display: inline;
}

.nothing-to-pay {
    font-weight: 300;
}

div.total-price-name {
    display: inline;
}

div.total-prices {
    text-align: left;
}

div.total-price {
    font-weight: bold;
}

div.total-prices hr {
    margin: 5px;
}

.vat-included, .vat-excluded {
    display: inline;
    font-weight: 300;
}

div.user-details-section {
    display: inline-block;
    margin: 6px 6px;
    text-align: left;
    width: 100%;
    padding: 5px;
}

div.user-details {
    display: block;
    margin: 0px 6px;
}

div.user-details input[type=text], div.user-details input[type=email], div.user-details input[type=tel], div.user-details textarea{
    display: inline;
    width: 100%;
}

div.user-details.tandc-checkbox {
    padding: 20px 0px 20px 0px;
}

.next-page-button {
    text-align: center;
}

.asset-sub-type {
    background-color: black;
    color: #fff;
    height: 8px;
    border-radius: 5px;
    /* Anchor offset so headings land below the sticky buttons */
    scroll-margin-top: 150px;
}

.asset-sub-type-group {
    display: unset;
}

.whole-asset {
    display: inline-grid;
    text-align: center;
    max-width: 168px;
    border: 1px solid grey;
    border-radius: 4px;
    padding: 4px;
    grid-template-columns: 165px;
    grid-auto-rows: 314px;
    position:relative;
}

.whole-asset-self-service {
    grid-template-columns: 165px;
    grid-auto-rows: 240px;
}

.asset-details {
    padding-top: 5px;
}

.asset-details label {
    font-weight: bold;
}

.asset-image {
    max-width: 150px;
    max-height: 150px;
    min-width: 150px;
    min-height: 150px;
    display: flex;
    align-items: flex-end;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    justify-content: center;
}

.asset-image img {
    width: auto;
    height: auto;
    max-height: 150px;
    max-width: 150px;
    display: flex;
    justify-content: center;
    text-align: center;
    margin: unset !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    cursor: pointer;
    border-radius: 5px;
}

.self-service-warning {
    font-size: small;
}

@media screen and (max-width: 900px) {
    #band-member-fields table tbody tr {
        display: grid;
    }
    #band-member-fields table tbody tr td input {
        width: 100%;
    }
}

@media screen and (max-width: 630px) {
    .progress .name {
        min-height: 3em;
    }
}

@media screen and (max-width: 600px) {
    .room-data-table {
        margin: auto;
    }

    .whole-asset {
        grid-template-columns: 125px;
        grid-auto-rows: 290px;
    }

    .whole-asset-self-service {
        grid-template-columns: 125px;
        grid-auto-rows: 230px;
    }

    .asset-image {
        max-width: 100px;
        max-height: 100px;
        min-width: 100px;
        min-height: 100px;
    }

    .asset-image img {
        max-height: 100px;
        max-width: 100px;
    }

    .member-remove-col button {
        padding: inherit;
    }

    .room-info-left {
        width: unset;
        float: unset;
    }
    .room-info-right {
        width: unset;
        float: unset;
        margin: auto;
        width: 90%;
    }

    .main-band-details {
        text-align: center;
    }

    .availability-bottom-row {
        display: inline-grid;
    }

    .availability-key-left {
        float: unset;
        width: unset;
    }

    .availability-view-controls-right {
        float: unset;
        width: unset;
    }
}

@media screen and (max-width: 400px) {
    .view-button {
        font-size: smaller !important;
    }
}

@media screen and (max-width: 380px) {
    .band-member-controls {
        display: inline-block;
    }
    .view-button {
        font-size: x-small !important;
    }
}

@media screen and (max-width: 360px) {
    .whole-asset {
        grid-template-columns: 110px;
        grid-auto-rows: 290px;
    }
    .whole-asset-self-service {
        grid-template-columns: 108px;
        grid-auto-rows: 225px;
    }
    .view-button {
        font-size: xx-small !important;
    }
}

@media screen and (max-width: 340px) {
    .view-button {
        font-variant: all-small-caps !important;
    }
}

@media screen and (max-width: 330px) {
    .whole-asset {
        grid-template-columns: 104px;
        grid-auto-rows: 300px;
    }

    .whole-asset-self-service {
        grid-template-columns: 100px;
        grid-auto-rows: 215px;
    }

    .asset-image {
        max-width: 100px;
        max-height: 100px;
        min-width: 100px;
        min-height: 100px;
    }

    .asset-image img {
        max-height: 100px;
        max-width: 100px;
    }
}

.add-asset, .subtract-asset{
    font-weight: 900 !important;
    font-size: large !important;
    padding: 6px 10px 6px 10px !important;
}

.add-length, .subtract-length, .add-band-member, .subtract-band-member{
    font-weight: 900 !important;
    font-size: large !important;
    padding: 6px 10px 6px 10px !important;
    margin: 0px 2px 0px 2px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.asset-bottom {
    position: absolute;
    bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.asset-self-service {
    position: absolute;
    bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.asset-selection {
    padding-top: 10px;
}

.asset-selection input[type=number] {
    font-size: large;
    text-align: center;
    padding: 6px 10px 5px 10px;
    max-width: 2em;
}

.asset-availability {
    font-weight: 300;
    padding-top: 2px;
}

.asset-pricing {
}

.asset-link {
    padding: 8px !important;
}

.self-service-included {
    background: darkgrey;
    border-radius: 4px;
    font-weight: 600;
    width: 80%;
    display: inline-block;
    padding: 5px;
}

.self-service-not-available {
    background: lightgrey;
    colour: white;
    border-radius: 4px;
    font-weight: 600;
    width: 80%;
    display: inline-block;
    padding: 5px;
}

.stripe {
    background-color: #F0F0F0;
}

/*Combobox */
/*.ui-state-hover .ui-icon,*/
/*.ui-state-focus .ui-icon {*/
/*    !*background-image: url("images/ui-icons_ffffff_256x240.png") !important;*!*/
/*    background: white !important;*/
/*}*/
.ui-state-default .ui-icon {
    background-image: url(images/ui-icons_ffffff_256x240.png) !important;
}
.ui-autocomplete {
    background: white !important;
}
.ui-state-focus {
    background: grey !important;
    color: white !important;
    border: 1px solid #323232 !important;
}
.ui-button {
    margin-left: -1px;
    background: #323232 !important;
}
.ui-button-icon-only .ui-button-text {
    padding: 0.35em;
}
.ui-autocomplete-input {
    margin: 0; padding: 0.48em 0 0.47em 0.45em;
}

div.view-equipment-list {
    border: 1px solid #ccc;
    height: 150px;
    overflow-y: scroll;
    background: white;
    text-align: left;
    font-weight: 300;
    border-radius: 5px;
    margin: 1px;
}

div.view-equipment-list div {
    background: white;
    border-bottom: 1px dotted lightgray;
}

.equipment-list {
    width: 80%;
    text-align: center;
    display: table;
}

.equipment-list-image {
    zoom: 0.75;
    display: table-cell;
    width: 200px;
    vertical-align: middle;
    height: 100px;
}

.equipment-list-image img{
    border-radius: 5px;
    max-height: 150px;
    object-fit: scale-down;
    object-position: left;
    padding: 5px;
}

.equipment-list-meta {
    font-size: small;
    font-weight: 400;
}

.equipment-details {
    border: 1px solid lightgray;
    padding: 5px;
}

.equipment-list-name {
    text-align: left;
    vertical-align: middle;
    display: table-cell;
}

.equipment-sub-type {
    background: black;
    color: white;
    font-weight: 500;
    padding: 5px;
    border-radius: 5px 5px 0px 0px;
}

.equipment-item {
    display: table-row;
}

.equipment-item a {
    text-decoration: none !important;
}

/* --- Equipment page tidy-up --- */

/* One sticky "top bar" inside the scrollable equipment-selection-box */
.equipment-selection-box .equipment-sticky-top{
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;           /* match the box background */
    padding: 8px 8px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Message spacing */
.equipment-selection-message h3{
    margin: 0 0 8px 0;
}

/* Buttons layout */
.equipment-selection-box .equipment-sections{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.olb-inline-icon{
    width:36px;
    height:36px;
    padding:4px;
    box-sizing:border-box;
    vertical-align:middle;
    margin-right:6px;
    opacity:0.5;
    object-fit:contain;
    display:inline-block;
}

/* Default: show buttons, hide dropdown */
.equipment-section-dropdown{ display: none; width: 100%; }
.equipment-section-buttons{ display: flex; flex-wrap: wrap; gap: 8px; }

/* Mobile: show dropdown, hide buttons */
@media (max-width: 640px){
    .equipment-section-dropdown{ display: block; }
    .equipment-section-buttons{ display: none; }

    .equipment-section-dropdown{
        padding: 10px;
        border-radius: 8px;
    }
}

/* Section buttons row */
.equipment-sections{
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.equipment-sections .equipment-section-button{
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    line-height: 1.2;
}

/* Make the list breathe */
.equipment-list{
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-left: auto;
    margin-right: auto;
}

/* Item card layout */
.equipment-item{
    margin: 0;
    scroll-margin-top: 100px; /* adjust to your header height */
}
.equipment-item a{
    text-decoration: none;
    display: block;
}
.equipment-details{
    align-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.6);
}
.equipment-item a:hover .equipment-details{
    border-color: rgba(0,0,0,0.18);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Images: consistent size */
.equipment-list-image img{
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Name + meta typography */
.equipment-list-name{
    font-weight: 700;
    font-size: 1.05em;
    margin: 0 0 4px;
}
.equipment-list-meta{
    opacity: 0.85;
    margin-top: 2px;
    line-height: 1.35;
}
.equipment-list-price{
    margin-top: 6px;
    font-weight: 600;
    font-size: 0.95em;
    text-align: right;
    margin-right: 6px;
}

/* Section headings look like headings (and anchor offset for sticky headers if you have one) */
.equipment-sub-type{
    margin: 28px 0 8px;
    font-size: 1.2em;
    font-weight: 800;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
    scroll-margin-top: 100px; /* helps anchor links land nicely if you have a sticky header */
}

/* Mobile-friendly: if no images, avoid weird spacing */
@media (max-width: 520px){
    .equipment-details{
        grid-template-columns: 70px 1fr;
        padding: 10px;
    }
    .equipment-list-image img{
        width: 70px;
        height: 70px;
    }
}


.product-view {
    background: black;
    top: 20%;
    left: 20%;
    border-radius: 8px;
    text-align: center;
}

.product-view-overlay {
    width: 70%;
    height: 75vh;
    position: fixed;
    z-index: 4;
    cursor: pointer;
    max-height: 75vh;
}

.product-view fieldset {
    border-radius: 6px;
    border: 1px solid white;
    height: 100%;
    margin: unset;
    padding: unset !important;
}

.product-view-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-view-scroll {
    overflow-y: auto;
    margin: 10px;
}

.product-view-main-image {
    padding: 8px;
}

.size-large {
    border-radius: 5px !important;
}

.product-view-type h1 {
    font-weight: 300;
    text-transform: uppercase;
    text-align: left;
    font-size: large;
    max-width: 90%;
}

.product-view-type {
    padding: 8px;
    color: white;
}

.product-view-close {
    color: white;
    padding: 5px 10px 5px 10px;
    font-weight: 100;
    font-size: x-large;
    top: 0;
    right: 0;
    position: absolute;
}

.product-view-descriptions {
    display: inline-block;
    max-width: 80%;
    padding: 10px;
    color: white;
}

.product-view-short-description
{
    text-align: left;
    font-weight: bold;
}

.product-view-long-description
{
    text-align: left;
    font-weight: 300;
}

.product-view-asset-properties table {
    border-color: white;
    border-radius: 5px;
}

.product-view-asset-properties td {
    padding: 3px;
    font-weight: 300;
}

.product-image-and-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

.previous-image, .next-image {
    transform: scaleY(4);
    font-weight: 400;
    font-size: 32px;
    -webkit-font-smoothing: subpixel-antialiased;
}

.product-view-image-counter {
    font-weight: 100;
    color: white;
    padding: 0px 5px 5px 5px;
    text-align: right;
}

.next-actions {
    text-align: center;
}

.go-back {
    text-align: unset;
}

.next-actions button {
    margin: 6px;
}

.next-actions-share {
    text-align: center;
}

.countdown {
    display: inline;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

.status-Confirmed .status-Completed {
    color: black;
}

.status-Cancelled {
    color: darkgray;
}

.error-highlight {
    background: #ff00005c;
}

.error-text {
    font-size: 0.8em;
}

.next-button {
    float: right;
}

.next-button:disabled, .previous-button:disabled {
    background-color: lightgrey !important;
    cursor: not-allowed;
 }

.book-session-text, .no-bookings-text {
    min-width: 150px;
}

.cancel, .edit {
    padding: 8px;
}
#view-your-bookings {
    margin-left: auto;
}
#view-your-bookings table{
    font-size: 100%;
    border: 0;
}

#view-your-bookings td {
    vertical-align: top;
    padding: 4px!important;
    text-align: center;
}

#view-your-bookings th {
    padding: 5px;
    text-align: center;
    background: black;
    color: white;
    border-radius: 5px;
}

#view-your-bookings th.first, #view-your-bookings td.first{
    border-radius: 5px 0px 0px 5px;
    border-width: 1px
}

#view-your-bookings  th.middle, #view-your-bookings td.middle{
    border-radius: 0px;
}

#view-your-bookings th.last, #view-your-bookings td.last{
    border-radius: 0px 5px 5px 0px;
    border-width: 0px 1px 1px 1px;
}

.buttons{
    display: table-cell;
}

.paid {
    display: inline;
}

.view-bookings-button {
    padding: 10px !important;
    margin: 5px;
    text-align: center;
    white-space: pre-wrap;
}

@media screen and (max-width: 1550px) {
    #view-your-bookings {
        margin-left: -30px;
    }
    #view-your-bookings table{
        font-size: 0.95vw;
    }
}
@media screen and (max-width: 1330px) {
    #view-your-bookings {
        margin-left: -75px;
    }
}
@media screen and (max-width: 1007px) {
    #view-your-bookings {
        margin-left: auto;
    }
}

#loader {
    position: fixed;
    top: 40%;
    left: 50%;
    z-index:4;
    opacity: 0;

    border: 16px solid #ccc;
    border-top: 16px solid #5f5f5f;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    animation: spin 2s linear infinite;
    background: white;
}

#payment_form_overlay {
    z-index: 4;
    opacity: 0;

    border: 1px solid black;
    border-radius: 4px;
    padding: 6px;
    background: white;
}

#payment-form {
    text-align: center;
}

#progress-display {
    padding-bottom: 10px;
    display: flex;
}

/* Progress Tracker v2 */
ol.progress[data-steps="3"] li { width: 33%; }

.progress {
    width: 100%;
    list-style: none;
    list-style-image: none;
    margin: 20px 0 20px 0;
    padding: 0;
}

.progress li {
    float: left;
    text-align: center;
    position: relative;
    z-index: 0;
}

.progress .name {
    display: block;
    vertical-align: bottom;
    text-align: center;
    margin-bottom: 1em;
    color: black;
    opacity: 0.3;
}

.progress .step {
    color: black;
    border: 3px solid silver;
    background-color: silver;
    border-radius: 50%;
    line-height: 1.2;
    width: 1.2em;
    height: 1.2em;
    display: inline-block;
    z-index: 0;
}

.progress .step span {
    opacity: 0.3;
}

.progress .active .name,
.progress .active .step span {
    opacity: 1;
}

.progress .step:before {
    content: "";
    display: block;
    background-color: silver;
    height: 0.4em;
    width: 50%;
    position: absolute;
    bottom: 0.6em;
    left: 0;
    z-index: -1;
}

.progress .step:after {
    content: "";
    display: block;
    background-color: silver;
    height: 0.4em;
    width: 50%;
    position: absolute;
    bottom: 0.6em;
    right: 0;
    z-index: -1;
}

.progress li:first-of-type .step:before {
    display: none;
}

.progress li:last-of-type .step:after {
    display: none;
}

.progress .done .step,
.progress .done .step:before,
.progress .done .step:after,
.progress .active .step,
.progress .active .step:before {
    background-color: yellowgreen;
}

.progress .done .step,
.progress .active .step {
    border: 3px solid yellowgreen;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media screen and (max-width: 500px) {
    .tooltip .tooltiptext {
        width: 250px;
        min-width: unset;
    }

    #site-selection, #room-selection {
        height: unset;
        padding-top: unset;
    }

    #start-date-select, #end-date-select, #start-time-select, #end-time-select, .session-length-selection label {
        width: unset;
        height: 100%;
    }

    .start-date-time-selection, .end-date-time-selection, .session-length-selection {
        height: 100%;
        width: 100%;
        margin-left: -5px;
    }

    .xdsoft_datetimepicker {
        left: unset !important;
    }

    div.equipment-selection-box {
        max-height: 475px;
        overflow-y: auto;
    }

    th {
        padding: 2px !important;
        font-size: 0.7em !important;
    }

    .product-view {
        top: 20%;
        left: 5%;
    }

    .product-view-overlay {
        width: 90%;
    }

    #band_name {
        width: 82%;
    }

    .hovertext {
        padding-right: 2px;
        font-size: 0.7em;
    }

    #session-selection {
        max-width: 90% !important;
    }

    .availability-table th {
        font-weight: 800;
        font-size: 0.55em !important;
    }

    .availability-dates {
        font-size: 0.83em !important;
    }

    .key {
        max-width: unset;
        font-size: 0.7em;
    }

    .POD-button, .PIA-button, .PIA-POD-or
    {
        display: block;
        text-align:center;
        padding: 5px;
    }

    .progress .name {
        min-height: 5em;
    }

    .member-name-col, .member-remove-col {
        min-width: unset;
    }
}

/*
Reformat tables for narrow screens
*/
@media (max-width: 850px) {
    .responsive tr, .responsive td, .responsive th, .responsive thead, .responsive tbody, table.responsive {
        display: block;
    }

    .entry-content td{
        padding: 8px;
    }

    .equipment-list {
        width: 100%;
    }

    #view-your-bookings {
        margin-left: auto;
    }

    #view-your-bookings table{
        font-size: 100%;
        border: 0;
    }

    #view-your-bookings td.first{
        border-radius: 5px 5px 0px 0px;
        border-width: 1px
    }

    #view-your-bookings td.middle{
        border-radius: 0px;
        border-width: 0px 1px 1px 1px;
    }

    #view-your-bookings td.last{
        border-radius: 0px 0px 5px 5px;
        border-width: 0px 1px 1px 1px;
    }

    #view-your-bookings td {
        text-align: left;
    }
    .tooltip {
        display: initial;
    }

    .buttons {
        text-align: center !important;
    }

    table.responsive {
        display: flex;
        overflow: hidden;
    }

    .responsive tr {
        margin: .2em 0;
    }

    .responsive th {
        text-align: left;
        font-size: 1.2em !important;
        padding: 10px !important;
    }

    .responsive .responsive-title {
        text-align: center;
        background: black;
        color: white;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .responsive [data-header]:not([data-header=""]):before {
        content: attr(data-header) ": ";
        font-weight: bold;
    }

    .go-back {
        text-align: center;
    }

    .equipment-selection-message h3 {
        font-size: medium;
    }
}

/* Hide sidebar on Book Online page only */
.page-id-154 #secondary,
.page-id-154 .site:before {
    display: none;
}

/* Remove left/right spacing caused by sidebar */
.page-id-154 .site-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.page-id-154 .site-content .entry-header,
.page-id-154 .site-content .entry-content,
.page-id-154 .site-content .entry-summary,
.page-id-154 .site-content .entry-meta,
.page-id-154 .page-content {
    max-width: 90% !important;
}

.olb-shop-browser {
    margin: 20px 0;
}

.olb-shop-type-tabs,
.olb-shop-subtype-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.olb-shop-tab {
    background-color: #000;
    color: #fff;
    border: 2px solid #444;
    border-radius: 6px;
    font-size: 1em;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.olb-shop-tab:hover,
.olb-shop-tab:focus {
    background-color: #222;
    outline: none;
}

.olb-shop-tab.active {
    background-color: #fff;
    color: #000;
    border-color: #000;
}

.olb-shop-items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.olb-shop-item-card {
    flex: 1 0 165px;
    max-width: 220px;
    min-width: 165px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
}

.olb-shop-item-card.out-of-stock {
    opacity: 0.65;
}

.olb-shop-item-image-bg {
    background-color: #fff;
    width: 100%;
    text-align: center;
}

.olb-shop-item-image-bg img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 6px;
}

.olb-shop-item-copy {
    text-align: center;
}

.olb-shop-item-brand {
    display: block;
}

.olb-shop-item-name {
    display: block;
}

.olb-shop-item-variation-select {
    width: 100%;
    max-width: 190px;
    margin: 8px auto 6px;
    display: block;
}

.olb-shop-item-price {
    font-weight: 600;
    min-height: 1.4em;
}

.olb-shop-item-description {
    margin-top: 6px;
    font-size: 0.85em;
    min-height: 2.8em;
}

.olb-shop-browser-empty {
    margin: 15px 0;
}

@media (max-width: 650px) {
    .olb-shop-item-card {
        max-width: 100%;
        min-width: 100%;
    }
}

.olb-shop-open-status {
    margin: 20px 0;
    padding: 18px;
    max-width: 980px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    background: linear-gradient(140deg, #f8fafc 0%, #e5e7eb 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.olb-shop-open-status-layout {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.2fr);
    gap: 22px;
    align-items: start;
}

.olb-shop-open-status.is-open {
    border-color: #86efac;
    background: linear-gradient(140deg, #ecfdf5 0%, #d1fae5 100%);
}

.olb-shop-open-status.is-closed {
    border-color: #fecaca;
    background: linear-gradient(140deg, #fff7ed 0%, #fee2e2 100%);
}

.olb-shop-open-status-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    position: relative;
    flex: 0 0 58px;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #e2e8f0 70%);
    border: 2px solid #cbd5e1;
}

.olb-shop-open-status-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.olb-shop-open-status-main {
    min-width: 0;
}

.olb-shop-open-status-right {
    min-width: 0;
    border-left: 1px solid rgba(15, 23, 42, 0.15);
    padding-left: 16px;
}

.olb-shop-open-status.is-open .olb-shop-open-status-icon {
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #86efac 75%);
    border-color: #22c55e;
}

.olb-shop-open-status.is-closed .olb-shop-open-status-icon {
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #fca5a5 75%);
    border-color: #ef4444;
}

.olb-shop-open-status-icon span {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0f172a;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.olb-shop-open-status.is-open .olb-shop-open-status-icon span {
    background: #14532d;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.2);
}

.olb-shop-open-status.is-closed .olb-shop-open-status-icon span {
    background: #7f1d1d;
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.2);
}

.olb-shop-open-status-headline {
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.olb-shop-open-status-detail {
    margin-top: 4px;
    font-size: 1.05em;
    font-weight: 600;
    text-align: left;
}

.olb-shop-open-status-site {
    margin-top: 5px;
    font-size: 0.9em;
    opacity: 0.9;
    text-align: left;
}

.olb-shop-planned-opening-times {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.olb-shop-planned-opening-heading {
    font-size: 0.95em;
    font-weight: 700;
    margin-bottom: 6px;
}

.olb-shop-planned-opening-list {
    display: grid;
    gap: 4px;
}

.olb-shop-planned-opening-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9em;
}

.olb-shop-planned-opening-day {
    font-weight: 600;
    min-width: 90px;
}

.olb-shop-planned-opening-value {
    text-align: left;
    flex: 1 1 auto;
}

@media (max-width: 650px) {
    .olb-shop-open-status {
        padding: 14px;
    }

    .olb-shop-open-status-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .olb-shop-open-status-left {
        gap: 12px;
    }

    .olb-shop-open-status-right {
        border-left: 0;
        border-top: 1px solid rgba(15, 23, 42, 0.15);
        padding-left: 0;
        padding-top: 10px;
    }

    .olb-shop-open-status-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .olb-shop-open-status-headline {
        font-size: 1.05em;
    }

    .olb-shop-open-status-detail {
        font-size: 0.98em;
    }

    .olb-shop-planned-opening-row {
        font-size: 0.86em;
    }

    .olb-shop-planned-opening-day {
        min-width: 72px;
    }
}
