﻿/*  
---------------------------------------------------
Main Navigation - Large Breakpoint
---------------------------------------------------  
*/
nav.main {
  height: var(--nav-main-height);
  position: relative;
}

nav.main > ul > li > span::before {
  z-index: -1;
  opacity: 0;
  border-radius: var(--base-border-radius);
  transition: all 0.2s ease-in-out 0s;
}

nav.main ul > li:hover > span::before,
nav.main ul > li:focus > span::before,
nav.main ul > li:active > span::before,
nav.main ul > li.active > span::before,
nav.main ul > li.open-child > span::before {
  opacity: 1;
}

nav.main ul > li.active > span::before {
  opacity: 1;
}

nav.main ul > li:focus-within > span::before {
  opacity: 1;
}

body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main > ul {
  display: flex;
  flex-direction: row;
}

body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main > ul > li {
  height: var(--nav-main-height);
  border: 0 none;
  box-sizing: border-box;
}

nav.main > ul > li > span > a {
  padding: 0 var(--base-half-spacing);
}

body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main > ul > li > span > a {
  height: var(--nav-main-height);
  line-height: 22px;
  /*line-height: var(--nav-main-height);*/
}

nav.main > ul ul > li > span > a {
  padding: 10px var(--base-half-spacing);
}

nav.main > ul > li.has-child > span::after {
  padding: 0;
  font-size: 14px;
}

body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main > ul > li.has-child > span::after {
  line-height: var(--nav-main-height);
  line-height: 22px;
}

html.no-touch body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul li.has-child > span::after {
  z-index: 2;
}

/*  
---------------------------------------------------
MAIN NAV - dropdowns
---------------------------------------------------  
*/
nav.main ul > li > ul {
  transition: opacity 0.3s ease-in-out 0s, top 0.3s ease-in-out 0s;
}

body:not(.header-03-lg) nav.main ul > li > ul,
body:not(.header-03-lg) nav.main.navigation-dropdown-bg-solid ul > li > ul {
  background: rgba(var(--navigation-dropdown-color1), 1);
}

body:not(.header-03-lg) nav.main.navigation-dropdown-bg-linear ul > li > ul {
  background: linear-gradient(var(--navigation-dropdown-angle), rgba(var(--navigation-dropdown-color1), 1) 0%, rgba(var(--navigation-dropdown-color2), 1) 100%);
}

body:not(.header-03-lg) nav.main.navigation-dropdown-bg-radial ul > li > ul {
  background: radial-gradient(farthest-side at var(--navigation-dropdown-start-perc) var(--navigation-dropdown-stop-perc), rgba(var(--navigation-dropdown-color1), 1) 0%, rgba(var(--navigation-dropdown-color2), 1) 100%);
}

body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul > li > ul {
  display: none;
  position: absolute;
  left: -999em;
  z-index: 99;
  width: var(--nav-main-dropdown-width);
  border-radius: var(--base-border-radius);
  box-shadow: var(--base-box-shadow_h) var(--base-box-shadow_v) var(--base-box-shadow_b) rgba(var(--true-black), var(--base-box-shadow_o));
  opacity: 0;
  pointer-events: none;
}
body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul > li > ul a {
  pointer-events: none;
}

html.no-touch body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul > li:hover > ul,
body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul > li.open-child > ul {
  display: block;
  left: 0;
  opacity: 1;
  pointer-events: all;
}
html.no-touch body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul > li:hover > ul a,
body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul > li.open-child > ul a {
  pointer-events: all;
}

nav.main ul ul li > span::before {
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 100% !important;
}

html.no-touch nav.main ul ul li:hover > span::before,
nav.main ul ul li:focus > span::before,
nav.main ul ul ul li:active > span::before,
nav.main ul ul li.active > span::before,
nav.main ul ul li.open-child > span::before {
  display: none;
  width: 3px;
}

nav.main ul ul li:focus-within > span::before {
  width: 3px;
}

nav.main ul ul li.has-child > span::after {
  content: "\f3d1"; /* right */
  font-weight: 900;
  color: #000;
  padding-top: 0;
  margin-right: 1.5rem;
}

#dropdown-left span::after,
nav.main ul #dropdown-left ul li.has-child ul li.has-child ul li span::before,
ul #hide-children span::before {
  display: none !important;
}

nav.main ul #dropdown-left ul li.has-child span::before,
nav.main ul #dropdown-left ul li.has-child ul li.has-child span::before,
nav.main ul #dropdown-left ul li.has-child:hover ul li.has-child span::before {
  content: "\f3cf"; /* left */
  font-weight: 900;
  color: #000 !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 0;
  margin-left: 1.5rem;
  transition: none;
}

nav.main ul #dropdown-left ul li.has-child:hover span::before,
nav.main ul #dropdown-left ul li.has-child ul li.has-child:hover span::before,
nav.main ul li ul li.active span::before {
  background-color: #C61625;
  color: #fff !important;
}

nav.main ul #dropdown-left ul li.no-child span::before, nav.main ul #dropdown-left ul li.has-child ul li.no-child span::before {
  display: none;
}

nav.main ul ul li.no-child span::before {
  display: none;
}

html.no-touch nav.main ul ul li:not(.active):hover > span::after, nav.main ul ul li:not(.active):focus > span::after, nav.main ul ul li:not(.active):active > span::after, nav.main ul ul li:not(.active).open-child > span::after {
  color: rgba(var(--navigation-dropdown-link-hover), 1);
}

nav.main ul ul li:not(.active):focus-within > span::after {
  color: rgba(var(--navigation-dropdown-link-hover), 1);
}

nav.main ul ul li.active.has-child > span::after {
  color: rgba(var(--navigation-dropdown-link-active), 1);
}

body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main > ul li.has-child ul > li > span > a, body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main > ul ul > li > span > a {
  padding: 10px var(--base-half-spacing);
}

body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main > ul ul > li.has-child > span > a {
  padding: var(--base-half-spacing) 30px var(--base-half-spacing) var(--base-half-spacing);
}

/*nav.main ul ul > li > span > a {
  color: rgba(var(--navigation-dropdown-link), 1);
}*/
nav.main ul ul > li:hover > span > a, nav.main ul ul > li > span > a:hover, nav.main ul ul > li > span > a:focus, nav.main ul ul > li > span > a:active, nav.main ul ul > li.open-child > span > a {
  color: rgba(var(--navigation-dropdown-link-hover), 1);
}

nav.main ul ul > li:focus-within > span > a {
  color: rgba(var(--navigation-dropdown-link-hover), 1);
}

nav.main ul ul > li.active > span a {
  color: rgba(var(--navigation-dropdown-link-active), 1);
}

body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul ul > li > ul {
  z-index: 100;
}

body:not(.header-03-lg) nav.main ul ul > li > ul, body:not(.header-03-lg) nav.main.navigation-dropdown-bg-solid ul ul > li > ul {
  background: rgba(var(--navigation-dropdown-color1), 1);
}

body:not(.header-03-lg) nav.main.navigation-dropdown-bg-linear ul ul > li > ul {
  background: linear-gradient(var(--navigation-dropdown-angle), rgba(var(--navigation-dropdown-color1), 1) 0%, rgba(var(--navigation-dropdown-color2), 1) 100%);
}

body:not(.header-03-lg) nav.main.navigation-dropdown-bg-radial ul ul > li > ul {
  background: radial-gradient(farthest-side at var(--navigation-dropdown-start-perc) var(--navigation-dropdown-stop-perc), rgba(var(--navigation-dropdown-color1), 1) 0%, rgba(var(--navigation-dropdown-color2), 1) 100%);
}

html.no-touch body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul ul > li:hover > ul, body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul ul > li.open-child > ul {
  left: 230px;
  opacity: 1;
}

/* Multi column navigation */
body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul > li > ul.multi-col {
  width: var(--nav-main-dropdown-width_wide);
  flex-wrap: wrap;
}

body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul > li > ul.multi-col > li {
  flex: 1 1 50%;
  max-width: 50%;
}

html.no-touch body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul > li:hover > ul.multi-col, body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul > li.open-child > ul.multi-col {
  display: flex;
}
