@charset "utf-8";

* { font-family: "Open Sans", sans-serif; font-weight: 100; }

a { font-weight: 400; text-decoration: none; color: rgb(52, 116, 219); }

a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-weight: bold; color: rgb(52, 116, 219); }

h3 { color: rgb(111, 111, 111); }

body, html { margin: 0px; padding: 0px; min-height: 100%; min-width: 100%; background-color: rgb(255, 255, 255); }
body { display: flex; flex-direction: column; min-height: 100vh; }

header { display: block; position: absolute; top: 0px; left: 0px; width: 100%; background-color: white; padding: 0px; margin: 0px; clear: both; }

header h1 { font-size: 16px; }

#header-menu > #login-form { position: absolute; right: 0px; top: 0px; height: 60px; background-color: white; line-height: 60px; vertical-align: middle; }

#header-menu h1 { margin: 0px; padding: 0px; position: relative; left: 5vw; float: left; }

#header-menu h1 a { font-weight: bold; text-decoration: none; }

#header-menu h1 a img { margin-top: auto; margin-bottom: auto; }

#login-form input { padding: 5px; margin: 3px; box-sizing: border-box; border: 1px solid rgb(52, 116, 219); font-size: 0.75em; border-radius: 5px; }

#login-form input[type="submit"] { font-weight: bold; text-align: center; background: linear-gradient(rgb(69, 72, 77) 0%, rgb(0, 0, 0) 100%); color: rgb(255, 255, 255); border: 1px solid rgb(68, 68, 68); border-radius: 0px; }

#header-menu #cssmenu { position: relative; left: 10vw; }

footer { width: 100%; height: 200px; display: block; box-sizing: border-box; margin: 0px; padding: 0px 15vw; background-color: rgb(34, 34, 34); overflow-y: hidden; }

footer a { color: rgb(221, 221, 221); padding: 0.25vh 0px 0.35vh; display: inline-block; overflow: auto; }

footer li { width: 20vw; margin: 0px; padding: 0px; list-style: none; }

footer ul { float: left; margin: 2vh 5vw 0px 0px; display: inline-block; width: 20vw; }

.information-section { width: 60vw; margin: 120px auto; text-align: justify; }

.information-section { min-height: 35vh; box-sizing: border-box; margin: 120px auto; width: 60vw; }

.information-section .two-column-info { border-collapse: collapse; max-width: 80vw; margin: 5vw auto; }

.information-section .two-column-info td { font-size: 1.5em; padding: 8px; }

.information-section .two-column-info tr td:first-child { font-weight: bold; text-align: right; border-right: 1px solid rgb(52, 116, 219); vertical-align: top; }

.information-section .two-column-info tr td:last-child { font-weight: 100; text-align: left; vertical-align: top; }

.two-column-info ul { margin-top: 0px; }

#wrapper { flex: 1 0 auto; }
footer { flex-shrink: 0; }

.tabular-information { margin: 5vh auto; border-collapse: collapse; }

.tabular-information th { font-weight: bold; padding: 0.2em 0.2em 0.2em 0.6em; }

.tabular-information td { border-top: 1px solid rgb(204, 204, 204); padding: 0.2em 0.2em 0.2em 0.6em; font-weight: 400; }

.skbc-form input, .skbc-form select { border: 1px solid gray; padding: 4px; margin: 6px; border-radius: 4px; font-size: 1em; font-family: "Open Sans", Arial; display: block; }

.skbc-form input[type="submit"] { padding: 6px; margin: 6px; border-radius: 4px; font-size: 1em; color: white; background-color: rgb(52, 116, 219); border: none; font-weight: bold; display: block; }

/* Login / register auth layout */
.information-section:has(#align-fix) {
    text-align: center;
}

#align-fix {
    margin: 30px auto;
    padding: 30px 0;
    width: 320px;
    max-width: calc(100% - 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.auth-idp-section {
    margin-bottom: 1.25rem;
    width: 100%;
}

.auth-idp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #333333;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-idp-button:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.auth-idp-button img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.auth-divider {
    margin: 1.25rem auto;
    color: #aaa;
}

.auth-error-message {
    width: 280px;
    max-width: 100%;
    margin: 0 auto 1rem;
    padding: 0.75rem 1rem;
    color: #b91c1c;
    background: #fef2f2;
    border-radius: 6px;
    text-align: center;
    box-sizing: border-box;
}

#align-fix .skbc-form,
.skbc-form.auth-form {
    width: 280px;
    max-width: 100%;
    margin: 0 auto;
}

#align-fix .skbc-form > div {
    width: 100%;
}

#align-fix .skbc-form input,
#align-fix .skbc-form select,
.skbc-form.auth-form input,
.skbc-form.auth-form select {
    width: 100%;
    box-sizing: border-box;
    margin: 6px 0;
}

#align-fix .skbc-form input[type="submit"],
.skbc-form.auth-form input[type="submit"] {
    width: 100%;
}

#align-fix #register-form-title {
    color: rgb(52, 116, 219);
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Payments page */
#align-fix:has(.payments-page) {
    width: 420px;
}

.payments-page h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    text-align: center;
}

.payments-pay-section {
    width: 100%;
    margin-bottom: 1.5rem;
}

.payments-pay-form {
    width: 280px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

.payments-pay-form input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid gray;
    padding: 8px;
    margin: 0;
    border-radius: 4px;
    font-size: 1em;
    font-family: "Open Sans", Arial;
    display: block;
}

.payments-pay-form input[type="image"] {
    display: block;
    margin: 0 auto;
}

.payments-login-notice {
    padding: 12px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    color: #991b1b;
    text-align: center;
}

.payments-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}

.payments-table th,
.payments-table td {
    border-top: 1px solid rgb(204, 204, 204);
    padding: 0.35em 0.5em;
    font-weight: 400;
}

.payments-table thead th {
    font-weight: bold;
    border-top: none;
    border-bottom: 1px solid rgb(52, 116, 219);
    color: rgb(52, 116, 219);
}

.payments-table .payments-col-date,
.payments-table .payments-date {
    width: 6.5rem;
    text-align: left;
}

.payments-table .payments-col-amount,
.payments-table .payments-amount {
    width: 4.5rem;
    text-align: right;
}

.payments-table .payments-col-student,
.payments-table .payments-student {
    text-align: left;
}

.message { font-weight: bold; color: #55a; }

/* Instructor detail page */
.instructor-detail-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    display: flex;
    gap: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.instructor-detail-image {
    flex: 0 0 auto;
}

.instructor-detail-image img,
.instructor-detail-photo-placeholder {
    width: 180px;
    max-width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid rgb(52, 116, 219);
    display: block;
}

.instructor-detail-photo-placeholder {
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    min-height: 180px;
}

.instructor-detail-body {
    flex: 1;
    min-width: 0;
}

@media (max-width: 600px) {
    .instructor-detail-content {
        flex-direction: column;
        align-items: stretch;
    }

    .instructor-detail-image {
        width: 100%;
        text-align: center;
    }

    .instructor-detail-image img,
    .instructor-detail-photo-placeholder {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .instructor-detail-body {
        width: 100%;
    }
}

@media (max-width: 425px) {
  .tabular-information td:nth-child(n+5), .tabular-information th:nth-child(n+5) { display: none; }
  .limited-display { display: none; }
  .information-section { 
      width: 100%; 
      margin: 80px 0 20px; 
      padding: 10px; 
      background: transparent;
      border: none;
      box-shadow: none;
      border-radius: 0;
      text-align: justify; 
  }
  .tabular-information { width: 100%; table-layout: auto; }
  .tabular-information th, .tabular-information td { padding: 8px 6px; font-size: 0.85rem; word-break: break-word; white-space: normal; }
  .tabular-data { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

.class-row {
page-break-before: always;
}