html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
}

.background {
    position: relative;
    /*overflow: hidden;*/
    z-index: 1;
}

body {
    content: "";
    /*margin-bottom: 60px;*/
    background-image: url('../images/ocp camo pattern.png');
    background-size: auto; /*Cover entire viewport */
    padding: 0;
}

.domLogo {
    width: 6%;
}

.background-overlay {
    background-image: none;
    background-position: center;
}

.footerImage {
    width: 15%;
    padding: 2% 2% 2% 2%;
}

#userGreeting {
    display: inline;
    float: left;
    font-size: x-large
}

.centered {
    text-align: center;
}

#footer {
    position: relative;
}

#pagingSection {
    padding-top: 2%;
}

#DOMFooter {
    text-align: center;
    margin-top: 2%;
    position: relative;
}

.headerBar, #DOMFooter {
    /*background-color: #212529;*/
    color: white;
    background-color: rgba(0, 0, 0, 0.75); /* semi-transparent black */
}

.header {
    margin-bottom: 2%;
}

.body-container {
    padding-top: 15%;
}

.container {
    margin-bottom: 1%;
    padding: 0px 0px 10px 0px;
}

#studentReminder, #applicationStatusContainer, #submitButton {
    text-align: center;
}

a.sort-link {
    text-decoration: none;
}

    a.sort-link.firstNameHeader:hover,
    a.sort-link.firstNameHeader:focus {
        text-decoration: none;
    }

#tblApplicationAdmin {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid grey;
}

    #tblApplicationAdmin td {
        border: 1px solid grey;
        padding: 6px 8px;
    }

    #tblApplicationAdmin th {
        border-bottom: 1px solid grey;
        padding: 6px 8px;
    }

.req {
    color: red;
    font-weight: bold;
}

.reqMessage {
    color: red;
}

#uploadRequirements, #studentIDRequirements {
    color: red;
}

#uploadRequirements {
    padding-bottom: 1%;
}

#submitButton {
    padding-top: 1%;
}

#militaryInformationSection, #schoolInformationSection, #classScheduleUploadSection, #schoolMilMixInformationSection, #classScheduleTableSection {
    font-size: 16px;
}

.borderControl {
    border: solid;
    border-color: cadetblue;
    padding: 2% 2% 2% 2%;
    margin: 1% 0% .5% 0%;
    background-color: rgba(211, 211,211, 0.8);
    border-radius: 10px;
    overflow: visible;
}

#dropdown, #datePicker, #textbox {
    width: 100%;
    height: 23px;
}

#exportButton {
}

.btn, .AddBtn {
    background-color: #EFEFEF;
    outline-color: black;
    outline: solid;
    outline-width: .5px;
    color: black;
}

    .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;
    }

.btnLogOut {
    min-width: 20%;
}

.btnOnHomePage {
    width: 50%;
}

.approveDenyBtn {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    margin: 3% 0% 3% 0%;
    color: white;
}

.approveBtn {
    background-color: green;
    color: white;
}

.denyBtn {
    color: red;
}

#uploadInput {
    display: none;
}

#schoolUsersInformationSection {
    display: inline-block;
}

#studentTableHeader, .applicationStatusHeader, .header {
    /*font-weight: bold;*/
    text-align: center;
    font-size: 12px;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
}

.creditsRequestedHeader, .creditsApprovedHeader, .refundedAmountHeader, .approveDenyHeader, .actionHeader, .scheduleHeader, .studentSelectorHeader {
    vertical-align: top;
}

.noRecordMessage {
    text-align: center;
}

#ApplicationAdminContianer {
    padding-top: 1%;
}

#sortableHeader thead th {
    text-align: center;
    vertical-align: top;
}

#tblApplicationAdmin thead th .sort-link {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 1% 1% 1% 1%;
}

td.applicationAdminData {
    text-align: left;
    padding-left: 7px;
    padding-right: 7px;
}

#tblApplicationAdminStudentList thead th .sort-link {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 1% 1% 1% 1%;
}

#tblApplicationAdminStudentList {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid grey;
}

td.studentManagementData {
    text-align: left;
    padding-left: 7px;
    padding-right: 7px;
}

#tblApplicationAdminStudentList td {
    border: 1px solid grey;
    padding: 6px 8px;
}

#tblApplicationAdminStudentList th {
    border-bottom: 1px solid grey;
    padding: 6px 8px;
}

.creditHeader {
    text-align: left;
    padding-left: 10px;
}

.creditData {
    text-align: right;
    padding-right: 10px;
}

.semesterYear, .applicationStatus {
    padding-right: 10px;
    text-align: center;
}

tr:nth-child(odd) {
    background-color: lightgrey;
}

tr:nth-child(even) {
    background-color: white;
}

#lblFederalTuition {
    text-align: center;
    color: darkred;
}

.readonly {
    background-color: lightgrey;
}

.modal-backdrop {
    display: none;
    z-index: 1040;
}

.modal-content {
    margin: 2px auto;
    z-index: 1100;
}

.schoolLogo {
    display: flex;
    padding: 7% 3% 7% 3%;
    max-width: 95%;
    max-height: 20%;
    justify-content: center;
    align-items: center;
}

.loginLabels {
    text-align: right;
}

.loginFields {
    height: 80%;
    width: 35%;
    padding-top: 1%;
    padding-bottom: 1%;
    border-radius: 5px;
}

.loginButton {
    width: 50%;
    border-radius: 7px;
    align-items: center;
}

.centerContents {
    align-content: center;
}

.alertMessage {
    text-align: center;
    margin-top: 1%;
    margin-bottom: 1%;
}

#register {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 3% 0% 0% 0%;
}

.btmPadding {
    padding-bottom: 10%;
}

#adminButtons, #exportButton {
    width: 50%;
    margin-top: .5%;
    margin-bottom: .5%;
    text-align: center;
    display: inline-block;
    align-items: center;
    vertical-align: middle;
}

#addSchoolUsersDeleteUser {
    padding-left: 1% 1% 1% 1%;
}

#addSchoolUsersUsername {
    padding-left: 1%;
}

#schoolAdminApprovedLastName {
    padding-left: 1%;
}

#studentApplicationSplashStudentReminder {
    font-size: large;
}

.applicationButtons {
    margin-top: 52px;
}

#unitStudnetDetailsAdjustmentNotes {
    font-size: 12px;
}

#studentManagementTable {
    padding-top: 10px;
    overflow-x: auto;
    display: block;
}

.studentManagementData {
    font-size: small;
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
    overflow-wrap: break-word;
}

.studentManagementHeader {
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    overflow-wrap: break-word;
}

#currentSchoolUsersContainer {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#statusFilter {
    height: 40px;
}

.navigationBar {
    padding-bottom: 1%;
}

.appStatusFilter {
    font-weight: bold;
    font-size: large;
    text-align: center;
    max-height: 10px;
}

#tblApplicationAdmin td.scheduleCell {
    padding: 0;
    width: 5%;
}

    #tblApplicationAdmin td.scheduleCell .scheduleLink {
        display: flex;
        align-items: center; /* vertical center */
        justify-content: center; /* horizontal center */
    }

    #tblApplicationAdmin td.scheduleCell .scheduleLogo {
        display: block;
        max-width: 75%;
        object-fit: contain; /* use 'cover' if you want full fill with possible cropping */
        align-content: center;
    }

.page-loading-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

    .page-loading-overlay.is-visible {
        display: flex;
    }

.page-loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 0.35rem solid #cfd8dc;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: page-loading-spin 0.8s linear infinite;
}

@keyframes page-loading-spin {
    to {
        transform: rotate(360deg);
    }
}


#viewApplicationModal .modal-content {
    border: 2px solid cadetblue;
    background-color: rgba(211, 211,211, 0.8);
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#profileBtn {
    margin: .5% .5% .5% .5%;
}