/*Top Level CSS*/
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html {
    font-size: 14px;
}

body {
    height: 100vh;
    width: 100vw;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#bodyDiv {
    height: 100% !important;
    overflow: hidden;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
    position: relative;
    min-height: 100%;
}
/*Top Level CSS*/

#scrollWrapper {
    overflow: scroll;
}

/*General Layout CSS Classes*/
.mobileDivElements {
    padding-left: 10px;
}

.fullHeight {
    height: 100%;
}

.fullWidth {
    width: 100% !important;
}

.no-margin {
    margin: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.p-r-0 {
    padding-right: 0 !important;
}

.p-l-0 {
    padding-left: 0 !important;
}

.display-none {
    display: none;
}

.display-block {
    display: block;
}

@media (max-width: 767px) {
    .hidesm {
        display: none;
    }
}

.box-shaddow-nav {
    box-shadow: 0 0 2px rgba(0,0,0,.5);
}

.dark-blue-bg {
    background-color: #023056 !important;
    color: #FFF !important;
}

.med-blue-bg {
    background-color: #236092 !important;
    color: #FFF !important;
}

.light-blue-bg {
    background-color: #7BADD3 !important;
    color: #FFF !important;
}

.dark-blue-bg a, .dark-blue-bg span, .dark-blue-bg i {
    color: #FFF !important;
}

.med-blue-bg a, .med-blue-bg span {
    color: #FFF !important;
}

.med-blue-bg i {
    --rz-grid-header-filter-icon-active-color: #a0ccf2 !important;
    color: #fff;
}

.med-blue-bg i:active {
    color: #fff !important;
}

.med-blue-bg div > .rz-grid-filter-active i {
    color: #a0ccf2 !important;
    background-color: #a0ccf2 !important;
}

.med-blue-bg-active i {
    color: #a0ccf2 !important;
}

.light-blue-bg a, .light-blue-bg span, .light-blue-bg i {
    color: #FFF !important;
}

.blue-heading {
    color: #023056;
}

.orange-heading {
    color: #D4623B;
}

.clearfix {
    clear: both;
}

.overflow-style {
    overflow: auto;
}

.loading-overlay {
}

/* Remove bottom radius on top-level nav items when their children are visible */
.nav-top-expanded {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.module-switch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 48, 86, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: wait;
}

    .module-switch-overlay .spinner-border {
        width: 3.5rem;
        height: 3.5rem;
        border-width: 0.35em;
        color: #fff;
    }

.add-toppadding-4 {
    padding-top: 4% !important;
}

.fSet {
    border: 2px solid #003057 !important;
}

.leg {
    margin: 10px !important;
}

.boxContainer {
    width: 40%;
}
.pad-top-small {
    margin-top: 2px !important;
}

.pad-top-small-single {
    margin-top: 8px !important;
}

.nowrap {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.awesomplete > ul {
    max-height: 150px !important;
    overflow-y: auto !important;
}

.font-14 {
    font-size: 14px !important;
}

.inline {
    display: inline-block;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.width-55 {
    width: 55%;
}

.margin-top-10 {
    margin-top: 10px;
}

.valign-top {
    vertical-align: top;
}

.two-line-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 1389px) {
    .buttonDisplayFullText {
        display: none;
    }

    .buttonDisplayIconOnly {
        display: block;
    }
}

@media (min-width: 1390px) {
    .buttonDisplayFullText {
        display: block;
    }

    .buttonDisplayIconOnly {
        display: none;
    }
}

.modal-dialog-popup {
    max-width: 80vw !important; /* Override Bootstrap's max-width */
    margin: 5vh 10vw 5vh 10vw !important; /* Remove default margins */
}

.modal-content-popup {
    height: 90vh; /* Optional: full viewport height */
}

.modal-header-popup {
    background-color: #023056 !important;
    color: #fff !important;
}

.modal-body-popup {
    overflow: scroll;
}

/* Circle container */
.circle-choice {
    width: 25px; /* Circle width */
    height: 25px; /* Circle height */
    border-radius: 50%; /* Makes it a circle */
    border: 1px solid black; /* Circle border */
    display: flex; /* Center content horizontally & vertically */
    align-items: center;
    justify-content: center;
    background-color: white; /* Circle background */
    color: black; /* Letter color */
}

/*General Use CSS Classes*/

/*Buttons*/
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

button {
    border: none !important;
    margin: 3px;
}

.default-button {
    background-color: #003057 !important;
}

.light-blue-button {
    background-color: #7BADD3 !important;
}

button.no-bg {
    background: none;
    border: none;
    color: #FFF;
}

button i {
    margin-right: 4px;
}

.button-no-text i {
    margin-right: 0px !important;
}

button.blue-button {
    background-color: #023056;
    color: #FFF;
    border-radius: 5px;
    font-weight: bold;
    padding: 3px 8px;
}
/*Buttons*/

/*Headers*/
.h7 {
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
    font-size: 1em;
}

h5 {
    font-size: 1.2rem;
}
/*Headers*/

/*Links*/
a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}
/*Links*/

/*Misc Radzen Overrides not in other CSS*/
.static-field .rz-form-field-label {
    right: auto;
    top: var(--rz-form-field-label-floating-top);
    padding-top: 0;
    padding-bottom: 0;
    transform: translate(0, 0);
    color: var(--rz-input-placeholder-color);
    background-color: var(--rz-form-field-label-floating-background-color);
    font-size: 0.75rem;
    line-height: 1rem;
    max-width: calc(100% - 1.5rem);
}

.rz-button.rz-info.rz-shade-default {
    background-color: #889696 !important;
    color: var(--rz-on-info);
}

.rz-datatable-emptymessage {
    background-color: #e9edf0 !important;
}

.rz-datatable-emptymessage-row {
    background-color: #e9edf0 !important;
}

.rz-fieldset-content {
    padding: 0px !important;
}

.rz-button.rz-info.rz-shade-default {
    background-color: #889696 !important;
    color: var(--rz-on-info);
}

.rz-fieldset-legend {
    margin-inline: 7px !important;
    padding-inline: 2px !important;
    font-size: 0.75rem !important;
}

.rz-fieldset {
    border-radius: 4px !important;
}

.rz-fieldset-content-wrapper {
    overflow: hidden;
    margin-top: -5px !IMPORTANT;
}

.rz-data-row {
    cursor: pointer !important;
}

.rz-rowCondensed {
    row-gap: 2px;
}

.rz-filterlabel-fontsize {
    font-size: 0.875rem !important;
}
/*Misc Radzen Overrides not in other CSS*/

/* Other UI Overrides */
.width-90 {
    width: 90% !important;
}

.width-95 {
    width: 95% !important;
}

.width-96 {
    width: 96% !important;
}

.width-97 {
    width: 97% !important;
}

.rightlbl {
    line-height: 35px;
    text-align: right;
    padding-right: 6px;
}

.leftlbl {
    line-height: 35px;
    text-align: left;
    padding-left: 6px;
}

.lblbold {
    font-weight: bold;
}

.lbl {
    line-height: 35px;
    justify-items: center;
}

.no-wrap-row {
    flex-wrap: nowrap !important;
}

.justifyChkRight {
    display: flex !important;
    justify-content: flex-start !important; /* Horizontally center */
    align-items: center !important; /* Vertically center */
}

.rightheader {
    width: 100% !important;
    text-align: right !important;
}

.cntrRow {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
}
/* End Other UI Overrides */

/*Specific Page CSS*/
#instruc {
    width: 75%;
    padding: 15px;
    background: #b9def7;
    margin-left: 20px;
    margin-top: 30px;
}

#instrucrd {
    width: 75%;
    padding: 15px;
    background: red;
    color: white !important;
    margin-left: 20px;
    margin-top: 20px;
}

.kinfo {
    margin-top: 15px;
    background: #e9e9e9;
    width: 100%;
}

.kinfo_td {
    border: none;
    color: #838383;
}

.kinfo_dropdown {
    background-color: #c3c3c3 !important
}

.kanspan {
    margin-left: 10px;
}

.ktable {
    margin-top: 15px;
    width: 100% !important;
}

.ktablehead tr td {
    background: #72c0f5;
    padding: 3px 5px;
    color: white;
}

.ktable_tags {
    display: flex;
    justify-content: space-between;
}

#instructrd ul {
}

.olclass {
    display: block !important;
    float: none !important;
    line-height: 17px !important;
    position: static !important;
    padding-left: 20px !important;
    width: auto !important;
}

.olclass li {
    display: list-item !important;
    float: none !important;
    line-height: 17px !important;
    position: static !important;
    list-style: decimal !important;
}

.olclassx {
    display: block !important;
    float: none !important;
    line-height: 17px !important;
    position: static !important;
    padding-left: 20px !important;
    width: auto !important;
    margin-bottom: 5px;
}

.mgn10p {
    margin-top: 10px !important;
}

.olclassx li {
    display: list-item !important;
    float: none !important;
    line-height: 17px !important;
    position: static !important;
    list-style: disc !important;
}

.search-section .field label {
    width: 140px;
    float: left;
    font-weight: bold;
}

.search-section .field input,
.search-section .field select,
.search-section .field textarea {
    float: left;
    min-width: 150px;
}

.search-section .button-group {
    float: right;
    margin: .5em;
}

.mapPopup td, th {
    border: 0px !important;
}

.bi {
    width: 2rem;
}

.bi-layout {
    width: 100%;
    height: 100%;
    max-width: 2000px;
    padding-top: 25px;
}

.assetList option {
    font-weight: 600 !important;
}

.assetList option:nth-child(1) {
    color: DarkOrchid !important;
}


.assetList option:nth-child(2) {
    color: Red !important;
}

.assetList option:nth-child(3) {
    color: Blue !important;
}

.assetList option:nth-child(4) {
    color: Green !important;
}

.assetList option:nth-child(5) {
    color: mediumturquoise !important;
}

.assetList option:nth-child(6) {
    color: Maroon !important;
}

.assetList option:nth-child(7) {
    color: Tomato !important;
}

.assetList option:nth-child(8) {
    color: DeepSkyBlue !important;
}

.assetList option:nth-child(9) {
    color: darkolivegreen !important;
}

.assetList option:nth-child(10) {
    color: HotPink !important;
}

.mapPopup ol, ul, menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mapPopup a {
    color: #007bff !important;
}

.errorLabel {
    color: red !important;
    margin-left: 5px;
    text-align: center !important;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}
/*Specific Page CSS*/

/*Tables*/
table th {
    background-color: #236092;
    color: #FFF !important;
    font-weight: bold !important;
}

table td, th {
    border: 1px solid rgba(21,41,64,0.2);
    padding: 3px 6px;
}
/*Tables*/

/*Footer*/
footer {
    height: 4vh;
}

footer div {
    margin: 10px auto;
    width: 124px;
    height: 30px;
}

footer div.logo-sm {
background-image: url(/images/logo-sm.png);
background-repeat: no-repeat;
}
/*Footer*/

/*Accordion*/
.accordion-text-inline span {
    color: #7BADD3;
    font-weight: bold;
    cursor: pointer !important;
}

.accordion-text-inline span:hover {
    color: #023056;
    font-weight: bolder;
}

.accordion-text-inline span:active {
    color: #7BADD3;
    font-weight: bolder;
}
/*Accordion*/

/*Pager*/
.pager-container {
    position: relative; /* Enables positioning of child elements */
}

.pager-overlay {
    position: absolute; /* Position relative to the container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1; /* Ensures it appears above the base component */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; /* Text color for visibility */
    font-size: 18px;
}
/*Pager*/

/* Loader Animation */
.loader-container-text {
    flex-basis: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    position: fixed;
    width: 90%;
    top: 25%;
    left: 43%;
    margin-left: -37.5%;
}

.loader-container {
    flex-basis: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    position: fixed;
    width: 90%;
    top: 30%;
    left: 43%;
    margin-left: -37.5%;
}

.loader-container-text-sub {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-container-sub {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot-loader {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #052F5F;
    position: relative;
    -webkit-animation: 1.2s scaleDown ease-in-out infinite;
    animation: 1.2s scaleDown ease-in-out infinite;
}

.dot-loader:nth-child(2) {
    margin: 0 15px;
    -webkit-animation: 1.2s scaleDown ease-in-out infinite .15555s;
    animation: 1.2s scaleDown ease-in-out infinite .15555s;
}

.dot-loader:nth-child(3) {
    -webkit-animation: 1.2s scaleDown ease-in-out infinite .300000s;
    animation: 1.2s scaleDown ease-in-out infinite .300000s;
}

@-webkit-keyframes scaleDown {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scaleDown {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
/* End - Loader Animation*/

/* Error CSS Classes */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/*Other Nav*/
.nav-item-page {
    padding-bottom: 0px !important;
    margin-bottom: -1px !important;
    font-size: 1rem !important;
    height: auto !important;
    line-height: normal !important;
}

.nav-item-page:last-of-type {
    padding-bottom: 0px !important;
}

.nav-item-page:first-of-type {
    padding-top: 0px !important;
}

.nav-tabs .nav-link.active {
    background-color: #003057 !important;
    border-color: #dee2e6 #dee2e6 #fff !important;
}

.nav-tabs .nav-link {
    color: #fff !important;
    background-color: #005aa4;
    border: 0px !important;
    border-color: #dee2e6 #dee2e6 #fff;
}

 .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #fff !important;
}

.nav-tabs {
    border-bottom: 13px solid #003057 !important;
}
/*Other Nav*/

/* =======================================
   Home Dashboard
   ======================================= */
.home-dashboard {
    padding: 2.5rem 3rem;
    background-color: #f8f9fa;
    min-height: 100%;
    overflow-y: auto;
}
/* Welcome */
.home-welcome {
    margin-bottom: 2rem;
}

.home-welcome-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 0.25rem;
}

.home-welcome-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}
/* Section */
.home-section {
    margin-bottom: 2.5rem;
}

.home-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 1rem;
}
/* Shortcuts */
.home-shortcuts-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-shortcuts {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.home-shortcuts-empty {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

.home-shortcuts-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8eef5;
    border: 1px solid #c8d8e8;
    border-radius: 50%;
    color: #1a3a5c;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.15s;
    padding: 0;
}

    .home-shortcuts-arrow:hover:not(:disabled) {
        background-color: #c8d8e8;
    }

    .home-shortcuts-arrow:disabled {
        opacity: 0.35;
        cursor: default;
    }

.home-shortcuts-arrow-hidden {
    visibility: hidden;
    pointer-events: none;
}

.home-shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
}

.home-shortcut-icon {
    width: 64px;
    height: 64px;
    background-color: #c8d8e8;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #1a3a5c;
    transition: background-color 0.15s;
}

.home-shortcut-item:hover .home-shortcut-icon {
    background-color: #a8c0d8;
}

.home-shortcut-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    max-width: 72px;
}
/* Module Grid */
.home-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.home-module-card {
    background: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-module-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-module-icon {
    width: 48px;
    height: 48px;
    background-color: #c8d8e8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.4rem;
    color: #1a3a5c;
    flex-shrink: 0;
}

.home-module-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a3a5c;
}

.home-module-description {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
    flex: 1;
    margin: 0;
}

.home-module-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.home-module-link {
    color: #3a6ea5 !important;
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 500;
}

    .home-module-link:hover {
        text-decoration: underline;
        color: #1a3a5c;
    }

@media (max-width: 992px) {
    .home-modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .home-dashboard {
        padding: 1.5rem;
    }

    .home-modules-grid {
        grid-template-columns: 1fr;
    }
}
