
:root {
  --main-color: #c41230;
  --link-color: #c41230;
  --shadow-color: #e30008;
  --header-color: #dee2e6;
  --header-font-family: "DM Serif Display";
  --header-font-weight: 400;
  --text-font-family: "Nunito";
  --text-font-weight: 200;
  --bs-body-font-size: 1.2rem;
  --bs-code-color: var(--main-color);
}


html {
    scroll-behavior: smooth;
}
body {
  font-family: var(--text-font-family), sans-serif;
  font-optical-sizing: auto;
  font-weight: var(--text-font-weight);
  font-style: normal;
  background-color: black;
  color: white;
}
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position-x: center;
    background-position-y: bottom;
    background-repeat: no-repeat;
    z-index: -1;
}


main {
    margin-top: 3rem;
}
main.page {
/*     margin-top: 7rem; */
}
main.page img {
  max-width: 100%;
}
pre, code {
    background-color: #2c2c2c !important;
}
/*pre > code {
    color: #ae81ff;
}*/

.footer {
  border-top: 1px solid var(--alchemy-border);
  z-index: 20;
}
footer img {
    max-width: 10rem;
    clear: both;
}
.content h1 {
    font-weight: 1000;
    border-bottom: 3px solid var(--header-color);
}
.content h2 {
    font-weight: 800;
    border-bottom: 3px dotted var(--header-color);
}
h1 {
    font-family: var(--header-font-family), serif;
    font-weight: var(--header-font-weight);
}
h1.page-header {
  font-family: var(--header-font-family), serif;
  font-weight: 1000;
/*   color: var(--link-color); */
/*   text-shadow: 0.1rem 0.1rem var(--shadow-color); */
}

h1.page-header {
    font-family: var(--header-font-family), serif;
    font-weight: var(--header-font-weight);
/*     letter-spacing: 0.1em; */
    font-size: 3.8rem;
    border-bottom: 0px;
}
.text-muted {
    color: white !important;
}

a {
    color: var(--link-color);
    padding: 1px 1px;            /* optional: space inside */
    border-radius: 3px;          /* optional: rounded corners */
    transition: background-color 0.25s ease, color 0.25s ease;
    font-weight: 500;
}
a:hover {
    background-color: var(--link-color);   /* solid background */
    color: white;                /* white text */
    text-decoration: underline dotted; /* dotted underline */
}
a:has(> img):hover {
    text-decoration: none !important;
    background-color: inherit !important;
}

strong, b, dt {
    font-weight: 500;
}

.main-content {
    background-color: rgba(0, 0, 0, 0.85);
/*     background-color: color-mix(in srgb, #f3f4f5 95%, transparent) !important; */
/*     background-color: #f3f4f5 !important; */
    backdrop-filter: blur(2px);
}


a.filepath {
    text-decoration: none;
    font-size: 95%;
}
a.filepath tt {
    border-bottom: 1px dotted;
}

.dropdown-menu li a:hover {
    color: #8D0D24;
}

.dropdown-menu-right {
   right: 0 !important;
   left: auto !important;
}


/* Anchor Link Highlighting */
tr:target, div:target {
    background-color: #FFFFCC;
    border: 3px solid var(--link-color);
    scroll-margin-top: 5rem;
}
/* This adds vertical padding above the target to handle fixed header */
/* tr:target::before, */
/*div:target::before {
    content: '';
    display: block;
    height: 50px;
    margin: -50px 0 0 0;
}*/


/********************************************************************
 * BEGIN: ACCORDION
 ********************************************************************/
.accordion {
    --bs-accordion-bg: rgba(255, 255, 255, 0.1);
    --bs-accordion-border-color: rgba(255, 255, 255, 0.2);
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    font-weight: 600;
    font-size: 0.9em;
}
.accordion-button > i {
    padding-right: 0.4rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: white !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.65);
}

.accordion-body {
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
}
.accordion-body, .accordion-header {
    backdrop-filter: blur(5px);
}


/********************************************************************
 * BEGIN: NAVBAR
 ********************************************************************/
.navbar-brand {
    font-weight: 600;
}
a.navbar-brand:hover {
    color: #fff;
    text-decoration: none;
    background-color: inherit !important;

}
.navbar-nav .nav-link {
  font-weight: 600;
  text-decoration: none;
}
.navbar-nav .nav-link.active {
  font-weight: 900;
}

/********************************************************************
 * BEGIN: HOMEPAGE BANNER
 ********************************************************************/
.banner-title h1 {
  font-size: 8rem;
  line-height: 0.9em;
  font-family: var(--header-font-family), serif;
  font-weight: 1000;
  color: white;
/*   text-shadow: 0.25rem 0.25rem var(--shadow-color); */
}
.banner {
/*   min-height: 45rem; */
  border-color: black !important;
  border-width: 0.8em !important;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: cover;
/*   background-position: 0% 75%; */
  text-shadow: 3px 3px var(--shadow-color);
}


.bg-danger {
    background-color: var(--link-color) !important;
    color: white !important;
}
.bg-danger a {
    color: white !important;
}
.warning a {
    color: white !important;
}

/********************************************************************
 * BEGIN: HOMEPAGE STUFF
 ********************************************************************/
.sponsors img {
    -webkit-filter: grayscale(100%) invert(100%) brightness(100%) saturate(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%) invert(100%) brightness(100%) saturate(100%);
}
.sponsors > a:hover {
  background-color: inherit !important;
}
.awards img {
    max-width: 8rem;
    height: auto;
    -webkit-filter: invert(100%); /* Safari 6.0 - 9.0 */
    filter: invert(100%);
}

.course-personnel table {
    line-height: 1.3;
}
.personnel-photo {
    width: 14%;
    text-align: center;
}
.personnel-name {
    min-width: 25%;
}
.personnel-hours {
    min-width: 25%;
}
.personnel-location {
    min-width: 30%;
}
table.instructors img, table.tas img {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}
table.instructors img {
    max-width: 5.5rem;
}
table.tas img {
    max-width: 4.75rem;
}

dd.course-info {
  font-size: 90%;
}
.course-info > dd {
  padding-left: 0px;
}

.published {
    font-size: 90%;
}

.course-personnel > .table > :not(caption) > * > * {
    background-color: color-mix(in srgb, var(--bs-table-bg) 60%, transparent);
}

/********************************************************************
 * BEGIN: FAQ
 ********************************************************************/
/*div.question {
    border-bottom: 2px #e0e1e2 dotted;
    margin-top: 2px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}*/
div.question {
    border-radius: 15px;
    background-color: #edeeef;
    padding: 1.25rem;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}
div.question h3::before {
    content: "🗹 ";
}
h2.task::before {
    content: "» ";
}

/********************************************************************
 * BEGIN: ASSIGNMENTS
 ********************************************************************/
.assignments a {
    font-weight: 500;
}

/********************************************************************
 * BEGIN: SCHEDULE
 ********************************************************************/
tr.bg-info {
    background-color: #DFF0D8 !important;
}
.calendar-date {
    font-size: 95%;
}
.lecture-title {
    font-weight: 700;
    font-size: 110%;
    line-height: 0.7rem;
}
.calendar-activity dt {
    font-weight: 400;
}
.calendar-activity dd {
  padding-left: 0px;
}

/*.calendar-activity {
    padding-bottom: 4px;
}*/
div.pill-box {
    margin-bottom: 6px;
}
a.schedule-badge {
    border: none !important;
}
a.schedule-badge:hover {
    background: #FFFFCC;
}
.calendar-activity span.special {
    font-style: italic;
    color: var(--link-color);
    font-weight: 1000;
}
.calendar-video, .calendar-slides, .calendar-notes {
    text-align: center;
}

/*.table>thead>tr {
    background-color: #efeff3;
}*/
.table>thead>td {
    padding-top: 6px;
    padding-bottom: 6px;
}

.anchor {
    text-decoration: none;
    border: none !important;
    line-height: 1;
}
.anchor-icon {
    vertical-align: middle;
    visibility: hidden;
}
a.anchor:hover {
/*     color: #fff; */
    text-decoration: none;
    background-color: inherit !important;

}
.calendar-date:hover .anchor-icon, .faq-question:hover .anchor-icon {
    visibility: visible;
}

/********************************************************************
 * BEGIN: MOBILE FIXES
 ********************************************************************/

@media (max-width: 1400px) {
    .banner-title h1 {
      font-size: 6rem;
    }
}


@media (max-width: 1024px) {
    main.page {
        margin-top: 3rem;
    }
/*    .banner-title {
        transform: none;
        background-color: rgba(0, 0, 0, 0.6);
    }*/
    h1.page-header {
      font-size: 2.5rem;
    }
    .banner-title h1 {
      font-size: 5rem;
      text-align: center;
    }
    .banner {
      min-height: auto;
    }
    .sponsors img {
      max-width: 80%;
    }
    .awards img {
        max-width: 6rem;
        height: auto;
    }
    .calendar-date {
        min-width: 18%;
    }
    footer img {
/*         max-width: 10rem; */
    }
    table.instructors img {
        max-width: 5.0rem;
    }
    table.tas img {
        max-width: 4.5rem;
    }

}
@media (max-width: 575px) {
    table {
        font-size: 75%;
    }
    .awards img {
        max-width: 4.5rem;
        height: auto;
    }
    .main-content {
      border-radius: 0 !important;
    }
    
    .calendar-activity .col-4 {
        width: 38% !important;
    }
    .calendar-activity .col-8 {
        width: 62% !important;
    }
}


