html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
    font-size: 16px;
}

.max-height {
    max-height: calc(100vh - 56px);
}

#calendar {
    max-width: 1045px;
    margin: 0 auto;
    padding: 1.2rem;
}

#search-list-group {
    height: calc(100vh - 150px);
    max-height: calc(100vh - 150px);
    overflow: auto;
}

#overdue-list-group, #reserved-list-group, #transfers-list-group, #reporting-filters {
    height: calc(100vh - 96px) !important;
    max-height: calc(100vh - 96px);
    overflow: auto;
}

#category-list-group, #product-list-group, #availability-list-group, #accordion {
    height: 400px;
    overflow: auto;
}

#log-in-button {
    width: 100%;
    background-color: #f68b1f;
    border-color: #f68b1f;
}

#log-in-button:hover {
    background-color: #ef7d09;
    border-color: #ef7d09;
}

#log-in-background {
    margin-right: 100px; 
    height: 250px; 
    width: 400px; 
    padding: 20px; 
    background-color: rgba(0, 45, 114, 0.8)
}

#log-in-logo {
    width: 40%;
}

#search-list-group a:nth-child(1) {
    border-top: 0;
}

.booking-status-label {
    cursor: pointer;
}

.normal-link {
    color: #002d72;
}

.normal-link:hover {
    color: #f68b1f;
    text-decoration-line: none;
}

.textfield-spinner {
    position: absolute;
	right: 0;
    height: 25px;
    width: 25px;
    margin-right: 25px;
}

.textfield-spinner-container {
    justify-content: center;
    display: flex;
    align-items: center;
}

/* Sidebar */
#v-pills-tab {
    text-align-last: justify;
}

.sidebar-links {
    padding: 20px;
    word-break: break-all;
}

.sidebar-tabs {
    background-color: #f5f5f5;
    padding-right: 0;
    padding-left: 0;
}

#v-pills-tab > a {
    border-radius: 0;
}

.nav-pills .nav-link {
    color: #000000;
}

.nav-pills .nav-link.active {
    background-color: #002d72;
    color: #ffffff;
}

#v-pills-tabContent > .card {
    border-radius: 0;
    border-left-width: 0;
    border-top-width: 0;
    border-bottom-width: 0;
}

.no-border-radius {
    border-radius: 0;
}

.reporting-charts {
    max-width: 800px;
    max-height: 400px;
}

/* Full Calendar */
.fc-list-item {
    cursor: pointer;
}

.fc-event-container {
    cursor: pointer;
}

.fc-event {
    font-size: 1em;
}

.fc-button-primary:hover {
    background-color: #002d72;
    border-color: #002d72;
}

.fc-checkAvailability-button:hover, .fc-addBooking-button:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.fc-button-primary {
    background-color: #f68b1f;
    border-color: #f68b1f;
    color: #ffffff;
}

.fc-button-primary:disabled {
    background-color: #002d72;
    border-color: #002d72;
}

.fc-button-primary:not(:disabled).fc-button-active, .fc-button-primary:not(:disabled):active {
    background-color: #002d72;
    border-color: #002d72;
}

.fc-addBooking-button, .fc-checkAvailability-button {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
    background-image: none;
}

.fc-prev-button, .fc-next-button, .fc-today-button, .fc-dayGridMonth-button, .fc-dayGridWeek-button, .fc-dayGridDay-button, .fc-listMonth-button {
    background-color: #f68b1f;
    border-color: #f68b1f;
    color: #ffffff;
    background-image: none;
}

.fc-unthemed td.fc-today {
    background: #fef2e7;
}

@media print {
    #main-content, footer, #bookingModal, #availabilityModal, #searchFilterModal, #changelogModal, nav {
        display: none !important;
    }
    .modal-backdrop.show {
        opacity: 0;
    }
    h4 {
        color: #f68b1f;
    }
    #print {
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
        display: flex !important;
    }
}