:root {
	 --bs-dark: #002147;
	 --bs-dark-rgb: 0, 33, 71;
	 --bs-light: #FFFFFF;
	 --bs-light-rgb: 240, 240, 240;
}

.btn-primary {
    --bs-btn-bg: #002147;
    --bs-btn-border-color: #002147;
}

.navbar-brand img {
	 height: 60px;
}

.nav-link i {
	 padding-right: 4px;
}

.card-img-top {
	 width: 100%;
	 height: 15vw;
	 object-fit: cover;
}

#id_body_editorjs_holder {
    width: 100%;
}

/* Hide the alternative name by default */
#clubName .alt-name {
    display: none;
}

/* When the screen size is below 576px (aka Bootstrap "sm" breakpoint) */
@media screen and (max-width: 576px) {
    /* Hide the default name */
    #clubName .full-name {
        display: none;
    }

    /* Show the alternative name */
    #clubName .alt-name {
        display: inline;
    }
}

.booker-date {
    border: 0;
}

#booking-table-holder {
    width: 100%;
    overflow-x: scroll;
}

#booking-table {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border-right: 1px solid lightgray;
}

#booking-table thead {
    width: 100%;
    border-bottom: 1px solid lightgray;
    text-align: center;
}

#booking-table tfoot {
    width: 100%;
    border-bottom: 1px solid lightgray;
    text-align: center;
}


#booking-table tr td {
    border-left: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    user-select: none;
    min-width: 120px;
}

#booking-table .booking-info {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#booking-table .booking-equipment {
    position: sticky;
    left: 0;
    width: 100px;
    background-color: white;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
    border-collapse: seperate;
}

#booking-table .booking-slot:hover {
    background-color: lightgray;
    cursor: pointer;
}

.booked {
    background-color: var(--bs-dark); 
    border-radius: 5px;
    color: white;
}

#booking-table .booking-time {
    width: 60px;
    padding:10px;
    min-width: 60px;
}

.w-sm-10 { width: 100%; }
.w-sm-20 { width: 100%; }
.w-sm-30 { width: 100%; }
.w-sm-40 { width: 100%; }
.w-sm-50 { width: 100%; }
.w-sm-60 { width: 100%; }
.w-sm-70 { width: 100%; }
.w-sm-80 { width: 100%; }
.w-sm-90 { width: 100%; }
.w-sm-100 { width: 100%; }

@media (min-width: 768px) {
    .w-sm-10 { width: 10%; }
    .w-sm-20 { width: 20%; }
    .w-sm-30 { width: 30%; }
    .w-sm-40 { width: 40%; }
    .w-sm-50 { width: 50%; }
    .w-sm-60 { width: 60%; }
    .w-sm-70 { width: 70%; }
    .w-sm-80 { width: 80%; }
    .w-sm-90 { width: 90%; }
    .w-sm-100 { width: 100%; }
}

:root {
    --tabs-primary: #002147;
    --tabs-primary-dark: #001730;
    --tabs-primary-text: #FFFFFF;

    --tabs-secondary: #cccccc;
    --tabs-secondary-dark: #888888;
    --tabs-secondary-text: #333333;

    --tabs-highlight: #565e64;
    --tabs-highlight-dark: #B8860B;
    --tabs-highlight-text: #212529;
}

.accordion {
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem var(--tabs-secondary-dark);
}

.accordion-button p {
    margin: 0;
}

.accordion-button:not(.collapsed) {
    background-color: var(--tabs-secondary);
    color: var(--tabs-secondary-text);
}

.accordion-body p:last-child {
    margin-bottom: 0;
}
