div.mobile-menu-container {
  position: fixed!important;
  z-index: 24;
}

#custom-menu .list {
  width: 100%;
}

#custom-menu .nested-list {
  font-size: 16px;
  line-height: 100%;
  color: #232325;
  position: relative;
  border: none;
  background-color: transparent;
  font-family: "Montserrat";
  font-weight: 300;
  padding: 0;
}

#custom-menu .open .nested-list  {
  font-weight: 500;
}

#custom-menu .list:nth-child(1).open .product-list,
#custom-menu .list:nth-child(4).open .company-list,
#custom-menu .list:nth-child(5).open .company-list {
  margin-top: 10px;
  max-height: 500px;
}

#custom-menu .list:nth-child(1).open .product-list {
  margin-top: 0;
}

#custom-menu .list:nth-child(3) .company-list,
#custom-menu .list:nth-child(4) .company-list {
  margin-top: 0;
}

#custom-menu .nested-list::before {
  content: " ";
  position: absolute;
  top: 4px;
  right: -14px;
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1.7px solid;
  border-bottom: 1.7px solid;
  transform: rotate(45deg);
  transition: all .25s ease-in-out;
  color: #232325;
;
}

#custom-menu .list:nth-child(4) .nested-list {
  border: none;
  background-color: transparent;
}

#custom-menu .open .nested-list::before {
  transform: rotate(225deg);
  top: 7px;
}

#custom-menu .company-list {
  overflow: hidden;
  max-height: 0;
  transition: all 0.2s ease-in-out;
  transform-origin: top;
}

/*#custom-menu .company-path {
  color: #232325;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  line-height: normal;
}*/

#custom-menu .company-part {
  display: flex;
  flex-direction: column;
  border-bottom: 1px #E8E9F0 solid;
  padding-bottom: 16px;
}

#custom-menu .company-part.not-lined {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
