/* #bsawf-single-box-menu.container {
  display: flex;
  flex-direction: row;
  list-style: none;
  position: fixed;
  left: 0;
  top: 120px;
  z-index: 999999;
  background-color: white;
  margin-left: 0;
  padding-left: 0;
  width: fit-content;
  padding-right: 0;
} */

#bsawf-single-box-menu.container {
  display: flex;
  flex-direction: row;
  list-style: none;
  position: fixed;
  left: 0;
  top: 120px;
  z-index: 999999;
  background-color: white;
  margin-left: 0;
  padding-left: 0;
  width: fit-content;
  padding-right: 0;
  /* overflow-y: auto; */
  max-height: 90vh;
}

#bsawf-single-box-menu .singlebox-nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  width: 25vw;
  min-width: 400px;
  margin: 0;
  position: relative;
  box-shadow: 0px 20px 20px 0px rgb(29 29 27 / 10%);
}

.singlebox-nav .nav-link {
  background-color: white;
  padding: 0;
  cursor: pointer;
}

.singlebox-nav .nav-item:not(.nav-last-item) svg {
  transform: rotateZ(-90deg);
}

#bsawf-single-box-menu .nav-link * {
  pointer-events: none;
}

#bsawf-single-box-menu .singlebox-nav__background {
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 120px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

#bsawf-single-box-menu .nav-item {
  padding: 2px;
  width: 100%;
  font-family: Ballinger, sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 1.2vw;
  background-color: #fff;
  padding: 0.65vw 50px;
  color: #005335;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#bsawf-single-box-menu .nav-item p {
  display: flex;
  flex-direction: row;
  pointer-events: none;
  margin-bottom: 0 !important;
  line-height: 1.2;
  align-items: center;
}

#bsawf-single-box-menu .nav-item {
  height: fit-content;
}

#bsawf-single-box-menu .nav-header p {
  border-left: 3px solid #005335;
  padding-left: 10px;
  height: 2vw;
}

#bsawf-single-box-menu .nav-last-item-link {
  align-self: auto;
}

#bsawf-single-box-menu .nav-last-item {
  color: white;
  background-color: #005335;
  font-family: Ballinger;
  font-style: normal;
  font-weight: bold;
  font-size: 1.2vw;
  padding: 0.35vw 50px;
}

/* Sections */

#bsawf-single-box-menu .menu-section {
  position: absolute;
  left: 100%;
  top: 0;
  min-height: 100%;
  width: 25vw;
  min-width: 400px;
  background-color: #fff;
  padding: 5px 0;
  box-shadow: 0px 20px 20px 0px rgb(29 29 27 / 10%);
}

#bsawf-single-box-menu .section-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin-top: 1.5vw;
  margin-right: 6%;
}

#bsawf-single-box-menu .section-list-title {
  color: #005335;
  font-family: Ballinger, sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 1vw;
  margin-bottom: 0.5vw;
}

#bsawf-single-box-menu .section-list-title a {
  color: #005335;
  font-family: Ballinger, sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 1vw;
}

#bsawf-single-box-menu .section-list-title a:hover {
  cursor: pointer;
}

/* Sublist */

#bsawf-single-box-menu .section-sublist {
  display: flex;
  flex-direction: column;
  /* list-style: none; */
  margin-bottom: 0.5vw;
}

#bsawf-single-box-menu .section-sublist-item a {
  color: #005335;
  font-family: Ballinger, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.9vw;
}

li.section-sublist-item::marker {
  color: #005335;
}

[data-hide-subsection='true'] {
  display: none;
}

.nav-link-show-on-tablet {
  display: none;
}

hr.nav-link-separator {
  height: 1px;
  padding: 0;
  margin: 0;
  background-color: #005335;
}

/*TABLET*/

@media (min-width: 781px) and (max-width: 1200px) {
  #bsawf-single-box-menu .nav-item {
    font-size: 16px;
    padding: 14px 30px;
    margin-top: -1px;
  }

  #bsawf-single-box-menu .section-list-title,
  #bsawf-single-box-menu .section-sublist-item a {
    font-size: 16px;
  }

  #bsawf-single-box-menu .singlebox-nav__background,
  #bsawf-single-box-menu.container {
    top: 80px;
  }

  #bsawf-single-box-menu .section-list-title a {
    font-size: 16px;
  }
}

@media screen and (min-width: 780px) and (max-width: 1200px) {
  .nav-link-show-on-tablet {
    display: block;
  }
}

/* MOBILKA */

@media screen and (max-width: 780px) {
  #bsawf-single-box-menu .singlebox-nav {
    max-height: 80vh;
    overflow-y: auto;
  }
}
