#header-type-1 {

  &:hover,
  &.header-main.fixed {
    background: $primary-bg;
    box-shadow: 0px 0 15px black;
    opacity: 0.945;
    color: $primary-color;
    box-shadow: none;

    -webkit-transition: background-color 250ms linear;
    -ms-transition: background-color 250ms linear;
    transition: background-color 250ms linear;
    z-index: 10000;

    &:after {
      display: none;
    }

    .navbar {
      .navbar-nav {
        .nav-item {
          .nav-text {
            color: $primary-color;

            &:hover {
              color: $tertiary-color;

              @include media-breakpoint-down(xl) {
                color: inherit;
              }
            }
          }

          .nav-link:hover {
            .nav-text {
              color: $tertiary-color;

              @include media-breakpoint-down(xl) {
                color: inherit;
              }
            }
          }
        }
      }
    }
  }

  &:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: transparent linear-gradient(180deg, #545454 0%, #92929200 100%) 0% 0% no-repeat padding-box;
    mix-blend-mode: multiply;
    opacity: 1;
    z-index: -1;
  }

  .search-box form {
    background: $quaternary-color;

    input {
      color: white;
    }
  }



  .navbar {
    background-color: transparent;

    .container {
      background-color: transparent;
      box-shadow: none;

      .nav-item.dropdown .mega-menu-custom {
        background-color: $primary-bg;

        .sub-menu-list li a {
          color: $primary-color;
          font-weight: 500;

          &:hover {
            color: $tertiary-color;

            &:before {
              width: 12px;
              height: 12px;
            }
          }
        }
      }

      //mobile
      @include media-breakpoint-down (xl) {
        .offcanvas {
          background-color: $primary-bg;
          opacity: 0.94;

          .nav-item.dropdown .mega-menu-custom {
            background-color: $primary-bg;

            .sub-menu-list li a {
              color: $primary-color;
              font-weight: 500;

              &.active {
                color: $tertiary-color;
              }

              &:hover {
                color: $tertiary-color;

                &:before {
                  width: 12px;
                  height: 12px;
                }
              }
            }
          }

          .navbar-nav .nav-item .nav-link {
            color: $primary-color;

            .active {
              color: $tertiary-color;
            }
          }
        }
      }


      .brand-nav {
        transform: scale(1);
      }

      .nav-item {
        .nav-link {
          background: transparent;
          color: $primary-bg;
          font-weight: 500;
          text-transform: uppercase;
          max-width: 300px;
          font-family: "Roboto", Arial, sans-serif;
          font-weight: 700;
          padding-right: 0;
          padding-left: 0;

          &:hover {
            color: $primary-bg;

            .nav-text {
              background: transparent;
              color: $secondary-bg;

              @include media-breakpoint-down(xl) {
                color: inherit;
              }
            }
          }

          &:active {
            color: $tertiary-color;

            &:hover {
              color: $primary-bg;
            }
          }
        }

        &:last-child {
          .nav-link {
            color: $fifth-color;
          }
        }
      }
    }

    .btn-contact {
      background: none;
      margin-left: 20px;
      transition: all 0.25s;

      .btn {
        color: $primary-color;
        background: none;
        width: 100%;
        height: 100%;
        line-height: 70px;
        padding: 0;
        min-width: 0px;
        border: none;

        .txt {
          font-weight: 700;
          font-family: "Roboto", Arial, sans-serif;
          font-size: 1.25rem;
        }
      }
    }
  }

}


.hero-main {
  .figure:before {
    background: transparent linear-gradient(180deg, #545454 0%, #92929200 100%) 0% 0% no-repeat padding-box;
    height: 222px;
    top: -50px;
  }

  .hero-cont h1 {
    color: $primary-bg;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 700;
  }
}



.lg-hero {
  .py-4 {
    padding-top: 0 !important;
  }

  &:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 660px;
    width: 100%;
    height: 100%;
    background: transparent linear-gradient(299deg, #545454 0%, #8A91A100 89%) 0% 0% no-repeat padding-box;
    mix-blend-mode: multiply;
    opacity: 1;
    z-index: 99;
  }
}

@include media-breakpoint-down(xxl) {
  #header-type-1 .btn-contact {
    display: none;
  }
}

@media (min-width: 200px) {
  .header-main .language-menu {
    top: 16px;
    right: 20px;
  }
}

@media (min-width: 900px) {
  .header-main .language-menu {
    top: 16px;
    right: calc(6.6% + 50px);
  }
}

@media (min-width: 1200px) {
  .header-main .language-menu {
    top: 35px;
    right: calc(6.6% + 50px);
  }
}
@media (max-width: 1199px) {
    #header-type-1 #language_menu {
        right: calc(6.6% + 0px);
    }
}
@media (min-width: 1400px) {
  .header-main .language-menu {
    top: 35px;
    right: 320px;
  }
}

@media (min-width: 1550px) {
  .header-main .language-menu {
    top: 35px;
    right: 400px;
  }
}

@media (min-width: 1750px) {
  .header-main .language-menu {
    top: 35px;
    right: 70px;
  }
}

.header-overlay {
  position: relative;
  z-index: 9999;
}

header#header-type-1.header-main .navbar-nav .nav-item.dropdown .nav-link.show .nav-text {
  @media (max-width: 1199.98px) { 
    color: $tertiary-color !important;
    background-color: transparent !important;
    padding: 0px !important;
  }
}