@use '../../utils' as *; /*----------------------------------------*/ /* 3.4 Header Style 4 /*----------------------------------------*/ .header-sticky { position: fixed; top: 0; left: 0; right: 0; opacity: 1; width: 100%; z-index: 99; visibility: visible; background-color: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; -webkit-animation: .95s ease 0s normal forwards 1 running headerSlideDown; -khtml-animation: .95s ease 0s normal forwards 1 running headerSlideDown; -moz-animation: .95s ease 0s normal forwards 1 running headerSlideDown; -ms-animation: .95s ease 0s normal forwards 1 running headerSlideDown; -o-animation: .95s ease 0s normal forwards 1 running headerSlideDown; animation: .95s ease 0s normal forwards 1 running headerSlideDown; & .rr-header-main-menu nav ul li > a { padding: 25px 0; } } .rr-header-top{ &-height { padding: 10px 0; } &-left { & ul { & li { padding-left: 30px; position: relative; list-style-type: none; display: inline-block; &:not(:last-child){ margin-right: 35px; @media #{$xs}{ margin-right: 0; } } & i { position: absolute; top: 9px; left: 0; font-size: 14px; color: var(--rr-common-white); } & a { color: var(--rr-common-white); transition: .3s; @media #{$xl,$lg,$md,$xs}{ font-size: 14px; } &:hover { color: var(--rr-theme-1); } } } } } &-social { & span { padding-right: 20px; font-size: 16px; display: inline-block; color: var(--rr-common-white); @media #{$xl,$lg}{ font-size: 14px; } } & a { margin:0 7px; display: inline-block; color: var(--rr-common-white); transition: .3s; &:hover { color: var(--rr-theme-1); } &:last-child{ margin-right: 0; } @media #{$xs} { margin: 0 2px; font-size: 13px; } } } } .rr-header { &-main-menu { & > nav { & > ul{ & > li { display: inline-block; margin:0px 17px; position: relative; @media #{$xxl}{ margin:0px 17px; } @media #{$xl}{ margin:0px 10px; } & > a { font-weight: 500; font-size: 17px; padding: 55px 0; display: inline-block; color: var(--rr-common-white); text-transform: capitalize; font-family: var(--rr-ff-p); line-height: 28px; } & .submenu { position: absolute; top: 100%; left: -5px; width: 240px; z-index: 999; padding: 30px 40px; opacity: 0; visibility: hidden; transition: .4s; transform: scaleY(0); transform-origin: top center; text-align: start; background-color: var(--rr-common-black); border-top: 5px solid var(--rr-theme-1); box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; & > li { margin: 0; margin-bottom: 10px; display:block; font-family: var(--rr-ff-p); &:last-child { margin-bottom: 0; } & > a { padding: 0; text-transform: capitalize; color: var(--rr-common-white); position: relative; &::after { content: ''; position: absolute; bottom: 0; right: 0; left: auto; height: 1px; width: 0; background-color: var(--rr-theme-1); transition: .7s; display: inline-block; } } &:hover { & > a { color: var(--rr-theme-1); &::after { width: 100%; right: auto; left: 0; } } } } } &.has-dropdown::after{ content: "\2b"; font-family: "Font Awesome 6 Pro"; display: inline-block; font-size: 16px; font-weight: 700; transition: 0.3s; margin-left: -2px; transform: translateY(2px); color: var(--rr-common-white); } &:hover{ &.has-dropdown::after{ transform: rotate(-180deg); color: var(--rr-theme-1) !important; } & > a { color: var(--rr-theme-1) !important; } & .submenu { opacity: 1; visibility: visible; -webkit-transform: scaleY(1); -moz-transform: scaleY(1); -ms-transform: scaleY(1); -o-transform: scaleY(1); transform: scaleY(1); } } } } } } &-icon { transform: translateY(3px); @media #{$xl}{ margin: 0; } & button { font-size: 19px; display: inline-block; color: #8a8a8a !important; margin-right: 7px; transition: 0.3s; border: 1px solid; border-radius: 66px; padding: 10px; line-height: 0; &:hover { color: var(--rr-theme-1); } @media #{$xl}{ margin-right: 25px; } } & a { font-size: 24px; display: inline-block; color: var(--rr-common-black); transition: .3s; &:hover { color: var(--rr-theme-1); } } } &-btn { line-height: 0; } &-bar { & i { height: 48px; width: 48px; line-height: 48px; display: inline-block; margin: 10px 0; margin-left: 25px; font-size: 25px; color:var(--rr-common-white); background-color: var(--rr-theme-2); border-radius: 7px; } } &-border { border-bottom: 1px solid #dcdcdc; } } .rr-header-main-menu > nav > ul.rr-onepage-menu > li > a.active{ color: var(--rr-theme-1); } .rr-header-4 { &-menu { padding: 13px 0; background: #fff; } } .rr-header-4-menu .rr-header-main-menu > nav > ul > li .submenu { top: 126%; }