@use "./autoprefixer/autoprefixer" as *;
@forward './base/typhography';
@use "./variables/variables" as *;
@forward './base/default';
@forward './utilis/button';
@forward './utilis/section-title';
@forward './layout/navbar';
@forward './utilis/banner';
@forward './pages/home';
@forward './layout/footer';
@forward './utilis/accordion';


.mb-30 {
  margin-bottom: 30px;
}

/*--------------------------------------------------------------
# HEADER CSS
--------------------------------------------------------------*/
.header-top-wrapper {
  background: var(--color-black);

  .header-top-inner {
    @include d-flex;
    @include align-items;
    height: 40px;
    position: relative;

    .header-top-menu {
      flex-grow: 1;

      ul {
        @media screen and (max-width: 600px) {
          display: none;
        }

        li {
          a {
            padding: 6px 10px;
            color: var(--color-white);
            font-size: 14px;

            &:hover {
              color: var(--color-primary);
              background-color: var(--color-white);
            }
          }
        }
      }
    }

    .header-top-social {
      ul {
        margin: 0;
        padding: 0;
        list-style: none;

        li {
          display: inline-block;
          margin-left: 15px;

          a {
            font-size: 14px;
            color: var(--color-white);

            &:hover {
              color: var(--color-primary);
            }
          }
        }
      }
    }
  }
}

.header-logo-wrapper {
  .site-branding {
    p {
      margin: 0;
    }

    .site-title {
      margin: 0;
      padding: 0;
      font-size: 50px;
    }
  }
}


.header-menu-wrapper {
  border-top: 1px solid $color-white2;
  border-bottom: 1px solid $color-white2;

  #primary-menu {
    display: none;
  }

  .nav-menu {
    @include d-flex;
  }

  ul {
    >li {
      border-right: 1px solid $color-white2;
    }

    ul {
      li {
        background: $color-white;
      }
    }
  }

  .main-navigation {
    padding-bottom: 0;
    padding-top: 0;

    .navbar-collapse {
      .nav-menu {
        ul {
          @media screen and (max-width: 991px) {
            display: none;
          }

          li {
            a {
              font-size: 16px;
              font-weight: 700;
              color: $color-black;

              &:hover {
                background: $color-primary;
                color: $color-white;
              }
            }
          }
        }
      }
    }
  }
}

/*========================
  Webkit Scrollbar Track
  ========================*/
::-webkit-scrollbar-track {
  background: $color-white2;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: $color-primary;
}
/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
  height: 10px;
}

/*========================
  Mobile Menu
  ========================*/
@media screen and (min-width: 992px) {
  #mobile {
    display: none;
  }
}

@media screen and (max-width: 992px) {

  div#mobile,
  div#topheader {
    width: 100%;
    text-align: right;
  }

  div#mobile .slicknav_menu,
  div#topheader .slicknav_menu {
    text-align: left;
  }

  div#mobile .slicknav_menu>ul {
    border: 1px solid $color-paragraph;
    border-radius: 10px;
  }

  div#mobile .slicknav_menu ul,
  div#topheader .slicknav_menu ul {
    background: $color-white;
  }

  div#mobile .slicknav_menu ul li,
  div#topheader .slicknav_menu ul li {
    border-bottom: 1px solid $color-paragraph;
    border-right: none;
  }

  div#mobile .slicknav_menu ul li:last-child,
  div#topheader .slicknav_menu ul li:last-child {
    border-bottom: none;
  }

  div#mobile .slicknav_menu>ul,
  div#topheader .slicknav_menu>ul {
    padding: 15px;
  }

  div#mobile .slicknav_nav .slicknav_row:hover,
  div#topheader .slicknav_nav .slicknav_row:hover {
    background-color: transparent;
  }

  div#mobile .slicknav_nav .slicknav_arrow {
    color: $color-secondary;
  }

  div#mobile .slicknav_nav .slicknav_arrow,
  div#topheader .slicknav_nav .slicknav_arrow {
    float: right;
  }
}

@media screen and (min-width: 601px) {
  div#topheader {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  div#topheader {
    position: absolute;
    top: 0;
    z-index: 999;
    width: 97%;
  }

  div#topheader .slicknav_menu {
    margin: 0;
    padding: 0;
  }

  div#topheader .slicknav_menu .slicknav_btn {
    float: left;
    padding: 0;
  }
}

@media screen and (max-width: 575px) {
  .site-branding {
    text-align: center;
  }
}

.header-menu-wrapper.sticky-bar {
  position: fixed;
  width: 100%;
  z-index: 999;
  top: 0;
}

.logged-in .header-menu-wrapper.sticky-bar {
  top: 30px;
}


