.main-menu {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.main-menu ul {
  margin: 0;
  padding: 0;
}

.main-menu-toggle {
  align-items: center;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
}

.main-menu-toggle__icon {
  padding-right: 22px;
}

.main-menu-toggle__icon .close {
  display: none;
}

.main-menu.show .main-menu-toggle__icon .hamburger {
  display: none;
}

.main-menu.show .main-menu-toggle__icon .close {
  display: block;
}

.main-menu-toggle__text {
  color: #00945f;
  font-family: 'FuturaPTMedium', Futura, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.main-menu-content {
  background-color: #fff;
  box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.40);
  display: none;
  flex-direction: column;
  padding: 24px 0;
  position: absolute;
  right: 0;
  top: 100%;
  width: 100%;
  z-index: 1000;
}

.main-menu-items {
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
}

.main-menu-item {
  flex-basis: 100%;
  position: relative;
}

.main-menu-item .description {
  color: #58595B;
  display: block;
  font-family: 'FuturaPTBook', Futura, Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 12.5px;
  margin-bottom: 4px;
}

.main-menu-item .description.bottom-description {
  font-style: italic;
  line-height: 18px;
}

.specialty .description.depth-0 {
  display: none;
}

.main-menu.show .main-menu-content {
  display: flex;
}

.main-menu-item.depth-0.show {
  border-bottom: solid 2px #028447;
}

.main-menu-item.depth-0 > .dropdown-toggle {
  border-bottom: solid 2px #028447;
  box-sizing: border-box;
  color: #58595B;
  display: block;
  font-family: 'FuturaPTBold', Futura, Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 29px 0 29px 48px;
  position: relative;
  text-decoration: none;
  width: 100%;
}

.main-menu-item.depth-0.show > .dropdown-toggle {
  color: #028447;
}

.main-menu-item.depth-0:first-child > .dropdown-toggle {
  border-top: solid 2px #028447;
}

.main-menu-item.depth-0.has-sub-list > .dropdown-toggle::after {
  background-image: url("../../assets/icons/menu-gray-arrow-down.svg");
  background-repeat: no-repeat;
  content: '';
  height: 14px;
  position: absolute;
  right: 30px;
  transform: translateY(-50%);
  top: 50%;
  width: 24px;
}

.main-menu-item.depth-0.has-sub-list.show > .dropdown-toggle::after {
  background-image: url("../../assets/icons/menu-green-arrow-up.svg");
}

.main-menu-item.depth-0:nth-child(4) {
  padding-bottom: 24px;
}

.main-menu-item.depth-0.has-sub-list > .dropdown-menu-wrapper > .dropdown-menu {
  display: none;
}

.main-menu-item.depth-0.has-sub-list.show > .dropdown-menu-wrapper > .dropdown-menu {
  display: block;
}

.main-menu-item.depth-0.has-sub-list.show:not(.specialty) > .dropdown-menu-wrapper > .dropdown-menu {
  display: block;
  padding: 8px 0 8px 46px;
}

.main-menu-item.depth-0:not(.has-sub-list) > .main-menu-item__link {
  border-bottom: solid 2px #028447;
  color: #58595B;
  display: block;
  font-family: 'FuturaPTBold', Futura, Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
  padding: 29px 0 29px 48px;
  text-decoration: none;
}

.main-menu-item__link.is-active {
  color: #028447 !important;
}

.main-menu-item.depth-1 .description.depth-1 {
  display: none;
}

.main-menu-item.depth-1 > .dropdown-toggle {
  box-sizing: border-box;
  color: #028447;
  display: block;
  font-family: 'FuturaPTBold', Futura, Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 18px 0 0 48px;
  position: relative;
  text-decoration: none;
  width: 100%;
}

.main-menu-item.depth-1 > .dropdown-menu {
  box-sizing: border-box;
  padding: 0 0 19px 48px;
  position: relative;
}

.main-menu-item.depth-1 > .dropdown-menu::after {
  background-color: #58595B;
  content: '';
  height: 1px;
  left: 48px;
  margin: 16px 0;
  position: absolute;
  width: 60px;
}

.main-menu-item.depth-1:last-child > .dropdown-menu::after {
  display: none;
}

.main-menu-item.depth-1 > .dropdown-menu .main-menu-item {
  padding: 18px 0 0 0;
}

.main-menu-items > .main-menu-item:not(.specialty) .depth-1 {
  margin-bottom: 36px;
  margin-top: 36px;
}

.main-menu-item.depth-1 > .dropdown-menu .main-menu-item__link {
  color: #58595B;
  display: block;
  font-family: 'FuturaPTBold', Futura, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 0;
  text-decoration: none;
}

.main-menu-items > .main-menu-item:not(.specialty) .depth-1:first-child {
  display: none;
}

.main-menu-items > .main-menu-item:not(.specialty) .depth-1 .main-menu-item__link {
  color: #58595B;
  display: block;
  font-family: 'FuturaPTBold', Futura, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 0;
  position: relative;
  text-decoration: none;
}

.main-menu-items > .main-menu-item:not(.specialty) .depth-1::after {
  background-color: #58595B;
  bottom: -18px;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  width: 60px;
}

.main-menu-items > .main-menu-item:not(.specialty) .depth-1:last-child::after {
  display: none;
}

.main-menu-item.depth-1 > .dropdown-menu .main-menu-item.depth-2 {
  width: 80%;
}

/* Desktop Styles */
@media screen and (min-width: 1200px) {
  .main-menu {
    display: block;
    position: relative;
    width: 1000px;
  }

  .main-menu-toggle {
    display: none;
  }

  .main-menu-content {
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
    display: flex;
    height: 110px;
    justify-content: center;
    padding: 0 37px 0 0;
    position: relative;
    z-index: unset;
  }

  .main-menu-items {
    align-items: center;
    align-self: end;
    display: flex;
    flex-direction: row;
    flex-wrap: unset;
    gap: 8px;
    height: 100%;
    justify-content: center;
    position: unset;
  }

  .main-menu-item {
    flex-basis: auto;
  }

  .main-menu-item.depth-0.has-sub-list:nth-child(3) .main-menu-item {
    flex-basis: 20%;
  }

  .main-menu-item.depth-0 {
    align-items: center;
    display: flex;
    flex-basis: auto;
    height: 100%;
    position: unset;
  }

  .specialty .description.depth-0 {
    font-family: 'FuturaPTBold', Futura, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    position: absolute;
    padding: 0 16px;
    top: 30px;
    width: auto;
  }

  .specialty .description.depth-0.show {
    display: block;
  }

  .main-menu-item.depth-0 > .specialty.dropdown-toggle {
    text-transform: uppercase;
  }

  .main-menu-item.depth-0 > .dropdown-toggle {
    border-bottom: unset;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 8px 8px 16px;
    text-wrap: nowrap;
  }

  .main-menu-item.depth-0:first-child > .dropdown-toggle {
    border-top: unset;
  }

  .main-menu-item.depth-0:nth-child(4) {
    padding-bottom: 0;
  }

  .main-menu-item.depth-0:not(.has-sub-list) > .main-menu-item__link {
    border-bottom: none;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 16px;
  }

  .main-menu-item.depth-0:not(.has-sub-list) > .main-menu-item__link:hover,
  .main-menu-items > .main-menu-item:not(.specialty) .depth-1 .main-menu-item__link:hover,
  .main-menu-item.depth-2 .main-menu-item__link:hover {
    color: #028447;
  }

  .main-menu-item.depth-0.has-sub-list > .dropdown-toggle::after {
    background-image: url("../../assets/icons/menu-gray-arrow-down-desktop.svg");
    height: 8px;
    right: -8px;
    width: 12px;
  }

  .main-menu-item.depth-0.has-sub-list:hover > .dropdown-toggle {
    color: #028447;
  }

  .main-menu-item.depth-0.has-sub-list:hover > .dropdown-toggle::after {
    background-image: url("../../assets/icons/menu-green-arrow-up-desktop.svg");
  }

  .dropdown-menu-wrapper {
    background: rgba(0,0,0,0.001);
    display: none;
    left: -200px;
    padding-top: 30px;
    position: absolute;
    top: 82px;
    width: 1200px;
    z-index: 100;
  }

  .main-menu-item.depth-0.has-sub-list > .dropdown-menu-wrapper > .dropdown-menu {
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.20);
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    padding: 40px 20px 20px 40px;
    width: 1200px;
  }

  .main-menu-item.depth-0.has-sub-list:hover > .dropdown-menu-wrapper  {
    display: flex;
  }

  .main-menu-item.depth-1.has-sub-list {
    display: flex;
    flex-direction: row;
    flex-basis: auto;
  }

  .main-menu-item.depth-1 > .dropdown-toggle {
    padding: 18px 20px 0 20px;
    width: auto;
  }

  .main-menu-item.depth-1.has-sub-list:first-child > .dropdown-toggle {
    padding-left: 0;
  }

  .main-menu-item.depth-1 > .dropdown-menu {
    padding: 5px 0 19px;
  }

  .main-menu-item.depth-1 > .dropdown-menu .main-menu-item__link {
    font-size: 16px;
  }

  .main-menu-item.depth-1 > .dropdown-menu::after {
    height: 227px;
    left: unset;
    right: 0;
    top: 0;
    width: 1px;
  }

  .main-menu-items > .main-menu-item:not(.specialty) .depth-1 {
    margin-top: 70px;
  }

  .main-menu-items > .main-menu-item:not(.specialty) .depth-1:first-child {
    color: #028447;
    display: block;
    font-family: 'FuturaPTBold', Futura, Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    position: absolute;
    top: 80px;
  }

  .main-menu-items > .main-menu-item:not(.specialty) .depth-1 {
    padding: 0 20px;
  }

  .main-menu-items > .main-menu-item:not(.specialty) .depth-1::after {
    height: 100%;
    left: unset;
    right: 0;
    top: 0;
    width: 1px;
  }

  .main-menu-items > .main-menu-item:not(.specialty) .depth-1:first-child::after {
    display: none;
  }

  .main-menu-item.depth-0.has-sub-list:not(.specialty):hover > .dropdown-menu-wrapper > .dropdown-menu {
    justify-content: unset;
  }


}
