/* DESKTOP NAVIGATION ------------------------------------------- */
.nav-wrap {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-flow: row nowrap;
  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;
  justify-content: flex-end;
  gap: 1em;
  width: calc(100% - 151px);
  padding-left: 1.25em;
  height: 100%;
}

.sub-menu-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1750px;
  width: 100%;
  padding: 0 32px !important;
}

@media screen and (max-width: 1200px) {
  .sub-menu-wrap {
    padding: 0 16px !important;
  }
}

#navigation,
#navigation * {
  box-sizing: border-box;
}
#navigation {
  position: relative;
  z-index: 99;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
#navigation a {
  text-decoration: none;
}
#navigation ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
#navigation ul li {
  position: relative;
  margin-bottom: 0;
}
#navigation ul li > .no-link {
  cursor: default;
}

/* top tier */
#navigation ul.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  text-align: center;
}

#navigation ul.menu > li {
  height: 100%;
  display: flex;
  align-items: center;
}
#navigation ul.menu > li:not(.btn-wrap) > a,
#navigation ul.menu > li > .no-link {
  display: block;
  position: relative;
  padding: 0.5em 0em;
  margin: 0em 1.25em;
  border-bottom: 2px solid transparent;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

#navigation ul.menu>li:last-child{
  margin-right: 0 !important;
}

#navigation ul.menu>li:not(.btn-wrap):hover>a,
#navigation ul.menu>li:hover> .no-link{
  border-bottom-color: var(--white);
}

#navigation ul.menu > li:first-child > a,
#navigation ul.menu > li:first-child > .no-link {
  padding-left: 0;
}
#navigation ul.menu > li:not(.btn-wrap):last-child > a,
#navigation ul.menu > li:last-child > .no-link {
  padding-right: 0;
}
#navigation ul.menu > li.btn-wrap:last-child {
  margin-left: 1.25em;
}

#navigation ul.menu>li.btn{
  height: auto;
}
#navigation ul.menu>li.btn-wrap > a {
  margin: 0 !important;
  white-space: nowrap;
}
#navigation .btn-wrap.menu-item-155 a:hover {
  color: var(--white) !important;
}

/* #navigation ul.menu>li.btn>a {
  padding: 0;
} */

/* second tier */
#navigation .sub-menu {
  display: none;
  position: absolute;
  background: var(--woodland-light);
  position: fixed;
  left: 0;
  top: 140px;
  height: 60px;
  width: 100%;
}

/* admin logged in */
body.admin-bar #navigation .sub-menu {
  top: 172px;
}


#navigation ul.menu>li:hover>.sub-menu{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#navigation ul.menu > li > .sub-menu > ul > li { }
#navigation ul.menu > li > .sub-menu > ul > li > a,
#navigation ul.menu > li > .sub-menu > ul > li > .no-link {
  display: block;
  padding: 0.5em 0em;
  margin: 0em 1em;
  border-bottom: 2px solid transparent;
  color: var(--fiord);
  font-size: 18px;
}
#navigation ul.menu > li > .sub-menu > ul > li:hover > a,
#navigation ul.menu > li > .sub-menu > ul > li:hover > .no-link {
  border-bottom-color: var(--fiord);
}

/* third tier */
#navigation ul.menu > li > ul > li > ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #ccc;
}
#navigation ul.menu > li > ul > li:hover > ul {
  display: block;
}
#navigation ul.menu > li > ul > li > ul > li { }
#navigation ul.menu > li > ul > li > ul > li > a,
#navigation ul.menu > li > ul > li > ul > li > .no-link {
  display: block;
  min-width: 15em;
  padding: 0.5em 1em;
  color: #000;
}
#navigation ul.menu > li > ul > li > ul > li:hover > a,
#navigation ul.menu > li > ul > li > ul > li:hover > .no-link {
  background-color: #aaa;
}

#navigation ul.menu>li.btn {
  margin-left: 1.25em;
}
#navigation li.icon-magnifying-glass {
  display: none !important;
}
.icon-magnifying-glass {
  position: relative;
  display: inline-block !important;
  background: var(--woodland);
  border-radius: 30px;
  height: 18px !important;
  width: 18px !important;
  border: 3px solid var(--white);
  margin: 14px 20px;
}

.icon-magnifying-glass a {
  padding: 0 0 0 30px;
  position: absolute;
}

.icon-magnifying-glass:after {
  content: "";
  height: 4px;
  width: 10px;
  background: var(--white);
  position: absolute;
  top: 13px;
  left: 10px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

@media screen and (min-width: 1650px) {

  #navigation li.icon-magnifying-glass {
    display: block !important;
  }
  .icon-magnifying-glass {
    position: relative;
    display: inline-block !important;
    background: var(--woodland);
    border-radius: 30px;
    height: 26px !important;
    width: 26px !important;
    border: 3px solid var(--white);
    margin: 0 30px 0 0;
  }

  .icon-magnifying-glass a {
    color: var(--woodland) !important;
    overflow: hidden;
    width: 0px;
    height: 0px;
    position: relative;
  }

  .icon-magnifying-glass:after {
    content: "";
    height: 4px;
    width: 16px;
    background: var(--white);
    position: absolute;
    top: 22px;
    left: 15px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
  }

  #navigation ul.menu>li.btn {
    margin: 0;
  }

}


/* MOBILE MENU TRIGGER ------------------------------------------ */
#mm-trigger,
#mm-trigger * {
  box-sizing: border-box;
}
#mm-trigger {
  display: none;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
}
#mm-trigger .trigger-title {
  display: none;
}
#mm-trigger .trigger-wrapper {
  display: block;
  width: 60px;
}
#mm-trigger .trigger-container {
  display: block;
  position: relative;
  width: 40px;
  height: 30px;
  margin: 15px 10px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}
#mm-trigger .trigger-container span {
  display: block;
  position: absolute;
  left: 0;
  height: 4px;
  width: 100%;
  background: #FFF;
  border-radius: 10px;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}
#mm-trigger .trigger-container span:nth-child(1) {
  top: 0px;
}
#mm-trigger .trigger-container span:nth-child(2),
#mm-trigger .trigger-container span:nth-child(3) {
  top: 12px;
}
#mm-trigger .trigger-container span:nth-child(4) {
  top: 24px;
}
body.mm-wrapper--opened #mm-trigger .trigger-container span:nth-child(1),
body.mm-wrapper--opened #mm-trigger .trigger-container span:nth-child(4) {
  top: 24px;
  width: 0%;
  left: 50%;
}
body.mm-wrapper--opened #mm-trigger .trigger-container span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
body.mm-wrapper--opened #mm-trigger .trigger-container span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}


/* MOBILE MENU OVERRIDES ---------------------------------------- */
/* #wpadminbar is 32px tall */
.mm-menu {
  --mm-color-background: var(--woodland);
  --mm-color-border: var(--woodland);
  --mm-color-text-dimmed: var(--white);
  --mm-color-text: var(--white);
}
#mm-clone-navigation {
  display: none;
}
body.admin-bar #mm-clone-navigation {
  top: 32px;
}
.mm-menu li.btn-wrap {
  margin-top: 1.25em;
}
.mm-menu li.btn-wrap > a {
  color: var(--fiord);
}
.mm-menu li.btn-wrap > a:hover {
  color: var(--white);
}


@media screen and (max-width: 1650px) {

  /* DESKTOP NAVIGATION ------------------------------------------- */
  .nav-wrap {
    width: calc(100% - 100px);
  }

  #navigation ul.menu > li > a, #navigation ul.menu > li > .no-link,
  #navigation ul.menu > li > a.btn {
    font-size: 16px !important;
  }
  #navigation ul.menu > li.btn {
    font-size: 16px !important;
    border-radius: 2em 0 !important;
  }

  /* second tier */
  #navigation .sub-menu {
    top: 100px;
  }

  /* admin logged in */
  body.admin-bar #navigation .sub-menu {
    top: 132px;
  }

}

@media screen and (max-width: 1200px) {

  /* DESKTOP NAVIGATION ------------------------------------------- */
  .nav-wrap {
    width: calc(100% - 55px);
  }

  #navigation ul.menu > li.btn {
    font-size: 12px !important;
  }
  #navigation ul.menu > li > a, #navigation ul.menu > li > .no-link {
    margin: 0 0.75em;
  }

  /* second tier */
  #navigation .sub-menu {
    top: 70px;
  }
  #navigation ul.menu > li > .sub-menu > ul > li > a, #navigation ul.menu > li > .sub-menu > ul > li > .no-link {
    font-size: 16px;
  }

  /* admin logged in */
  body.admin-bar #navigation .sub-menu {
    top: 102px;
  }

}


@media screen and (max-width: 1000px) {

  /* DESKTOP NAVIGATION ------------------------------------------- */
  #navigation {
    /* display: none !important; */
  }
  #navigation > .menu > li.menu-item:not(.btn) {
    display: none;
  }

  /* MOBILE MENU TRIGGER ------------------------------------------ */
  #mm-trigger {
    display: block;
  }

  /* MOBILE MENU OVERRIDES ---------------------------------------- */
  #mm-clone-navigation {
    display: block;
    width: 100vw;
    left: 0;
  }

  .mm-listitem__text {
    font-weight: 600;
  }

  .mm-listitem:after{
    border-width: 0;
  }

  .mm-listview {
    padding: 0 15px;
  }

  .mm-listview .btn {
    width: 100%;
    border-width: 0;
    font-family: museo-sans, sans-serif;
    margin-top: 30px;
  }

  .mm-listview .btn a{
    font-size: 22px;
  }


  .mm-listview .mm-listitem__btn::after{
    border-color: #FFF;
  }

  .mm-btn--close:before{
    font-size: 250%;
  }

  .sub-menu-wrap {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    flex-direction: column;
  }

  .mm-btn--next:after,
  .mm-btn--prev:before {
    border-color: #FFF;
  }

}

@media screen and (max-width: 782px) {

  /* MOBILE MENU OVERRIDES ---------------------------------------- */
  /* #wpadminbar is 46px tall */
  body.admin-bar #mm-clone-navigation {
    top: 46px;
  }

}

@media screen and (max-width: 550px) {

  /* MOBILE MENU OVERRIDES ---------------------------------------- */
  .mm-menu {
    width: 100%;
  }

}

@media screen and (max-width: 400px) {

  /* DESKTOP NAVIGATION ------------------------------------------- */
  #navigation {
    display: none !important;
  }

}


/* FOOTER NAVIGATION ------------------------------------------- */
#footer .footer-nav-wrap {
  display: flex;
  flex-flow: row nowrap;
  padding-bottom: 1.5em;
}

#footer a.link,
#footer .vcard a,
#footer-nav li:not(.btn-wrap) > a {
  text-decoration: none;
  font-size: 20px;
  line-height: 1.75em;
  border-bottom: 2px solid rgba(255, 255, 255, 0);
  font-style: normal;
  font-weight: 700;
  color: var(--white);
}
#footer a.link:hover,
#footer .vcard a:hover,
#footer-nav li:not(.btn-wrap) > a:hover {
  border-bottom: 2px solid white;
}

#footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

#footer-nav li:not(.btn-wrap) > a {
  font-family: museo-sans, serif;
}

#footer-nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#footer-nav ul li {
  position: relative;
  font-family: museo-sans, sans-serif;
}

#footer-nav ul li>.no-link {
  cursor: default;
}

/* top tier */
#footer-nav ul.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#footer-nav ul.menu>li {
}

#footer-nav ul.menu>li:not(.btn-wrap)>a,
#footer-nav ul.menu>li>.no-link {
  display: block;
  position: relative;
  padding: 0.25em 0em;
  margin: 0em 1.25em;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
}

#footer-nav ul.menu>li:last-child {
  margin-right: 0 !important;
}
#footer-nav ul.menu>li.btn-wrap:last-child {
  margin-left: 1.25em;
}

#footer-nav ul.menu>li:first-child>a,
#footer-nav ul.menu>li:first-child>.no-link {
  padding-left: 0;
}

#footer-nav ul.menu>li:last-child:not(.btn-wrap)>a,
#footer-nav ul.menu>li:last-child>.no-link {
  padding-right: 0;
}

#footer-nav ul.menu>li.btn-wrap>a{
  margin: 0 !important;
  font-family: museo-slab, serif;
}
#footer-nav ul.menu>li.btn-wrap>a:hover {
  color: var(--white) !important;
}

@media screen and (max-width: 1200px) {
  
  #footer > .wrap {
    text-align: center;
  }
  #footer .footer-nav-wrap {
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    gap: 30px 0;
  }
  #footer-nav {
    align-items: center;
    justify-content: center;
  }

}

@media screen and (max-width: 950px) {

  #footer .site-logo {
    height: 147px;
    width: 100px;
  }
  #footer-nav ul.menu {
    flex-flow: column wrap;
  }
  #footer-nav ul li {
    margin: 0;
  }
  #footer-nav ul li.btn {
    margin-top: 15px;
  }
  #footer-nav ul.social-media {
    margin-top: 25px !important;
  }
  #footer-nav ul.menu>li.btn-wrap:last-child {
    margin-left: 0;
  }

}

@media screen and (max-width: 500px) {

  #footer,
  #footer a {
    font-size: 16px;
  }
  #footer a.link,
  #footer .vcard a,
  #footer-nav li:not(.btn-wrap) > a {
    font-size: 16px;
  }

}