﻿.fairfax-app-sidebar-nav .navbar-inverse .navbar-nav > li > a {
    font-size: 0.8em !important;
}

.fairfax-breadcrumb, .fairfax-breadcrumb a {
    margin-top: 5px;
}
/* Added for @Html.ValidationSummary 508 compliance*/
.validation-summary {
    /*background-color: #D9FFB2;
    border: 1px solid #5CBA30;
    width: 400px;*/
    margin: 0 auto;
}
.WelcomeDiv {
    width: 98%;
    margin: 0 auto;
}
 Modal popup css
.modal-lg-custom {
    width: auto;
    max-width: 40%;
}

.modal-content {
    padding: 20px;
}

.row {
    margin-bottom: 10px;
}

.css-title {
    display: block;
    float: left;
    font-size: 32px;
    color: #1978c9;
    font-weight: 500;
    font-size: 1.8rem;
}

.active > .page-link, .page-link.active, table th {
    z-index: 0;
    background-color: rgb(215 226 238) !important;
    border-color: rgb(215 226 238) !important;
}

form {
    margin: 10px 0;
}

.form-group {
    margin-bottom: 12px;
    padding: 5px;
}

label.control-label {
    font-weight: bold;
    margin-bottom: 3px;
    display: block;
    /*font-size:small*/
}

.btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.btn-group-font {
    font-size: 0.8em !important;
}

.btn-primary {
    /*color: #333;
    background-color: #fff;
    border-color: #ccc;*/
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:active, .btn-primary:hover {
    color: #333;
    background-color: #e6e6e6 !important;
    border-color: #adadad;
}
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}


.btn-default:hover,
.btn-default:focus {
    background-color: #e0e0e0;
    background-position: 0 -15px;
}

.btn-default:active,
.btn-default.active {
    background-color: #e0e0e0;
    border-color: #dbdbdb;
}
.details-view {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin: 10px;
}

.details-view dt, .details-view dd {
    padding-top: 10px;
    padding-bottom: 5px;
}

.details-view .form-group {
    margin-top: 10px;
}

.selectable {
    background-color: #d4edda;
    cursor: pointer;
}

.non-selectable {
    background-color: #ddd;
    cursor: not-allowed;
}

.weekend {
    background-color: #ddd !important;
}

.holiday {
    background-color: #ddd !important;
}

.selectedSession {
    background-color: cornflowerblue !important;
}

.selected-date {
    background-color: cornflowerblue !important;
}

Calendar display
.calendar {
    width: 100%;
    max-width: 600px;
}

    .calendar table {
        width: 100%;
    }

        .calendar table th,
        .calendar table td {
            text-align: center;
        }

        .calendar table td {
            cursor: pointer;
        }

legend
.calendar-legend-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.calendar-legend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
    padding: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.color-box {
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-right: 5px;
    border: 1px solid #000;
}

.legend-text {
    font-size: 12px;
    max-width: 120px;
    word-wrap: break-word;
    white-space: normal;
}

.form-control-small {
    width: 80% !important;
}

.form-control-smallest {
    width: 35% !important;
}

 Media query for small screens 
@media (max-width: 600px) {
    .form-control-smallest {
        width: 90% !important;
    }
}

.btn-group-justified {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .btn-group-justified .btn {
        flex: 1 1 auto;
        margin: 5px;
        max-width: 225px;
    }

.nav-btn.active,
.nav-btn:hover,
.nav-btn:focus {
    color: #333;
    background-color: #e6e6e6 !important;
    border-color: #adadad;
}

checkbox
.form-check-input:checked {
    background-color: #adadad;
    border-color: #ddd;
}
Info Icon
.info-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

    .info-icon .tooltip-text {
        visibility: hidden;
        width: 600px;
        background-color: #ddd;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.3s;
        font-weight: 200;
        font-size: small;
    }

        .info-icon .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%;  Bottom of the tooltip 
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .info-icon:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }

@media (max-width: 991px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
    }
}
Dashboard
.card-title {
    color: #1978c9;
    font-size: 14px;
    font-weight: 550;
}

.card-header {
    background-color: rgb(215 226 238);
    color: black;
    font-synthesis-weight: auto;
}

.card-body {
    background-color: #e9ecef;
    padding: 10px;
    max-height: 270px;  Limit the height of the card body 
    overflow-y: auto;  Enable vertical scrolling if content exceeds max height 
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: background-color 0.3s;
    height: 270px;  Fixed height for cards 
    width: 100%;
    max-width: 350px;  Set a maximum width for cards 
}

.ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;  prevent horizontal scrollbar 
    overflow-x: hidden;
}

.checkbox-container {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 15px;  adds space for scrollbar 
    max-width: 80%
}

 Add spacing between options inside the list box 
select[multiple] option {
    padding: 3px 5px;
    margin-bottom: 2px;  Adds space between each option 
}

.highlighted {
    background-color: #007bff !important;
    color: #fff !important;
    border-radius: 50%;
}

.bg-primary {
    background-color: #007bff !important;
}

.text-white {
    color: #fff !important;
}

.calendar-popup {
    display: none;  Initially hidden 
    position: absolute;  Positioned relative to parent 
    top: 100%;  Below the button 
    left: 0;  Align with the left edge of the button 
    z-index: 1050;  Ensure it's above other elements 
    background-color: white;  Match your design 
    border: 1px solid #ccc;  Optional: border for better visibility 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  Optional: shadow for better visibility 
    padding: 10px;  Optional: adjust padding for content 
    border-radius: 5px;  Optional: rounded corners 
}

.team-name-cell {
    height: 100px;
    overflow-y: auto;
    word-wrap: break-word;
    display: block;
}

.highlight {
    background-color: #d1e7dd !important;
    border-radius: 50%;
    color: #1978C9;
}

/*Added for pagination*/
.pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none;
}

    .pager li {
        display: inline;
    }

        .pager li > a,
        .pager li > span {
            display: inline-block;
            padding: 5px 14px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 15px;
        }

            .pager li > a:hover,
            .pager li > a:focus {
                text-decoration: none;
                background-color: #eeeeee;
            }

    .pager .next > a,
    .pager .next > span {
        float: right;
    }

    .pager .previous > a,
    .pager .previous > span {
        float: left;
    }

    .pager .disabled > a,
    .pager .disabled > a:hover,
    .pager .disabled > a:focus,
    .pager .disabled > span {
        color: #777777;
        cursor: not-allowed;
        background-color: #fff;
    }
.text-muted {
    color: #6c757d !important;
}
.small, small {
    font-size: .875em;
}
.required:after {
    content: "*";
    color: red;
    position: absolute;
}
.form-select {
--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
display: block;
width: 100%;
padding: 0.375rem 2.25rem 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: var(--bs-body-color);
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: var(--bs-body-bg);
background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
background-repeat: no-repeat;
background-position: right 0.75rem center;
background-size: 16px 12px;
border: var(--bs-border-width) solid var(--bs-border-color);
border-radius: var(--bs-border-radius);
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
button.btn.btn-success.toggle-button {
    background-color: #1978C9;
}

#weekdayButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;  Spacing between buttons 
}

    #weekdayButtons .btn {
        flex: 0 0 calc(100% / 7 - 10px);  Distribute 7 buttons per row 
        text-align: center;
        min-width: 80px;
    }
