/**
 * Hidden fallback
 */
[hidden] {
  display: none;
  visibility: hidden;
}

/**
 * Styling navigation
 */
.hamburger {
  display: none;
}

.bar {
  float: right;
  color: var(--bs-primary);
  font-size: 20px;
  margin-top: 0px;
}


/**
 * Styling top level items
 */
.nav-main ul li a,
.nav-main ul li span,
.nav-main ul li label {
  display: block;
  padding: 2px 0px 2px 0px;
  color: var(--bs-primary);
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--r-header-item-font-size);

}

.nav-main ul li a {
  padding-left: 3px;
}

.nav-main ul li a:focus,
.nav-main ul li a:hover {
  color: opacity(.6);
}

.nav-main li .list-title {
  color: var(--bs-secondary);
  font-size: var(--header-title-font-size);
}

.nav-main label {
  cursor: pointer;
}

.nav__list,
.sub-sub-group-list {
  padding: 0px !important;
  width: 100%;
}

.group-list,
.sub-group-list {
  width: 100%;
}

/**
 * Rotating chevron icon
 */
label>span {
  float: right;
  transition: transform .65s ease;
}

.nav__list input[type=checkbox]:checked+label>span {
  transform: rotate(90deg);
}



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

  .li-main:hover li.sub-group-list1 a {
    color: var(--bs-link-hover);
  }

  .li-main:hover label {
    color: var(--bs-link-hover) !important;
  }

  .group-list li a:hover {
    color: var(--bs-primary) !important;
  }

  .nav__list input[type=checkbox]+label+a+ul {
    max-height: 1000px;
  }

  .nav__list input[type=checkbox]+label>.fa-angle-right {
    display: none;
  }
}

@media only screen and (min-width: 1200px) and (max-width:1920px) {
  .li-main {
    position: relative;
    z-index: 9;
  }

  ul.sub-group-list {
    padding: 0;
  }

  .li-main:hover a {
    color: var(--bs-body-bg) !important;
  }

  .list-title span.fa.fa-angle-right {
    display: none;
  }

  ul.main-group-list {
    padding: 0;
  }

  .li-main:hover {
    background-color: var(--bs-secondary);
  }

  ul.group-list {
    display: none;
    position: absolute;
    left: 100%;
    top: 0.5px;
    background-color: var(--bs-secondary);
    color: white;
    width: 100%;
    z-index: 1;
  }

  .li-main:hover ul.group-list {
    display: block;
  }

  .sub-group-list {
    display: none;
  }

  .sub-group-list1:hover ul.sub-group-list {
    display: block;
  }

  .sub-group-list1:hover ul.sub-group-list {
    display: block;
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 1;
    background-color: var(--bs-secondary);
    border-left: 1px solid white;
  }

  li.sub-group-list1 {
    padding-left: 10px;
  }

  .li-main a label:hover {
    color: white;
  }

  .group-list li label:hover {
    color: white;
  }

  .group-list li a:hover {
    color: white;
  }

  ul.group-list {
    padding: 0;
  }

  ul.sub-group-list li {
    padding-left: 10px;
  }

  .group-list,
  .sub-group-list,
  .main-group-list,
  .sub-sub-group-11,
  .sub-sub-group-1,
  .sub-group-1 {
    height: auto;
    max-height: auto;
    overflow: unset;
    transition: max-height .5s ease-in-out;
  }

  .nav__list input[type=checkbox]+label+a+ul {
    max-height: unset;
  }

  .nav__list input[type=checkbox]+label>.fa-angle-right {
    display: none;
  }
}

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

  ul.group-list,
  ul.sub-group-list {
    padding: 0;
  }

  ul.sub-group-list {
    margin-left: 13px;
  }

  li.sub-group-list1 a {
    margin-left: 15px;
  }

  ul.main-group-list {
    padding: 0;
  }

  li.sub-group-list1.g-1 a {
    margin: 0;
  }

  .main-group-list a {
    background-color: var(--table-background);
  }

  li.sub-group-list1 a {
    background-color: var(--bs-body-bg);
  }

  .sub-group-list a {
    background-color: var(--table-background);
  }

  .nav__list input[type=checkbox]:checked+label+ul {
    max-height: 1000px;
  }

  .group-list,
  .sub-group-list,
  .main-group-list,
  .sub-sub-group-11,
  .sub-sub-group-1,
  .sub-group-1 {
    height: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease-in-out;
  }

  .li-main a:hover {
    background-color: var(--bs-secondary);
  }

  .nav-main ul li span,
  .nav-main ul li label {
    text-align: left;
    margin: 5px 10px 0px 10px;
  }

  .nav-main ul li span {
    position: relative;
    top: -1px;
  }

  .nav-main ul li a {
    padding: 5px 10px 5px 10px;
  }
  .hamburger {
    display: block;
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 30px;
    padding-top: 13px;
  }

  .hamburger.active {
    background-color: var(--bs-white);
  }
}