/*
-----------------------------------------------------------------------
  Header CSS
-----------------------------------------------------------------------
*/

.header-area {
  padding: 50px 0;

  @media #{$lg-device} {
    .container {
      max-width: none;
      width: 100%;
    }
  }

  @media #{$md-device} {
    padding: 53px 0;
  }

  @media #{$sm-device} {
    padding: 25px 0;
  }

  // Sticky Header
  &.sticky-header {
    transition: 0.4s;

    &.sticky {
      background-color: rgba($black, .65);
      box-shadow: none;
      border: 0 !important;
      position: fixed;
      left: 0;
      top: 0;
      padding: 25px 0;
      width: 100%;
      z-index: 99;

      .header-logo-area {
        .logo-main {
          display: none;
        }
        .logo-light {
          display: block;
        }
      }

      .main-menu {
        & > li {
          &:hover {
            & > a {
              background-color: $black-111;
              color: $white;
              &:after {
                opacity: 1;
              }
            }
          }

          & > a {
            color: $white;
            &:after {
              background-color: $black-111;
              content: "";
              height: 100%;
              opacity: 0;
              position: absolute;
              right: -14px;
              top: 0;
              width: 14px;
              @include transition(.3s);
            }
            &:hover {
              background-color: $black-111;
              &:after {
                opacity: 1;
              }
            }

            &:before {
              color: $white;
            }
          }
        }
      }
      .header-action-area {
        button, a {
          color: $white;
          &:hover {
            background-color: $black-111;
          }

          &.btn-cart {
            &+ .header-shopping-cart {
              top: calc(100% + 45px);
              .widget-shopping-cart-content {
                .cart-list-product {
                  .mini-cart-item {
                    a {
                      background-color: transparent;
                      &:hover {
                        background-color: transparent;
                      }
                    }
                  }
                }
              }
              &:hover {
                opacity: 1;
                top: calc(100% + 25px);
                visibility: visible;
              }
            }
            &:hover {
              &+ .header-shopping-cart {
                top: calc(100% + 25px);
              }
            }
          }

          &.btn-menu {
            background-color: transparent;
            &:hover {
              background-color: transparent;
            }
          }
        }

        .btn-search-content {
          bottom: -145px;
          &.show {
            bottom: -125px;
          }
        }

        .btn-menu {
          span {
            background-color: $white;
          }
        }
      }
    }
  }

  // Transparent Header Style
  &.transparent:not(.sticky) {
    color: $white;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9;

    .header-logo-area {
      .logo {
        &-main {
          display: none;
        }

        &-light {
          display: block;
        }
      }
    }

    .main-menu {
      & > li {
        &:hover {
          & > a {
            background-color: $black-111;
            color: $white;
            &:after {
              opacity: 1;
            }
          }
        }

        & > a {
          color: $white;
          &:after {
            background-color: $black-111;
            content: "";
            height: 100%;
            opacity: 0;
            position: absolute;
            right: -14px;
            top: 0;
            width: 14px;
            @include transition(.3s);
          }
          &:hover {
            background-color: $black-111;
            &:after {
              opacity: 1;
            }
          }

          &:before {
            color: $white;
          }
        }
      }
    }

    .header-action-area {
      button, a {
        color: $white;
        &:hover {
          background-color: $black-111;
        }
      }

      .btn-menu {
        background-color: transparent;
        span {
          background-color: $white;
        }
        &:hover {
          background-color: transparent;
          span {
            background-color: $theme-color;
          }
        }
      }
    }
  }

  // Header Left Fixed
  &.fixed-left {
    background-color: $white;
    box-shadow: none;
    padding: 80px 40px 50px 60px;
    position: fixed;
    height: 100vh;
    max-width: 320px;
    width: 100%;
    z-index: 8;
    @media #{$lg-device} {
      padding: 50px 40px 50px 60px;
    }
    @media #{$md-device} {
      background-color: $white;
      height: auto;
      max-width: none;
      width: 100%;
    }
    @media #{$sm-device} {
      padding: 30px 15px;
    }

    .header-left-fix-inner {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      @media #{$md-device} {
        flex-direction: row;
        height: auto;
      }
    }

    .header-logo-area {
      margin-left: -20px;
      margin-bottom: 40px;
      max-width: 100%;
      @media #{$md-device} {
        margin-bottom: 0;
        margin-top: 7px;
      }
      @media #{$sm-device} {
        margin-left: 0;
      }

      a {
        max-width: 148px;
        display: block;
        @media #{$sm-device} {
          max-width: 120px;
        }
      }
    }

    .header-navigation-area {
      margin: 0 -60px;

      .nav {
        display: block;

        & > li {
          margin-right: 0;
          margin-bottom: 0;
          padding-right: 30px;
          padding-left: 15px;
          cursor: pointer;
          position: relative;

          &.has-submenu {
            & > a {
              &:before {
                display: none;
              }
            }
          }

          &:last-child {
            margin-bottom: 0;
          }

          a {
            display: inline-block;
          }

          .submenu-nav {
            left: 100%;
            margin-top: -20px;
            top: 0;


            &:before {
              display: none;
            }

            &-mega {
              margin-left: 0;

              @media screen and (min-width: 1200px) and (max-width: 1399px) {
                width: 860px;
              }

              @media screen and (min-width: 1400px) {
                width: 1050px;
              }

              .mega-menu-item {
                @media #{$xlmax-device} {
                  padding: 25px !important;
                }
              }
            }
          }
        }
      }
    }

    .widget-search-box {
      margin-bottom: 49px;
      margin-left: -20px;
      .form-input-item {
        input {
          border: 1px solid $body-color;
          border-radius: 20px;
          font-size: 12px;
          height: 42px;
          padding: 5px 35px 5px 20px;
        }
        .btn-src {
          font-size: 14px;
          top: 55%;
        }
      }
    }

    .widget-contact-info {
      margin-bottom: 0;
      margin-left: -20px;
      li {
        display: flex;
        justify-content: flex-start;
        margin-top: 10px;
        i {
          color: $body-color;
          font-size: 14px;
          display: inline-block;
          line-height: 1.72;
          margin-right: 0;
          width: 25px;
          &.fa-map-marker {
            width: 34px;
          }
        }
        span {
          color: $body-color;
          font-size: 14px;
        }
        &:first-child {
          margin-top: 0;
        }
      }
    }

    .widget-social-icons {
      margin-left: -20px;
      margin-top: 30px;
      a {
        color: $body-color;
        margin-left: 36px;
        &:first-child {
          margin-left: 0;
        }
      }
    }

    .header-widget-area {
      @include font-size(14px);

      .copyright-content {
        margin-top: 40px;
      }
    }
    @media #{$md-device} {
      .header-action-area {
        .btn-search-content {
          bottom: -120px;
          right: 30px;
          &.show {
            bottom: -100px;
          }
        }
      }
    }
    &.transparet {
      background-color: transparent;
      @media #{$md-device} {
        background-color: $white;
      }
      .header-logo-area {
        @media #{$md-device} {
          a {
            .logo-light {
              display: block;
            }
            .logo-main {
              display: none;
            }
          }
        }
      }
      .header-navigation-area {
        .nav {
          & > li {
            & > a {
              color: $white;
            }

            &.has-submenu {
              & > a {
                &:before {
                }
              }
            }

            a {
            }

            .submenu-nav {
              &:before {
              }

              &-mega {
                .mega-menu-item {
                  @media #{$xlmax-device} {
                  }
                }
              }
            }
          }
        }
      }
      .widget-search-box {
        .form-input-item {
          input {
            border: 1px solid $white;
            @include placeholder {
              color: $white;
            }
          }
          .btn-src {
            color: $white;
          }
        }
      }
      .widget-contact-info {
        li {
          i {
            color: $white;
          }
          span {
            color: $white;
          }
        }
      }

      .widget-social-icons {
        a {
          color: $white;
        }
      }
    }
  }

  // Header Left Fixed
  &.fixed-right {
    background-color: $white;
    box-shadow: none;
    padding: 80px 40px 60px 60px;
    position: fixed;
    height: 100vh;
    max-width: 320px;
    right: 0;
    width: 100%;
    z-index: 9999;
    @include transition(.3s);
    @media #{$lg-device} {
      padding: 50px 40px 50px 60px;
    }
    @media #{$md-device} {
      background-color: $white;
      height: auto;
      max-width: none;
      width: 100%;
    }
    @media #{$sm-device} {
      padding: 30px 15px;
    }

    .header-right-fix-inner {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      @media #{$md-device} {
        flex-direction: row;
        height: auto;
      }
    }

    .header-logo-area {
      margin-left: -20px;
      margin-bottom: 40px;
      max-width: 100%;
      @media #{$md-device} {
        margin-bottom: 0;
        margin-top: 0;
      }
      @media #{$sm-device} {
        margin-left: 0;
      }

      a {
        max-width: 148px;
        display: block;
        @media #{$sm-device} {
          max-width: 120px;
        }
      }
    }

    .header-navigation-area {
      margin: 0 -60px;

      .nav {
        display: block;

        & > li {
          margin-right: 0;
          margin-bottom: 0;
          padding-right: 30px;
          padding-left: 15px;
          cursor: pointer;
          position: relative;

          &.has-submenu {
            & > a {
              &:before {
                display: none;
              }
            }
          }

          &:last-child {
            margin-bottom: 0;
          }

          a {
            display: inline-block;
          }

          .submenu-nav {
            left: auto;
            margin-top: 0;
            right: 100%;
            top: 0;

            .has-submenu {
              .submenu-nav {
                left: 100%;
                margin-top: 0;
                right: auto;
              }
            }


            &:before {
              display: none;
            }

            &-mega {
              margin-left: 0;

              @media screen and (min-width: 1200px) and (max-width: 1399px) {
                width: 860px;
              }

              @media screen and (min-width: 1400px) {
                width: 1050px;
              }

              .mega-menu-item {
                @media #{$xlmax-device} {
                  padding: 25px !important;
                }
              }
            }
          }
        }
      }
    }

    .widget-contact-info {
      margin-bottom: 0;
      margin-left: -20px;
      li {
        display: flex;
        justify-content: flex-start;
        margin-top: 10px;
        i {
          color: $body-color;
          font-size: 14px;
          display: inline-block;
          line-height: 1.72;
          margin-right: 0;
          width: 25px;
          &.fa-map-marker {
            width: 34px;
          }
        }
        span {
          color: $body-color;
          font-size: 14px;
        }
        &:first-child {
          margin-top: 0;
        }
      }
    }

    .widget-social-icons {
      margin-left: -20px;
      margin-top: 30px;
      a {
        color: $body-color;
        margin-left: 36px;
        &:first-child {
          margin-left: 0;
        }
      }
    }

    .header-widget-area {
      @include font-size(14px);

      .copyright-content {
        margin-top: 40px;
      }
    }
    @media #{$md-device} {
      .header-action-area {
        .btn-search-content {
          bottom: -120px;
          right: 30px;
          &.show {
            bottom: -100px;
          }
        }
      }
    }
    &.header-right-slide {
      right: -100%;
      transform: trnslateX(100%);
      @media #{$md-device} {
        background-color: $white;
        height: auto;
        max-width: none;
        right: auto;
        width: 100%;
      }
      &.active {
        right: 0;
        transform: none;
        transition-delay: .1s;
      }
      &+ .header-top-slide {
        &.sticky-header {
          color: $white;
          display: block;
          left: 0;
          padding: 59px 0 50px;
          position: absolute;
          top: 0;
          width: 100%;
          z-index: 9;
          @include transition(.4s);
          &.sticky {
            background-color: rgba($black, .5);
            box-shadow: none;
            border: 0 !important;
            position: fixed;
            left: 0;
            top: 0;
            padding: 25px 0;
            width: 100%;
            z-index: 99;
          }

          .header-top-slide-inner {
            align-items: center;
            display: flex;
            justify-content: space-between;
          }

          .header-logo-area {
            max-width: 205px;
            top: 2px;
          }
          .header-action-area {
            button, a {
              &.btn-menu-slide {
                background-color: transparent;
                border: none;
                box-shadow: none;
                height: 18px;
                margin-left: 16px;
                margin-top: 0;
                position: relative;
                width: 35px;
                span {
                  background-color: $theme-color2;
                  border-radius: 2px;
                  display: block;
                  height: 4px;
                  position: absolute;
                  right: 0;
                  transition: 0.4s;
                  width: 100%;

                  &:first-child {
                    top: 0;
                    width: 30px;
                  }

                  &:nth-child(2) {
                    top: 50%;
                    transform: translateY(-50%);
                    width: 100%;
                  }

                  &:last-child {
                    bottom: 0;
                    width: 25px;
                  }
                }

                &:hover {
                  span {
                    background-color: $theme-color;
                    &:first-child, &:last-child {
                      width: 100%;
                    }
                  }
                }
              }
            }
          }
        }
      }
      &.sticky-header {
        &.sticky {
          @media (min-width:992px) {
            background-color: $white;
            left: auto;
            padding: 80px 40px 60px 60px;
            z-index: 9999;
            .main-menu {
              & > li {
                & > a {
                  &:hover {
                    background-color: transparent;
                  }
                  &:after {
                    display: none;
                  }
                }
                &:hover {
                  a {
                    background-color: transparent;
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  // Header Right Align
  &.header-right-align {
    .header-right {
      display: flex;
      align-items: center;
      justify-content: flex-end;

      @media only screen and (min-width: 1200px) and (max-width: 1240px) {
        justify-content: flex-end;
      }

      .header-action-area {
        margin-left: 42px;
      }

      .header-navigation-area {
        @media #{$md-device} {
          display: none;
        }
        .has-submenu {
          .submenu-nav {
            min-width: 220px;
            left: 0;

            .submenu-nav {
              left: 100%;
              top: 15px;
            }
          }

          &.full-width {
            .submenu-nav {
              &.submenu-nav-mega {
                left: -195px;
                min-width: 1170px;
                @media #{$lg-device} {
                  left: auto;
                  min-width: 962px;
                  right: 0;
                }
              }
            }              
          }

          &.colunm-two {
            position: relative;
            .submenu-nav-mega {
              left: -250px;
              width: 600px;
              .mega-menu-item {
                padding: 0 !important;
                flex-basis: 50%;
              }
            }
            &.colunm-style-two {
              .submenu-nav-mega {
                left: -446px;
                width: 800px;
              }
            }
          }
        }
      }
    }

    &.header-area.sticky-header.sticky .main-menu > li > .submenu-nav {
      margin-top: 25px;
    }

    .container-fluid {
      .header-right {
        .header-navigation-area {
          .has-submenu {
            .submenu-nav {
              .submenu-nav {
              }
            }

            &.full-width {
              .submenu-nav {
                &.submenu-nav-mega {
                  left: auto;
                  max-width: 1170px;
                  right: 115px;
                  @media #{$xlmax-device} {
                    right: -25px;
                  }
                  @media #{$lg-device} {
                    left: auto;
                    min-width: 962px;
                    right: 0;
                  }
                }
              }              
            }
          }
        }
      }
    }
  }

  // Header Default
  &.header-default {
    background-color: $white;
    padding: 50px 0 42px;
    position: relative;
    z-index: 999;
    @media #{$xlm-device} {
      padding: 40px 0;
    }
    @media #{$md-device} {
      padding: 25px 0 22px;
    }
    &:after {
      background-color: #d9d9d9;
      bottom: 0;
      content: "";
      height: 1px;
      left: 70px;
      position: absolute;
      width: calc(100% - 140px);
      @media #{$xlm-device} {
        left: 30px;
        width: calc(100% - 60px);
      }
      @media #{$sm-device} {
        left: 15px;
        width: calc(100% - 30px);
      }
    }
    .container {
      @media #{$xlm-device} {
        max-width: none;
        padding: 0 30px;
        width: 100%;
      }
      @media #{$sm-device} {
        padding: 0 15px;
      }
    }
    .header-align {
      align-items: center;
      display: flex;
      justify-content: space-between;

      .header-logo-area {
        left: 85px;
        position: absolute;
        top: calc(50% - 3px);
        transform: translateY(-50%);
        @media #{$xlm-device} {
          left: auto;
          position: relative;
          top: auto;
          transform: none;
        }
      }

      .header-navigation-area {
        @media #{$md-device} {
          display: none;
        }
        .main-menu {
          & > li {
            margin-right: 0;
            &:first-child {
              & > a {
                padding-left: 0;
              }
            }
            &:last-child {
              margin-right: 0;
              & > a {
                padding-right: 0;
              }
            }
            & > a {
              padding: 7px 17.55px;
            }
            &.has-submenu {
              & > a {
                &:before {
                  display: none;
                }
              }
            }
          }
        }
      }

      .header-action-area {
        align-items: center;
        display: inline-flex;
        position: absolute;
        right: 70px;
        @media #{$xlm-device} {
          position: relative;
          right: auto;
        }
        .login-reg {
          align-items: center;
          color: $black;
          display: flex;
          font-weight: $font-weight-bold;
          a {
            color: $black;
            font-size: 14px;
            font-weight: $font-weight-bold;
            letter-spacing: .5px;
            margin-left: 0;
            text-transform: uppercase;
            @media #{$xxs-device} {
              display: none;
            }
            &:hover {
              color: $theme-color;
            }
          }
          span {
            display: inline-block;
            margin: 0 5px;
            @include transition(.3s);
            @media #{$lg-device} {
              margin: 0 3px;
            }
            @media #{$xxs-device} {
              display: none;
            }
          }
          .icon {
            font-size: 20px;
            margin-left: 14px;
            position: relative;
            top: -1px;
            @include transition(.3s);
            @media #{$lg-device} {
              margin-left: 9px;
            }
            @media #{$xxs-device} {
              cursor: pointer;
            }
          }
        }
        .widget-language {
          cursor: pointer;
          line-height: 1;
          margin-left: 71px;
          @media #{$lg-device} {
            margin-left: 20px;
          }
          .current {
            color: $black;
            display: inline-block;
            font-size: 14px;
            font-weight: $font-weight-bold;
            letter-spacing: .5px;
            position: relative;
            text-transform: uppercase;
            top: -3px;
            @include transition(.3s);
            i {
              font-size: 24px;
              font-weight: $font-weight-normal;
              line-height: 1;
              margin-left: 1px;
              position: relative;
              right: -5px;
              top: 3px;
              @media #{$lg-device} {
                margin-left: 3px;
              }
            }
          }
          ul {
            bottom: -50px;
            margin-bottom: 0;
            min-width: 60px;
            opacity: 0;
            position: absolute;
            visibility: hidden;
            z-index: 1;
            @include transition(.3s);
            &:before {
              background-color: $black-111;
              content: "";
              height: calc(100% + 18px);
              left: -15px;
              position: absolute;
              top: -9px;
              width: calc(100% + 30px);
            }
            &:after {
              background-color: transparent;
              content: "";
              height: 5px;
              left: -15px;
              position: absolute;
              top: -14px;
              width: calc(100% + 30px);
            }
            li {
              margin-bottom: 7px;
              &:last-child {
                margin-bottom: 0;
              }
              a {
                color: #aaa;
                display: block;
                font-size: 14px;
                font-weight: $font-weight-medium;
                position: relative;
                text-transform: uppercase;
                &:hover {
                  color: $white;
                }
              }
            }
          }
          &:hover {
            ul {
              bottom: -45px;
              opacity: 1;
              visibility: visible;
            }
          }
        }
        button, a {
          &.btn-menu  {
            @media #{$md-device} {
              margin-left: 25px;
            }
          }
        }
      }
    }

    &.sticky-header {
      &.sticky {
        @media #{$md-device} {
          padding: 15px 0;
        }
        &:after {
          display: none;
        }
        .header-align {
          .header-navigation-area {
            .main-menu {
              & > li {
                & > a {
                  color: $white;
                  &:hover {
                    background-color: transparent;
                    color: $theme-color;
                  }
                }
                &:hover {
                  a {
                    background-color: transparent;
                    &:after {
                      display: none;
                    }
                  }
                }
                &.active {
                  & > a {
                    color: $theme-color;
                  }
                }
                &.has-submenu {
                  & > a {
                    &:before {
                      display: none;
                    }
                  }
                  & > .submenu-nav {
                    margin-top: 24px;
                    @media #{$xlm-device} {
                      margin-top: 32px;
                    }
                    &:before {
                      height: 44px;
                    }
                  }
                }
              }
            }
          }
          .header-action-area {
            .login-reg {
              a {
                background-color: transparent;
                color: $white;
                &:hover {
                  color: $theme-color;
                }
              }
              span, .icon {
                background-color: transparent;
                color: $white;
              }
            }
            .widget-language {
              .current {
                background-color: transparent;
                color: $white;
                &:hover {
                  color: $theme-color;
                }
              }
              ul {
                li {
                  a {
                    background-color: transparent;
                    color: $white;
                    &:hover {
                      color: $theme-color;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }

    &.transparent {
      background-color: transparent;
      &:after {
        background-color: rgba($white, .15);
      }
      &.sticky-header {
        &.sticky {
          background-color: rgba($black, .65);
        }
      }
      .header-align {
        .header-navigation-area {
          .main-menu {
            & > li {
              & > a {
                color: $white;
                &:hover {
                  background-color: transparent;
                  color: $theme-color;
                }
              }
              &:hover {
                a {
                  background-color: transparent;
                  &:after {
                    display: none;
                  }
                }
              }
              &.active {
                & > a {
                  color: $theme-color;
                }
              }
              &.has-submenu {
                & > a {
                  &:before {
                    display: none;
                  }
                }
              }
            }
          }
        }
        .header-action-area {
          .login-reg {
            a {
              background-color: transparent;
              color: $white;
              &:hover {
                color: $theme-color;
              }
            }
            span, .icon {
              background-color: transparent;
              color: $white;
            }
          }
          .widget-language {
            .current {
              background-color: transparent;
              color: $white;
              &:hover {
                color: $theme-color;
              }
            }
            ul {
              li {
                a {
                  background-color: transparent;
                  color: $white;
                  &:hover {
                    color: $theme-color;
                  }
                }
              }
            }
          }
        }
      }
    }

    &.header-style-two {
      &:after {
        display: none;
      }
    }
  }
}

.btn-menu-slide-close {
  background-color: rgba(#212331, .8);
  height: 100vh;
  opacity: 0;
  position: fixed;
  right: -50%;
  top: 0;
  visibility: hidden;
  width: 100%;
  z-index: 999;
  @include transition(.3s);
  .icon-menu-slide-close {
    color: $white;
    font-size: 32px;
    position: absolute;
    right: 360px;
    top: 45px;
    @include transition(.3s);
    &:hover {
      color: $theme-color;
      cursor: pointer;
    }
  }
  &.active {
    opacity: 1;
    right: 0;
    visibility: visible;
    .icon-menu-slide-close {
      transition-delay: .3s;
    }
  }
}

// Logo Style
.header-logo-area {
  max-width: 148px;
  position: relative;
  top: 1px;

  .logo {
    &-light {
      display: none;
    }
  }
}

// Header Action Style
.header-action-area {
  button, a {
    color: $body-color;
    font-size: 14px;
    line-height: 1;
    margin-left: 15px;
    vertical-align: middle;

    &:first-child {
      margin-left: 0;
    }

    &.btn-search {
      background-color: transparent;
      border: none;
      display: inline-block;
      height: 44px;
      font-size: 18px;
      margin: 0;
      padding: 8.5px 0 5.5px;
      position: relative;
      text-align: center;
      width: 44px;

      .icon-search {
        display: block;
      }
      .icon-search-close {
        display: none;
      }
      &.show {
        .icon-search {
          display: none;
        }
        .icon-search-close {
          color: $theme-color;
          display: block;
        }
      }
      &:hover {
        color: $theme-color;
      }
    }

    &.btn-cart {
      background-color: transparent;
      border: none;
      display: inline-block;
      height: 44px;
      font-size: 18px;
      margin: 0;
      padding: 5.5px 0;
      position: relative;
      text-align: center;
      width: 37px;
      &:after {
        top: 37px;
        content: "";
        height: 75px;
        opacity: 0;
        position: absolute;
        pointer-events: none;
        right: -32px;
        width: calc(100% + 280px);
      }
      &:hover {
        .btn-cart-icon {
          color: $theme-color;
        }
        &:after {
          opacity: 1;
          pointer-events: visible;
        }
        &+ .header-shopping-cart {
          opacity: 1;
          top: calc(100% + 50px);
          visibility: visible;
          @media #{$sm-device} {
            top: calc(100% + 25px);
          }
        }
      }
      &+ .header-shopping-cart {
        background-color: $black;
        color: #aaa;
        font-size: 14px;
        line-height: 24px;
        opacity: 0;
        overflow: hidden;
        padding: 20px 30px;
        position: absolute;
        right: 15px;
        top: calc(100% + 70px);
        visibility: hidden;
        width: 320px;
        z-index: 9999;
        @include transition(.2s);
        @media #{$sm-device} {
          top: calc(100% + 45px);
        }
        @media (max-width:379px) {
          right: 0;
        }
        @media (max-width:345px) {
          right: -12px;
        }
        .widget-shopping-cart-content {
          .cart-list-product {
            margin-bottom: 0;
            .mini-cart-item {
              background-color: transparent;
              display: inline-block;
              margin-bottom: 15px;
              padding-right: 15px;
              position: relative;
              width: 100%;
              &:after {
                color: #aaa;
                content: "x";
                cursor: pointer;
                font-size: 13px;
                line-height: 1;
                pointer-events: visible;
                position: absolute;
                right: 0;
                top: 5px;
              }
              &:last-child {
                margin-bottom: 0;
              }
              a {
                color: #aaa;
                display: block;
                font-size: 14px;
                line-height: 24px;
                margin-bottom: 5px;
                img {
                  float: left;
                  max-width: 70px;
                  margin-right: 15px;
                  padding-top: 6px;
                }
                &:hover {
                  color: $white;
                  background-color: transparent;
                }
              }
              .quantity-price {
                font-size: 14px;
              }
              &:hover {
                &:after {
                  color: $white;
                }
              }
            }
          }
        }
        .mini-cart-total {
          border-top: 1px solid rgba(221,221,221,.3);
          line-height: 40px;
          padding-top: 10px;
          margin: 20px 0 10px;
          strong {
            text-transform: uppercase;
            font-weight: $font-weight-semi-bold;
          }
          .price-amount-total {
            color: $theme-color;
            font-size: 20px;
            font-weight: $font-weight-semi-bold;
            float: right;
          }
        }
        .mini-cart-buttons {
          margin-bottom: 10px;
          a {
            background-color: $white;
            border: none;
            color: $black;
            display: inline-block;
            font-size: 14px;
            height: 44px;
            line-height: 44px;
            margin: 0;
            text-align: center;
            text-transform: uppercase;
            width: 125px;
            &:last-child {
              float: right;
              margin: 0;
            }
            &:hover {
              background-color: $theme-color;
              color: $white;
            }
          }
        }
        &:hover {
          opacity: 1;
          top: calc(100% + 50px);
          visibility: visible;
          @media #{$sm-device} {
            top: calc(100% + 25px);
          }
        }
      }
      @media #{$xxs-device} {}
    }

    &.btn-menu {
      background-color: transparent;
      border: none;
      box-shadow: none;
      height: 18px;
      margin-left: 16px;
      margin-top: 0;
      position: relative;
      width: 35px;
      span {
        background-color: $theme-color2;
        border-radius: 2px;
        display: block;
        height: 4px;
        position: absolute;
        right: 0;
        transition: 0.4s;
        width: 100%;

        &:first-child {
          top: 0;
          width: 30px;
        }

        &:nth-child(2) {
          top: 50%;
          transform: translateY(-50%);
          width: 100%;
        }

        &:last-child {
          bottom: 0;
          width: 25px;
        }
      }

      &:hover {
        span {
          background-color: $theme-color;
          &:first-child, &:last-child {
            width: 100%;
          }
        }
      }
    }

    &.btn-theme {
      background-color: $theme-color;
      font-size: 16px;
      line-height: 1;
      min-height: auto;
      border-radius: 30px;
      padding: 17px 60px;
      @media #{$lg-device} {
        font-size: 14px;
        border-radius: 25px;
        padding: 12px 25px;
      }
    }
  }
  .btn-search-content {
    bottom: -170px;
    opacity: 0;
    position: absolute;
    right: 0;
    visibility: hidden;
    z-index: 9999;
    @include transition(.3s);

    form {
      background-color: $black-111;
      box-shadow: 0px 20px 80px 0px rgba(171, 181, 189, 0.35);
      border-radius: 0 0 5px 5px;
      padding: 25px 20px;
      width: 300px;
      .form-input-item {
        position: relative;
        input {
          background-color: $black;
          border: none;
          border-radius: 5px;
          color: $white;
          height: 50px;
          padding: 7px 45px 7px 20px;
          width: 100%;
          @include placeholder {
            color: #aba5a5;
            font-size: 14px;
          }
        }
        .btn-src {
          background-color: transparent;
          border: none;
          color: $white;
          font-size: 14px;
          height: 100%;
          line-height: 52px;
          padding-left: 15px;
          padding-right: 14px;
          position: absolute;
          right: 0px;
          top: 50%;
          transform: translateY(-50%);
        }
      }
    }
    &.show {
      bottom: -150px;
      opacity: 1;
      visibility: visible;
      z-index: 9999;
    }
    @media #{$md-device} {
      bottom: -140px;
      &.show {
        bottom: -120px;
      }
    }
  }
}


// Header Top Style
.header-top {
  background-color: $theme-color;
  padding: 12px 0 14px;
  @media #{$md-device} {
    display: none;
  }

  .header-top-nav {
    a {
      color: #bdbfc3;
      font-size: 13px;
      margin-left: 36.43px;
      &:first-child {
        margin-left: 0;
      }
      &:hover {
        color: $white;
      }
    }
  }

  .header-top-info {
    margin-bottom: 0;
    padding-top: 2px;
    li {
      color: #bdbfc3;
      font-size: 13px;
      float: left;
      margin-left: 43.66px;
      i {
        width: 17px;
      }
      &:first-child {
        margin-left: 0;
      }
    }
  }

  .header-icons {
    a {
      color: $white;
      &:hover {
        color: $theme-color;
      }
    }
  }

  &.inline-style {
    .header-left {
      float: left;
    }
    .header-right {
      float: right;
    }
    .container {
      @media #{$lg-device} {
        max-width: none;
      }
    }
  }

  &+ .header-area {
    padding: 25px 0;
  }
}


// Fixed To Header
.header-area.fixed-top.sticky-header {
  background-color: transparent;
  box-shadow: none;
  padding: 50px 0;
}


// Off Canvas Style CSS

.off-canvas-wrapper {
  position: fixed;
  right: -100%;
  top: 0;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  height: 100vh;
  width: 100%;
  z-index: 9999;

  &.active {
    opacity: 1;
    visibility: visible;
    pointer-events: visible;
    right: 0;

    .off-canvas-inner {
      transform: none;
      .off-canvas-content {
        transform: none;
        transition-delay: 0.3s;
      }
    }

    .btn-close {
      display: block;
    }

    .off-canvas-overlay {
      opacity: 1;
      visibility: visible;
    }
  }

  .off-canvas-header {
    display: flex;
    justify-content: right;
    padding: 30px 0;

    .logo-area {
      display: none;
      max-width: 100px;
    }
  }

  .off-canvas-overlay {
    background-color: rgba($black, 0.8);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    height: 100%;
    width: 100%;
    z-index: 2;
  }

  .btn-close {
    background-color: transparent;
    border: none;
    color: #ce1a2b;
    font-size: 24px;
    line-height: 1;
    opacity: 1;
    &:active, &:focus {
      border: none;
      box-shadow: none;
    }

    i {
      line-height: 1;
    }

    &:hover {
      color: $theme-color;
    }
  }

  .off-canvas-inner {
    background-color: transparent;
    display: flex;
    justify-content: flex-end;
    position: relative;
    transform: translateX(0);
    transition: 0.3s;
    height: 100vh;
    width: 100%;
    z-index: 3;

    .off-canvas-content {
      background-color: $black-111;
      height: 100%;
      padding: 0 10px;
      position: relative;
      overflow-y: auto;
      transition: 0.4s;
      transition-duration: 0.4s;
      transform: translateX(100%);
      width: 320px;
      z-index: 9;
      @media #{$xs-device} {
        width: 310px;
      }

      .off-canvas-item {
        margin-bottom: 30px;
        margin-top: 20px;

        &:last-child {
          margin-bottom: 0;
        }
      }
    }
  }

  // Aside Fixed Menu
  &.aside-menu {
    .off-canvas-inner {
      background-color: transparent;
      transform: none;

      .off-canvas-content {
        background-color: #182141;
        position: relative;
        width: 320px;
        transform: translateX(-100%);
        transition: 0.4s;
        transition-duration: 0.6s;
        z-index: 3;

        @media #{$xxs-device} {
          width: 310px;
        }

        .close-action {
          .btn-close {
            color: $white;

            &:hover {
              color: $theme-color;
            }
          }
        }
      }
    }

    &.active {
      .off-canvas-inner {
        .off-canvas-content {
          transform: none;
          transition-delay: 0.5s;
        }
      }
    }
  }

  .off-canvas-footer {
    .side-footer {
      display: inline-block;
      .widget-social-icons {
        display: block;
        a {
        border: none;
        color: #000;
        font-size: 16px;
        float: left;
        margin-right: 40px;
        padding: 0;
        @media #{$xs-device} {
          font-size: 13px;
          margin-right: 22px;
        }
        &.icon-color {
            color: #185381;
            &.color-twitter {
                color: #429cd6;
            }
            &.color-instagram {
                color: #521313;
            }
            &.color-googleplus {
                color: #d62d20;
            }
        }
        }
      }
      .widget-copyright {
        display: block;
        @media #{$xs-device} {
          display: inline-block;
          margin-top: 12px;
        }
        p {
          line-height: 1.7;
          @media #{$xs-device} {
            font-size: 15px;
          }
        }
      }
    }
  }

  &.bg-light-canvas {
    .off-canvas-inner {
      .off-canvas-content {
        background-color: $white;
        .off-canvas-header {
          padding: 30px 0;
          .close-action {
            button {
              position: absolute;
              right: 30px;
            }
          }
        }
        .res-mobile-menu {
          .slicknav {
            &_nav {
              padding-left: 10px;
              li {

                a {
                  font-size: 16px;
                  color: $black-333;
                  padding-bottom: 16.5px;
                  padding-top: 16.5px;
                  text-transform: uppercase;
                  .slicknav_arrow {
                    display: none;
                  }
                  &:hover {
                    color: $theme-color;
                  }
                }

                ul {
                  li {
                    a {
                      color: $theme-color;
                      padding-bottom: 13px;
                      padding-top: 13px;
                      text-transform: capitalize;
                      &:hover {
                        color: $black-333;
                      }
                    }

                    ul {
                        li {
                            a {
                              color: $body-color;
                              font-size: 15px;
                              &:hover {
                                color: $theme-color;
                              }
                            }
                        }
                    }
                  }
                }
              }
            }
          }
        }
        &.canvas-content-style2 {
          .off-canvas-item {
            margin-bottom: 0;
            margin-top: 20px;
            height: calc(100% - 140px);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
          }
          .side-canvas-footer {
            .widget-contact-info {
              margin-bottom: 0;
              padding: 0 31px;
              li {
                align-items: baseline;
                color: $body-color;
                display: flex;
                margin-bottom: 10px;
                &:first-child {
                  i {
                    width: 35px;
                  }
                }
                &:last-child {
                  margin-bottom: 0;
                }
                i {
                  color: $body-color;
                  font-size: 14px;
                  width: 27px;
                }
                span {
                  color: $body-color;
                  font-size: 14px;
                  line-height: 24px;
                }
              }
            }
          }
        }
      }
    }
  }
}