
h2
{
  font-weight: bold;
  color: #453D3C;
}

body 
{
  font-family: "museo-sans-rounded", var(--bs-body-font-family);
}

/* ---- Header Styles ---- */

#header a
{
  font-weight: bold;
}

div#headertopcell
{
  background-color: rgb(154, 154,154);
}

/* Uppermenu styling */
div#uppermenu
{
  display:flex;
  flex-wrap: wrap;
  padding: 5px;
}
div#uppermenu.documentdisplay
{
  display: block;
}

#header a.menuitem
{
  font-size: 0.875rem;
  color: black;
  text-decoration: none;
  margin-right: 5px;
}
#header a.menuitem > span
{
  text-decoration: underline;
}

div#headerbottomcell
{
  border-bottom: 0px;
  height: auto;
  position: relative;
  padding: 10px 1rem;
  background-color: #001489;
}

div#headerbottomcelltitle
{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: fit-content;
}

div#headerbottomcelltitle h1
{
  font-family: "museo-slab-rounded", sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem,2.5vw,3.5rem);
  color: white;
  text-align: center;
}

span#title-big
{
  display: inline;
}
span#title-small
{
  display: none;
}

#logolink
{
  margin-right: 10px;
}
#library-logo
{
  display: inline-block;
  max-width: 200px;
  width: 20vw;
  height: auto;
  padding: 5px 0px;
}

/* Style on small screens settings under 360px */
@media (max-width: 360px)
{
  #header a.menuitem
  {
    font-size: 0.75rem;
  }
}

/* Style on small screens settings under 700px */
/* Hide the logo, move the title to the left. */
@media (max-width: 700px)
{
  div#uppermenu.documentdisplay
  {
    display: none;
  }

  div#headerbottomcelltitle
  {
    position: relative;
    left: 0;
    transform: none;
    padding-top: 6px;
  }
  a#logolink
  {
    display: none;
  }
  img#library-logo
  {
    display: none;
  }
}

/* Style on screen setting under 1200px */
@media (max-width: 1200px)
{
  div#headerbottomcelltitle
  {
    top: 16%;
  }

  span#title-big
  {
    display: none;
  }
  span#title-small
  {
    display: inline;
  }
}

/* ---- User Links Styles ---- */

div#userlinks
{
  margin-right: 30px;
}
div#userlinks a
{
  font-size: 90%;
  padding: 5px;
  text-decoration: none;
  display: flex;
  color: white;
}
div#userlinks a > span
{
  text-decoration: underline;
}
div#userlinks a > i
{
  width: 20px;
  align-self: center;
  justify-content: center;
}

/* ---- Navbar Collapsed Styles ---- */

/* Navbar collapsed right aligned style */
div#navbarcollapsed
{
  text-align: right;
}

/* Navbar collapsed links & svg style */
div#navbarcollapsed > a
{
  color: white;
}
div#navbarcollapsed > a:hover
{
  color: white;
}
div#navbarcollapsed svg
{
  fill: white;
}
div#navbarcollapsed svg:hover
{
  fill: white;
}

/* ---- Navbar Style ---- */

div#navbar
{
  border-bottom: 8px solid #001489;
  background-color: #F0F0F0;
}

/* Navbar links style */
div#navbar a
{
  color: #453D3C;
  display: inline-block;
  font-size: 17px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
}
div#navbar a:hover
{
  color: #001489;
}
div#navbar a.active
{
  background: url('../images/nav-active.png') 50% 100% no-repeat;
  color: #001489;
}

/* Navbar items style */
ul#navbarentries
{
  justify-content: center;
}

/* ---- Bread crumb Styles ---- */

/* Bread crumb content style */
nav#breadcrumbscell
{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Bread crumb style */
ol.breadcrumb
{
  border-bottom: 0px;
  background-color: white;
}

/* ---- Publication Page Styles ---- */

ul#publicationbrowsedecadelist
{
  margin-bottom: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Footer Styles ---- */

/* Veridian bottom footer styling */
ul#footercontent
{
  color: white;
  background-color:#262626;
  min-height: 30px;
}
footer #footercontent a
{
  color: white;
}

/* Cape May County footer styling */
footer div#footertop
{
  background-color: #808080;
  font-size: 1rem;
  padding: 15px 10vw 5px 10vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: none;
}
footer div#footertop ul
{
  list-style: none;
  padding: 0px 5px;
}
footer div#footertop li
{
  padding: 2px;
}
footer#footer #footertop a
{
  color: white;
  font-size: 0.875rem;
  font-weight: 400;
}
footer#footer #footertop a:hover
{
  text-decoration: underline;
}
div#footertop > div
{
  flex-basis: 210px;
}
div#footertop h3
{
  font-weight: 600;
}

/* Cape May County footer social links styling */
#footer div#footertopsocials a
{
  font-size: 2rem;
}
div#footertopsocials
{
  font-size: 2rem;
  display: flex;
  flex-wrap: wrap;
}
div#footertopsocials i
{
  padding-left: 3px;
}
#footer div#footertopsocials a[title="Pinterest"]
{
  margin-right: 3px;
}

/* Cape May County footer discord social link styling */
img.socials
{
  padding-bottom: 8px;
  width: auto;
  max-width: 1.15rem;
  max-height: 1.1rem;
}
img.socials[alt="Discord icon"]
{
  max-height: 2rem;
  max-width: 2rem;
  margin-right: 4px;
}

/* Style on screen setting between 525px and 1100px. */
/* Get the cape may county footer to wrap directory from 4x1 to 2x2 to 1x4*/
@media (min-width: 525px) and (max-width: 1100px)
{
  div#footertop > div
  {
    flex: 1 1 45%;
  }
}

/* ---- Chat Ref Styles ---- */

#modalref
{
  position: fixed;
  top:85%;
  right: -50px;
  transform: translate(-5%, -50%);
  max-width: 250px;
  box-shadow: -3px 8px 8px 0px rgba(43, 43, 43, 0.6);
}
#chatcloser
{
  position: absolute;
  padding: 0px;
  color: white;
  background-color: #9a9a9a;
  width: 20px;
  height: 20px;
  border: none;
}
#chatcloser i
{
  transform: translate(0, -2px);
}
img#islpronto_image
{
  width: 85%;
  height: auto;
}
