/**=====================
    Sidebar CSS Start
==========================**/
%sidebar-after {
  @include pos;
  top: 48%;
  width: 6px;
  border-top: 2px solid $white;
}

%horizontal-after {
  @include pos;
  top: 49%;
  width: 5px;
  height: 1px;
  border-radius: 100%;
}

%common {
  border-left-color: $dark-color;
  transition: $sidebar-transition;
}

%for-animated-hover {
  box-shadow: $main-header-shadow;
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  left: 0;
}

%for-animated-hover-box {
  opacity: 1;
  transform: translateY(0px);
  visibility: visible;
  border-radius: 0;
  overflow: hidden;

  &:before {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid $white;
    @include pos;
    top: -7px;
    left: 10px;
    z-index: 2;
  }

  &:after {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid $light-background;
    @include pos;
    top: -7px;
    left: 10px;
    z-index: 1;
  }
}

%sidebar-icon {
  display: block;
  transform: rotateX(0deg);
  z-index: 1;
  background-color: $white;
  color: $light-background;
  font-size: 14px;
  opacity: 1;
  margin-top: -70px;
  padding: 10px 0;
  text-align: left;
  box-shadow: 0 0 10px rgba($black, $alpha: 0.13);
  position: absolute;
  width: 245px;
  margin-left: 115px;
}

.page-wrapper {
  position: relative;
  background-color: #f6f5f0;

  .page-header {
    max-width: 100vw;
    position: $main-header-position;
    top: $main-header-top;
    z-index: $main-header-z-index;
    transition: $sidebar-transition;
    background-color: $white;

    .header-wrapper {
      width: 100%;
      display: flex;
      align-items: center;
      padding: $header-wrapper-padding;
      position: relative;

      &.skeleton-header {
        pointer-events: none;

        .search-full {
          height: 46px;
          background-color: #f9f9f6;
          border-radius: 10px;

          >div {
            display: none;
          }
        }

        .nav-right {
          &.right-header {
            ul {
              li {

                .mode,
                .notification-box,
                .global-box,
                .full-screen-box,
                .language-box {
                  background-color: #f2f2f2;
                  color: transparent;
                  border-radius: 100%;
                  width: 21px;
                  height: 21px;
                  border-radius: 100%;

                  svg {
                    display: none;
                  }
                }

                svg {
                  background-color: #f2f2f2;
                  color: transparent;
                  border-radius: 100%;

                  &.middle {
                    background: transparent;
                  }
                }

                .profile-media {
                  .user-profile {
                    img {
                      display: none;
                    }
                  }

                  .user-name-hide {
                    p {
                      height: 20px;
                      padding-top: 5px;

                      svg {
                        display: none;
                      }
                    }
                  }

                  .media-body {
                    p {
                      background: linear-gradient(90deg, rgba(212, 212, 212, 0.3) 8%, #e4e4e4 18%, rgba(212, 212, 212, 0.3) 33%);
                      background-size: 800px 104px;
                      animation: skeleton-loader 2s infinite linear;
                      border-color: transparent !important;
                      color: transparent !important;
                      margin-top: 4px;
                    }

                    span {
                      background: linear-gradient(90deg, rgba(212, 212, 212, 0.3) 8%, #e4e4e4 18%, rgba(212, 212, 212, 0.3) 33%);
                      background-size: 800px 104px;
                      animation: skeleton-loader 2s infinite linear;
                      border-color: transparent !important;
                      color: transparent !important;
                      width: 70%;
                      margin-bottom: 0px;
                      height: 19px;
                    }
                  }

                  .dropdown-toggle {
                    &::after {
                      content: "\ea4e";
                      font-family: remixicon;
                      font-style: normal;
                      -webkit-font-smoothing: antialiased;
                      margin: 0;
                      border: unset;
                      vertical-align: unset;
                      font-size: 15px;
                    }
                  }
                }
              }
            }
          }
        }

        .header-btns {
          .btn {
            background: linear-gradient(90deg,
                rgba(212, 212, 212, 0.3) 8%,
                #e4e4e4 18%,
                rgba(212, 212, 212, 0.3) 33%);
            background-size: 800px 104px;
            animation: skeleton-loader 2s infinite linear;
            border-color: transparent !important;
            color: transparent !important;

            &:hover {
              background-color: transparent;
            }
          }
        }
      }

      @media (max-width: 991px) {
        margin: 0;
        padding: 12px 30px;
        justify-content: space-between;
      }

      .search-full {
        position: relative;
        z-index: 1;
        height: auto;
        width: 480px;
        transition: all 0.3s ease;

        @media (max-width: 1458px) {
          width: 425px;
        }

        @media (max-width: 1325px) {
          width: 390px;
        }

        @media (max-width: 1290px) {
          width: 360px;
        }

        @media (max-width: 1225px) {
          width: 332px;
        }

        @media (max-width: 1107px) {
          width: 295px;
        }

        @media (max-width: 1034px) {
          width: 257px;
        }

        @media (max-width: 991px) {
          width: 377px;
        }

        @media (max-width: 810px) {
          width: 307px;
        }

        &.open {
          display: block;
          height: 100%;
          animation: zoomIn 0.5s ease-in-out;
          transform: scale(1);
          transition: all 0.3s ease;
        }

        .close-icon {
          position: absolute;
          right: 18px;
          @include center(vertical);
          font-size: 18px;
          color: $black;
          cursor: pointer;

          [dir="rtl"] & {
            right: unset;
            left: 18px;
          }
        }

        .search-icon {
          position: absolute;
          top: 0;
          right: 0;
          color: #777;
          height: 100%;
          padding-inline: 16px;
          @include flex_common;
          font-size: 18px;
          z-index: 1;
          border-left: 1px solid #eee;
        }

        .onhover-dropdown {
          position: absolute;
          left: 0;
          top: 60px;
          background-color: white;
          width: 100%;
          padding: 15px;
          box-shadow: 0 0 8px #eee;
          border-radius: 0;
          max-height: 260px;
          overflow: auto;
          opacity: 0;
          visibility: hidden;
          transform: translateY(-20px);
          transition: all 0.5s ease;

          @media (max-width: 767px) {
            left: 15px;
            top: 70px;
            width: calc(100% - 30px);
          }

          &.open {
            opacity: 1;
            visibility: visible;
            transform: none;
          }

          * {
            scrollbar-width: auto;
            scrollbar-color: #ffffff;
          }

          &::-webkit-scrollbar {
            width: 10px;
          }

          &::-webkit-scrollbar-track {
            background: #ffffff;
          }

          &::-webkit-scrollbar-thumb {
            background-color: transparent;
            border-radius: 10px;
            border: 3px solid #ffffff;
            transition: all 0.5s ease;
          }

          &:hover {
            &::-webkit-scrollbar-thumb {
              background-color: hsla(168, 73%, 37%, 0.479);
            }
          }

          >ul {
            >li {
              +li {
                margin-top: 14px;
              }

              ul {
                padding-left: 14px;
                padding-top: 15px;

                li {
                  a {
                    color: #626262;
                  }

                  +li {
                    margin-top: 6px;
                  }
                }
              }
            }
          }

          .main-content {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #555;
            padding: 9px 10px;
            background-color: #f8f8f8;
            border-radius: 26px;
          }
        }

        input {
          font-size: 16px;
          line-height: 32px;
          padding: 6px;
          padding-right: 65px;
          padding-left: 30px;
          width: 100% !important;
          background-color: $inner-bg;
          border: 1px solid #efefef;
          border-radius: 0;
          position: relative;

          @media (max-width: 1199px) {
            padding-top: 4px;
            padding-bottom: 4px;
          }

          &::placeholder {
            transition: all 0.15s ease-in-out;
          }

          &:focus {
            outline: none !important;

            &::placeholder {
              color: transparent;
            }
          }
        }

        .form-group {
          position: relative;

          svg {
            position: absolute;
            top: 0;
            right: 0;
            color: #777;
            height: 100%;
            padding-inline: 16px;
            @include flex_common;
            font-size: 18px;
            border-left: 1px solid #eee;
          }

          .close-search {
            position: absolute;
            font-size: 15px;
            right: 20px;
            width: 18px;
            height: 25px;
            top: 30px;
            display: none;
            color: $dark-gray;
            cursor: pointer;
          }
        }
      }

      .nav-right {
        justify-content: flex-end;
        display: flex;
        margin-left: auto;

        ul {
          li {
            a {
              color: $theme-body-font-color;
            }

            svg {
              vertical-align: middle;
              width: unset;
              stroke: #4a5568;
              font-size: 21px;
              height: unset;
              transition: all 0.3s ease-in-out;

              body.dark-only & {
                stroke: #9a9a9a;
              }
            }
          }
        }

        &.right-header {
          ul {
            li {
              i {
                font-size: 21px;
              }

              .mode {
                cursor: pointer;
                width: 20px;
                text-align: center;

                i {
                  font-size: 21px;
                  font-weight: 200;
                  transition: all 0.3s ease;

                  &.fa-lightbulb-o {
                    font-weight: 500;
                    font-size: 22px;
                    transition: all 0.3s ease;
                    animation: zoomIn 300ms ease-in-out;
                  }
                }
              }

              .header-search {
                cursor: pointer;
                display: none;
              }

              .profile-media {

                h4,
                img {
                  @include flex_common;
                  width: calc(35px + (40 - 35) * ((100vw - 320px) / (1920 - 320)));
                  height: calc(35px + (40 - 35) * ((100vw - 320px) / (1920 - 320)));
                  border-radius: 100%;
                  background-color: #f0f0f0;
                  margin: 0 auto;
                }

                h4 {
                  font-weight: 600;
                }

                .media-body {
                  margin-left: 15px;

                  [dir="rtl"] & {
                    margin-right: 15px;
                    margin-left: 0;
                  }

                  span {
                    font-weight: 600;
                    font-size: 15px;
                    color: inherit;
                    text-transform: capitalize;
                  }

                  p {
                    font-size: 13px;
                    line-height: 1;
                    text-transform: capitalize;
                    color: $theme-body-font-color;

                    .fa-angle-down {
                      margin-left: 5px;

                      [dir="rtl"] & {
                        margin-left: unset;
                        margin-right: 5px;
                      }
                    }
                  }
                }

                .user-profile {
                  width: 40px;
                  height: 40px;
                  object-fit: cover;
                }
              }
            }
          }
        }

        >ul {
          display: flex;
          align-items: center;
          justify-content: flex-end;

          >li {
            padding: 0 8px;
            margin-right: 10px;
            font-size: 18px;
            display: inline-flex;
            align-items: center;
            line-height: 1;
            position: relative;

            .language-box {
              display: flex;
              align-items: center;
              gap: calc(0px + 8*(100vw - 320px) / 1600);

              .down-arrow {
                @include pseudowh($width: unset, $height: unset);
                font-size: 15px;
              }
            }

            @media (max-width: 1400px) {
              margin-right: 0;
            }

            &:nth-child(2),
            &:nth-child(3) {
              @media (max-width: 1080px) {
                display: none;
              }
            }

            >a {
              svg {
                body.dark-only & {
                  fill: #9a9a9a;
                }
              }
            }

            .badge {
              position: absolute;
              right: -5px;
              top: -6px;
              padding: 2px 4px;
              border-radius: 0;
              font-size: 11px;
              font-weight: 700;
              font-family: $montserrat;
              background-color: #ff7272;
            }

            span {
              &.lnr {
                font-weight: 600;
              }

              ul {
                left: inherit;
                right: -10px;
                width: 130px;

                &:before,
                &:after {
                  left: inherit;
                  right: 10px;
                }

                li {
                  display: block;

                  a {
                    font-size: 14px;
                    color: $dark-color;

                    i {
                      margin-left: 10px;
                      font-size: 13px;
                      color: $dark-color;
                    }
                  }
                }
              }
            }

            .media {
              align-items: center;
            }
          }

          .flag-icon {
            font-size: 16px;
          }
        }

        .bookmark-flip {
          width: unset !important;
          box-shadow: unset !important;
          background-color: transparent !important;
          overflow: initial;
        }

        .flip-card {
          width: 220px;
          height: 245px;
          background-color: transparent;

          .flip-card-inner {
            position: relative;
            height: 100%;
            text-align: center;
            transition: transform 0.6s;
            transform-style: preserve-3d;

            .front,
            .back {
              position: absolute;
              backface-visibility: hidden;
              border-radius: 10px;
              overflow: hidden;
              box-shadow: 0 0 20px rgba(89, 102, 122, 0.1);
              width: 220px;
              height: 240px;

              button {
                background-color: $transparent-color;
                color: $primary-color;
                border: none;

                &:focus {
                  outline: $transparent-color;
                }
              }
            }

            .front {
              background-color: $white;
              transition: 0.3s;

              svg {
                margin-bottom: 15px;
                stroke: $dark-color;
                transition: all 0.3s ease;

                &:hover {
                  stroke: var(--theme-color);
                  transition: all 0.3s ease;
                }
              }
            }

            .back {
              background-color: $white;
              transform: rotateY(180deg);

              li {
                &:first-child {
                  margin-top: 20px;
                  height: 160px !important;
                }

                &:last-child {
                  padding: 20px 0;
                  border-top: 1px solid $gray-light;
                }
              }

              button {
                width: 100%;
              }

              .flip-back-content {
                input {
                  border-radius: 25px;
                  padding: 6px 12px;
                  width: 100%;
                  border: 1px solid $gray-light;
                }
              }
            }

            &.flipped {
              transform: rotateY(180deg);

              .front {
                opacity: 0;
              }
            }
          }
        }

        .onhover-show-div{
          &:not(.profile-dropdown) {
            li {
              &:first-child {
                padding: calc(14px + 6*(100vw - 320px) / 1600);
                font-weight: 600 !important;
                position: relative;
                overflow: hidden;
                border-bottom: 1px solid #eee;

                svg {
                  fill: white;
                  position: absolute;
                  width: 50px;
                  height: 50px;
                  top: -5px;
                  right: -10px;
                  opacity: 0.15;
                  font-size: 50px;
                }

                span,
                i {
                  position: absolute;
                  width: 50px;
                  height: 50px;
                  top: -5px;
                  right: -10px;
                  opacity: 0.15;
                  font-size: 50px;

                  [dir="rtl"] & {
                    right: unset;
                    left: -10px;
                  }
                }
              }

              &:last-child {
                a {
                  background-color: transparent;
                  border: 1px solid var(--theme-color);
                  color: var(--theme-color);
                  position: relative;

                  &::before {
                    @include pos;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background-color: var(--theme-color);
                    opacity: 0.1;
                  }
                }
              }
            }
          }
        }

        .onhover-show-div {
          width: 330px;
          top: 50px;
          font-size: 16px;
          right: 0;
          left: unset;

          li {
            padding: 0 16px;

            h6 {
              font-weight: 700;
            }

            p {
              opacity: 1;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              display: -webkit-box;
              overflow: hidden;

              svg {
                fill: var(--theme-color);
              }
            }

            &+li {
              padding-top: 15px;
              padding-bottom: 0px;
            }

            &:last-child {
              padding-block: 15px;
            }

            .media {
              position: relative;

              img {
                width: 40px;
                position: relative;
              }

              .status-circle {
                left: -4px;
              }

              .media-body {
                >span {
                  letter-spacing: 0.8px;
                  padding-right: 10px;
                  font-weight: 500;
                  color: inherit;
                  display: inline-block;

                  [dir="rtl"] & {
                    padding-right: unset;
                    padding-left: 10px;
                  }
                }

                p {
                  margin-bottom: 15px;
                }
              }
            }
          }

          &:before,
          &:after {
            right: 10px !important;
            left: unset !important;
          }
        }

        .notification-box {
          position: relative;

          svg,
          .ri-notification-line {
            animation: ring 2s 0.5s ease-in-out infinite;
            transform-origin: 50% 4px;

            @keyframes ring {
              20% {
                transform: rotate(15deg);
              }

              40% {
                transform: rotate(-10deg);
              }

              60% {
                transform: rotate(5deg);
              }

              80% {
                transform: rotate(-5deg);
              }

              100% {
                transform: rotate(0deg);
              }
            }
          }
        }

        .cart-box {
          position: relative;

          svg {
            animation: swing 1.5s ease infinite;
          }
        }

        .cart-dropdown {
          li {
            .media {
              align-items: center;
            }

            &+li {
              padding-bottom: 10px;
            }
          }

          p {
            line-height: 1.3;
            margin-top: 3px;
            opacity: 0.6;
          }

          .close-circle {
            position: absolute;
            right: 0;
            top: 0;

            svg {
              width: 14px;
            }
          }

          .qty-box {
            .input-group {
              width: 80px;

              .btn {
                padding: 0px 2px;
              }
            }
          }
        }

        .notification-dropdown {
          top: 52px;
          width: 300px;
          right: -20px !important;
          left: unset;

          li {
            &+li {
              padding-top: 15px;

              p {
                margin-bottom: 0;

                i {
                  font-size: 11px;
                }
              }
            }

            &:last-child {
              text-align: center;
              border-top: 1px solid $light-gray;
              margin-top: 15px;
            }

            p {
              span {
                color: $light-font;
              }
            }
          }

          &:before,
          &:after {
            right: 28px !important;
            left: unset !important;
          }
        }

        .profile-dropdown {
          max-width: 240px;
          top: 53px;
          right: -12px;
          padding: 15px 10px;
          font-size: 14px;
          width: max-content;

          &.language-dropdown {
            li {
              padding: 5px 10px !important;

              &.active,
              &:hover {
                a {
                  color: var(--theme-color);
                }
              }

              a {
                color: #222;
              }

              &:last-child {
                padding: 5px 10px !important;
                padding-bottom: 0 !important;
              }
            }
          }

          li {
            padding: 0 10px !important;

            &:hover {
              &:first-child {
                a {
                  svg {
                    fill: var(--theme-color);
                  }
                }
              }

              a {
                svg {
                  stroke: var(--theme-color);
                }

                span {
                  color: var(--theme-color);
                  transition: color 0.3s ease;
                }
              }
            }

            &:last-child {
              padding-top: 14px !important;
            }

            a {
              display: flex;
              align-items: center;
              gap: 10px;

              span {
                color: $dark-color;
              }

              i {
                margin-right: 10px;
                color: $dark-color;
                transition: all 0.3s ease-in-out;

                [dir="rtl"] & {
                  margin-right: unset;
                  margin-left: 10px;
                }
              }
            }
          }
        }
      }
    }
  }

  .page-body-wrapper {
    background-color: $body-color;

    .page-body {
      min-height: calc(100vh - #{$header-size});
      margin-top: $header-size;
      padding: $page-body-padding;
      position: relative;
      transition: 0.5s;

      &:before {
        animation: fadeIn 0.5s ease-in-out;
      }
    }

    .page-title {
      padding-top: $page-title-padding;
      padding-bottom: $page-title-padding;

      >.row {
        .col-6 {
          &:first-child {
            display: flex;

            h3 {
              padding-right: 20px;
            }
          }
        }
      }

      .row {
        align-items: center;

        h3 {
          font-size: $page-title-font-size;
          margin-bottom: $page-title-margin-bottom;
          text-transform: $page-title-text-tranform;

          small {
            display: $page-small-title-display;
            font-size: $page-small-title-font-size;
            margin-bottom: $page-small-title-margin-bottom;
            text-transform: $page-small-title-text-transform;
            color: $theme-body-sub-title-color;
          }
        }
      }

      .breadcrumb {
        background-color: $transparent-color;
        padding: 0;
        margin-bottom: 0;
        align-items: center;
        justify-content: flex-end;

        li {
          font-size: 13px;
          letter-spacing: 1px;
          font-family: $montserrat;
        }

        .breadcrumb-item {
          &+.breadcrumb-item {
            &:before {
              content: $breadcrumb-content;
            }
          }

          a {
            color: var(--theme-color);

            svg {
              width: 16px;
              height: 16px;
              color: $dark-color;
              vertical-align: text-top;
            }
          }
        }
      }
    }
  }

  &.horizontal-wrapper {
    .footer {
      margin-left: 0;
    }

    .header-logo-wrapper {
      width: 150px;

      .toggle-sidebar {
        display: none;
      }
    }

    .left-header {
      padding-right: 0;
    }

    .page-body-wrapper {
      li {
        display: inline-block;
      }

      .sidebar-wrapper {
        height: 54px;
        line-height: inherit;
        top: 81px;
        background: $white;
        box-shadow: 0px 9px 24px rgba($semi-dark, 0.05);
        overflow-x: hidden;
        z-index: 1;
        overflow-y: visible;
        position: fixed;
        width: 100vw;
        border-top: 1px solid $light-semi-gray;

        .badge {
          position: absolute;
          top: 2px;
          right: 0px;
          z-index: 1;
        }

        .logo-wrapper,
        .logo-icon-wrapper {
          display: none;
        }

        .sidebar-main {
          text-align: left;
          position: relative;

          .left-arrow,
          .right-arrow {
            position: absolute;
            top: 0px;
            padding: 15px;
            background-color: $white;
            @include flex_common;
            z-index: 1;
            cursor: pointer;

            &.disabled {
              display: none;
            }
          }

          .left-arrow {
            left: 0;
          }

          .right-arrow {
            right: 10px;
          }

          .sidebar-links {
            list-style: none;
            margin: 0;
            padding: 0;
            line-height: normal;
            direction: ltr;
            text-align: left;
            display: -webkit-box !important;
            padding: 0 5px;
            transition: all 0.5s ease;
            white-space: nowrap;

            li {
              &.sidebar-list {
                a {
                  &.active {
                    .according-menu {
                      i {
                        &:before {
                          content: "-";
                        }
                      }
                    }
                  }

                  .according-menu {
                    display: none;
                  }
                }

                ul.sidebar-submenu {
                  li {
                    a {
                      &.active {
                        color: $white;

                        &:after {
                          background-color: var(--theme-color);
                        }
                      }
                    }
                  }
                }
              }
            }

            >li {
              position: relative;
              padding-bottom: 10px;

              &:hover {
                >a {
                  >span {
                    transition: all 0.3s ease;
                  }
                }

                a {
                  transition: all 0.3s ease;

                  svg {
                    transition: all 0.3s ease;
                  }
                }
              }

              &:first-child {
                display: none !important;
              }

              >a {
                display: block;
                color: $theme-body-font-color;
                line-height: 23px;
                text-decoration: none;
                text-transform: capitalize;
                padding: 5px 15px;
                margin: 0 3px;
                letter-spacing: 0.04em;
                position: relative;
                border-radius: 0;
                font-weight: 500;
                transition: all 0.3s ease;

                &.active {
                  background-color: lighten($primary-color, 22%);
                  transition: all 0.3s ease;

                  svg,
                  span {
                    color: var(--theme-color);
                    transition: all 0.3s ease;
                  }
                }

                .badge {
                  position: absolute;
                  top: -5px;
                  margin-left: 1px;
                  right: 10px;
                  padding: 0.2em 0.7em;
                }

                svg {
                  width: 16px;
                  vertical-align: bottom;
                  margin-right: 10px;
                  stroke-width: 2.5px;
                }
              }

              .sidebar-submenu {
                position: fixed;
                z-index: 4;
                box-shadow: 0 0 1px 0 $dark-gray;
                padding: 15px 0px 15px 0px;
                background: $white;

                li {
                  border: 0;
                  float: none;
                  position: relative;
                  display: block;

                  a {
                    background: transparent;
                    padding: 4px 30px;
                    display: $white;
                    transition: all 0.5s ease;
                    line-height: 1.9;
                    color: rgba(43, 43, 43, 0.6);
                    letter-spacing: 0.06em;
                    font-weight: 500;
                    font-family: $montserrat;
                    transition: all 0.3s ease;

                    &:after {
                      left: 20px;
                      @extend %horizontal-after;
                    }

                    &:hover {
                      color: var(--theme-color);
                      letter-spacing: 1.5px;
                      transition: all 0.3s ease;

                      &:after {
                        background-color: var(--theme-color);
                      }
                    }
                  }
                }
              }

              .mega-menu-container {
                position: fixed;
                right: 0;
                left: 0;
                margin: 0 auto;
                z-index: 4;
                box-shadow: 0 0 1px 0 $dark-gray;
                padding: 30px;
                background: white;
                width: 95%;
                border-radius: 4px;
                display: block !important;

                .mega-box {
                  width: 20%;

                  .link-section {
                    .submenu-title {
                      h5 {
                        text-transform: uppercase;
                        font-size: 14px;
                        margin-left: -13px;
                      }
                    }

                    .submenu-content {
                      box-shadow: none;
                      background-color: transparent;
                      position: relative;
                      display: block;
                      padding: 0;

                      li {
                        border: 0;
                        float: none;
                        position: relative;
                        display: block;

                        a {
                          border: 0 !important;
                          background: transparent;
                          color: $theme-body-font-color;
                          border-radius: 0 !important;
                          text-transform: capitalize;
                          padding: 3px 0;
                          font-size: 13px;
                          display: block;
                          letter-spacing: 0.07em;
                          line-height: 1.9;
                          position: relative;
                          transition: all 0.3s ease;

                          &:hover {
                            color: var(--theme-color);
                            letter-spacing: 1.5px;
                            transition: all 0.3s ease;

                            &:after {
                              color: var(--theme-color);
                              transition: all 0.3s ease;
                            }
                          }

                          &:after {
                            @include pos;
                            left: -12px;
                            top: 50%;
                            width: 5px;
                            height: 1px;
                            background-color: $light-semi-font;
                          }
                        }
                      }
                    }
                  }
                }
              }

              &:hover {
                >a {
                  &:after {
                    left: 0;
                    right: 0;
                    opacity: 1;
                  }
                }
              }

              &.mega-menu {
                position: unset;
              }
            }
          }
        }

        &.overlay-white {
          background-color: rgba(255, 255, 255, 0.08);
        }
      }

      .toggle-nav {
        position: relative;
        display: flex;
        align-items: center;
        cursor: pointer;

        i {
          font-size: 24px;
        }
      }

      .page-body {
        margin-top: 135px;
      }

      .sidebar-main-title {
        display: none !important;
      }

      &.scorlled {
        .sidebar-wrapper {
          display: none;
          transition: all 0.3s ease;
        }
      }
    }

    .page-header {
      width: 100%;
      box-shadow: none;

      .header-wrapper {
        .form-control-plaintext {
          width: auto !important;
        }
      }
    }

    &.enterprice-type {
      footer {
        margin-left: 0;
      }
    }
  }

  &.material-icon {
    .left-header {

      .level-menu,
      .mega-menu {
        .nav-link {
          border-radius: 10px;
        }
      }
    }

    .card {
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 0 20px rgba($primary-color, 0.1);
    }
  }

  .sidebar-main-title {
    &-2 {
      margin: 10px 0 15px;
    }

    &-3 {
      margin: 0 0 15px;
    }

    >div {
      background-color: rgba($white, 0.06);
      padding: 16px;
      border-radius: 10px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    h6 {
      color: var(--theme-color);
      margin-bottom: 5px;
      letter-spacing: 0.8px;
    }

    p {
      color: $dark-color;
      font-size: 11px;
      margin-bottom: 0;
      text-transform: capitalize;
      line-height: 1;
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  &.compact-wrapper {
    .page-header {
      margin-left: 320px;
      width: calc(100% - 320px);

      @media (max-width: 1199px) {
        margin-left: 260px;
        width: calc(100% - 260px);
      }

      &.close_icon {
        margin-left: 83px;
        width: calc(100% - 83px);
      }

      .header-wrapper {
        .logo-wrapper {
          display: none;
        }

        .toggle-sidebar {
          display: none;
        }
      }
    }

    .page-body-wrapper {
      div {
        &.sidebar-wrapper {
          position: fixed;
          top: 0;
          z-index: 7;
          height: 100vh;
          line-height: inherit;
          width: 320px;
          text-align: left;
          transition: all 0.5s ease;
          box-shadow: 0 0 21px 0 rgba($semi-dark, 0.1);
          background: #202020;
          overflow: hidden;
          background-image: url("../../images/sidebg.jpg");

          @media (max-width: 1199px) {
            width: 260px;
          }

          @media (max-width: 991px) {
            left: -260px;

            [dir="rtl"] & {
              left: unset;
              right: -260px;
            }
          }

          #sidebarEffect {
            position: absolute;
            left: 0;
            top: 0;
            @include pseudowh;
            opacity: 0.04;
          }

          @keyframes gradient {
            0% {
              background-position: 0% 50%;
            }

            50% {
              background-position: 100% 50%;
            }

            100% {
              background-position: 0% 50%;
            }
          }

          .logo-wrapper,
          .logo-icon-wrapper {
            height: calc(63px + (82 - 63) * ((100vw - 320px) / (1920 - 320)));
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
            border-bottom: 1px solid #3a3a3a;

            .logo-sm {
              display: none;
            }

            a {
              display: flex;
              align-items: center;
              height: 100%;

              img {
                width: calc(134px + (168 - 134) * ((100vw - 320px) / (1920 - 320)));
                height: auto;
                object-fit: contain;

                &.main-logo {
                  width: 100%;
                }
              }
            }
          }

          .logo-icon-wrapper {
            display: none;
          }

          .user-section {
            @include flex_common;
            text-align: center;
            padding: 15px 0 25px;

            .user-profile {
              width: 100px;
              height: 100px;
              object-fit: cover;
            }

            .user-content {
              span {
                font-size: 16px;
                font-weight: 500;
                margin-top: 10px;
                color: $white;
              }

              p {
                color: #eeeeee;
              }
            }
          }

          &.close_icon {
            width: 83px;

            &:hover {
              width: 320px;
              transition: all 0.3s ease;

              .logo-wrapper {
                a {
                  display: flex;
                }

                .logo-sm {
                  display: none !important;
                }
              }

              .toggle-sidebar {
                display: flex;
              }

              .badge {
                opacity: 1;
                transition: all 0.3s ease;
              }

              .according-menu {
                display: block;
              }

              .sidebar-main {
                .sidebar-links {
                  .sidebar-submenu {
                    .sidebar-list {
                      a {
                        span {
                          display: block;
                        }
                      }
                    }
                  }

                  .sidebar-list {
                    .sidebar-title {
                      &.active {
                        ~.sidebar-submenu {
                          display: block !important;
                        }
                      }
                    }
                  }

                  >li {
                    max-width: unset;
                    transition: all 0.3s ease;

                    .sidebar-link {
                      &::after {
                        left: -15px;
                        width: calc(100% + 15px);
                      }

                      &::before {
                        content: "";
                      }
                    }

                    .sidebar-submenu {
                      a {
                        display: block;

                        &::after {
                          left: 20px;
                          width: 10px;
                        }
                      }
                    }

                    >a {
                      transition: all 0.3s ease;

                      >span {
                        display: block;
                      }
                    }
                  }
                }
              }

              .sidebar-main-title {
                opacity: 1;
                display: block !important;
                transition: all 0.3s ease;
              }

              .logo-icon-wrapper {
                display: none;
              }

              .user-section {
                .user-profile {
                  width: 100px;
                  height: 100px;
                }
              }
            }

            .user-section {
              padding-bottom: 0;

              .user-profile {
                width: 50px;
                height: 50px;
              }
            }

            .badge {
              opacity: 0;
              width: 0;
              padding: 0;
            }

            .sidebar-main {
              .sidebar-links {
                >li {
                  margin: 0;
                  transition: all 0.3s ease;

                  .sidebar-link {
                    &::before {
                      content: unset;
                    }

                    &::after {
                      width: 100%;
                      left: 0;

                      [dir="rtl"] & {
                        left: unset;
                        right: 0;
                      }
                    }
                  }

                  .sidebar-submenu {
                    a {
                      display: none;
                    }
                  }

                  a {
                    padding: calc(7px + (12 - 7) * ((100vw - 320px) / (1920 - 320))) calc(10px + (14 - 10) * ((100vw - 320px) / (1920 - 320)));
                    transition: all 0.3s ease;
                  }
                }
              }
            }

            .sidebar-main-title {
              display: none !important;
              opacity: 0;
              transition: all 0.3s ease;
            }

            .logo-wrapper {
              a {
                display: none;

                @media (max-width: 991px) {
                  display: flex;
                }
              }

              .logo-sm {
                display: block;
                width: 33px !important;
                height: 33px;

                @media (max-width: 991px) {
                  display: none;
                }
              }
            }

            .toggle-sidebar {
              display: none;
            }

            .logo-icon-wrapper {
              text-align: right;
              display: block;
              padding: 14px;
            }

            .mobile-sidebar {
              transform: translate(183px);
            }

            ~.page-body,
            ~footer {
              margin-left: 80px;
              transition: 0.5s;
            }

            ~.page-body {
              .footer {
                width: calc(100% - 83px);
              }
            }

            ~.footer-fix {
              width: calc(100% - 83px);
            }

            .sidebar-main {
              .sidebar-links {
                height: calc(100vh - 100px);

                >li {
                  a {

                    span,
                    .icon-arrow {
                      display: none;

                      @media (max-width: 991px) {
                        display: block;
                      }
                    }
                  }
                }

                .sidebar-list {
                  .sidebar-title {
                    &.active {
                      ~.sidebar-submenu {
                        display: none !important;
                      }
                    }
                  }
                }
              }
            }

            .according-menu {
              display: none;
            }
          }

          .sidebar-main {
            .sidebar-links {
              height: calc(100vh - 100px);
              left: -300px;
              z-index: 99;
              transition: color 1s ease;
              margin-top: 0;
              margin-bottom: 30px;
              overflow: hidden auto;

              li {
                a {
                  font-weight: 500;

                  span {
                    letter-spacing: 0.7px;
                    font-family: $montserrat;
                    text-transform: capitalize;
                    color: #c5c5c5;
                  }

                  &.link-nav {
                    .according-menu {
                      display: none;
                    }
                  }
                }

                &:last-child {
                  border-bottom: none;
                }
              }

              &.opennav {
                left: 0;
              }

              .back-btn {
                display: block;
                width: 100%;
                padding: 0;

                .mobile-back {
                  padding: 20px;
                  color: $theme-font-color;
                  font-weight: 700;
                  text-transform: uppercase;
                  border-bottom: 1px solid #efefef;
                  cursor: pointer;
                  display: flex;
                  justify-content: flex-end;
                  align-items: center;
                }
              }

              >li {
                display: block;
                width: 100%;
                padding: 0 15px;
                position: relative;

                &.sidebar-main-title {
                  padding: 0 15px 12px;
                }

                &.sidebar-list {
                  .badge {
                    position: absolute;
                    right: 10px;
                    @include center(vertical);
                    width: 21px;
                    height: 18px;
                    z-index: 1;
                    opacity: 1;
                    border-radius: calc(3px + (6 - 3) * ((100vw - 320px) / (1920 - 320)));
                    @include flex_common;
                    padding-top: 6px;

                    [dir="rtl"] & {
                      right: unset;
                      left: 10px;
                    }

                    &.bg-warning {
                      background-color: #ffbf32 !important;
                      border-color: #ffbf32 !important;
                    }
                  }

                  &:hover {
                    >a {
                      &:hover {
                        transition: all 0.3s ease;
                      }
                    }
                  }
                }

                a {
                  padding: 12px 15px;
                  position: relative;
                  transition: all 0.3s ease;
                  display: flex !important;
                  align-items: center;

                  .icon-arrow {
                    margin-left: auto;

                    [dir="rtl"] & {
                      margin-left: 0;
                      margin-right: auto;
                    }
                  }

                  .svg-icon {
                    width: 16px;
                    height: 16px;
                    margin-right: 10px;
                    @include flex_common;

                    [dir="rtl"] & {
                      margin-right: unset;
                      margin-left: 10px;
                    }
                  }

                  svg {
                    width: 16px;
                    height: 16px;
                    font-size: 16px;
                    color: #c5c5c5;
                    line-height: 1;
                    vertical-align: bottom;
                    float: none;
                    transition: all 0.3s ease;
                  }

                  >svg {
                    margin: 0;
                    stroke-width: 1px;
                  }

                  .according-menu {
                    margin-right: unset;

                    i {
                      margin-right: unset;
                    }
                  }

                  .sub-arrow {
                    right: 20px;
                    position: absolute;
                    top: 10px;

                    i {
                      display: none;
                    }

                    &:before {
                      display: none;
                    }
                  }
                }

                &.back-btn {
                  display: none;
                }

                .sidebar-submenu {
                  width: 100%;
                  padding: 0;
                  margin-top: 0;
                  position: relative !important;
                  animation: 0.3s alternate sidebar-menu-open forwards;

                  &::before {
                    @include pos;
                    left: 18px;
                    height: calc(100% - 14px);
                    width: 1px;
                    top: 5px;
                    border-left: 1px dashed #4e4e4e;

                    [dir="rtl"] & {
                      left: unset;
                      right: 18px;
                    }
                  }

                  @keyframes sidebar-menu-open {
                    0% {
                      transform: translate(0px, -50%) scale(1, 0);
                    }

                    100% {
                      transform: translate(0px, 0%) scale(1, 1);
                    }
                  }

                  >li {
                    a {
                      padding-left: 40px !important;
                      font-weight: 400;
                    }
                  }

                  .submenu-title {
                    .according-menu {
                      top: 7px;
                    }
                  }

                  &.opensubmenu {
                    display: block;
                  }

                  li {
                    &:hover {
                      >a {
                        transition: all 0.3s ease;
                      }
                    }

                    .nav-sub-childmenu {
                      display: none;
                      position: relative !important;
                      right: 0;
                      width: 100%;
                      padding: 0;

                      &.opensubchild {
                        display: block;
                      }

                      li {
                        a {
                          padding: 6px 45px;
                          padding-left: 56px !important;

                          &:after {
                            display: none;
                          }
                        }
                      }
                    }

                    a {
                      padding: 9px 25px;
                      font-size: 14px;
                      color: #c5c5c5;
                      margin-top: 0;
                      display: block;
                      position: relative;
                      letter-spacing: 0.06em;
                      font-weight: 500;
                      font-family: $montserrat;
                      transition: all 0.3s ease;
                      white-space: nowrap;
                      padding-left: 44px !important;
                      overflow: hidden;
                      text-overflow: ellipsis;

                      [dir="rtl"] & {
                        padding-right: 44px !important;
                        padding-left: unset !important;
                      }

                      &.active {
                        color: $white !important;
                      }

                      .svg-icon {
                        display: none;
                      }

                      &:after {
                        @include pos;
                        left: 20px;
                        top: 50%;
                        width: 10px;
                        opacity: 1;
                        height: 1px;
                        border-top: 1px dashed #4e4e4e;

                        [dir="rtl"] & {
                          left: unset;
                          right: 20px;
                        }
                      }

                      &:before {
                        content: unset;
                      }

                      &:hover {
                        margin-left: 0;
                      }
                    }
                  }
                }

                &.mega-menu {
                  .sidebar-title {
                    &.active {
                      ~.mega-menu-container {
                        display: block !important;
                      }
                    }
                  }
                }

                .mega-menu-container {
                  padding: 0;
                  position: relative;

                  &.opensubmenu {
                    display: block;
                  }

                  .mega-box {
                    width: 100%;
                    padding: 0;

                    .link-section {
                      &:hover {
                        h5 {
                          color: var(--theme-color) !important;
                          transition: all 0.3s ease;

                          &:after {
                            border-top: 2px solid var(--theme-color);
                            transition: all 0.3s ease;
                          }
                        }
                      }

                      .submenu-title {
                        position: relative;

                        h5 {
                          margin-bottom: 0;
                          line-height: 1.9;
                          padding: 6px 25px 6px 45px;
                          font-size: 14px;
                          position: relative;
                          color: rgba(43, 43, 43, 0.6);
                          display: block;
                          letter-spacing: 0.06em;
                          font-weight: 500;
                          font-family: $montserrat;
                          cursor: pointer;

                          &:after {
                            left: 25px;
                            @extend %sidebar-after;
                          }
                        }

                        .according-menu {
                          top: 8px;
                        }
                      }

                      .submenu-content {
                        &.opensubmegamenu {
                          li {
                            a {
                              margin-bottom: 0;
                              line-height: 1.9;
                              padding: 6px 25px 6px 45px;
                              font-size: 14px;
                              position: relative;
                              display: block;
                              letter-spacing: 0.06em;
                              font-weight: 500;
                              font-family: $montserrat;

                              &:after {
                                display: none;
                              }

                              &.active {
                                color: var(--theme-color);
                              }
                            }
                          }
                        }

                        ul {
                          li {
                            a {
                              line-height: 1.9;

                              &:hover {
                                margin-left: 0;
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }

                .sidebar-link {
                  transition: all 0.5s ease-in-out;
                  display: block;
                  margin-top: 8px;
                  z-index: 0;
                  position: relative;

                  &:before {
                    @include pos;
                    @include center(vertical);
                    left: -15px;
                    width: 2px;
                    height: calc(100% - 15px);
                    background-color: var(--theme-color);
                    opacity: 0;
                    z-index: -1;

                    [dir="rtl"] & {
                      left: unset;
                      right: -15px;
                    }
                  }

                  &::after {
                    @include pos;
                    @include center(vertical);
                    left: -15px;
                    width: calc(100% + 15px);
                    height: 100%;
                    background-color: rgba($white, 0.1);
                    opacity: 0;
                    z-index: -1;

                    [dir="rtl"] & {
                      left: unset;
                      right: -15px;
                    }
                  }

                  &.active {
                    transition: all 0.5s ease;
                    position: relative;
                    color: var(--theme-color);

                    &::before,
                    &::after {
                      opacity: 1;
                    }

                    .according-menu {
                      i {
                        color: $white;
                      }
                    }

                    svg,
                    i {
                      color: var(--theme-color);
                      stroke-width: 0.7px;
                      transition: all 0.3s ease-in-out;
                    }

                    span {
                      color: var(--theme-color);
                      font-weight: 600;
                      transition: all 0.3s ease-in-out;

                      body.dark-only & {
                        color: var(--theme-color);
                      }
                    }
                  }
                }
              }
            }

            .left-arrow,
            .right-arrow {
              display: none;
            }
          }
        }
      }

      .mega-box {
        &.col {
          flex-basis: unset;
        }
      }

      .according-menu {
        position: absolute;
        right: 15px;
        @include center(vertical);
        display: block;
        margin-right: 15px;

        i {
          vertical-align: middle;
          color: rgba($white, 0.8);
          font-weight: 600;
        }
      }

      .main-menu {
        &.border-section {
          border: none;
        }

        .menu-left {
          .main-menu-right {
            .toggle-nav {
              position: absolute;
              z-index: 2;
              right: 145px;
              top: 6px;

              .sidebar-name {
                font-size: 18px;
                padding-left: 5px;
                text-transform: uppercase;
              }
            }
          }
        }
      }

      .page-body {
        min-height: calc(100vh - 80px);
        margin-top: 90px;
        margin-left: 320px;
        background-color: $inner-bg;
        padding-top: 25px;
        padding-bottom: 44px;

        @media (max-width: 1199px) {
          margin-left: 260px;
        }

        >.container-fluid {
          >.row {
            >div {
              padding-right: calc(var(--bs-gutter-x) * 0.5);
              padding-left: calc(var(--bs-gutter-x) * 0.5);
            }
          }
        }
      }

      .sidebar-wrapper {
        &.close_icon {
          .logo-wrapper {
            padding: 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.5s ease;
          }
        }
      }
    }

    &.dark-sidebar,
    &.color-sidebar {
      .toggle-sidebar {
        svg {
          stroke: var(--theme-color);
        }
      }

      div.sidebar-wrapper {
        background-color: $dark-card-background;

        .sidebar-main {
          .sidebar-links {
            li {
              a {
                span {
                  color: $dark-all-font-color;
                  font-weight: 700;
                }
              }
            }

            >li {
              .mega-menu-container {
                .mega-box {
                  .link-section {
                    .submenu-title {
                      h5 {
                        color: $dark-all-font-color;
                      }
                    }

                    .submenu-content {
                      &.opensubmegamenu {
                        li {
                          a {
                            color: $dark-all-font-color;
                            font-weight: 400;
                          }
                        }
                      }
                    }
                  }
                }

                &::after {
                  background-color: $light-all-font-color;
                }
              }

              .sidebar-submenu {
                li {
                  a {
                    color: $dark-all-font-color;
                  }
                }
              }
            }

            .sidebar-list {
              ul.sidebar-submenu {
                li {
                  a {
                    span {
                      color: $dark-all-font-color;
                    }

                    &.active {
                      color: var(--theme-color);
                    }
                  }
                }
              }
            }
          }
        }

        .logo-wrapper {
          .for-light {
            display: none;
          }

          &-center {
            display: flex;
            align-items: center;
          }

          .for-dark {
            display: block;
          }
        }
      }

      .according-menu {
        i {
          color: $dark-all-font-color;
        }
      }

      .sidebar-main-title {
        p {
          color: $dark-all-font-color;
        }
      }
    }

    &.color-sidebar {
      div.sidebar-wrapper {
        background-color: #2f3c4e;
      }

      .sidebar-main-title {
        p {
          display: none;
        }

        h6 {
          margin-bottom: 0;
        }
      }
    }
  }

  &.compact-sidebar {
    ~.bg-overlay1 {
      transition: 0.8s;

      &.active {
        z-index: 8;
        height: 100vh;
        width: 100vw;
        background-color: rgba($black, 0.2);
        position: fixed;
        top: 0;
      }
    }

    .toggle-sidebar {
      position: relative;
      right: unset;
      top: unset;
      margin-right: 15px;
    }

    .sidebar-main-title {
      display: none;
    }

    .logo-wrapper {
      display: none;
    }

    .logo-icon-wrapper {
      display: block;
      text-align: center;
      padding: 33px 30px;
      box-shadow: -9px 0 20px rgba(89, 102, 122, 0.1);
    }

    .page-header {
      margin-left: 150px;
      width: calc(100% - 150px);

      .header-wrapper {
        .logo-wrapper {
          display: none;
        }
      }

      &.close_icon {
        margin-left: 0;
        width: calc(100% - 0px);
      }
    }

    .page-body-wrapper {
      .page-body {
        margin-top: 80px;
        margin-left: 150px;
      }

      .footer {
        margin-left: 0;
      }

      div.sidebar-wrapper {
        position: fixed;
        top: 0;
        z-index: 9;

        >div {
          height: auto;
          line-height: inherit;
          background: $white;
          width: 150px;
          text-align: left;
          transition: 0.3s;
          box-shadow: 0 0 21px 0 rgba(89, 102, 122, 0.1);
        }

        .sidebar-main {

          .left-arrow,
          .right-arrow {
            display: none;
          }

          .sidebar-links {
            margin: 30px 0;
            height: calc(100vh - 113px);
            overflow: auto;

            li {
              a {
                color: $dark-color;

                span {
                  letter-spacing: 0.7px;
                  font-family: $montserrat;
                  text-transform: capitalize;
                  color: $dark-color;
                  font-size: 13px;
                }

                &.active {
                  background: rgba($primary-color, 0.1);
                  color: $primary-color;
                  border-radius: 20px;
                  margin: 0 10px;

                  span {
                    color: $primary-color;
                  }

                  ~.sidebar-submenu,
                  ~.mega-menu-container {
                    animation: fadeInLeft 300ms ease-in-out;
                  }
                }
              }

              .sidebar-title {
                display: block;
                padding: 20px 0;
                border-bottom: 1px solid #f3f3f3;
              }

              .sidebar-submenu,
              .mega-menu-container {
                position: fixed;
                top: 0px;
                height: calc(100vh - 0px);
                overflow: auto;
                left: 150px;
                width: 230px;
                background-color: $white;
                box-shadow: 0 16px 15px 15px rgba(126, 55, 216, 0.03);
                transition: all 0.5s ease-in-out;
                display: none;
                padding-top: 20px;
                z-index: -1;

                li {
                  a {
                    padding: 15px 15px 15px 40px;
                    display: block;
                    position: relative;
                    border-bottom: 1px solid #f1f1f1;

                    .sub-arrow {
                      display: none;
                    }

                    .according-menu {
                      position: absolute;
                      right: 20px;
                      top: 16px;
                    }

                    &.active {
                      background-color: rgba($primary-color, 0.1);
                      color: $primary-color;
                      transition: all 0.3s ease;
                    }
                  }

                  .submenu-content {
                    li {
                      a {
                        &.active {
                          background-color: $transparent-color;
                        }
                      }
                    }
                  }
                }

                >li {
                  >a {
                    &::after {
                      @include pos;
                      left: 20px;
                      top: 48%;
                      width: 6px;
                      border-top: 2px solid $white;
                    }
                  }
                }

                .mega-box {
                  flex: 0 0 100%;
                  max-width: 100%;
                  padding: 0;

                  .link-section {
                    text-align: left;

                    .submenu-title {
                      h5 {
                        position: relative;
                        font-size: 14px;
                        font-weight: 400;
                        padding: 15px 15px 15px 40px;
                        letter-spacing: 1px;
                        margin-bottom: 0;

                        &::after {
                          @include pos;
                          left: 20px;
                          top: 48%;
                          width: 6px;
                          border-top: 2px solid $white;
                        }
                      }
                    }
                  }
                }
              }
            }

            .sidebar-list {
              position: relative;

              .badge {
                position: absolute;
                left: 53%;
                top: 7px;
                font-weight: 500;
                font-size: 9px;
              }

              .sidebar-link {
                text-align: center;

                svg {
                  display: block;
                  margin: 0 auto 6px;
                }

                >span {
                  display: block;
                  font-weight: 500;
                  letter-spacing: 1px;
                  font-size: 14px;
                }

                .according-menu {
                  display: none;
                }
              }
            }

            .mega-menu {
              text-align: center;
              padding: 0;

              svg {
                display: block;
                margin: 0 auto 6px;
              }

              .according-menu {
                position: absolute;
                right: 20px;
                top: 13px;
              }
            }
          }
        }

        &.close_icon {
          transform: translateX(-150px);

          ~.page-body,
          ~.footer {
            margin-left: 0px;
          }
        }
      }
    }
  }

  &.compact-small {
    .toggle-sidebar {
      position: relative;
      right: unset;
      top: unset;
      margin-right: 15px;
    }

    .sidebar-main-title,
    .logo-wrapper {
      display: none;
    }

    .logo-icon-wrapper {
      display: block;
      text-align: center;
      padding: 33px 30px;
      box-shadow: -9px 0 20px rgba(89, 102, 122, 0.1);
    }

    .page-header {
      margin-left: 83px;
      width: calc(100% - 83px);

      .header-wrapper {
        .logo-wrapper {
          display: none;
        }
      }

      &.close_icon {
        margin-left: 0;
        width: calc(100% - 0px);
      }
    }

    .page-body-wrapper {
      .page-body {
        margin-left: 90px;
      }

      .footer {
        margin-left: 90px;
      }

      div.sidebar-wrapper {
        >div {
          width: 90px;
        }

        .sidebar-main {
          .sidebar-links {
            li {
              .sidebar-title {
                display: block;
                padding: 15px 0;
              }

              .sidebar-submenu,
              .mega-menu-container {
                left: 90px;

                li {
                  a {
                    padding: 10px 15px 10px 40px;

                    .sub-arrow {
                      display: none;
                    }

                    .according-menu {
                      top: 11px;
                    }
                  }
                }
              }
            }

            .sidebar-list {
              .badge {
                display: none;
              }

              .sidebar-link {
                svg {
                  display: block;
                  margin: 0 auto;
                  width: 20px;
                }

                >span {
                  display: none;
                }
              }
            }

            .mega-menu {
              svg {
                margin: 0 auto;
              }

              a {
                >span {
                  display: none;
                }
              }
            }
          }
        }

        &.close_icon {
          transform: translateX(-150px);

          ~.page-body,
          ~.footer {
            margin-left: 0px;
          }
        }
      }
    }
  }

  &.only-body {
    background-color: #f2f0fa;

    .page-body-wrapper {
      background-color: #f2f0fa;
    }

    .page-header {
      position: relative;

      .nav-menus {
        .profile-nav {
          .media-body {

            >span,
            >p {
              color: $white !important;
            }
          }
        }

        >li {
          >svg {
            stroke: $white;
          }

          >a {
            >svg {
              stroke: $white;
            }
          }

          >div,
          >span {
            .lang-txt {
              color: $white;
            }

            i {
              color: $white;
            }

            svg {
              stroke: $white;
            }
          }
        }
      }

      .left-header,
      .header-logo-wrapper {
        display: none;
      }

      .header-wrapper {
        padding: 0 !important;

        .nav-right {
          position: absolute;
          right: 60px;
          top: 58px;
        }

        .search-full {
          top: 37px;
          width: calc(100% - 50px);
          left: 25px;

          .form-group {
            .Typeahead {
              .u-posRelative {
                background-color: $white;
                border-radius: 15px;
              }
            }
          }

          .Typeahead-menu {
            top: 78px;
            width: calc(100% - 30px);
            margin: 0 auto;
            right: 0;
          }
        }
      }
    }

    .page-body-wrapper {
      .breadcrumb-item {
        +.breadcrumb-item {
          &::before {
            color: $white;
          }
        }
      }

      .page-title {
        padding-top: 20px;
        padding-bottom: 20px;

        .breadcrumb {
          li {
            color: $white;
          }
        }

        .breadcrumb-item {
          a {
            svg {
              color: $white;
            }
          }
        }

        .row {
          h3 {
            color: $white;
          }
        }
      }
    }

    .sidebar-wrapper,
    footer {
      display: none;
    }

    .page-body-wrapper {
      .page-body {
        margin-top: 0px;
        min-height: calc(100vh - 0px);
      }

      .page-title {
        background: linear-gradient(26deg, var(--theme-color) 0%, #a26cf8 100%);
        padding-left: 30px;
        padding-right: 30px;
        margin-bottom: 30px;
        border-radius: 15px;
        margin-top: 30px;

        >.row {
          .col-6 {
            flex: 0 0 100%;
            max-width: 100%;
          }
        }

        .breadcrumb {
          margin-top: 5px;
          justify-content: flex-start;
        }
      }
    }
  }

  &.modern-type {

    .theme-form input[type="text"],
    .theme-form input[type="email"],
    .theme-form input[type="search"],
    .theme-form input[type="password"],
    .theme-form input[type="number"],
    .theme-form input[type="tel"],
    .theme-form input[type="date"],
    .theme-form input[type="datetime-local"],
    .theme-form input[type="time"],
    .theme-form input[type="datetime-local"],
    .theme-form input[type="month"],
    .theme-form input[type="week"],
    .theme-form input[type="url"],
    .theme-form input[type="file"],
    .theme-form select,
    textarea {
      border-radius: 0;
      background-color: $input-bg-color;
    }

    .file-sidebar .pricing-plan {
      border: 1px solid lighten($primary-color, 22%) !important;
    }

    .alert-primary {
      color: $primary-color;
    }

    .project-box {
      background-color: lighten($primary-color, 22%);
    }

    .nav-tabs .nav-link.active {
      background-color: transparent;
    }

    .activity-timeline .media .activity-line {
      background-color: lighten($primary-color, 22%);
    }

    .chart_data_left,
    .chart_data_right {
      .card-body {
        .chart-main {
          >div {
            &:last-child {
              .media {
                border-right: none !important;
              }
            }
          }
        }
      }
    }

    .page-header {
      margin-left: 0px;
      width: calc(100% - 0px);

      &.close_icon {
        margin-left: 0px;
        width: calc(100% - 0px);
      }

      .header-wrapper {
        .header-logo-wrapper {
          display: flex;
          flex: 1 0 auto;
          align-items: center;
        }

        .logo-wrapper {
          display: block;
          margin-right: calc(10px + (30 - 10) * ((100vw - 320px) / (1920 - 320)));
          width: calc(94px + (120 - 94) * ((100vw - 320px) / (1920 - 320)));
        }

        .toggle-sidebar {
          display: block;
          position: relative;
          top: unset;
          right: unset;
          margin-right: 15px;
        }
      }
    }

    .page-body-wrapper {
      div.sidebar-wrapper {
        top: 108px;
        background-color: $black1;

        .logo-wrapper,
        .logo-icon-wrapper {
          display: none;
        }

        .sidebar-main {
          .sidebar-links {
            height: calc(100vh - 160px);
          }
        }

        &.close_icon {
          .logo-icon-wrapper {
            display: none;
          }

          ~.page-body {
            margin-left: 0px;
          }

          ~footer {
            margin-left: 0px;
          }

          &:hover {
            .logo-wrapper {
              display: none;
            }
          }
        }
      }

      .page-body {
        margin-left: 310px;
      }
    }
  }

  &.material-type {
    position: relative;

    &::before {
      @include pos;
      left: 0;
      width: 100%;
      height: 300px;
      background-image: $gradient-primary;
    }

    .card {
      box-shadow: 0 0 20px rgba($black, 0.05);
    }

    .page-header {
      position: relative;
      max-width: 1560px;
      margin: 50px auto 0;
      border-radius: 15px 15px 0 0;
    }

    .page-body-wrapper {
      background-blend-mode: overlay;
      background-color: rgba($white, 0.5);

      .sidebar-wrapper {
        position: relative;
        max-width: 1560px;
        margin: 0 auto;
        top: unset;
        height: unset;
      }

      .page-body {
        margin: 0 auto;
        max-width: 1560px;
        background-color: $body-color;
        box-shadow: 0 0 20px 7px rgba(8, 21, 66, 0.05);
        border-radius: 0 0 15px 15px;
      }
    }

    .footer {
      margin-top: 40px;
    }
  }

  &.advance-layout {
    background-blend-mode: overlay;
    background-color: rgba($body-color, 0.7);

    .card {
      border-radius: 0;
      box-shadow: none;
      border: 1px solid $light-gray;
    }

    .page-header {
      position: relative;
      background-color: $white;
      margin: 0 auto;
    }

    .page-body-wrapper {
      background: transparent;

      .sidebar-wrapper {
        position: relative !important;
        top: unset !important;
        height: unset;
        box-shadow: none;

        border {
          top: 1px solid $light-semi-gray;
          bottom: 1px solid $light-semi-gray;
        }

        >div {
          overflow-x: hidden;
        }
      }

      .page-body {
        margin-top: 0 !important;
      }
    }
  }
}

@keyframes pagebody {
  from {
    opacity: 0;
    transform: scale3d(0.98, 0.98, 0.98) translate(-20px, -50px);
  }

  50% {
    opacity: 1;
  }
}

@media screen and (max-width: 1480px) {
  .page-wrapper {
    &.horizontal-wrapper {
      .page-body-wrapper {
        .sidebar-wrapper {
          .sidebar-main {
            .sidebar-links {
              >li {
                .mega-menu-container {
                  right: -18%;
                  width: 91%;
                }
              }
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1460px) {
  .page-wrapper {
    &.horizontal-wrapper {
      .page-body-wrapper {
        &.sidebar-wrapper {
          .sidebar-main {
            .sidebar-links {
              >li {
                .mega-menu-container {
                  right: -54%;
                  width: 75%;
                }
              }
            }
          }
        }
      }
    }
  }

  .sidebar-wrapper {
    .sidebar-main {
      .sidebar-links {
        >li {
          margin-right: 8px;
        }
      }
    }
  }
}

@media screen and (max-width: 1366px) {
  .page-wrapper {
    &.horizontal-wrapper {
      .page-body-wrapper {
        &.sidebar-wrapper {
          .sidebar-main {
            .sidebar-links {
              >li {
                .mega-menu-container {
                  right: -49%;
                  width: 70%;
                }
              }
            }
          }
        }
      }
    }
  }

  .profile-dropdown {
    &.onhover-show-div {
      right: 0;
      left: unset !important;

      &:before,
      &:after {
        right: 10px !important;
        left: unset !important;
      }
    }
  }
}

@media screen and (max-width: 1199px) {
  .page-wrapper {
    .page-header {
      .header-wrapper {
        .nav-right {
          >ul {
            >li {
              padding: 6px;
            }
          }
        }
      }
    }
  }

  .left-header .mega-menu-container .submenu-title {
    margin: 20px 20px 0 20px;
  }

  .mobile-title {
    &.d-none {
      display: flex !important;
      justify-content: space-between;
      padding: 20px 30px 17px;
      border-bottom: 1px solid $gray-light;
      margin: 0 -15px;

      h5 {
        color: var(--theme-color);
      }

      svg {
        stroke: var(--theme-color) !important;
      }
    }
  }

  .page-wrapper {
    &.horizontal-wrapper {
      .page-body-wrapper {
        &.sidebar-wrapper {
          .sidebar-main {
            .sidebar-links {
              >li {
                .mega-menu-container {
                  right: -35%;
                  width: 56%;
                }
              }
            }
          }
        }
      }
    }
  }
}

@media screen and (min-width: 992px) {
  .page-header {
    .header-wrapper {
      .nav-right {
        .notification-dropdown {
          top: 46px;
        }
      }
    }
  }

  .responsive-btn {
    display: none;
  }

  .page-wrapper {
    &.horizontal-wrapper {
      .page-body-wrapper {
        .sidebar-main {
          .sidebar-links {
            >li {
              .sidebar-submenu {
                width: 200px;
                opacity: 0;
                visibility: hidden;
                border-radius: 0;
                transition: all 0.5s ease;

                a {
                  .sub-arrow {
                    position: absolute;
                    right: 20px;
                    top: 5px;
                    color: $light-semi-font;
                    font-weight: 100;
                    transition: all 0.5s ease;
                    font-size: 15px;
                    top: 5px;
                  }
                }

                li {
                  .nav-sub-childmenu {
                    display: none;
                    border-radius: 4px;
                  }

                  &:hover {
                    .nav-sub-childmenu {
                      display: block;
                      position: absolute;
                      left: 200px;
                      background-color: $white;
                      top: -10px;
                      padding: 15px 0px 15px 0px;
                      box-shadow: 0 0 1px 0 $dark-gray;
                    }
                  }

                  a {
                    &:hover {
                      .sub-arrow {
                        right: 16px;
                        transition: all 0.5s ease;
                      }
                    }
                  }
                }
              }

              .mega-menu-container {
                opacity: 0;
                visibility: hidden;
                transition: all 0.5s ease;
              }

              &.hoverd {
                .sidebar-submenu {
                  opacity: 1;
                  visibility: visible;
                  margin-top: 8px;
                  transition: all 0.5s ease;
                }

                .mega-menu-container {
                  opacity: 1;
                  visibility: visible;
                  margin-top: 20px;
                  transition: all 0.5s ease;
                }
              }
            }
          }
        }

        .toggle-nav {
          display: none;
        }

        .mobile-back {
          display: none !important;
        }
      }
    }
  }
}

@media only screen and (min-width: 768px) {
  .page-wrapper {
    &.material-icon {
      position: relative;

      &::before {
        @include pos;
        left: 0;
        width: 100%;
        height: 240px;
        background: $gradient-primary;
      }

      .toggle-sidebar {
        color: rgba($white, 0.8);

        &:hover {
          >svg {
            color: $white !important;
            stroke: $white !important;
          }
        }
      }

      .left-header {

        .mega-menu,
        .level-menu {
          .nav-link {
            background-color: rgba($white, 0.09);
            color: rgba($white, 0.7);

            svg {
              stroke: rgba($white, 0.7);
            }
          }
        }
      }

      .page-header {
        position: relative;
        background: transparent;
        padding-left: 90px;
        max-width: 1660px;
        margin: 0 auto;
        width: calc(100% - 0px);

        .header-wrapper {
          .nav-right {
            >ul {
              >li {
                color: $white;

                .notification-box,
                .cart-box {
                  svg {
                    stroke: $white;
                  }
                }

                >a {
                  >svg {
                    stroke: $white;
                  }
                }

                >svg {
                  stroke: $white;
                }
              }
            }

            .language-nav {
              .more_lang {
                color: $theme-body-font-color;
              }
            }

            .onhover-show-div {
              color: $theme-body-font-color;
            }

            &.right-header {
              ul {
                li {
                  .profile-media {
                    .media-body {
                      p {
                        color: rgba($white, 0.7);
                      }
                    }
                  }
                }
              }
            }
          }
        }

        &.close_icon {
          padding-left: 0;
          margin: 0 auto !important;
        }
      }

      .page-body-wrapper {
        .page-body {
          margin-top: 0 !important;
          padding-left: 90px;
          max-width: 1660px;
          margin: 0 auto;
        }

        div.sidebar-wrapper {
          &.close_icon {
            ~.page-body {
              padding-left: 15px;
              margin: 0 auto !important;
            }
          }
        }

        .page-title {
          color: $white;

          .breadcrumb {
            .breadcrumb-item {
              a {
                svg {
                  color: $white;
                }
              }

              &.active {
                color: rgba($white, 0.6);
              }

              +.breadcrumb-item {
                &::before {
                  color: rgba($white, 0.8);
                }
              }
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 767px) {
  .sidebar-wrapper {
    .menu {
      .brand-logo {
        img {
          width: 120px;
        }
      }
    }
  }
}

@media screen and (max-width: 576px) {
  .toggle-nav {
    i {
      font-size: 20px;
    }
  }
}

.active-color {
  a {
    &:active {

      svg,
      span {
        color: #0000ff !important;
      }
    }
  }
}

.cke_1 {
  border: 1px solid $light-semi-gray !important;
}

.sidebar-links {
  &::-webkit-scrollbar-track {
    box-shadow: none;
    border-radius: 10px;
    background-color: transparent;
  }

  &::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(200, 203, 203, 0);
    background-color: rgba(255, 255, 255, 0.34);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
  }

  &:hover {
    &::-webkit-scrollbar-thumb {
      opacity: 1;
      visibility: visible;
      transition: all 0.5s ease;
    }
  }
}

.no-arrow {
  .slick-arrow {
    display: none !important;
  }
}

.full-screen-box {
  cursor: pointer;
}

/**=====================
      Sidebar CSS Ends
  ==========================**/