/*
==============================
Page: All
Section: Navbar for header with margin top
==============================
*/

body.admin-bar header {
  margin-top: 32px;
}
body header .navbar-main {
  padding-top: 12px;
  padding-bottom: 12px;
}

body.admin-bar .margin-top-content .site-content {
  margin-top: 109px;
}
.margin-top-content .site-content {
  margin-top: 120px;
}

@media (min-width:992px) {
  body.admin-bar .margin-top-content .site-content {
    /*margin-top: 93.42px;*/
    margin-top: 104px;
  }
  .margin-top-content .site-content {
    /*margin-top: 68.8px;*/
    margin-top: 102px;
  }
}


/*
==============================
Page: All
Section: Navbar Brand
==============================
*/


.navbar-brand {
  padding:0;
}
.navbar-brand img {
  width: 64px;
  height: auto;
}
@media (min-width: 992px) {
  .navbar-brand img {
    width: 80px;
  }
}

/*
==============================
Page: All
Section: Navbar Main
==============================
*/

.navbar-main {
  width: 100%;
  box-shadow: 0px 4px 6px 0px #62626233;
  background-color: #fff;
}

/*
==============================
Page: All
Section: Navbar Transition
==============================
*/

º
.navbar-transition {
  box-shadow:0 0px 2px #c7c1afe0;
  -webkit-transition: all 500ms;
  -moz-transition: all 500ms;
  -o-transition: all 500ms;
  transition: all 500ms;
}
.navbar-transition.scrolled .navbar-brand {
  opacity:1;
  -webkit-transition: all 500ms;
  -moz-transition: all 500ms;
  -o-transition: all 500ms;
  transition: all 500ms;
}

@media (max-width: 500px) {
  body.admin-bar .navbar-transition.scrolled {
    margin-top: -32px;
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    -o-transition: all 500ms;
    transition: all 500ms;
  }
}

@media (min-width: 992px) {
  .navbar-transition.scrolled .navbar-brand img {
    opacity:1;
    width: 64px;
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    -o-transition: all 500ms;
    transition: all 500ms;
  }
  .navbar-transition.scrolled.navbar-main {
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    -o-transition: all 500ms;
    transition: all 500ms;
  }
}

/*
==============================
Page: All
Section: Navbar Mobile Menu
==============================
*/


#navbar {
	color: var(--blue);
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	height: 90vh;
	margin-top: 102px;
  padding-top: 30px;
	z-index: 999;
	overflow-y: scroll;
}
@media (max-width: 480px) {
  #navbar {
    background-color: var(--white);
  }
}
.logged-admin #navbar {
  margin-top: 134px;
}
.navbar-nav {
  padding-left:17px;
  padding-right:19px;
}
.close-menu {
	position: absolute;
	right: 28px;
	top: 32px;
	z-index: 100;
}
.logged-admin .close-menu {
	top: 60px;
	z-index: 100;
}
.close-menu span {
  font-size:3rem;
  line-height:1em;
  color: var(--darkGreen);
}

.header-title {
  font-size: 20px;
  font-family: 'Suez One', sans-serif;
  font-weight: 700;
  text-align: left;
  max-width: 220px;
  line-height: 22px;
}

.mobile-nav-buttons {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}

@media (min-width: 992px) {
  #navbar {
    /*background-color: var(--white);*/
    color: var(--blue);
    position: relative;
    height: auto;
    padding: 0;
    overflow-y: visible;
    margin-top: 0;
  }
  .navbar-nav {
    padding-left: 0;
    padding-right: 0;
  }
  .logged-admin #navbar {
    margin-top: 0;
  }
}

/*
==============================
Page: All
Section: Navbar Links
==============================
*/

.nav-link {
  font-family: 'Noto Sans', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--blue);
  font-size: 16px;
  margin-bottom: 0.5rem;
}
.nav-link:visited {
  color: var(--blue);
}
.nav-link:hover,
.nav-link:focus {
  color: var(--gold);
}
.nav-link-mobile-wrapper .nav-link {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0.5rem;
}

@media (min-width:992px) {

  .nav-link {
    color: var(--blue);
    font-size:1rem;
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .nav-link:visited,
  .nav-link:active {
    color: var(--blue);
  }
  .nav-item:hover .nav-link,
  .nav-link:hover,
  .nav-link:focus {
    color: var(--gold);
  }
  .nav-item {
    text-transform: uppercase;
  }
}

@media (min-width: 1200px) {
  .nav-item {
    margin-right: 1rem;
  }
  .nav-item:last-child {
    margin-right: 0;
  }
}

/*
==============================
Page: All
Section: Navbar Buttons
==============================
*/

.button.navbar-button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  width: 100%;
}
.navbar-button-wrapper {
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .button.navbar-button {
    width: auto;
  }
}

.start-journey-link a {
  width: 200px;
  margin: 0 auto;
  margin-bottom: 1rem;
}
@media (min-width: 992px) {
  .start-journey-link a {
    width: auto;
    margin-bottom: 0;
  }
}

.start-journey-link a,
.start-journey-link a:visited {
  border-radius: 12px;
  border: 0;
  background-color: var(--yellow);
  color: var(--white);
  padding: 0.5rem;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.start-journey-link a:hover {
  cursor: pointer;
  background: var(--darkBlue);
  color: #fff !important;
  transition: all 700ms ease;
  -webkit-transition: all 700ms ease;
  -moz-transition: all 700ms ease;
  -ms-transition: all 700ms ease;
  -o-transition: all 700ms ease;
}

.start-journey-link a:active {
  background-color: var(--darkBlue);
  color: #fff;
}

.separator-v-s {
  border-right: 2px solid;
  height: 35px;
  color: var(--yellow);
}

.page-template-front-page .start-journey-link a,
.page-template-front-page .start-journey-link a:visited {
  background-color: var(--darkBlue);
}

.page-template-front-page .separator-v-s {
  color: var(--white);
}

.page-template-front-page .navbar-transition.scrolled .start-journey-link a {
  background-color: var(--yellow);
}
.page-template-front-page .navbar-transition.scrolled .separator-v-s {
  color: var(--yellow);
}
/*
==============================
Page: Navbar
Section: Mini Cart
==============================
*/

@media (max-width: 480px) {
  .dropdown-menu.show {
    position: relative !important;
    background-color: transparent;
    margin: 0 auto !important;
    text-align: center;
    transform: none !important;
  }
  .dropdown-item {
    margin-bottom: 1rem;
  }
}
.dropdown.menu-item .dropdown-menu {
  min-width: 30px;
  max-width: 15rem;
  width: 15rem;
  box-shadow: 0px 4px 40px 0px #3338571A;
}
.dropdown-menu {
  background-color: #fff;
  border-radius: 12px;
  margin-top:10px;
  padding: 0.6rem;
  border: 0;
  margin-bottom:0;
}
.dropdown-item {
  color: var(--blue);
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.dropdown-item:focus, .dropdown-item:hover {
  background-color: transparent;
  color: var(--gold);
}
.dropdown-item.active, .dropdown-item:active {
  background-color: transparent;
  color: var(--blue);
}


.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 0.5rem;
  margin-top: -0.52rem;
  vertical-align: middle;
  width: 0.55em;
  height: 0.55em;
  border-right: 0.1rem solid currentColor;
  border-bottom: 0.1rem solid currentColor;
  transform: rotate(45deg);
  border-left: 0;
  border-top: 0;
  transition: transform 0.2s ease;
}

/* Mobile dropdown panel below fixed header */
.mobile-menu{
  position: fixed;
  left:0; right:0; top:102px;
  background:#fff;
  z-index:1040;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  border-top:1px solid rgba(0,0,0,.06);
  max-height: calc(100vh - 102px);
}

body.admin-bar .mobile-menu {
  top: 150px
}
/* flex column so list scrolls and footer stays put */
.mobile-menu-inner{ height: calc(100vh - 102px); display:flex; flex-direction:column; }
.mobile-nav{ min-height:0; }           /* allows overflow to work in flex child */
.mobile-cta{ background:#fff; }         /* avoid inheriting transforms/animations */

/* optional cosmetics */
#mobileNavList .nav-link{ color:#333857; display:block; }
#mobileNavList .nav-item{ margin:2px 0; }

/* caret rotation if you use collapsible parents */
.caret{
  display:inline-block;width:.6rem;height:.6rem;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);transition:transform .2s ease;
}
button[aria-expanded="true"] .caret{ transform:rotate(-135deg); }
