:root {
    --tmr-bootstrap-border-color: #dee2e6;
    --tmr-white: #eee;
    --tmr-table-header: #54667a;
    --tmr-row-divider-color: #3490dc;
    --tmr-stripped-row-background-color: rgba(0, 0, 0, 0.05);
}

body {
    padding-top: 57px;
    /* padding-bottom: 15vh; */
    height: 100%;
}

@media only screen and (min-width: 999px) {
    .navbar {
        padding: 0px;
    }

    .nav-link {
        padding: 15px 0px;
    }

    .nav-item .nav-link.active {
        border-bottom: solid var(--bs-primary);
        color: var(--bs-primary);

    }

    .nav-link:focus,
    .nav-link:hover {
        border-bottom: solid var(--bs-primary-bg-subtle);
    }

    .nav-link {
        border-bottom: solid transparent;
    }

    .navbar-brand {
        border-bottom: 3px solid transparent;
    }

    .card-title-floating {
        width: fit-content;
    }


}

.fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
    font-size: 80%;
}

.nav-item .nav-link.active {
    color: var(--bs-primary);
}

.card-title-floating {
    margin-top: -45px;
    padding: 0px 20px;
    box-shadow: -5px 5px 5px 0px var(--bs-primary-bg-subtle);
}

.td-limit {
    max-width: 250px;
}

/* .table {
    table-layout: fixed;
} */

input[type="checkbox"] {
    transform: scale(2);
}

textarea {
    resize: none;
}

.form-check-input:disabled {
    opacity: 0.6;
}

#alert-container {
    top: 10%;
    /* left: 33%; */
}

.required:after {
    content: " *";
    color: red;
}

.logincard {
    padding-top: 15vh;
}

.fc .fc-daygrid-day-top {
    justify-content: center;
    /* Centers the content within the day cell */
}

.fc-daygrid-day-number {
    display: block;
    margin: 0 auto;
    text-align: center !important;
    /* Centers the day number text */
    text-decoration: none !important;
    /* Removes underline */
    font-weight: normal;
    /* Adjusts the font weight if desired */
}

@media only screen and (max-width: 991px),
(min-device-width: 768px) and (max-device-width: 1024px) {

    [data-content]:before {
        content: attr(data-content);
    }

    /* Force table to not be like tables anymore */
    .table-mobile-responsive,
    .table-mobile-responsive thead,
    .table-mobile-responsive tbody,
    .table-mobile-responsive th,
    .table-mobile-responsive td,
    .table-mobile-responsive tr {
        display: block;
    }

    .table-mobile-responsive.text-center {
        text-align: left !important;
    }

    .table-mobile-responsive caption {
        width: max-content;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .table-mobile-responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-mobile-responsive> :not(:first-child) {
        border-top: none;
    }

    .table-mobile-responsive>:not(caption)>*>* {
        border-color: var(--tmr-bootstrap-border-color);
    }

    .table-mobile-responsive tr:not(.bg-light-blue) {
        border-bottom: 2px solid var(--tmr-row-divider-color);
    }

    /* Default layout */
    .table-mobile-responsive td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid var(--tmr-white);
        position: relative;
        /* padding-left: 50%; */
        padding-top: 1.5rem !important;

    }

    .table-mobile-responsive td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 0;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        color: var(--tmr-table-header);
    }

    /* Sided layout */
    .table-mobile-responsive.table-mobile-sided> :not(:first-child) {
        border-top: none;
    }

    .table-mobile-responsive.table-mobile-sided>:not(caption)>*>* {
        border-color: var(--bs-table-border-color);
    }

    .table-mobile-responsive.table-mobile-sided td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid var(--tmr-white);
        position: relative;
        padding-left: 45%;
        padding-top: 0px !important;
        display: flex;
        justify-content: flex-end;
        text-align: start !important;
        margin: 10px;
    }

    .table-mobile-responsive.table-mobile-sided td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 0;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        color: var(--tmr-table-header);
    }

    /* Styleless */
    .table-mobile-responsive.table-mobile-styleless tr:not(.bg-light-blue) {
        border-bottom: none !important;
    }

    /* Stripped rows */
    .table-mobile-responsive.table-mobile-striped>tbody>tr:nth-of-type(odd)>* {
        background-color: var(--tmr-stripped-row-background-color) !important;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.new-row {
    animation: slideDown 0.4s ease-out;
    opacity: 1;
}