header {
  background: white;
  font-weight: bold;
  position: relative;
}
@media (max-width: 1023px) {
  body {
    padding-top: 75px;
  }
  header:not(.entry-header) {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
  }
}

header .container {
  position: relative;
  min-height: 100px;
}

.header__logo img {
  max-height: 50px;
  width: inherit;
}

.header__menu {
  background: white;
}
.header__menu li a {
  display: block;
}
@media (min-width: 1024px) {
  .header__menu li a:hover {
    color: #007749;
  }
  .header__menu ul:not(.sub-menu) > li > a:hover {
    text-decoration: underline;
    text-decoration-color: #EC353C;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.8rem;
  }
}

@media (max-width: 1023px) {
  .header__menu {
    position: absolute;
    top: 100%;
    right: -100%;
    width: 100%;
    max-width: 350px;
    transition: .3s ease-in-out;
    border-top: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    box-shadow: -7px 7px 7px 14px rgba(220, 220, 220, 0.1);
  }

  .header__menu.show {
    right: 0;
  }

  .header__menu li {
    border-bottom: 1px solid #DDDDDD;
  }

  .header__menu-icon div {
    width: 35px;
    height: 4px;
    background-color: #007749;
    margin: 8px 0;
    transition: 0.4s;
  }

  .header__menu-icon.open div:nth-child(1) {
    transform: translate(0, 12px) rotate(-45deg);
  }

  .header__menu-icon.open div:nth-child(2) {opacity: 0;}

  .header__menu-icon.open div:nth-child(3) {
    transform: translate(0, -12px) rotate(45deg);
  }

  @media (max-width: 350px) {
    .header__menu {
      text-align: center;
      height: 100vh;
    }
  }
}

.header__menu-search {
  background-color: #EEF1ED;
  height: 40px;
  width: 40px;
  border-radius: 50%;
}

.header__menu-search img {
  width: 16px;
  transform: rotateZ(90deg);
}

.menu-item {
  position: relative;
}

@media (min-width: 1024px) {
  .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    background: #FFFFFF;
  }

  .sub-menu a {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .menu-item:hover .sub-menu {
    display: block;
  }

}
