/* ============================================ *
 * Skip Content
 * ============================================ */
.skip-content {
  display: none;
}

.skip-content.skip-active {
  display: block;
  background: #EDEDED;
}
html body.mobile-nav-shown{
  overflow: auto;
}
/* ============================================ *
 * Global Header Navigation
 * ============================================ */
 .nav-primary li.level0>a:hover,.nav-primary li.level0:hover > a{
    color: #fff;
 }
@media only screen and (max-width: 770px) {
  #header-account li a,
  .nav-primary a.level0 {
    padding: 0 15px 0 25px;
    border-bottom: 1px solid #cccccc;
    text-align: left;
    color: #636363;
    text-transform: uppercase;
    line-height: 30px;
  }

  #header-account li:last-child a,
  .nav-primary li.level0:last-child a.level0 {
    border-bottom: 0;
  }

  .no-touch #header-account a:hover,
  .no-touch .nav-primary a:hover {
    background-color: #f4f4f4;
    text-decoration: none;
  }
}
.account-cart-wrapper {
  position: absolute;
  top: 0px;
  right: 0px;
}
@media only screen and (max-width: 770px) {
  .account-cart-wrapper {
    position: static;
  }
}

/* ============================================ *
 * Nav - Skip Link
 * ============================================ */
.skip-nav {
  width: 40%;
}
.skip-nav:not(.skip-active):hover {
  text-decoration: none;
}
.skip-nav:not(.skip-active):hover .icon {
  background-position: -46px 4px;
}

.skip-nav .label {
  display: inline;
}

.skip-nav .icon {
  background-position: 4px 4px;
}

@media only screen and (min-width: 500px) {
  .skip-nav {
    width: 25%;
  }
}
@media only screen and (min-width: 771px) {
  .skip-nav {
    display: none;
  }
}
/* ============================================ *
 * Nav - Skip Content
 * ============================================ */
@media only screen and (max-width: 770px) {
  #header-nav {
    padding: 5px 0;
  }
}
@media only screen and (min-width: 771px) {
  #header-nav {
    display: block;
    /* Force visibility */
    border-bottom: 1px solid #ededed;
    border-top: 1px solid #ededed;
  }
}
/* ============================================ *
 * Nav Primary
 * ============================================ */
@media only screen and (min-width: 771px) {
  .nav-primary {
    display: block;
  }
}
/* ============================================ *
 * General Navigation Styles
 * ============================================ */
.nav-primary a {
  text-decoration: none;
  position: relative;
  display: block;
  color: #636363;
  line-height: 30px;
}
#nav{
  position: relative;
}
.nav-primary .menu-active > ul.level0,
.nav-primary li.level0 li.sub-menu-active > ul {
  display: block;
}

.nav-primary li.level0 > a {
  text-transform: uppercase;
  color: #fff;
}

/* ============================================ *
 * Small Viewports - Accordion Style Menu
 * ============================================ */
@media only screen and (max-width: 770px) {
  .nav-primary a.level0,
  .nav-primary a {
    line-height: 35px;
  }
  .nav-primary li.level0 ul {
    display: none;
  }
  .nav-primary li.level0 li {
    padding: 0 0 0 25px;
    text-align: left;
  }
  .nav-primary li.level1 a {
    padding: 0 15px 0 25px;
  }
  .nav-primary li.parent > a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    display: block;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #cccccc;
    border-right: none;
    top: 50%;
    left: 10px;
    right: auto;
    margin-top: -5px;
  }
  .nav-primary li.parent.sub-menu-active > a:after,
  .nav-primary li.parent.menu-active > a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    display: block;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 5px solid #cccccc;
    border-bottom: none;
    top: 50%;
    left: 10px;
    right: auto;
    margin-top: -5px;
  }
  .nav-primary li.menu-active > a,
  .nav-primary li.sub-menu-active > a {
    color: #3399cc;
  }
}
/* ============================================ *
 * Large Viewports - Dropdown Menu
 * ============================================ */
@media only screen and (min-width: 771px) {
  .nav-primary {
    /* Default styles for 1+ drop-down menus */
    /* Level 2+ */
    /* Class for js to add briefly to evaluate element positioning. */
    /* Correct menus that will hang off the page (class added by js) */
    /* Level 1+ */
  }
  .nav-primary a.level0 {
    padding: 0 25px;
  }
  .nav-primary li.level0,
  .nav-primary a.level0 {
    display: inline-block;
  }
  .nav-primary li:last-child > a {
    border-bottom: none;
  }
  .nav-primary a:hover,
  .nav-primary li:hover > a {
    color: #636363;
  }
  .nav-primary .menu-active {
    z-index: 200;
  }
  .nav-primary li.level0 ul {
    background: #fff;
    border: solid 1px #cccccc;
    position: absolute;
    left: 0;
    top: 30px;
    right: 0;
    z-index: 10;
    width: 100%;
    padding: 10px 30px;
    text-align: left;
    display: none;
    /* Hide until displayed. */
  }
  .nav-primary li.level1 ul {
    display: block;
    position: relative;
    left: 0;
    top: 0;
    border: none;
    padding: 0;
  }
  .nav-primary li.level0 ul.level0.position-test {
    display: block;
  }
  .nav-primary li.level0 ul.level0.spill {
    right: 0;
    left: auto;
  }
  .nav-primary li.level0 ul.level0.spill li.level1 ul {
    left: auto;
    right: 50px;
    top: 20px;
  }
  .nav-primary li.level0 li.parent > a.has-children{
    color: #000;
    font-weight: bold;
    font-size: 14px;
  }
  .nav-primary ul li a {
    color: #000;
    font-weight: bold;
  }
  .nav-primary li.level0 li.parent > ul li a {
    color: #636363;
    font-weight: normal;
  }
  .nav-primary li.level1.menu-active ul{
      display: block;
  }
  .nav-primary li.level0 li.parent > a {
    position: relative;
  }
}
.nav-primary li.menu-active > ul {
    display: flex;
    gap: 30px;
    justify-content: center;
}
@media(min-width: 768px){
  #nav{
    max-width: fit-content;
    margin: 0 auto;
  }
  .nav-primary li.level0, .nav-primary li.level0:first-child a.level0 {padding-left: 0;}
  .nav-primary li.level0, .nav-primary li.level0:last-child a.level0 {padding-right: 0}
}
@media(max-width: 767px){
  .nav-primary li.level0>a{
      color: #636363;
  }
  .header-container.type8 .header .cart-area .menu-icon{
    display: block;
  }
  .nav-primary li.menu-active>ul{
    display: block;
  }
}