﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/*.ui-dialog .ui-dialog-titlebar {
    background-color: #345538;*/ /* PCLC green */
    /*color: white;
}*/

/* Base style */
.ui-dialog-titlebar-close {
    background: transparent;
    border: none;
    outline: none;
}

    /* Remove blue background or focus ring */
    .ui-dialog-titlebar-close:focus,
    .ui-dialog-titlebar-close:active {
        background-color: whitesmoke;
        outline: none;
        box-shadow: none;
        border: none;
        color: white;
    }

.ui-dialog .ui-dialog-content {
    font-size: .8em;
}

.pclc-navbar {
    background-color: #345538; /* PCLC green */
    color: white;
}
    .pclc-navbar .navbar-brand,
    .pclc-navbar .nav-link,
    .pclc-navbar .navbar-text {
        color: white;
    }

.form-compact {
    font-size: 0.75rem;
}
    .form-compact .button,
    .form-compact .form-control,
    .form-compact .form-select {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
        height: calc(1.5em + 0.5rem + 2px);
    }

    .form-compact textarea.form-control {
        height: auto;
    }

    .form-compact .form-label {
        margin-bottom: 0.25rem;
        font-weight: normal;
    }

    .form-compact .form-check-input {
        width: 1rem;
        height: 1rem;
        margin-top: 0.2rem;
    }

    .form-compact .form-check-label {
        font-size: 0.875rem;
        margin-left: 0.25rem;
    }

.sortable {
    cursor: pointer;
}

    .sortable.asc::after {
        content: " ▲";
    }

    .sortable.desc::after {
        content: " ▼";
    }

footer.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.button {
    min-width: 120px !important;
    max-width: 120px !important;
}

.button-small {
    font-size: 0.75rem !important;
    width: 80px !important;
    height: 30px !important;
}

scrollable-tbody {
    display: block;
    max-height: 450px;
    overflow-y: auto;
}

.scrollable-tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.fixed-header {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.no-resize {
    resize: none;
}

.error {
    color: red;
    font-size: 0.9em;
    min-height: 25px !important;
    max-height: 25px !important;
    display: flex;
    align-items: center; 
}

.message {
    color: blue;
    min-height: 30px !important;
    max-height: 30px !important;
    display: flex;
    align-items: center;
}

.noLabel{
    padding-top: 10px;
}

.dateTime-column {
    width: 150px !important;
}

.teacher-column {
    width: 200px !important;
}

.note-column {
    width: 300px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.description-column {
    max-width: 500px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feeDescription-column {
    width: 300px !important;
    max-width: 300px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feeCode-column {
    width: 100px !important;
    max-width: 100px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feeGrade-column {
    width: 100px !important;
    max-width: 100px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

input.guardianId {
    min-width: 120px !important;
    max-width: 120px !important;
    pointer-events: none; /* Disables mouse interaction */
    user-select: none; /* Prevents text selection */
    background-color: khaki;
}

input.studentId {
    min-width: 120px !important;
    max-width: 120px !important;
    pointer-events: none; /* Disables mouse interaction */
    user-select: none; /* Prevents text selection */
    background-color: khaki;
}

input.teacherId {
    min-width: 120px !important;
    max-width: 120px !important;
    pointer-events: none; /* Disables mouse interaction */
    user-select: none; /* Prevents text selection */
    background-color: khaki;
}

input.vendorId {
    min-width: 80px !important;
    max-width: 80px !important;
    pointer-events: none; /* Disables mouse interaction */
    user-select: none; /* Prevents text selection */
    background-color: khaki;
}

input.classId {
    min-width: 80px !important;
    max-width: 80px !important;
    pointer-events: none; /* Disables mouse interaction */
    user-select: none; /* Prevents text selection */
    background-color: khaki;
}

input.protected,
input.protected[readonly] {
    pointer-events: none; /* no mouse interaction */
    user-select: none; /* prevent text selection */
    background-color: #FFFF99 !important;
    color: #212529; /* bootstrap body text color */
    opacity: 1 !important; /* undo bootstrap readonly fade */
}

select.protected,
select.protected:disabled {
    pointer-events: none;
    background-color: #FFFF99 !important;
    color: black;
    appearance: none; /* remove dropdown arrow */
    opacity: 1 !important;
}

input.documentName {
    pointer-events: none; /* Disables mouse interaction */
    user-select: none; /* Prevents text selection */
    background-color: khaki;
}

.guardianNotes {
    width: 100%;
    min-height: 250px;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: whitesmoke;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    margin: 0;
}

.studentNotes {
    width: 100%;
    min-height: 175px;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: whitesmoke;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    margin: 0;
}


.small {
    font-size: 0.7rem;
}
 
.small-table {
    font-size: 0.65rem;
}

.input-search {
    min-width: 40% !important;
    max-width: 40% !important;
}

.input-100 {
    min-width: 100px !important;
    max-width: 100px !important;
}

.input-150 {
    min-width: 150px !important;
    max-width: 150px !important;
}

.input-200 {
    min-width: 200px !important;
    max-width: 200px !important;
}

.input-300 {
    min-width: 300px !important;
    max-width: 300px !important;
}

.input-typeSearch {
    min-width: 450px !important;
    max-width: 450px !important;
}

.input-date {
    min-width: 100px !important;
    max-width: 100px !important;
}

.input-schoolYear {
    min-width: 120px !important;
    max-width: 120px !important;
}

.input-period {
    min-width: 100px !important;
    max-width: 100px !important;
}

.integer-numeric {
    min-width: 100px !important;
    max-width: 100px !important;
}

.decimal-numeric {
    min-width: 120px !important;
    max-width: 120px !important;
}

.input-time {
    min-width: 140px !important;
    max-width: 140px !important;
}

.guardian-tab {
    height: 475px !important;
}

.guardian-tab-buttons {
    position: absolute;
    width: 740px;
    bottom: 10px;
}

.student-tab {
    height: 475px !important;
}

.student-tab-buttons {
    position: absolute;
    width: 740px;
    bottom: 10px;
}

.vendor-tab {
    height: 475px !important;
}

.vendor-tab-buttons {
    position: absolute;
    width: 740px;
    bottom: 10px;
}

.teacher-tab {
    height: 475px !important;
}

.teacher-tab-buttons {
    position: absolute;
    width: 740px;
    bottom: 10px;
}

.application-tab {
    height: 585px !important;
}

.application-tab-buttons {
    position: absolute;
    width: 740px;
    bottom: 10px;
}

.registration-tab {
    height: 485px !important;
}

.registration-tab-buttons {
    position: absolute;
    width: 740px;
    bottom: 10px;
}

.schoolYear-tab {
    height: 475px !important;
}

.schoolYear-tab-buttons {
    position: absolute;
    width: 740px;
    bottom: 10px;
}

disabled-cell {
    pointer-events: none;
}

.disabled-cell i {
    opacity: 0.4;
}

.class-tab {
    height: 475px !important;
}

.class-tab-buttons {
    position: absolute;
    width: 740px;
    bottom: 10px;
}

.note-type {
    width: 125px !important;
}

.contact-note-column {
    width: 200px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.class_description {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-table {
    table-layout: fixed;
    width: 100%;
}

.address-heading {
    font-weight: bold;
    border-bottom: solid 1px dimgrey;
}

.class-time {
    width: 110px !important;
}

.days-heading {
    font-size:larger;
    font-weight: bold;
}

.smaller {
    font-size: 0.65rem !important;
}

.footnote {
    color: blue;
    font-size: 0.65rem !important;
    font-style: italic;
}

.section-header {
    font-weight: 700;
    color: #345538; /* PCLC green */
    padding-bottom: 4px;
    margin-bottom: 8px;
    border-bottom: 1px solid #ccc;
}

.small-grid {
    font-size: 0.65rem; /* overall smaller text */
}

    .small-grid .table td,
    .small-grid .table th {
        padding: .25rem .35rem; /* tighter cells */
        line-height: 1.1;
        vertical-align: top;
    }

    .small-grid .btn {
        padding: .1rem .35rem; /* smaller buttons */
        font-size: 0.75rem;
    }

    .small-grid .small {
        font-size: 0.72rem;
    }

.classScheduling-tooltip .tooltip-inner {
    font-size: 0.70rem;  
    line-height: 1.2;
    text-align: left;  
    max-width: 500px;  
    padding: 0.35rem 0.5rem;  
}

.feeEdit-tooltip .tooltip-inner {
    font-size: 0.70rem;
    line-height: 1.2;
    text-align: left;
    max-width: 350px;
    padding: 0.35rem 0.5rem;
}

.classFeecode-tooltip .tooltip-inner {
    font-size: 0.70rem;
    line-height: 1.2;
    text-align: left;
    max-width: 400px;
    padding: 0.35rem 0.5rem;
}

.classCompanionClass-tooltip .tooltip-inner {
    font-size: 0.70rem;
    line-height: 1.2;
    text-align: left;
    max-width: 300px;
    padding: 0.35rem 0.5rem;
}

.classCategory-tooltip .tooltip-inner {
    font-size: 0.70rem;
    line-height: 1.2;
    text-align: left;
    max-width: 200px;
    padding: 0.35rem 0.5rem;
}

.vendorEdit-tooltip .tooltip-inner {
    font-size: 0.70rem;
    line-height: 1.2;
    text-align: left;
    max-width: 21
    "?; 
        
        " 5px;
    padding: 0.35rem 0.5rem;
}

.mySchedule-frame {
    min-width: 720px;
}

.mySchedule-table {
    min-width: 720px;
}

    /* Period column (1st column) */
    .mySchedule-table th:first-child,
    .mySchedule-table td:first-child {
        min-width: 70px;
        width: 70px; /* optional, helps keep it consistent */
        white-space: nowrap;
    }

    /* Day columns (columns 2+) */
    .mySchedule-table th:nth-child(n+2),
    .mySchedule-table td:nth-child(n+2) {
        min-width: 130px;
    }

/* registration bubble base */
#wizardProgress .wizard-bubble {
    width: 34px;
    height: 34px;
    border: 2px solid #0d6efd;
    background: transparent;
    color: #0d6efd;
}

/* active/done state */
#wizardProgress .wizard-step.is-active .wizard-bubble,
#wizardProgress .wizard-step.is-done .wizard-bubble {
    background: #0d6efd;
    color: #fff;
}

#wizardProgress .wizard-step.is-active .wizard-title {
    font-weight: 700;
}

.bell-input-time {
    width: 100px !important;
    max-width: 100px !important;
}

.bell-input-period {
    width: 100px !important;
    max-width: 100px !important;
}

.form-check.bell-checkbox {
}

    .form-check.bell-checkbox > .form-check-input {
        margin-top: 0.1em;
    }

    .form-check.bell-checkbox > .form-check-label {
        margin-left: 0.25rem;
    }

/* Disable all accordion toggles + mute the headers */
.accordion.accordion-disabled .accordion-button {
    pointer-events: none;
    opacity: 0.35 !important;
}

    .accordion.accordion-disabled .accordion-button::after {
        opacity: 0.35 !important;
    }

.student-image-frame {
    display: inline-block !important;
    width: auto !important;
    flex: 0 0 auto !important; /* if any parent is flex */
    align-self: flex-start !important;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f8f9fa;
}

    .student-image-frame img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.badge-sm-plus {
    font-size: 0.7rem;
    font-weight:500;
}