html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media print {
    .container {
        padding-left: unset !important;
        padding-right: unset !important;
        max-width: unset !important;
    }
    .noPrint {
        display: none !important;
    }
}

@media screen {
    .onlyPrint {
        display: none !important;
    }
}



.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;
}
.nav-tabs .nav-link.active {
    color: white;
    background-color: #5ba7fa;
}

.btn-primary:disabled, .btn-primary.disabled {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
    color: #6c757d !important;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 30px;
}

.bg-green {
    background-color: #8BC751;
}

.e-columnheader {
    background-color: #8BC751;
    border-bottom: 1px solid #000000;
}

.e-hide {
    display: none;
}

.e-rowcell {
    cursor: pointer;
}

.e-row:hover {
    color: #0a58ca;
    /* background-color: #E7FFCC; */
}

.e-altrow {
    background-color: #CCCCCC;
}
.form-floating1 {
    padding-bottom: 4px;
}
.popupSelect {
    background-color: #CCCCCC;
    border: 1px solid grey;
    border-radius: 5px;
}
.dropdown-menu {
    z-index: 1100 !important;
}
.btn-nospace {
    padding: 0 0 !important;
    border-radius: 0px !important;
}

.fs-small {
    font-size: 0.6rem;
}
.fs-medsmall {
    font-size: 0.8rem;
}

[x-cloak] {
    display: none !important;
}

.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
.helpdiv {
    padding: 0px;
}

.helpTextBox {
    font-size: 11px;
    background-color: white;
    border-style: solid;
    border-color: green;
    border-width: 1px;
    border-radius: 4px;
    padding: 4px;
    z-index: 999;
}
.fs-7 {
    font-size: 0.9rem !important;
}
.fs-8 {
    font-size: 0.8rem !important;
}
.fs-9 {
    font-size: 0.7rem !important;
}
.fs-10 {
    font-size: 0.6rem !important;
}
.custom-switch .form-check-input {
    height: 2em;
    width: 3.5em;
    position: relative;
    background-color: #ccc; /* Off state background */
    border-color: #ccc;
    transition: background-color 0.3s ease;
}

    .custom-switch .form-check-input::after {
        content: "No";
        position: absolute;
        top: 50%;
        left: 0.5em; /* Adjust handle position */
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        height: 1.5em; /* Adjust handle size */
        width: 1.5em; /* Adjust handle size */
        border-radius: 50%;
        background-color: #fff; /* Handle color */
        color: red; /* Text color */
        font-size: 0.75em; /* Adjust text size */
        transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    }

    .custom-switch .form-check-input:checked {
        background-color: green; /* On state background  */
        border-color: green;
    }

        .custom-switch .form-check-input:checked::after {
            content: "Yes"; /* Text for on state */
            left: 1em; /* Adjust handle position */
            transform: translateY(-50%) translateX(1.5em); /* Move handle to the right */
            color: green; /* Text color for on state */
        }

    .custom-switch .form-check-input:focus {
    }
/* Optional: Hide the default label text if you only want the text within the switch */
.custom-switch .form-check-label {
    display: none;
}
/* TinyMCE*/
.tox-promotion {
    display: none;
}

.tox-statusbar__branding {
    display: none;
}

div.dt-processing {
    z-index: 1050 !important; /* Forces it over headers and scrollers */
    top: 50px !important; /* Distance from the very top of the table wrapper */
    position: absolute;
    left: 50%;
}
.form-control:read-only {
    background-color: #e1e1e1;
    border-color: #495057; /* Subdued border */
}
.w-10 {
    width: 10% !important;
}
.w-40 {
    width: 40% !important;
}
.form-label-x {
    background-color: #e1e1e1;
    border-color: #495057;
    border-radius: .375rem;
    border: 1px solid #ced4da;
    background-clip: padding-box;
    padding: .375rem .75rem;
    color: #212529;
}
.ellipsis {
    display: block; /* Must be a block or inline-block element */
    white-space: nowrap; /* Forces the text to stay on a single line */
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) {
    .w-md-25 {
        width: 25% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-100 {
        width: 100% !important;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) {
    .w-lg-25 {
        width: 25% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-100 {
        width: 100% !important;
    }
}
