// Header 1
.header_1 {
  height: 100px;
  position: relative;
  z-index: 999;
  background: transparent;
  nav {
    a {
      color: $white-1;
      font-size: 21px;
      padding: 34.5px 55px 34.5px 0;

      @include media-query(1199px) {
        color: $black-1;
        font-size: 18px;
        padding: 10px;
      }
      &.phone {
        padding-left: 32px;
      }
      &.active {
        color: $accent-1;
      }
    }
    .logo-box {
      a {
        padding: 0;
        &.logo {
          @include media-query(1199px) {
            display: none !important;
          }
          img {
            width: 338px;
          }
        }
      }
    }
    .menu-item-has-children {
      position: relative;
      margin-right: 10px;
      .submenu {
        position: absolute;
        top: 65px;
        left: 0px;
        background: $white-1;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        min-width: 250px;
        padding: 20px 10px;
        list-style: none;
        margin: 0;
        box-shadow: $box-shadow;
        a {
          &:after {
            display: none;
          }
        }
        li {
          margin: 0;
          opacity: 0;
          -webkit-transform: translateX(20px);
          -ms-transform: translateX(20px);
          transform: translateX(20px);
          a {
            position: relative;
            font-weight: 600;
            font-size: 16px;
            text-transform: uppercase;
            color: $gray-1;
            padding: 7px 15px;
            display: block;
            &.active {
              color: $accent-1;
            }
            &:hover {
              color: $accent-1;
            }
          }
        }
        &.multiline {
          min-width: 450px;
          li {
            display: inline-block;
            width: 47%;
            text-align: left;
          }
        }
      }
      &:hover {
        .submenu {
          opacity: 1;
          visibility: visible;
          z-index: 9;
          right: 0;
          li {
            opacity: 1;
            -webkit-transform: translateX(0);
            -ms-transform: translateX(0);
            transform: translateX(0);
          }
        }
      }
    }
    .navbar-brand {
      display: none;
      @include media-query(1199px) {
        display: block;
      }
      img {
        width: 200px;
      }
    }
    .navbar-toggler {
      color: $white-1;
      padding: 10px;
    }
    .navbar-collapse {
      @include media-query(1199px) {
        position: relative;
        background: $white-1;
        z-index: 99;
      }
    }
  }
}

// Header 2
.header_2 {
  height: 100px;
  background: $white-1;
  box-shadow: $box-shadow;
  position: relative;
  z-index: 90;
  @include media-query(1199px) {
    height: 80px;
  }
  nav {
    padding: 0;
    .navbar-brand {
      .dark-logo {
        display: block;
        width: 150px;
      }
      .light-logo {
        display: none;
        width: 150px;
      }
    }
    a {
      font-weight: 400;
      font-size: 20px;
      line-height: 23px;
      color: $black-2;
      padding: 30px 55px 34.5px 0;

      @include media-query(1199px) {
        font-size: 18px;
        padding: 20px 10px 10px;
      }
      &.active {
        color: $accent-1;
      }
      &:hover {
        color: $accent-1;
      }
      &.phone{
        font-weight: 700;
        font-size: 21px;
        line-height: 130%;
        color: $black-1;
      }
    }

    .menu-item-has-children {
      position: relative;
      margin-right: 10px;
      .submenu {
        position: absolute;
        top: 65px;
        left: 0px;
        background: $white-1;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        min-width: 250px;
        padding: 20px 10px;
        list-style: none;
        margin: 0;
        box-shadow: $box-shadow;
        a {
          &:after {
            display: none;
          }
        }
        li {
          margin: 0;
          opacity: 0;
          -webkit-transform: translateX(20px);
          -ms-transform: translateX(20px);
          transform: translateX(20px);
          a {
            position: relative;
            font-weight: 600;
            font-size: 16px;
            text-transform: uppercase;
            color: $gray-1;
            padding: 7px 15px;
            display: block;
            &.active {
              color: $accent-1;
            }
            &:hover {
              color: $accent-1;
            }
          }
        }
        &.multiline {
          min-width: 450px;
          li {
            display: inline-block;
            width: 47%;
            text-align: left;
          }
        }
      }
      &:hover {
        .submenu {
          opacity: 1;
          visibility: visible;
          z-index: 9;
          right: 0;
          li {
            opacity: 1;
            -webkit-transform: translateX(0);
            -ms-transform: translateX(0);
            transform: translateX(0);
          }
        }
      }
    }
    .navbar-toggler {
      color: $black-1;
      padding: 10px;
    }
    .navbar-collapse {
      @include media-query(1199px) {
        position: relative;
        background: $white-1;
        z-index: 99;
      }
    }
    &.navbar{
      padding: 0;
    }
  }
}


// Header 3
.header_3 {
  height: 100px;
  padding: 25px 0;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;

  nav {
    padding: 15px 0px;
    .navbar-toggler {
      color: $white-1;
      outline: 0;
      border: 0;
      font-size: 28px;
      &:focus {
        outline: 0;
        box-shadow: none;
      }
    }
    .navbar-brand {
      padding: 0;
      width: 150px;
    }
    .dropdown-menu {
      padding: 0;
      left: inherit;
      right: 0;
      padding: 50px 0px 10px 40px;
      margin: 0 0 0 auto;
      background: $gray-3;
      width: 448px;
 
      li {
        position: relative;
        list-style: none;
        a {
          position: relative;
          font-weight: 700;
          font-size: 47px;
          line-height: 120%;
          letter-spacing: -0.02em;
          margin-bottom: 32px;
          color: $gray-2;
          background-color: transparent;
          &:hover {
            color: $black-1;
          }
          &.active {
            color: $black-1;
            background-color: transparent;
          }
        }
        &:hover{
          .dropdown-submenu {
            display: block;
          }
        }
      }
      .dropdown-submenu {
        display: none;
        position: absolute;
        padding: 10px;
        left: 100%;
        top: 64px;
        max-height: 400px;
        overflow-y: scroll;
        a {
          position: relative;
          font-weight: 700;
          font-size: 27px;
          line-height: 120%;
          letter-spacing: -0.02em;
          margin-bottom: 12px;
          color: $gray-2;
          width: 100%;
          &:hover {
            color: $black-1;
          }
          &.active {
            color: $black-1;
          }
        }
      }
      .dropdown-submenu-left {
        left: auto;
        width: 250px;
      }
    }
  }
}


.dark{
    
  // Header 2
  .header_2 {
    background: $black-1;
    nav {
      .navbar-brand {
        .dark-logo {
          display: none;
        }
        .light-logo {
          display: block;
        }
      }
      a {
        color: $gray-2;
        &.active {
          color: $accent-1;
        }
        &:hover {
          color: $accent-1;
        }
        &.phone{
          color: $white-1;
        }
      }
      .menu-item-has-children {
        .submenu {
          background: $black-1;
          li {
            a {
              color: $gray-2;
              &.active {
                color: $accent-1;
              }
              &:hover {
                color: $accent-1;
              }
            }
          }
        }
      }
      .navbar-toggler {
        color: $white-1;
      }
      .navbar-collapse {
        @include media-query(1199px) {
          background: $black-1;
        }
      }
    }
  }

}