﻿/* --- General Styles --- */
.HeaderLog {
    height: 80%;
    width: 80%;
    object-fit: contain;
    object-position: 25% 50%;
    padding-top: 21px;
}

th {
    font-weight: bold;
}

.container {
    background-color: white;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 90%;
    color: #B30000;
}

/* --- Keenthemes Framework Overrides --- */
.kt-wizard-v2 .kt-wizard-v2__aside {
    padding: 0.9rem 2.5rem 4.5rem 1.5rem;
    flex: 0 0 250px;
    background: #505050;
}

.kt-wizard-v2 .kt-wizard-v2__wrapper .kt-form {
    width: 100%;
    padding: 0rem 4rem 3rem;
}

.kt-wizard-v2 .kt-wizard-v2__aside .kt-wizard-v2__nav .kt-wizard-v2__nav-items .kt-wizard-v2__nav-item .kt-wizard-v2__nav-label .kt-wizard-v2__nav-label-title {
    color: white;
    font-size: 1.0rem;
}

.kt-wizard-v2 .kt-wizard-v2__aside .kt-wizard-v2__nav .kt-wizard-v2__nav-items .kt-wizard-v2__nav-item[data-ktwizard-state="current"] .kt-wizard-v2__nav-body .kt-wizard-v2__nav-label .kt-wizard-v2__nav-label-title {
    color: black;
}

.kt-wizard-v2 .kt-wizard-v2__aside .kt-wizard-v2__nav .kt-wizard-v2__nav-items .kt-wizard-v2__nav-item .kt-wizard-v2__nav-body .kt-wizard-v2__nav-icon {
    font-size: 1.1rem;
    margin-right: 1.1rem;
}

.kt-wizard-v2__nav-label {
    color: white;
}

.kt-aside-menu .kt-menu__nav {
    padding: 0px 0px 5px 0px;
}

    .kt-aside-menu .kt-menu__nav > .kt-menu__item .kt-menu__submenu .kt-menu__item > .kt-menu__link .kt-menu__link-icon {
        color: #fff !important;
    }

    .kt-aside-menu .kt-menu__nav > .kt-menu__section .kt-menu__section-text {
        color: #0A4FC6;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .kt-aside-menu .kt-menu__nav > .kt-menu__section {
        background-color: #fff;
    }

.kt-aside .kt-aside-menu {
    padding: 0px 0px 15px 0px;
}

.kt-radio.kt-radio--brand > input:focus ~ span {
    box-shadow: 0 0 4px 1px #5867dd !important;
}

/* --- Datatable Header Overrides --- */
table.dataTable thead > tr {
    background-color: #f0f1f5;
}

    table.dataTable thead > tr > th.sorting,
    table.dataTable thead > tr > th.sorting_desc,
    table.dataTable thead > tr > th.sorting_asc {
        color: #525675;
    }

/* --- Buttons and Focus Styles --- */
.btn-info {
    color: #fff;
    background-color: #5867dd;
    border-color: #5867dd;
}

.btn-primary:focus,
#btnNewCovid:focus,
#btnPrintForm:focus,
.btn .btn-clean:focus {
    border: 2px solid #1123b6;
}

button:disabled {
    cursor: not-allowed;
}

/* --- Miscellaneous and Utility Classes --- */
.checkboxwithTextInput {
    margin-top: 10px;
}

#dvLayoutInfo {
    margin-top: 5px;
}

.marquee {
    background-color: yellow;
}

.displayformat {
    font-size: 18px;
    font-style: italic;
}

.largefont {
    font-size: large;
}

.popover-body {
    color: #000;
}

.nopading {
    padding: 0px !important;
}

.providorBorder {
    border-bottom: 1.5px solid #ebedf2 !important;
}

.centerelement {
    text-align: center;
}

.leftelement {
    text-align: left;
}

/* --- Modal Styles --- */
.modal-open .modal {
    overflow: hidden !important;
}

.newproviderModalbody {
    overflow-y: auto;
    max-height: 400px;
}

.newproviderModalcontent {
    width: 700px;
}

/* --- Accessibility Skip Link --- */
.skip-link, .skip-link a {
    background: #f2f3f8;
    color: #346d9c;
    font-weight: 700;
    z-index: 4000;
    border: 2px solid white;
    white-space: nowrap;
    border-radius: 2px;
    left: 100%;
    padding: 4px;
    position: absolute;
    transform: translateY(-100%);
    transition: transform 0.2s;
}

    .skip-link:focus {
        transform: translateY(0%);
    }

/* --- Tooltip Styles --- */
.info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 2px;
}

.info-icon {
    color: #007bff;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid #007bff;
    border-radius: 50%;
    width: 0.8em;
    height: 0.8em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    vertical-align: super;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 140%;
    left: 50%;
    margin-left: -110px;
    transition: opacity 0.3s ease;
}

.info-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


/* --- Loader Animation --- */
.loader {
    height: 20px;
    width: 250px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.loader--dot {
    animation-name: loader;
    animation-timing-function: ease-in-out;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    background-color: black;
    position: absolute;
    border: 2px solid white;
}

    .loader--dot:first-child {
        background-color: #8cc759;
        animation-delay: 0.5s;
    }

    .loader--dot:nth-child(2) {
        background-color: #8c6daf;
        animation-delay: 0.4s;
    }

    .loader--dot:nth-child(3) {
        background-color: #ef5d74;
        animation-delay: 0.3s;
    }

    .loader--dot:nth-child(4) {
        background-color: #f9a74b;
        animation-delay: 0.2s;
    }

    .loader--dot:nth-child(5) {
        background-color: #60beeb;
        animation-delay: 0.1s;
    }

    .loader--dot:nth-child(6) {
        background-color: #fbef5a;
        animation-delay: 0s;
    }

.loader--text {
    position: absolute;
    top: 200%;
    left: 0;
    right: 0;
    width: 4rem;
    margin: auto;
}

    .loader--text:after {
        content: "Loading";
        font-weight: bold;
        animation-name: loading-text;
        animation-duration: 3s;
        animation-iteration-count: infinite;
    }

@keyframes loader {
    15% {
        transform: translateX(0);
    }

    45% {
        transform: translateX(230px);
    }

    65% {
        transform: translateX(230px);
    }

    95% {
        transform: translateX(0);
    }
}

@keyframes loading-text {
    0% {
        content: "Loading";
    }

    25% {
        content: "Loading.";
    }

    50% {
        content: "Loading..";
    }

    75% {
        content: "Loading...";
    }
}

/* =================================== */
/* ========== PRINT STYLES =========== */
/* =================================== */

@media print {
    /* 1. Force all colors and backgrounds to print exactly as they appear on screen */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* 2. Style all standard text fields for clarity */
    input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
    textarea,
    select {
        color: #000000 !important;
        border: 1px solid #000 !important; /* Made border darker */
        background-color: #ffffff !important;
        -webkit-appearance: none;
        appearance: none;
    }

    /* 3. Force custom-styled radio buttons and checkboxes to print correctly */

    /* Style the visible box/circle of the custom control */
    .kt-radio > span,
    .kt-checkbox > span {
        border: 1px solid #000 !important; /* Make the outer circle/square black */
        background-color: #fff !important;
    }

    /* Style the inner dot/checkmark when the hidden input is checked */
    .kt-radio > input:checked ~ span::after,
    .kt-checkbox > input:checked ~ span::after {
        background-color: #000 !important; /* Make the dot/check black */
        border-color: #000 !important;
        opacity: 1 !important;
    }
}
}
