/* General Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #fdf4ea;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #fdf4ea;
    color: #222;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
  div.stick-top {
    position: sticky;
    top: 0;
    z-index: 999;
  }
}

h1 {
    font-size: 2.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 10pt;
}

a {
    color: #2998bd;
    text-decoration: none;
}

a[disabled] {
    pointer-events: none;
    opacity: 0.75;
    color: #000;
}

a:hover {
    text-decoration: underline;
}

.inline-math {
  vertical-align: text-bottom;
}

/* Navigation Bar */
nav {
    background-color: #ffa85c;
    color: #222;
    text-align: center;
    padding: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a img {
  height: 20px;
  margin-right: 5px;
  border-radius: 4px;
  vertical-align: text-bottom;
}

nav ul li a {
    color: black;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: #fadec0;
}

nav ul li a.external:hover {
  background: none !important;
}


/* Main Content Styling */
main {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 2rem;
    color: #d0692b;
    margin-bottom: 10px;
}

ul, ol {
    margin-left: 20px;
}

.staff-photo {
    display: inline-block;
    margin: 20px 10px;
}

.staff-photo img {
  height: 200px;
  width: auto;
}

.staff-photo .staff-name {
  font-weight: bold;
  font-size: 14pt;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

table, th, td {
    padding: 10px;
    text-align: left;
}

th {
    /* background-color: #bbe0ec; */
    background-color: #aeb2b2;
    color: #222;
}


h3 {
    margin-bottom: 5pt;
    color: #d0692b;
}

h4 {
    margin-top: 10pt;
    color: #d0692b;
}


tr:nth-child(odd) {
    background: #fff;
}

tr:nth-child(even) {
    background: #eef1f1;
}

tr.same-as-above {
    border-top: none;
}

div.schedule-week h3 {
  text-align: center;
  margin-bottom: 10pt;
}

div.schedule-week table tr td:first-child {
  width: 120px;
}

div.schedule-week table tr td:last-child {
  width: 250px;
}

.past-week .deadline {
  color: #999;
  font-weight: bold;
}

.current-week .deadline, .future-week .deadline {
  font-weight: bold;
}

.past-week .exam {
  color: #999;
  font-weight: bold;
}

.current-week .exam, .future-week .exam {
  color: #F00;
  font-weight: bold;
}

.past-week .break {
  color: #999;
  font-weight: bold;
}

.current-week .break, .future-week .break{
  color: #393;
  font-weight: bold;
}

.past-week {

}

.past-week h3 {
  text-decoration: line-through;
}

.current-week {
  border: 4px solid #3d6d7d;
  border-radius: 8px;
  background: #eaf2f5;
  margin-top: 1em;
  margin-bottom: 1em;
}

.future-week {
  opacity: 0.6;
  z-index: -1;
}

.calendar {
  border:solid 1px #777;
  width: 100%;
  height: 600px;
  max-width: 100%;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}
