//>>>>> Header Top Start <<<<>>>> Header Main Area Start <<<< a { background: $p1-clr; color: $white !important; &::after { color: $p1-clr; } } > .submenu { -webkit-transform: translateY(1); -moz-transform: translateY(1); -ms-transform: translateY(1); -o-transform: translateY(1); transform: translateY(1); visibility: visible; opacity: 1; } } } li.has-dropdown { > a { &::after { position: absolute; top: 50%; inset-inline-end: 25px; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); color: $p1-clr; } } } } .has-homemenu { width: 1100px; padding: 30px 30px 10px 30px; opacity: 0; left: calc(100% - 300px); visibility: hidden; padding: 20px 20px 20px 20px; .homemenu-items { @include flex; gap: 12px; justify-content: space-between; @include breakpoint(max-lg) { flex-wrap: wrap; } .homemenu { position: relative; box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); .homemenu-thumb { position: relative; width: 100%; .demo-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60%; gap: 10px; display: flex; justify-content: center; flex-direction: column; opacity: 0; visibility: hidden; @include transition; margin-top: 20px; .theme-btn { padding: 8px 14px 8px; background: $p3-clr; color: $white !important; width: initial; font-size: 12px !important; text-align: center; border-radius: 4px; span{ font-size: 14px; } &:hover { color: $white !important; } } } &:hover { &::before { visibility: visible; opacity: 1; } .demo-button { opacity: 1; visibility: visible; margin-top: 0; } &.homemenu-btn { opacity: 1; visibility: visible; bottom: 50%; transform: translateY(50%); } } img { width: 100%; } } .homemenu-title { text-align: center; margin: 15px auto; display: inline-block; font-size: 16px; } } } @include breakpoint(max-xl){ width: 1000px; } } &:hover { > a { color: $p1-clr; &::after { color: $p1-clr; } } > .submenu { visibility: visible; opacity: 1; transform: translateY(0px); } } } } } .sidebar__toggle { cursor: pointer; width: 30px; font-size: 20px; img { width: 30px; } } } .header-1 { z-index: 9; padding: 14px 0; .header-main { .header-left { @include flex; gap: 60px; @include breakpoint(max-xl4) { gap: 40px; } @include breakpoint(max-xxl) { gap: 25px; } @include breakpoint(max-xl) { gap: 20px; } .category-oneadjust { width: 160px; border-radius: 8px; border: 1px solid rgba(92, 112, 126, 0.3); padding: 10px 16px; position: relative; z-index: 99; @include breakpoint(max-md) { display: none; } .nice-select { width: unset !important; gap: 20px; font-size: 16px; .list { max-height: 15vh; background: $white; width: 160px; padding: 5px 8px; overflow-y: scroll; @include breakpoint(max-xl) { right: -60px; } li { color: $header-color; font-size: 14px; border: none; } } } } } .header-right { gap: 30px; @include breakpoint(max-xl) { gap: 20px; } @include breakpoint(max-md) { gap: 116px; } @include breakpoint(max-xxl) { gap: 16px; } .search-icon { width: 50px; height: 50px; line-height: 50px; text-align: center; border-radius: 50%; border: 1px solid rgba(92, 112, 126, 0.3); color: $header-color; margin-left: 30px; @include breakpoint(max-xl) { margin-left: 0; } @include breakpoint(max-xl) { width: 40px; height: 40px; line-height: 40px; } } .header-button { @include breakpoint(max-xxl) { display: none; } } } } &.header-style2 { position: absolute; padding: 0; .mega-menu-wrapper { border-radius: 0; background: $white; padding: 13px 28px; } &.sticky { box-shadow: none; background: transparent; .mega-menu-wrapper { box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset; } } } &.style3 { position: absolute; top: 0; left: 0; width: 100%; background: rgba(3, 23, 64, 0.2); .sidebar__toggle { img { filter: brightness(25) invert(1); } } .search-trigger { border-color: $white; i { color: $white; } } @include breakpoint(xl) { .main-menu { ul { li { a { color: $white; } } } } } &.sticky { background: rgba(3, 23, 64, 1); } } &.header-style4 { .main-menu { ul { li { a { color: $black; } } } } } &.header-style5{ .mega-menu-wrapper{ background: $bg-color; } } } .sidebar__toggle { cursor: pointer; } //>>>>> Sticky Start <<<<>>>> Offcanvas Start <<<<