/* Universal stylings */

html, body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: #000;
  background-color: #1C3144;
  height: 100%;
  width: 100%;
  margin: 0;
}
a {
  color: #5a1807;
  font-weight: 700;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1 {
  font-family: 'Merriweather', serif;
  font-size: calc(15px + 1.5vw);
  letter-spacing: 4px;
  color: #92754d;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}
p {
  color: #000;
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: calc(8px + 1vw);
  font-weight: 400;
  line-height: 1.5em;
  text-align: justify;
  margin-top: 0;
  margin-bottom: 0;
  hyphens: none;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
button {
  background-color: #5a1807;
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: calc(8px + 1vw);
  font-weight: 400;
  padding: .5em;
  border: none;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.25);
  -webkit-transition: all 200ms ease-in;
  -webkit-transform: scale(1);
  -ms-transition: all 200ms ease-in;
  -ms-transform: scale(1);
  -moz-transition: all 200ms ease-in;
  -moz-transform: scale(1);
  transition: all 200ms ease-in;
  transform: scale(1);
}
button:hover {
  background-color: #1C3144;
  z-index: 10;
  -webkit-transition: all 200ms ease-in;
  -webkit-transform: scale(1.5);
  -ms-transition: all 200ms ease-in;
  -ms-transform: scale(1.5);
  -moz-transition: all 200ms ease-in;
  -moz-transform: scale(1.5);
  transition: all 200ms ease-in;
  transform: scale(1.2);
}

/* Desktop Menu */

.filler {
  width:100%;
  height: 3em;
  color: #000;
}
.nav-desktop {
  background-color: #5a1807;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.25);
  padding: 0;
  width: 100%;
  height: 3em;
  position: fixed;
  z-index: 125;
}
.nav-desktop ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-right: 1em;
  overflow: hidden;
}
.nav-desktop li {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1em;
  float: left;
  padding-top: 1em;
  padding-bottom: .85em;
  padding-right: 1em;
  padding-left: 1em;
  border-style: none solid none none;
  border-color: rgba(255, 255, 255, 0.5);
  border-width: 1px;
}
.nav-desktop a {
  color:#fff;
  font-weight: 400;
}
.nav-desktop a:hover {
  color: #5a1807;
  text-decoration: none;
}
.nav-desktop li a:hover {
  color: #5a1807;
  text-decoration: none;
}
.nav-desktop li:hover span {
  color: #92754d;
}
.nav-desktop .link {
  display: block;
  position: absolute;
  background-color: green;
  padding-top: 1em;
  padding-bottom: .9em;
  padding-right: 1em;
  padding-left: 1em;
  margin-left: -1em;
  margin-top: -2.15em;
  background-color: #5a1807;
}
.nav-desktop .link:hover {
  background-color: #c5c5c5;
}
.nav-desktop .dropdown-content {
  display: block;
  opacity: 0;
  position: absolute;
  background-color: #c5c5c5;
  border-radius: 0px 0px 5px 5px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.25);
  margin-top: .85em;
  padding-bottom: 0em;
  margin-left: -1em;
  -webkit-transform: .33s ease-out;
  -moz-transition: all .33s ease-out;
  -o-transition: all .33s ease-out;
  -ms-transition: all .33s ease-out;
  transition: all .33s ease-out;
  z-index: 1;
}
.nav-desktop li:hover .dropdown-content {
  opacity: 1;
}
.nav-desktop .dropdown-content .bottom {
  border-radius: 0px 0px 5px 5px;
}
.nav-desktop .dropdown-content a {
  color: #000;
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1em;
  padding-left: .5em;
  padding-right: 1em;
  padding-top: .5em;
  padding-bottom: .5em;
  margin-top: 0em;
  margin-bottom: 0em;
}
.nav-desktop .dropdown-content a:hover {
  color: #fff;
  background-color: #8896ab;
}
.dropdown-content:hover + .over-menu {
  background-color: #c5c5c5;
  color: #5a1807;
}
.nav-desktop .clear {
  border-style: none none none none;
  padding-right: .5em;
}
.nav-desktop .home-key {
  height: 1em;
  float: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-bottom: .15em;
}
.nav-desktop .gavel:hover {
  background-color: #c5c5c5;
}
.nav-desktop .home-key .logo-img {
  height: 2em;
  width: auto;
  margin-top: 0em;
  }
.nav-desktop .home-key .red {
  display: none;
}
.nav-desktop .main-menu:hover .white {
  display: none;
}
.nav-desktop .main-menu:hover .red {
  display: flex;
}

/* Mobile Menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  justify-content: center;
  background-color: #5a1807;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.25);
  padding: 0;
  width: 100%;
  height: 3em;
  position: fixed;
  z-index: 90;
}
.nav-mobile .menu-burger {
  color: #fff;
  float: left;
  margin-left: 1em;
  margin-top: 0em;
  padding-top: 0em;
}
#sidenav {
  background: #5a1807;
  width: 320px; // Don't forget to set this while initializing Sidenav.js
}
#sidenav .header {
  text-align: center;
  padding: 5px;
  background: url(../img/menu/background.jpg) bottom no-repeat;
  background-size: cover;
}
#sidenav p {
  margin-top: 15px;
  padding-left: 15px;
  padding-bottom: 15px;
  color: #fff;
  font-family:  'Merriweather', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.15em;
  line-height: 1em;
}
#sidenav a:hover {
  text-decoration: none;
}
#sidenav h1 {
  padding-left: 15px;
  color: #fff;
  text-align: left;
  font-family: 'Special Elite', cursive;
  font-size: 2.65em;
  line-height: 1em;
}
#sidenav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#sidenav ul li {
  padding: 15px;
  display: flex;
  align-items: center;
  border-style: solid none none none;
  border-width: 1px;
  border-color: #666;
}
#sidenav ul li:hover {
  background-color: #c5c5c5;
}
#sidenav ul li:hover span {
  color: #5a1807;
}
#sidenav ul li:hover i {
  color: #5a1807;
}
#sidenav ul li span {
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
}
#sidenav ul li i {
  margin-right: 10px;
  color: #5a1807;
}
#sidenav ul .end {
  border-style: solid none solid none;
  border-width: 1px;
}
#sidenav ul .sub {
  border-style: none none none none;
  padding-left: 2em;
}
#sidenav a {
  color: #666;
}

/* Sections */
a.anchor{display: block; position: relative; top: -48px; visibility: hidden;}
#headliner {
  width: 100%;
  background-color: #1C3144;
  padding-top: .75em;
  padding-bottom: .75em;
  z-index: 200;
}
#headliner h1 {
  font-family: 'Merriweather', serif;
  font-size: calc(15px + 1.5vw);
  font-weight: 300;
  color: #fff;
}

/* Footer */

.footer-section {
  background-color: #5c5c5c;
  display: flex; -webkit-flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 20px;
}
  .footer-section p {
    text-align: center;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: .8em;
    letter-spacing: 1px;
  }
  .footer-section a {
    padding-right: 40px;
    padding-left: 40px;
    color: #fff;
  }
  .footer-section ul {
    list-style-type: none;
    overflow: hidden;
  }
  .footer-section li {
    display: inline;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1em;
  }
  .footer-section img {
    height: 125px;
    align-self: center;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.25);
  }
  .footer-section .footer-social-menu {
    padding-top: 30px;
    padding-bottom: 15px;
    text-align: center;
  }

  /*Smaller Media*/
  @media (pointer:coarse) {

  }
  @media only screen and (max-width: 812px), screen and (max-width: 1024px) and (orientation: portrait) {
    p {
      font-size: calc(12px + 1.14vw);
      line-height: calc(24px + 1.7vw);
      font-weight: 400;
      text-align: left;
    }
    h1 {
      font-size: calc(18px + 6vw);
      letter-spacing: 2px;
    }
    h2 {
      font-size: calc(12px + 4vw);
      letter-spacing: 1px;
    }
    .nav-desktop {
      display: none;
    }
    .filler {
      height: 3em;
    }
    .nav-mobile {
      display: flex;
    }
  }
  @media only screen and (max-width: 812px) and (orientation: landscape) {

  }
