body {
  padding-top: 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
}

h1 {
  margin: 0 0 30px 0;
  font-weight: bold;
  color: #be0523;
  font-size: 3em;
}

p.indexTopic {
  background-color: lightsteelblue;
  font-size: 1.2rem;
  font-weight: 700;
  padding-left: 5px;
  margin: 14px 0px 4px 0px;
}

p.indexItem {
  padding-left: 25px;
  margin: 10px 0px 12px 0px;
  font-size: 1.1rem;
  line-height: 1.3rem;
}

.indexItem a {
  color: darkblue;
  font-weight: 500;
}

h2.sect_head {
  margin: 40px 0 20px 0;
  font-size: 2.3em;
  color: #be0523;
  font-weight: 600;
}

h4.sub_head {
  margin: -25px 0 20px 0;
}

p {
  font-size: 1.05em;
}

/* recup is recent update. Class changes title color. */
.recup {
  color: #be0523;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238B0000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238B0000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-indicators li {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: #555;
  opacity: 1;
  border: 0;
}

.carousel-indicators li.active {
  background-color: lightgray;
}

.accordion [data-toggle="collapse"]:before {
  display: inline-block;
  font: normal normal normal 20px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f0da";
  transform: rotate(90deg);
  transition: all linear 0.25s;
}

.accordion [data-toggle="collapse"].collapsed:before {
  transform: rotate(0deg);
}

/* Create a layout to mimic a table so that columns line up vertically */
.col-layout {
  display: table;
}

.col-layout-caption {
  display: table-caption;
  text-align: center;
  font-weight: bold;
  font-size: larger;
}

.col-layout-heading {
  display: table-row;
  font-weight: bold;
  text-align: center;
}

.col-layout-row {
  display: table-row;
}

.col-layout-cell {
  display: table-cell;
  padding-left: 5px;
  padding-right: 5px;
}

#reminder .carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 0 0 10px 25px;
}
/* styling below is for upcoming courses that only appears on index.html */
#upcoming-courses {
    width: 100%;
}

.upcoming-heading {
    font-size: 1.3rem;
    margin-bottom: 14px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 4px;
    color: red;
}

.course-line {
    margin-bottom: 16px;   /* tighter vertical spacing */
    line-height: 1.35;     /* compact but readable */
}

.course-title {
    font-size: .95rem;    /* slightly reduced */
    font-weight: 600;
    color: navy;
    text-decoration: none;
}

.course-title:hover {
    text-decoration: underline;
}

.course-meta {
    font-size: 0.85rem;
    color: #555;
}

.course-description {
    font-size: 0.9rem;
}

.course-more {
    font-weight: bold;
    text-decoration: none;
}