@charset "utf-8";
/* CSS Document */

/*
Framework by Andy Shearouse
*/
html,
body {
  margin: 0px !important;
  padding: 0px !important;
    font-family: sans-serif;
}

img {
  max-width: 100% !important;
}

.container {
  max-width: 2400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.header {
  width: 100%;
}

.main1 {
  width: 100%;
  margin: 0 auto;
}
.main1 h1 {
  color: #495891;
  font-style: italic;
}
.main1 a {
  color: #495891;
  text-decoration: none;
}
.books {
  width: 100%;
  margin: 0 auto;
}
.books h1 {
  color: #495891;
  font-style: italic;
}
.books a {
  color: #495891;
  text-decoration: none;
}
.books ul {
  padding-left: 0px !important;
  margin-left: 0px !important;
  list-style: none;
}
.books li {
  margin: 10px 0px;
}

/*Use the following for top drop-down nav
Change the background-color in #nav to change the color of the navigation bar
Change the background-color in #nav ul li ul to change the background color of the dropdown menus
These values do also need to be changed further down, in the 600px, 400px, and 300px wide sections 
*/
/* -------------------- Start Navigation -------------------- */
#nav {
  width: 100%;
  z-index: 10;
  position: relative;
  float: left;
  font-size: 16px;
  margin-bottom: 15px;
}

#nav > a {
  display: none;
}

#nav li {
  position: relative;
  list-style-position: inside;
  list-style-type: none;
}
#nav li a {
  color: #000;
  display: block;
  text-decoration: none;
}

#nav li a:hover {
  color: #999;
}
#nav > ul > li:not(:last-child) > a::after {
  content: " /";
  margin-left: 25px;
  color: #999;
}

/* first level */

#nav > ul {
  text-align: center;
  padding-left: 0px !important;
  margin-left: 0px !important;
}
#nav > ul > li {
  
  height: 100%;
  display: inline-block;
}

#nav > ul > li > a {
  height: 100%;
  text-align: center;
  margin-left:25px;
}
#nav > ul > li:not(:last-child) > a {
}

#nav > ul > li:hover > a,
#nav > ul:not(:hover) > li.active > a {
}

/* second level */

#nav li ul {
  background-color: #ccc;
  display: none;
  position: absolute;
  top: 100%;
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 170px;
  text-align: left;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
#nav li:hover ul {
  display: block;
  left: 0;
  right: 0;
}
#nav li:not(:first-child):hover ul {
  left: -1px;
}
#nav li ul a {
  color: #000;
  padding: 0.75em; /* 15 (20) */
}
#nav li ul li a:hover,
#nav li ul:not(:hover) li.active a {
}
/* -------------------- End Navigation -------------------- */

.content {
  width: 100%;
  display: inline-block;
  padding-bottom: 20px;
}

.grid-two-thirds-one-third {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 2fr 1fr;
  grid-template-columns: 2fr 1fr;
}

.grid-three-fourths-one-fourth {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 3fr 1fr;
  grid-template-columns: 3fr 1fr;
}

.grid-one-fourth-three-fourths {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 3fr;
  grid-template-columns: 1fr 3fr;
}

.grid-three-fifths-two-fifths {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 3fr 2fr;
  grid-template-columns: 3fr 2fr;
}

.grid-two-fifths-three-fifths {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 2fr 3fr;
  grid-template-columns: 2fr 3fr;
}

.grid-two-columns {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}

.grid-three-columns {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
}

.grid-four-columns {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.footer {
    margin-top:30px;
}
.footer h2 {
  color: #495891;
  font-style: italic;
}
.footer ul {
  padding-left: 0px !important;
  margin-left: 0px !important;
  list-style: none;
}
.footer a {
  color: #999;
  text-decoration: none;
}
.footer a:hover {
  color: #495891;
}

.no-margin {
  margin: 0px !important;
}

.no-padding {
  padding: 0px !important;
}

.no-bold {
  font-weight: normal !important;
}

.no-border {
  border: none !important;
}

.center {
  text-align: center;
}

.block {
  display: block !important;
}

@media only screen and (max-width: 1200px) {
}

@media only screen and (max-width: 960px) {
  .grid-four-columns {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 720px) {
  /* -------------------- Start Navigation -------------------- */
  #nav {
    position: relative;
  }
  #nav img {
    vertical-align: middle;
  }
  #nav > a {
  }
  #nav > ul > li:not(:last-child) > a::after {
    content: "";
    margin-left: 0;
    color: #999;
  }

  #nav:not(:target) > a:first-of-type,
  #nav:target > a:last-of-type {
    display: block;
    width: 100%;
    text-align: center;
    color: #000;
    font-size: 20px;
    padding: 5px 0px;
    text-decoration: none;
  }

  #nav a {
    font-size: 18px;
  }

  /* first level */

  #nav > ul {
    height: auto;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background-color: #ccc;
    margin-top: 8px !important;
    padding-bottom: 10px;
  }
  #nav:target > ul {
    display: block;
  }
  #nav > ul > li {
    width: 100%;
    float: none;
    margin: 0px !important;
    padding: 4px 0px;
  }

  /* second level */

  #nav li ul {
    position: static;
    width: 98%;
    margin: 0 !important;
    text-align: center;
    padding: 0 !important;
  }
  #nav li ul a {
    padding: 0.5em 0;
    margin: 0.25em 0;
  }
  /*End Navigation*/

  .grid-two-thirds-one-third {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .grid-one-fourth-three-fourths {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .grid-two-fifths-three-fifths {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .grid-three-fifths-two-fifths {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .grid-two-columns {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .grid-three-columns {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .grid-four-columns {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .grid-three-fourths-one-fourth {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .footer {
    text-align: center;
  }
}

@media only screen and (max-width: 600px) {
}

@media only screen and (max-width: 480px) {
}

.text-card {
  background-color: aliceblue;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.text-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.text-card a {
  color: #495891;
  text-decoration: none;
}

details {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 4px;
  width: 300px;
  transition: all 0.3s ease;
  margin-bottom:30px;
}

details[open] {
  background: #eaeaea;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

summary {
  cursor: pointer;
  font-weight: 600;

  position: relative;

}





details[open] summary::after {
  transform: rotate(90deg);
}

/* Month links */
details p {
  margin: 6px 0;
  text-align:center;
}

details a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease;
}

details a:hover {
  color: #000;
  text-decoration: underline;
}
details:hover {
  background-color: #e0e0e0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
