﻿html, body {
    height: 100%;
    margin: 0;
    font-size: 16px !important;
}

body {
    min-height: 100vh;
    font-family: 'Lexend', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: #F9F9F9 !important;
}

body {
    min-height: 100vh;
    font-family: 'Lexend', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: #F9F9F9 !important;
}

input[type="text"], input[type="password"], textarea, select {
    font-size: 0.9rem !important;
}

input[type=checkbox] {
    transform: scale(1.25);
    accent-color: #8A3A6D;
}

.dt-input {
    font-size: 1rem !important;
    font-family: 'Archivo' !important;
}

.navbar-nav {
    margin: 0;
    padding: 0;
}

    .navbar-nav .nav-item {
        list-style: none;
    }

    .navbar-nav .nav-link {
        color: #fff;
        padding: 0.5rem 1rem;
        text-decoration: none;
        cursor: pointer;
    }

        .navbar-nav .nav-link:hover {
            color: #f8f9fa;
        }

.header-menu-spaced .nav-link {
    position: relative;
    padding-bottom: 0.75rem !important;
    font-family: 'Archivo' !important;
    font-size: 1.4rem !important;
    font-weight: 350 !important;
}

    .header-menu-spaced .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3px;
        background-color: #8A3A6D;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .header-menu-spaced .nav-link.active::after,
    .header-menu-spaced .nav-link:hover::after {
        transform: scaleX(1);
    }

.width-5-percent {
    width: 5%;
}

.width-7-percent {
    width: 7%;
}

.width-8-percent {
    width: 8%;
}

.width-10-percent {
    width: 10%;
}

.width-12-percent {
    width: 12%;
}

.width-15-percent {
    width: 15%;
}

.width-20-percent {
    width: 20%;
}

.width-25-percent {
    width: 25%;
}

.width-28-percent {
    width: 28%;
}

.width-30-percent {
    width: 35%;
}

.width-35-percent {
    width: 30%;
}

.width-40-percent {
    width: 40%;
}

.width-45-percent {
    width: 45%;
}

.width-50-percent {
    width: 50%;
}

.dashboard-card {
    min-height: 11rem !important;
    color: #36172B !important;
    color: #000000 !important;
}

    .dashboard-card:hover {
        background-color: #D9A5C6 !important;
    }

.dashboard-card-title {
    font-size: 1.25rem !important;
    font-family: 'Lexend' !important;
    font-weight: 400 !important;
}

.dashboard-card-subheader {
    font-size: 0.85rem !important;
    font-family: 'Archivo' !important;
}

.dashboard-card-main-content {
    font-size: 1.5rem !important;
    font-family: 'Lexend' !important;
    font-weight: 500 !important;
}

.dashboard-alert-card {
    font-weight: 400 !important;
    height: 11rem !important;
    color: #601219 !important;
    color: #000000 !important;
}

    .dashboard-alert-card:hover {
        background-color: #F9DBDD !important;
    }

/* Dropdown menu */
.dropdown-menu {
    width: 50% !important;
    padding: 0.5rem 0;
}

.dropdown-menu-end {
    width: 10px !important;
}

.bootstrap-select .dropdown-menu {
    z-index: 1060 !important;
}

    .bootstrap-select .dropdown-menu .check-mark {
        z-index: 1060 !important;
        display: none !important;
    }

.dropdown-menu .dropdown-item {
    position: relative;
    padding-left: 35px;
}

    .dropdown-menu .dropdown-item::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 8px;
        width: 16px;
        height: 16px;
        border: 1px solid #999;
        border-radius: 3px;
        background: #fff;
    }

.dropdown-menu .selected .dropdown-item::before {
    content: "✓";
    text-align: center;
    line-height: 16px;
    font-size: 12px;
}

.dropdown-menu .dropdown-item.no-checkbox::before {
    display: none;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.jquery-table-header-color {
    background-color: #F4F4F4;
}

/* Logout button */

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #16181b;
}

.color-dark-maroon {
    color: #B82C27;
}

.color-breadcrumb-gray {
    color: #6D6E71;
}

.readonly-bg {
    background-color: #e9ecef !important;
    color: #6D6E71 !important;
    cursor: not-allowed;
}

font-size-18 {
    font-size: 18px;
}

.font-size-18-force {
    font-size: 18px !important;
}

.login-box {
    border: solid #F1F1F1 .15rem;
}

.logout-menu-button {
    height: .5rem !important;
}

.profilelogin {
    margin-top: -2%
}

.nav-link {
    color: black !important;
    font-size: 1rem !important;
    font-family: 'Archivo' !important;
}

.nav-link-bold {
    font-weight: 600 !important;
}

.btnActionLink {
    border-radius: 0px;
    border-color: #b92928;
    color: #b92928;
    border-radius: .25rem;
    height: 2.2rem;
}

    .btnActionLink:hover {
        background-color: #b92928;
        color: #ffffff;
    }

.divLogin {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.fontsize-point-nine {
    font-size: 0.9rem !important;
}

.fontsize-one {
    font-size: 1rem !important;
}

.adhs-link {
    color: #8A3A6D;
    font-size: 0.95rem !important;
}

    .adhs-link:hover {
        color: #693456;
    }

.font-family-archivo {
    font-family: 'Archivo' !important;
}

.font-family-lexend {
    font-family: 'Lexend' !important;
}

.page-header {
    font-size: 1.4rem !important;
    font-family: 'Lexend' !important;
    font-weight: 400 !important;
}

a {
    font-size: small !important;
    color: #0077cc;
}

.color-dark-maroon {
    color: #B82C27;
}

.color-magenta {
    color: #8A3A6D;
}

.float-right {
    float: right;
}

.btn-primary {
    color: #ffffff !important;
    background-color: #8A3A6D !important;
    border-color: #8A3A6D !important;
}

.btn-cems {
    font-family: 'Archivo' !important;
    font-size: 1rem !important;
    height: 2.2rem !important;
    color: #ffffff !important;
    border-color: #8A3A6D !important;
    font-weight: 100 !important;
    background-color: #8A3A6D !important;
    min-width: 6rem;
    align-content: center !important;
}

    .btn-cems:hover {
        color: #ffffff !important;
        font-weight: bold;
        background-color: #693456 !important;
        border-color: #693456 !important;
    }

    .btn-cems:active, .btn-cems.active {
        background-color: #8A3A6D !important;
        border-color: #8A3A6D !important;
        color: #ffffff !important;
    }

.btn-cems-outline {
    font-family: 'Archivo' !important;
    font-size: 1rem !important;
    min-width: 6rem;
    height: 2.2rem !important;
    color: #8A3A6D !important;
    border-color: #8A3A6D !important;
}

    .btn-cems-outline:hover {
        background-color: #8A3A6D !important;
        color: #ffffff !important;
    }

    .btn-cems-outline:active, .btn-cems-outline.active {
        background-color: #ffffff !important;
        border-color: #8A3A6D !important;
        color: #8A3A6D !important;
    }

.btn-cems-login {
    font-size: 1.2rem !important;
    height: 2.5rem !important;
    color: #ffffff !important;
    border-color: #8A3A6D !important;
    font-weight: 100 !important;
    background-color: #8A3A6D !important;
    width: 100%;
}

    .btn-cems-login:hover {
        color: #ffffff !important;
        font-weight: bold;
        background-color: #693456 !important;
        border-color: #693456 !important;
    }

    .btn-cems-login:active, .btn-cems-login.active {
        background-color: #8A3A6D !important;
        border-color: #8A3A6D !important;
        color: #ffffff !important;
    }

.form-control,
.form-select {
    height: 38px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
}

.form-control {
    line-height: 1.5;
}

textarea.form-control {
    height: auto;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-select:focus,
.form-control:focus,
.form-check-input:focus {
    border-color: #8A3A6D !important;
    box-shadow: 0 0 0 0.1rem #D9A5C6 !important;
}

.scroll-top-btn {
    position: fixed;
    bottom: 4.3rem;
    left: 6rem;
    width: 7rem;
    display: none;
    z-index: 9999;
    padding: 0.65rem 0.2rem 0.65rem 2.2rem;
    border-radius: 0.5rem;
    background-color: #8A3A6D;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 0.5rem 0.75rem rgba(0,0,0,0.2);
    font-weight: 600;
}

    .scroll-top-btn:hover {
        background-color: #6f2e57;
        color: white;
        text-decoration: none;
    }

.form-check-input {
    accent-color: #8A3A6D !important;
}

    .form-check-input:checked {
        background-color: #8A3A6D !important;
        border-color: #8A3A6D !important;
    }

.site-header {
    height: 72px;
    padding: 0 1rem;
    box-shadow: 0 7px 4px #E9ECEF;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
}

.header-row {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    gap: 2rem;
}

.header-logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

    .header-logo img {
        max-height: 3.7rem;
        padding: 0.5rem 0.05rem 0.1rem 0.5rem;
    }

.header-title {
    font-family: 'Lexend' !important;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.header-menu {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: 2.10rem;
    margin: 0 !important;
    padding: 0;
}

    .header-menu a {
        color: black;
        text-decoration: none;
    }

.header-profile {
    font-family: 'Open Sans' !important;
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 500;
}

.main-nav .nav-item {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.main-nav .nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 0.25rem;
    color: #222 !important;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    margin: 0 !important;
}

    .main-nav .nav-link.active {
        color: #8A3A6D !important;
        font-weight: 700;
    }

        .main-nav .nav-link.active::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 5px;
            background-color: #8A3A6D;
        }

.site-footer {
    background: #002D55;
    color: white;
    text-align: center;
    padding: 0.5rem;
}

.footer-top {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.footer-logo img {
    max-height: 3rem;
    height: 25rem !important;
}

.footer-address {
    text-align: right;
    line-height: 1.5;
    font-size: .65rem;
}

.footer-links {
    text-align: center;
    align-content: center;
    font-size: 0.8rem;
}

    .footer-links a {
        color: #dddddd;
        text-decoration: none;
        margin: 0 6px;
    }

        .footer-links a:hover {
            color: white;
        }

.site-content {
    flex: 1;
    overflow: visible !important;
    padding-top: 5rem;
}

.content-wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.margin-move-1rem-up {
    margin-top: -1rem !important;
}

.margin-move-2rem-up {
    margin-top: -2rem !important;
}

.mt-5-percent {
    margin-top: 5% !important;
}

/*Modal popup styles*/
.modal-content {
    border: none !important;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    overflow: hidden;
    font-family: 'Archivo', sans-serif;
}

.modal-open .modal {
}

.modal-header,
.modal-footer {
    border: none !important;
}

.modal-header {
    background-color: #8A3A6D !important;
    color: #ffffff !important;
    padding: 1rem 2rem 0.75rem 1rem !important;
}

    .modal-header .modal-title {
        color: #ffffff !important;
        font-weight: 600;
    }

    .modal-header .btn-close,
    .modal-header .close {
        filter: brightness(0) invert(1);
        opacity: 0.9;
    }

.modal-body {
    padding: 18px 20px;
}

.fancy-close {
    width: 1rem !important;
    height: 1rem !important;
    padding: 0.5rem !important;
    border-radius: 0.1rem;
    background-color: rgba(255,255,255,0.15);
    border: none !important;
    box-shadow: none !important;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .15s ease, transform .15s ease;
}

    .fancy-close:hover {
        background-color: rgba(255,255,255,0.25);
    }

    .fancy-close:focus,
    .fancy-close:active {
        outline: none !important;
        box-shadow: none !important;
    }

.modal-footer {
    padding: 1rem 2rem !important;
}

    .modal-footer .btn {
        margin-top: 0;
        margin-bottom: 0;
    }

.cems-table {
    border: 1.5px solid #dee2e6;
    border-radius: 5px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    width: 100% !important;
    font-family: 'Archivo' !important;
    font-size: 0.9rem;
}

    .cems-table thead th {
        border-top: none !important;
        border-bottom: none !important;
        font-weight: 700 !important;
    }

    .cems-table tbody td {
        border-bottom: none !important;
    }

    .cems-table tbody tr {
        border-bottom: 1.5px solid #dee2e6;
    }

        .cems-table tbody tr:last-child {
            border-bottom: none !important;
        }

    .cems-table th,
    .cems-table td {
        border-left: none !important;
        border-right: none !important;
    }

.table-container {
    width: 100%;
    font-family: 'Archivo' !important;
}

    .table-container tbody tr {
        border: none !important;
    }

        .table-container tbody tr:first-child {
            border-top: none;
        }

    .table-container thead tr {
        border: none !important;
    }

.left-nav-link {
    color: #222;
    text-decoration: none;
    display: block;
    padding: 8px 10px;
}

    .left-nav-link.active {
        color: #8A3A6D;
        font-weight: 700;
    }

    .left-nav-link.active {
        border-left: 3px solid #8A3A6D;
        padding-left: 7px;
    }

.cems-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.cems-label-light-bold {
    font-size: 0.9rem;
    font-weight: 650 !important;
}

.cems-label-no-bold {
    font-size: 0.9rem;
}

.cems-display {
    font-family: 'Archivo' !important;
    font-size: 0.9rem;
}

.cems-display-label {
    font-family: 'Archivo' !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.cems-search-form-label {
    font-family: 'Open Sans';
    font-size: 1rem;
    font-weight: 500;
}

.header-style {
    font-size: 1.4rem;
    font-family: 'Lexend' !important;
}

.sub-header-style {
    font-size: 1.2rem;
    font-family: 'Open Sans';
    font-weight: 400;
}

.action-links {
    display: flex !important;
    gap: 2rem;
    justify-content: center;
    align-items: center !important;
}

    .action-links a {
        font-weight: 500;
        display: flex !important;
        align-items: center !important;
    }

        .action-links a:hover {
            font-weight: 700;
        }

.approve-link {
    text-decoration: none;
    color: #8A3A6D;
    font-weight: 500;
}

    .approve-link:hover {
        text-decoration: none;
        color: #8A3A6D;
        font-weight: 700;
    }


.rejection-link {
    text-decoration: none;
    color: #8A3A6D;
}

    .rejection-link:hover {
        text-decoration: none;
        color: #8A3A6D;
        font-weight: 700;
    }

.view-link {
    color: #CC6C20;
}

    .view-link:hover {
        color: #CC6C20;
        font-weight: 700;
    }

.edit-link {
    color: #8A3A6D;
}

    .edit-link:hover {
        text-decoration: none;
        color: #8A3A6D;
        font-weight: 700;
    }

.edit-link-disabled {
    color: #CA81B0;
}

    .edit-link-disabled:hover {
        text-decoration: none !important;
        color: #CA81B0;
        font-weight: 500 !important;
    }

.delete-link {
    color: #DC3545;
}

    .delete-link:hover {
        text-decoration: none;
        color: #DC3545;
        font-weight: 700;
    }

.dev-edit-option {
    margin-top: 0.5rem;
    margin-left: 3rem;
}

.entity-edit-link {
    color: #8A3A6D;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    font-family: 'Archivo' !important;
}

.ui-autocomplete {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.ui-autocomplete {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    background: #fff;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999;
    width: 200px;
}

    .ui-autocomplete li {
        list-style: none;
        margin: 0;
        padding: 8px 8px;
        cursor: pointer;
        border-bottom: 1px solid #eee;
        font-family: 'Archivo' !important;
        font-size: 0.75rem;
    }

        .ui-autocomplete li:last-child {
            border-bottom: none;
        }

        .ui-autocomplete li:hover {
            background-color: #f5f5f5;
        }

.ui-menu-item-wrapper {
    padding: 0;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    background: #e9ecef;
    border: none;
    color: #000;
}

.facility-suggestion {
    padding: 8px 10px;
    font-size: 0.7rem;
}

/*Validation*/
.field-validation-error {
    min-height: 1.5rem;
    color: #DC3545 !important;
    font-family: 'Archivo' !important;
    font-size: 0.9rem !important;
    font-weight: 500;
}

.cems-nav {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.cems-nav-link:hover {
    text-decoration: none !important;
    color: #8A3A6D !important;
}

.cems-left {
    transform: none !important;
    flex: 0 0 260px;
}

.cems-right,
.site-content,
.content-wrapper {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.cems-page {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.cems-right {
    flex: 1 1 auto;
    min-width: 0;
}

.profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

    .profile-avatar::after {
        display: none !important;
    }

#toast-container.toast-top-right {
    top: 5rem;
}

#toast-container > div {
    font-family: 'Archivo', sans-serif;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .btn-magenta, .btn-magenta-outline {
        min-width: 8.75rem;
    }
}

@media (max-width: 768px) {
    .hide-on-smaller-screen {
        display: none;
    }

    .site-header {
        height: auto;
        padding: 0.5rem 1rem;
    }

    .header-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0;
    }

    .header-logo {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .header-title {
        flex: unset;
    }

    .header-profile {
        margin: 0;
        align-self: flex-end;
        font-size: 0.75rem;
    }

    .header-menu {
        width: 100%;
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        gap: 1rem;
        margin: 0 !important;
        padding: 0 0 0.25rem 0;
        height: auto;
        scrollbar-width: thin;
    }

    .main-nav .nav-item {
        flex: 0 0 auto;
        height: auto;
    }

    .main-nav .nav-link {
        height: auto;
        padding: 0.5rem 0.25rem;
        white-space: nowrap;
    }

        .main-nav .nav-link.active::after {
            bottom: 0;
            height: 3px;
        }

    .site-content {
        padding-top: 9rem;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-logo img {
        margin-bottom: 5px;
    }

    .footer-address {
        text-align: center;
    }

    .table-container {
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .cems-nav {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .cems-right,
    .site-content,
    .content-wrapper {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    .cems-page {
        flex-direction: column;
    }

    .cems-left {
        flex: 1 1 auto;
        width: 100%;
    }

    .cems-right {
        width: 100%;
    }

    .scroll-top-btn {
        bottom: 4rem !important;
        left: 17rem !important;
        width: 10rem;
        padding: 0.65rem 0.2rem 0.65rem 3.8rem;
    }

    .small-bread-crumb-style {
        margin-top: 3rem !important;
    }

    .mobile-width-10-percent {
        width: 10% !important;
    }

    .mobile-width-20-percent {
        width: 20% !important;
    }

    .mobile-width-30-percent {
        width: 30% !important;
    }

    .mobile-width-40-percent {
        width: 40% !important;
    }

    .mobile-width-50-percent {
        width: 50% !important;
    }

    .mobile-width-60-percent {
        width: 60% !important;
    }

    .mobile-width-70-percent {
        width: 70% !important;
    }
}


/*additional strles - User Management*/

.button-properties {
    min-width: 6rem !important;
    font-size: small !important;
    height: 2.2rem !important;
}


.app-name-style {
    display: inline-block;
    color: #9A0007;
    font-weight: 500;
    font-size: 12px;
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 0.75rem;
    font-style: italic;
    font-family: 'Fira Sans';
    letter-spacing: 0.6px;
    line-height: 14.4px;
}

.imgtitleS {
    height: 40px;
    width: 45px;
    display: inline-block;
    padding-top: 2px;
}

.titleS {
    margin-top: -52px;
    padding-left: 50px;
    line-height: 0.8;
    padding-top: 20px;
}

.azdhsS {
    display: inline-block;
    font-weight: 400;
    font-size: 15px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    color: #000000;
    font-family: 'Abel';
    letter-spacing: 0.1px;
}

.btnActionLink {
    border-radius: 0px;
    border-color: #b92928;
    color: #b92928;
    border-radius: .25rem;
    height: 2.2rem;
}

    .btnActionLink:hover {
        background-color: #b92928;
        color: #ffffff;
    }

.boxshadow {
    border: 1px solid rgba(0,0,0,.125);
    /*box-shadow: 1px 2px 2px 1px #9d9a9a;*/
}

.wid40 {
    width: 60%;
}

.wid90 {
    width: 90%;
}

.float-right {
    float: right;
}

.text-right {
    text-align: right;
}

.btnpx {
    padding: 6px 35px;
}

.pl-0 {
    padding-left: 0px;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom-color: #d4d4d4 !important;
}

.input-group-text {
    background-color: #fff !important;
    font-weight: 700 !important;
    font-size: small !important;
}

.input-height {
    height: 38px !important;
}

.btnActionClear {
    border: 0;
    background-color: #e9ecef;
    color: #dc3545;
}
