123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766 |
- /*--------------------------------------------------------------
- 7. Header
- ----------------------------------------------------------------*/
- .cs_site_header {
- position: relative;
- z-index: 101;
- }
- .cs_hero_search_heading {
- display: flex;
- justify-content: space-between;
- margin-bottom: 50px;
- h3 {
- font-size: 20px;
- margin: 0;
- }
- }
- .cs_header_search_wrap {
- position: fixed;
- top: 0;
- left: 0;
- height: 100%;
- width: 100%;
- background-color: #fff;
- z-index: 10000;
- opacity: 0;
- visibility: hidden;
- padding-top: 90px;
- transition: all 0.3s ease;
- &.active {
- opacity: 1;
- visibility: visible;
- }
- }
- .cs_header_search_in {
- margin-left: auto;
- margin-right: auto;
- }
- .cs_header_search_form {
- display: flex;
- flex: 1;
- position: relative;
- input {
- width: 100%;
- background-color: #fff;
- padding: 7px 50px 7px 0px;
- border: none;
- outline: none;
- border-bottom: 2px solid;
- font-size: 30px;
- line-height: 1.5em;
- font-weight: 500;
- &:focus {
- border-color: $accent;
- }
- }
- button {
- position: absolute;
- right: 0;
- top: 0;
- height: 60px;
- width: 24px;
- background-color: transparent;
- outline: none;
- border: none;
- font-size: 22px;
- padding: 0;
- &:hover {
- color: $accent;
- transform: scale(1.1);
- }
- }
- }
- .cs_header_search_close {
- border: none;
- outline: none;
- font-size: 24px;
- background-color: transparent;
- &:hover {
- color: red;
- }
- }
- .cs_header_action {
- display: flex;
- align-items: center;
- gap: 20px;
- .cs_action_icon {
- background-color: transparent;
- padding: 0;
- border: none;
- transition: all 0.3s ease;
- display: flex;
- &:hover {
- color: $accent;
- }
- }
- }
- .cs_header_number {
- display: flex;
- align-items: center;
- gap: 7px;
- + .cs_header_action {
- padding-left: 20px;
- margin-left: 20px;
- position: relative;
- &::before {
- content: '';
- position: absolute;
- height: 18px;
- width: 1px;
- left: 0;
- top: 3px;
- background-color: $secondary;
- }
- }
- }
- .cs_text_slide {
- display: flex;
- line-height: 1.5em;
- > span {
- position: relative;
- display: flex;
- &:not(:last-child) {
- padding-right: 20px;
- margin-right: 20px;
- &::before {
- content: '';
- height: 16px;
- width: 1px;
- background-color: currentColor;
- position: absolute;
- right: 0;
- top: 5px;
- }
- }
- }
- .cs_text_slide_btn {
- display: inline-flex;
- position: relative;
- &::before {
- content: '';
- height: 1px;
- width: 100%;
- position: absolute;
- bottom: 2px;
- left: 0;
- background-color: currentColor;
- }
- }
- }
-
- .cs_site-branding {
- display: inline-block;
- max-width: 180px;
- }
- .cs_site_header {
- position: absolute;
- width: 100%;
- left: 0;
- top: 0px;
- transition: all 0.4s ease;
- }
- .cs_site_header.cs_style_1 {
- .cs_main_header_in,
- .cs_top_header_in {
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- justify-content: space-between;
- position: relative;
- }
- .cs_main_header_in {
- height: 80px;
- }
- .cs_top_header_in {
- height: 60px;
- overflow: hidden;
- transition: all 0.3s ease;
- }
- .cs_top_header {
- background-color: #fff;
- }
-
- .cs_main_header_right {
- height: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- @media (max-width: 1199px) {
- padding-right: 50px;
- }
- }
- @media (max-width: 1199px) {
- .cs_btn.cs_style_1 {
- display: none;
- }
- }
- }
-
- .cs_site_header.cs_style_1 {
- &.cs_sticky_active {
- background-color: $white;
- box-shadow: 0 10px 10px -10px rgba(33, 43, 53, 0.1);
- }
-
- .cs_action_box {
- display: flex;
- align-items: center;
- .cs_action_value {
- margin-left: 15px;
- }
- > * {
- &:not(:last-child) {
- margin-right: 35px;
- }
- }
- }
- &.cs_color_1 {
- .cs_header_action {
- color: #fff;
- }
- .cs_nav_list {
- > li > a {
- color: $white;
- &:hover {
- color: $accent;
- &::after {
- border-color: $accent;
- }
- }
- }
- }
- &.cs_gescout_show {
- background-color: $primary;
- }
- }
- }
-
- @media screen and (max-width: 1199px) {
- .cs_main_header .cs_container-fluid_fluide {
- max-width: 100%;
- }
-
- .cs_site_header.cs_style_1 {
- .cs_nav {
- display: flex;
- }
- }
- }
-
- .cs_nav ul {
- margin: 0;
- padding: 0;
- list-style: none;
- }
-
- .cs_sticky_header {
- position: fixed !important;
- width: 100%;
- z-index: 999;
- }
- .cs_gescout_sticky {
- position: fixed !important;
- top: -110px;
- opacity: 0;
- transition: all 0.4s ease;
- background-color: $white;
- &.cs_site_header.cs_style_1 .cs_top_header_in {
- height: 0;
- }
- }
-
- .cs_gescout_show {
- top: 0 !important;
- opacity: 1;
- box-shadow: 0px 1px 2px 0px rgba(2, 0, 181, 0.1);
- }
-
- .cs_site_branding {
- display: inline-block;
- }
-
- @media screen and (min-width: 1200px) {
- .cs_main_header {
- position: relative;
- }
-
- .cs_main_header_center,
- .cs_top_header_center {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- }
-
- .cs_site_header.cs_style_1 {
- .cs_main_header_center {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100%;
- width: 100%;
- max-width: calc(100% - 300px);
- }
- .cs_main_header_left {
- height: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 50px;
- }
- }
-
- .cs_nav {
- display: flex;
- align-items: center;
- height: 100%;
- line-height: 1.6em;
-
- .cs_nav_list {
- display: flex !important;
- flex-wrap: wrap;
- height: inherit;
-
- > li {
- margin-right: 40px;
- height: inherit;
-
- &:last-child {
- margin-right: 0;
- }
-
- > a {
- padding: 10px 0;
- display: inline-flex;
- position: relative;
- height: inherit;
- align-items: center;
- }
-
- > ul {
- left: 0;
- top: calc(100% + 15px);
- }
-
- &:hover {
- > ul {
- top: 100%;
- opacity: 1;
- visibility: visible;
- transition: all 0.4s ease;
- }
- }
- &.menu-item-has-children {
- > a {
- position: relative;
- &::after {
- content: '';
- display: inline-block;
- height: 6px;
- width: 6px;
- border: 2px solid currentColor;
- transform: rotate(45deg);
- border-left: 0;
- border-top: 0;
- margin-left: 6px;
- position: relative;
- top: -1px;
- border-radius: 0px 0px 2px 0px;
- }
- }
- }
- }
-
- li:not(.cs_mega_menu) {
- position: relative;
- }
-
- ul {
- width: 260px;
- background-color: $primary;
- color: $white;
- position: absolute;
- padding: 10px 0;
- z-index: 100;
- opacity: 0;
- visibility: hidden;
- display: block !important;
- border-radius: 0 0 3px 3px;
- transition: all 0.1s ease;
-
- li {
- &:hover {
- ul {
- top: 0px;
- }
-
- > ul {
- opacity: 1;
- visibility: visible;
- transition: all 0.4s ease;
- }
- }
- }
-
- a {
- display: block;
- line-height: inherit;
- padding: 10px 20px;
- }
-
- ul {
- top: 15px;
- left: 100%;
- }
- }
- }
- }
- .cs_menu_toggle,
- .cs_menu_dropdown_toggle {
- display: none;
- }
-
- .cs_nav .cs_nav_list {
- .cs_mega_menu {
- position: initial;
- }
- .cs_mega_wrapper {
- width: 1320px !important;
- left: 50%;
- transform: translateX(-50%);
- display: flex !important;
- position: absolute;
- padding: 5px 15px 10px;
-
- a {
- padding: 7px 10px;
- }
-
- > li {
- flex: 1;
- padding: 10px 0;
-
- > a {
- font-size: 18px;
- font-weight: 600;
- pointer-events: none;
- &:hover {
- background-color: transparent;
- }
- }
-
- ul {
- position: initial;
- border: none;
- padding: 0;
- width: 100%;
- box-shadow: none;
- background-color: transparent;
- a {
- transition: all 0.4s ease;
- &:hover {
- letter-spacing: 1px;
- }
- }
- }
- }
- }
-
- .cs_mega_menu {
- &:hover {
- .cs_mega_wrapper {
- li ul {
- opacity: 1;
- visibility: visible;
- }
- }
- }
- }
- }
-
- .cs_nav
- .cs_nav_list
- > li
- ul:not(.cs_mega_wrapper)
- .menu-item-has-children
- > a {
- position: relative;
- }
- }
- .cs_header_cart {
- position: relative;
- }
- @media screen and (max-width: 1400px) {
- .cs_nav .cs_nav_list .cs_mega_wrapper {
- width: 1116px !important;
- }
-
- .cs_site-branding {
- max-width: 190px;
- }
- }
-
- @media screen and (max-width: 1199px) {
- .cs_nav .cs_nav_list .cs_mega_wrapper {
- width: 100% !important;
- }
- .cs_menu_dropdown_toggle {
- position: absolute;
- height: 40px;
- width: 100%;
- top: 0;
- left: 0px;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- padding: 23px 18px;
- cursor: pointer;
- z-index: 3;
-
- span {
- display: block;
- position: relative;
- height: 10px;
- width: 10px;
- &:before,
- &:after {
- content: '';
- display: block;
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- height: 2px;
- width: 10px;
- background-color: currentColor;
- transition: all 0.3s ease;
- }
-
- &:before {
- transform: translate(-50%, -50%) rotate(90deg);
- }
- }
-
- &.active {
- span {
- &:before {
- transform: translate(-50%, -50%) rotate(0deg);
- }
- }
- }
- }
- .menu-item-has-children {
- .menu-item-has-children {
- .cs_menu_dropdown_toggle {
- padding: 20px 18px;
- }
- }
- }
- .cs_site_branding {
- position: relative;
- z-index: 101;
- }
- .cs_nav {
- .cs_nav_list {
- position: absolute;
- width: 100%;
- top: 100%;
- left: 0;
- overflow: auto;
- line-height: 1.6em;
- display: none;
- background-color: #fff;
- border-top: 1px solid $border;
- padding: 10px 0;
- ul {
- padding-left: 15px;
- display: none;
- }
-
- a {
- display: block;
- padding: 12px 15px;
- line-height: 16px;
- }
- > li {
- > a {
- font-size: 18px;
- line-height: 22px;
- }
- }
- }
-
- .menu-item-has-children {
- position: relative;
- }
- }
- .cs_animo_links > li > a {
- .cs_animo_text {
- text-shadow: 0 32px 0 currentColor;
- }
- &:hover span {
- transform: translateY(-32px);
- }
- }
-
- /*Mobile Menu Button*/
- .cs_menu_toggle {
- display: inline-block;
- width: 30px;
- height: 27px;
- cursor: pointer;
- position: absolute;
- top: 27px;
- right: 30px;
-
- span,
- span:before,
- span:after {
- width: 100%;
- height: 2px;
- background-color: currentColor;
- display: block;
- }
-
- span {
- margin: 0 auto;
- position: relative;
- top: 12px;
- transition-duration: 0s;
- transition-delay: 0.2s;
-
- &:before {
- content: '';
- position: absolute;
- margin-top: -9px;
- transition-property: margin, transform;
- transition-duration: 0.2s;
- transition-delay: 0.2s, 0s;
- }
-
- &:after {
- content: '';
- position: absolute;
- margin-top: 9px;
- transition-property: margin, transform;
- transition-duration: 0.2s;
- transition-delay: 0.2s, 0s;
- }
- }
- }
- .cs_site_header.cs_style_1.cs_color_1 {
- .cs_nav_list {
- background-color: $primary;
- color: $white;
- }
-
- .cs_menu_toggle {
- color: $white;
- }
- }
- .cs_site_header.cs_style_1 .cs_menu_toggle {
- top: 50%;
- right: 0px;
- margin-top: -13px;
- }
-
- .cs_toggle_active {
- span {
- background-color: rgba(0, 0, 0, 0);
- transition-delay: 0.2s;
-
- &:before {
- margin-top: 0;
- transform: rotate(45deg);
- transition-delay: 0s, 0.2s;
- }
-
- &:after {
- margin-top: 0;
- transform: rotate(-45deg);
- transition-delay: 0s, 0.2s;
- }
- }
- }
-
- .cs_nav .cs_nav_list a {
- position: relative;
- }
-
- .cs_site_header.cs_style_1 .cs_main_header_in {
- height: 80px;
- }
-
- .cs_site_header .current-menu-item > a:before {
- display: none;
- }
- .cs_site_header.cs_style_1 .cs_main_header_center {
- .cs_site_branding {
- position: absolute;
- left: 0px;
- top: 50%;
- transform: translateY(-50%);
- }
- }
- .cs_site_header.cs_style_1 {
- top: 0;
- .container {
- max-width: 100%;
- padding-left: 25px;
- padding-right: 25px;
- }
- .cs_nav {
- .cs_nav_list {
- width: calc(100% + 50px);
- margin-left: -25px;
- padding-left: 15px;
- padding-right: 15px;
- @media (max-width: 991px) {
- width: calc(100% + 30px);
- margin-left: -15px;
- padding-left: 0px;
- padding-right: 0px;
- }
- }
- }
- }
-
- .cs_has_main_nav {
- display: none;
- }
- }
-
- @media screen and (max-width: 991px) {
- .cs_site_header.cs_style_1 {
- .container {
- padding-left: 15px;
- padding-right: 15px;
- }
- }
- .cs_site_header .cs_container-fluid_fluide {
- max-width: 100%;
- }
- .cs_site_header.cs_style_1 {
- .cs_action_box > *:not(:last-child) {
- margin-right: 25px;
- }
- }
- .cs_site_header.cs_style_1 .cs_top_header {
- display: none;
- }
- }
- @media screen and (max-width: 575px) {
- .cs_site-branding {
- max-width: 150px;
- }
- .cs_header_number {
- display: none;
- }
- .cs_header_number + .cs_header_action {
- padding-left: 0;
- margin-left: 0;
- &:before {
- display: none;
- }
- }
- }
|