@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;1,400&display=swap');


*,
*:before,
*:after {
  box-sizing: border-box;
}

body, h2, h4, header, section, nav, p {
   padding: 0;
   margin: 0;
   font: normal 100% 'Montserrat', Verdana, 'sans-serif';
   font-family: 'Montserrat', sans-serif;
   color: var(--text-color);
}
h1 {
  text-transform: uppercase;
  text-align: center;
  font-size: 1.5em;
  margin: 0;
}
body {
   background-color: #e2dada;
   margin: 0 auto;
   width: 100%;
   background-image: url("../images/MHpillars4-v2-20-opacity.png");
   background-position: left top;
   background-attachment: fixed;
   background-repeat: no-repeat;
   background-size: cover;
   background-blend-mode: multiply;
   height: 100vh;
}
.hilite {
  font-weight: bolder;
}
#wk-header {
  box-sizing: border-box;
  font-size: 1.1em;
  line-height: 2.0em;
  color: var(--hdr-text-color);
  text-align: center;
  letter-spacing: 2.5px;
  margin-top: 1.25em;
}
.wk-content {
  font-style: italic;
  font-size: 1.4em;
  margin-left: 20px;
}
.assignment {
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: 20px;
  margin-top: 10px;
  background-color: var(--hdr-text-color);
}
.assignment a {
  color: var(--text-color);
  text-decoration: none;
}
.assignment a:hover {
  color: tan;
}
#wk-desc {
  padding: 15px;
  font-size: 1.1em;
}
#wk-desc span {
  font-weight: 900;
}
h2 {
  width: 100%;
  padding: 1%;
  font: normal 1.438em 'Montserrat', Georgia, Helvetica, Times, serif;
  color: var(--text-color);
  background-color: var(--h2-bg-color);
}
header {
   color: var(--text-color);
   font-size: 1.8em;
   font-weight: 700;
   width:100%;
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   align-items: center;
   padding-top: 1.25em;
}
.hdr-item  {
   margin: 1% 5%;
   font-family: Montserrat, Georgia, serif;
   color: var(--hdr-text-color);
   text-transform: uppercase;
   letter-spacing: 2.5px;
}

.hdr-item img{
    flex-grow: 2;
    max-width: 100%;

}

.main-nav {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-around;
}

.main-nav  a {
    padding: 0.6em;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    color: var(--hdr-text-color);
}

.main-nav a:hover {
   color: var(--gen-bg-color);
   font-style: italic;
}

.week-nav {
   background-color: var(--tertiary-color); //#b5a193;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   margin-top: 1em;
}

.week-nav  a {
    padding: 0.5em 0.5em;
    font-size: 0.8em;
    font-weight: bold;
    max-width: 8.75em;
    text-decoration: none;
    display: flex;
    color: var(--hdr-text-color);
}

.week-nav a:hover {
  color: #1d5fa8;
  transform: scale(1.1);
  font-style: italic;
}

.iconbox {
  margin: 5px;
  padding-left: 0;
}

.fa {
   color: var(--nav-color);
}

.navlabel {
   padding: 0 1em;
   font: bold 100% 'Montserrat', Georgia, Helvetica, Times, serif;
   font-size: 1em;
}

.readlabel {
  padding: 0 1em;
  max-width: 8.75em;
  font: bold 100% 'Montserrat', Georgia, Helvetica, Times, serif;
  font-weight: bold;
  font-size: 0.8em;
  color: var(--text-color);
}

.mini-nav {
  box-sizing: border-box;
  padding: 0px 30px;
  background-color: var(--gen-bg-color);
  border-style: solid;
  border-top: none;
  border-left: none;
  border-right: none;

  border-bottom: 0.09em solid transparent;
  border-image: linear-gradient(0.25turn, var(--text-color), var(--secondary-color), var(--text-color));
  border-image-slice: 1;

}

.mini-nav ul {
   padding: 0;
   display: flex;
   flex-wrap: wrap;
   flex-direction: column;
   list-style: none;
   color: var(--text-color);
}

.mini-nav a {
   padding: 0.3em 0.3em;
   max-width: 8.75em;
   font-weight: bold;
   font-size: 0.8em;
   text-decoration: none;
   color: var(--text-color);
}

nav .navlabel:hover {
   font-weight: bold;
   font-style: italic;
   text-decoration: underline;
   color: var(--secondary-color);
}

.mp4 {
  padding-left: 35px;
}

#gen-container {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-around;
   opacity: 0.8;
}
.gen-topic {
  margin-top: 20px;
  width: 100%;
  color: var(--text-color);
  background-color: var(--gen-bg-color);
}

.gen-header {
  background-color: var(--gen-bg-color);
  /* background-image: var(--piano-man-svg);
  background-image: var(--squares-svg);
  background-image: var(--hideout-svg);
  background-image: var(--graph-paper-svg);
  background-image: var(--jupiter-svg);
  background-image: var(--formal-invitation-svg);
  background-image: var(--jigsaw-svg);
  background-image: var(--parkay-floor-svg);
  background-image: var(--topo-svg);
  background-image: var(--texture-svg);
  background-image: var(--curtain-svg);
  background-image: var(--charlie-brown-svg);
  background-image: var(--autumn-svg); */
  font-size: 2.0em;
  font-weight: 600;
  padding: 30px;
  color: var(--text-color);
}
.gen-sub-topics {
  background-color: var(--gen-bg-color);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.gen-header i {
  margin-right: 10px;
}

#topiccontainer {
   padding: 2%;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-around;
   opacity: 0.8;
}

.topicbox, .gentopic  {
   margin: 20px;
   width: 100%;
   background-color: #fff;
}

.topicheader {
   width: 100%;
   display: flex;
   flex-direction: column;
   flex-wrap: wrap;
}

.topicdesc {
   padding: 10px;
   font-size: 1.2em;
   background-color: var(--topic-bg-color);
   flex: 1;
}

.topicdesc span {
   font-weight:900;
   font-style: italic;}

.topic-details p {
  line-height: 1.6em;
}
.topic-details {
  padding: 2em;
}
.topic-details ul{
  line-height: 1.8;
}

.link-hdr {
  font-weight:bolder;
  font-size: 1.1em;
  margin-bottom: 0;
}
.topic-links {
   box-sizing: border-box;
   padding: 20px 40px;
   color: var(--text-color);
   background-color: var(--gen-bg-color);
}

.listitm a {
  color: var(--text-color);
  text-decoration: underline;
}

a:hover#logo { background-color: transparent; }

.listhdr {
   font: bold 1.0em 'Montserrat', Georgia, Helvetica, Times, serif;
   color: #89958E;
   margin: 1.5% 0 0 0;
}

.listitm {
   font: normal 1.0em 'Montserrat', Georgia, Helvetica, Times, serif;
   line-height: 1.9em;
 }

.nobullets, .link-list {
   list-style: none;
   padding: 10px;
   margin-top: 0;
   margin-bottom: 0;
   line-height: 1.6;
 }

.link-list li a {
   text-decoration: none;
}
.link-list li a:hover, .iconbox a:hover {
  font-weight: bold;
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: .3em;
  color: var(--secondary-color);
}

.ulpad {
    margin-top: 0;
    margin-left: 3%;
}

.lipad {
    padding-bottom: 8px;
}

pre {
   font: normal 100% 'PT Mono', monospace;
   padding: 0;
   margin: 0;
}

.grades {
   margin-left: 25px;
   margin-right: 20px;
}

#undergrad {margin-top: 10px;}

.simple-link {
    font-style: italic;
    color: var(--text-color);
    text-decoration: underline;
    text-underline-offset: .3em;
    /* text-decoration-thickness: .2em; */
}
.simple-link:hover {
  font-weight: bold;
  color: var(--secondary-color);
}
.emphasis {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

footer {
   padding: 1%;
   color: var(--hdr-text-color);
   text-align: center;
   font-size: .8em;
}
footer p {
  color: var(--hdr-text-color);
}


/**************  Rules specific to the Schedule page  **************/
.wrapper {
  display: grid;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: minmax(100px, auto);
  opacity: 0.8;
  color: var(--text-color);
}

.panel {
  display: flex;
  flex-direction: column;
  background-color: whitesmoke;
  border-radius: 3px;
  border: solid .06em #9a9090;
  font-size: 150%;
  margin: 0.625em;
}
.panel:hover {
  transform: scale(1.02);
  box-shadow: 0 1px 1px rgba(154, 144, 144,0.08),
              0 2px 2px rgba(154, 144, 144,0.12),
              0 4px 4px rgba(154, 144, 144,0.16),
              0 8px 8px rgba(154, 144, 144,0.20);
}
.panel-link {
  text-decoration: none;
  color: var(--text-color);
}
.wk-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:center;
  padding: 5px;
  background-color: var(--gen-bg-color);
}
.wk-banner {
  flex: 1;
  width: 100%;
  background-color: var(--gen-bg-color);
  background-image: var(--morphing-diamonds-svg);
  border-bottom: 2px solid #c8b29b;
  text-align: center;
  margin: 0;
}
.wk-num {
  /* font-size: 100%;
  font-weight: 800; */
  margin: 5%;
}
.wk-date {
  font-size: 70%;
  margin: 5%;
}
.wk-topics {
  font-size: 80%;
  text-decoration: none;
  list-style: none;
  padding: 0;
}
.wk-topics li {
  padding: 5px 0;
}
.wk-assign {
  background-color: var(--tertiary-color);
  color: var(--hdr-text-color);
  border: .1em solid #553d0f; //var(--hdr-txt-color); //#c8b29b;
  font-weight: bold;
  font-size: 0.6em;
  padding: 10px;
  text-align: center;
}
.avail-notice {
  color: var(--text-color);
  font-size: 1em;
  font-weight: 100;
  font-style: italic;
  margin-bottom: 10px;
}

/**************   End rules for Schedule page  **************/


@media (min-width: 50.0em) {   /*  800px  */
  .gen-sub-topics {
     flex-direction: row;
     justify-content: space-evenly;
  }
  .mini-nav { /* }, .topic-links {  */
    box-sizing: border-box;
    border-top: none;
    border-left: none;
    border-bottom: none;
    border-right: .09em solid transparent;
    border-image: linear-gradient(var(--text-color), var(--secondary-color), var(--text-color));
    border-image-slice: 1;
  }
  .mini-nav {
    flex: 5;
  }
  .topic-links {
    flex: 4;
  }

/*
   .topicbox {
      margin: 20px;
      width: 45%;  }

   .introbox.topicbox { width: 100%; } */
}
