/****************************************
* Header
****************************************/

header {
  background: #ffffff;
  box-shadow: 3px 2px 10px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  z-index: 10;
}

header .grid {
  max-width: 1140px;
}

header .wrapper .grid {
  grid-template-columns: 1fr 250px 1fr;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}

header .wrapper ul {
  display: flex;
  align-items: center;
  justify-content: center;
}

header .wrapper ul:first-child li:first-of-type::after {
  content: '\00b7';
  margin: 0 .5rem;
  font-weight: bold;
  color: #000000;
}

header .wrapper ul:first-child li a {
  font-size: 14px;
  color: #000000;
}

header .callout {
  gap: 1rem;
}

header a#logo .no-logo {
  width: 90px;
  height: 70px;
  background-color: #808080;
}

/****************************************
* Navigation
****************************************/

nav {
  background: #f2e2b3;
}

nav .grid {
  padding-top: 0;
  padding-bottom: 0;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0;
  overflow: hidden;
}

nav ul > li {
  flex-grow: 1;
}

nav ul > li > a {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid transparent;
  width: 100%;
  height: 100%;
  padding: .75rem;
  font-weight: 500;
  font-size: 17px;
  line-height: 1em;
  font-family: 'Inter';
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0;
  transition: 0.3s all;
}

nav ul > li > a:focus,
nav ul > li > a:hover,
nav ul > li > a.active {
  background-color: #d2a011;
  color: #000000;
}

nav ul > li > a.button {
  border: none;
  padding: 1rem;
  color: #000000;
  background: #f2e2b3;
  border-radius: 5px;
}

nav ul > li > a.button:hover {
  background-color: #d2a011;
  color: #000000;
}

nav ul > li > a.button:hover::after {
  display: none;
}

/****************************************
*
* Mobile - max-width:1007px;
*
****************************************/

@media (max-width: 1007px) {

  /****************************************
  * Header
  ****************************************/

  body {
    padding-top: 97px; /* Height of header */
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
    min-height: 90px;
  }

  header a#logo {
    margin: auto;
    margin-left: 0;
  }

  header a#logo img {
    height: 65px !important;
  }

  /****************************************
  * Navigation
  ****************************************/

  header .wrapper .grid {
    grid-template-columns: 1fr;
  }

  .nav-side {
    width: 100%;
  }

  nav {
    background: #ffffff;
    overflow: hidden;
  }

  nav.off {
    max-height: 0 !important;
  }

  nav.animatable {
    transition: max-height 0.5s ease-out;
  }
  
  nav .grid {
    gap: .5rem;
  }

  nav ul > li > a {
    border-bottom: 1px solid #424245;
  }

  nav ul > li:last-of-type > a {
    border-bottom: none;
  }

  nav ul > li,
  nav ul > li > a {
    width: 100%;
    font-size: 16px;
    color: #000000;
  }

  nav ul > li > a:hover {
    color: #000000;
  }

  nav ul > li > a.button {
    border-bottom: 0;
  }

  nav ul > li > a {
    width: 100%;
    padding: 0.75rem;
    text-align: center;
  }

  nav ul > li > a.button {
    margin: 0 auto;
  }

  #nav-toggle {
    position: fixed;
    padding: .5rem 1rem;
    top: 15px;
    right: 15px;
    border-radius: 3px;
    background: transparent;
    color: #000000;
    font-size: 36px;
    cursor: pointer;
  }

  nav div.navigation {
    max-height: calc(100vh - 85px); /* mobile header height */
    padding: 1rem 1rem 1.75rem;
    overflow: auto;
  }

  nav div.navigation ul {
    display: block;
  }

  nav div.navigation ul > li {
    margin: 0 auto;
  }

  nav div.navigation ul.callout {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  nav div.navigation ul.callout > li,
  nav div.navigation ul.callout > li > a {
    width: auto;
  }
}

/****************************************
* Large Phone
****************************************/

@media(min-width: 567px) and (max-width: 1007px) {
  header .nav-side {
    position: absolute;
    top: 90px;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0px 3px 5px -5px rgba(0, 0, 0, 0.15);
    max-width: 350px;
  }

  nav {
    background-color: transparent;
  }

  nav div.navigation {
    padding: 0 2rem 2rem;
  }
}

/****************************************
* Desktop
****************************************/

@media (min-width: 1140px) {
  nav ul > li a {
    font-size: 19px;
  }
}

/****************************************
* Desktop
****************************************/

@media (min-width: 1400px) {
  nav ul > li a {
    font-size: 22px;
  }
}