/* Header style */
h2
{
  font-weight: bold;
  color: #453D3C;
}

/* Link style */
a
{
  font-weight: bold;
}

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

.btn-primary
{
  color: white;
}

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

/* Navbar collapsed right aligned style */
div#navbarcollapsed
{
  position: absolute;
  right: 5px;
}

/* 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;
}

/* Header bottom cell style */
div#headerbottomcell
{
  border-bottom: 0px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  height: auto;
  position: relative;
  padding: 10px 1rem;
	background-color: #001489;
}

div#headerbottomcelltitle
{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: fit-content;
  width: 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;
}
/* Chat Ref Styling*/
#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
{
	padding: 0px;
	color: white;
	background-color: #9a9a9a;
	width: 20px;
	height: 20px;
	border: none;
	transform: translate( 0, .2rem);
}
#chatcloser i
{
  transform: translate(0, -2px);
}
img#islpronto_image
{
		width: 85%;
		height: auto;
}

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

/* 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 content style */
div#breadcrumbscontent
{
  min-height: 33px;
  background-color: white;
}

/* Bread crumb style */
ol.breadcrumb
{
  border-bottom: 0px;
  background-color: white;
  display: inline-block;
  width: calc(100% - 115px);
}
ol.breadcrumb > .breadcrumb-item 
{
  display: inline-block;
  vertical-align: middle;
}

/* Set social bookmarks height to prevent a short one before loading and showing buttons */
div#socialbookmarkscell
{
  position: relative;
  float: right;
  text-align: right;
  width: 115px;
  min-height: 33px;
}

/* Publication page styles */
ul#publicationbrowsedecadelist
{
  margin-bottom: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Veridian bottom footer styling */
div#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;
}

/* Uppermenu styling */
div#headertopcell div#uppermenu
{
  flex-wrap: wrap;
  display:flex;
  padding: 5px;
}
div#headertopcell
{
	background-color: rgb(154, 154,154);
}
#header a.menuitem
{
  font-size: 0.875rem;
  color: black;
  text-decoration: none;
  margin-right: 5px;
}
#header a.menuitem > span
{
  text-decoration: underline;
}

/* Style on large screens settings over 500px */
@media (min-width: 501px)
{
  ol.breadcrumb
  {
    width: calc(100% - 145px);
  }
  div#socialbookmarkscell
  {
    width: 145px;
  }
}

/* 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%;
  }
}

/* Style on small screens settings under 700px */
/* Hide the logo, move the title to the left. */
@media (max-width: 700px)
{
  a#logolink
  {
    display: none;
  }
  img#library-logo
  {
    display: none;
  }
  div#headerbottomcell
  {
    justify-content: left;
  }
  div#headerbottomcelltitle
  {
    position: relative;
    left: 0;
    transform: none;
    padding-top: 6px;
    margin-right: 30px;
  }
}

/* Style on large screens settings over 1000px */
@media (min-width: 1001px)
{
  ol.breadcrumb
  {
    width: calc(100% - 265px);
  }
  div#socialbookmarkscell
  {
    width: 265px;
  }
}

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