//header_area css
.header_area {
  position: absolute;
  width: 100%;
  z-index: 99;
  transition: background 0.4s, all 0.3s linear;
  .navbar {
    background: transparent;
    padding: 0px;
    border: 0px;
    border-radius: 0px;
    .nav {
      .nav-item {
        margin-right: 45px;
        .nav-link {
          font: 500 14px/80px $title-font;
          text-transform: capitalize;
          color: $title-color;
          padding: 0px;
          display: inline-block;
          @media (max-width: 991px) {
            color: #ffffff;
          }
          &:after {
            display: none;
          }
        }
        &:hover,
        &.active {
          .nav-link {
            color: $primary-color;
          }
        }
        &.submenu {
          position: relative;
          ul {
            border: none;
            padding: 0px;
            border-radius: 0px;
            box-shadow: none;
            margin: 0px;
            background: #fff;
            @media (min-width: 992px) {
              position: absolute;
              top: 120%;
              left: 0px;
              min-width: 200px;
              text-align: left;
              opacity: 0;
              transition: all 300ms ease-in;
              visibility: hidden;
              display: block;
              border: none;
              padding: 0px;
              border-radius: 0px;
            }
            &:before {
              content: "";
              width: 0;
              height: 0;
              border-style: solid;
              border-width: 10px 10px 0 10px;
              border-color: #eeeeee transparent transparent transparent;
              position: absolute;
              right: 24px;
              top: 45px;
              z-index: 3;
              opacity: 0;
              transition: all 400ms linear;
            }
            .nav-item {
              display: block;
              float: none;
              margin-right: 0px;
              border-bottom: 1px solid #ededed;
              margin-left: 0px;
              transition: all 0.4s linear;
              .nav-link {
                line-height: 45px;
                color: $title-color;
                padding: 0px 30px;
                transition: all 150ms linear;
                display: block;
                margin-right: 0px;
              }
              &:last-child {
                border-bottom: none;
              }
              &:hover {
                .nav-link {
                  background: $primary-color;
                  color: #fff;
                }
              }
            }
          }
          &:hover {
            ul {
              @media (min-width: 992px) {
                visibility: visible;
                opacity: 1;
                top: 100%;
              }
              .nav-item {
                margin-top: 0px;
              }
            }
          }
        }
        &:last-child {
          margin-right: 0px;
        }
      }
    }
    .search {
      font-size: 12px;
      line-height: 60px;
      display: inline-block;
      color: $title-color;
      i {
        font-weight: 600;
      }
    }
  }
  &.white-header {
    .navbar .nav {
      .nav-item {
        &.active,
        &:hover {
          .nav-link {
            color: $primary-color;
          }
        }
        .nav-link {
          color: #ffffff;
        }
      }
    }
  }
  &.navbar_fixed {
    .main_menu {
      position: fixed;
      width: 100%;
      top: -70px;
      left: 0;
      right: 0;
      background: #ffffff;
      @include transform(translateY(70px));
      @include transition();
      box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.1);
      .navbar {
        .nav {
          .nav-item {
            .nav-link {
              line-height: 70px;
            }

            &.submenu ul .nav-item .nav-link {
              color: $title-color;
            }
          }
        }
      }
    }
  }

  &.white-header {
    &.navbar_fixed {
      .main_menu {
        background: $title-color;
        .navbar {
          .nav {
            .nav-item {
              &.active,
              &:hover {
                .nav-link {
                  color: $primary-color;
                }
              }
            }
          }
        }
      }
    }
  }
}
#search_input_box {
  background: $primary-color;
  text-align: center;
  padding: 5px 20px;
  .form-control {
    padding-left: 0;
    background: transparent;
    border: 0;
    color: #ffffff;
    font-weight: 400;
    font-size: 18px;
    &:focus {
      box-shadow: none;
      outline: none;
    }
  }
  input {
    @include placeholder {
      color: #ffffff;
      font-size: 16px;
      font-weight: normal;
    }
  }
  .btn {
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
  }
  #close_search {
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
  }
}
