body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 16px;
  padding-top: 70px;
}

p {
  text-align: justify;
}

#header {
  margin-top: 20px;
  margin-bottom: 20px;
}

h1 {
  font-size: 30px;
  font-weight: 300;
  text-align: center;
}

h2 {
  font-size: 25px;
  font-weight: bold;
  color: #8c1515;
}

h3 {
  font-size: 20px;
  font-weight: bold;
}

.term-line {
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

#footer {
  height: 100px;
  padding-top: 50px;
  text-align: center;
}

/* Staff */
.instructorphoto img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 100px;
  margin-bottom: 10px;
}

.instructor {
  display: inline-block;
  width: 140px;
  text-align: center;
  margin-right: 20px;
  margin-bottom: 5px;
  font-size: 14px;
}

.instructor a {
  text-decoration: none;
  color: #333;
}

.instructor a:hover {
  text-decoration: none;
}

/* Sections */
.sec {
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.sechighlight {
  background-color: #f7f6f1;
}

/* Schedule table */
.table th,
.table td {
  padding: 1rem;
  vertical-align: top;
  border: 1px solid #dee2e6;
}

.table thead th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
}

.reading-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.reading-list li {
  margin-bottom: 0.5rem;
}

.guest-lecture-cell {
  color: #0066cc;
}

.deadline {
  color: #c75b5b;
  font-weight: normal;
}

.milestone {
  color: #c75b5b;
  font-weight: bold;
}

.no-class {
  background-color: #f8f9fa;
  color: #6c757d;
}

.presentation {
  color: #198754;
}

.status-out { color: #006400; }
.status-due { color: #b00020; }

/* Navbar */
.navbar { margin-bottom: 0; }

.navbar-default {
  background-color: #8c1515;
  border-color: #c0392b;
}

.navbar-default .navbar-brand {
  color: #ecf0f1;
  font-weight: bold;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #fbcbcc;
}

.navbar-default .navbar-nav > li > a {
  color: #ecf0f1;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #fbcbcc;
}

.navbar-default .navbar-toggle {
  border-color: #c0392b;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #c0392b;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #ecf0f1;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #ecf0f1;
}

/* Mobile */
@media (max-width: 767px) {
  .navbar-default .navbar-collapse > ul > li {
    width: 100%;
    text-align: left;
  }

  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  table tr {
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    box-shadow: 2px 2px 1px #dadada;
  }

  tr { border: 1px solid #ccc; }

  td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }

  #schedule td:nth-of-type(1) { font-weight: 500; }
  #schedule td:nth-of-type(1):before { content: "Date:"; font-weight: 300; }
  #schedule td:nth-of-type(2):before { content: "Description:"; font-weight: 300; }
  #schedule td:nth-of-type(3):before { content: "Materials:"; font-weight: 300; }
  #schedule td:nth-of-type(4):before { content: "Deadlines:"; font-weight: 300; }
}
