/*-------------------------------------------------------------- 8. Header ----------------------------------------------------------------*/ .cs_site_header { position: absolute; z-index: 101; width: 100%; left: 0; top: 0px; transition: all 0.4s ease; } .cs_circle_btn { display: inline-flex; padding: 0; border: none; outline: none; background-color: transparent; font-size: 22px; } .cs_header_search_wrap { position: absolute; top: 100%; margin-top: 20px; right: 0; background-color: #fff; padding: 15px; box-shadow: 2px 2px 50px 0px rgba(0, 0, 0, 0.1); border-radius: 10px; opacity: 0; visibility: hidden; z-index: 11; transition: all 0.3s ease; &.active { opacity: 1; visibility: visible; margin-top: 10px; } } .cs_header_search { position: relative; width: 270px; .cs_header_search_input { padding: 12px 55px 12px 20px; border-radius: 10px; border: 1px solid rgba(0, 0, 27, 0.2); width: 100%; outline: none; &:focus { border-color: rgba(0, 0, 27, 0.5); } } .cs_header_search_btn { position: absolute; right: 0; top: 0; border: none; background-color: transparent; padding: 0; height: 50px; width: 50px; padding-bottom: 2px; &:hover { opacity: 0.7; } } } .cs_logo_wrap { position: relative; height: calc(100% + 50px); display: flex; align-items: center; justify-content: center; margin-top: -50px; @media (max-width: 1199px) { margin-top: 0; height: 80px; } } .cs_site_branding { display: inline-block; position: relative; z-index: 3; max-width: 225px; @media (max-width: 1250px) { max-width: 200px; } @media (max-width: 1199px) { max-width: 180px; } @media (max-width: 350px) { max-width: 150px; } } .cs_logo_bg_shape { position: absolute; right: -155px; bottom: 0; z-index: 2; &::before { content: ''; position: absolute; right: 90px; height: 100%; width: 100vw; background-color: var(--accent-color); } img { position: absolute; top: 0; right: 70px; @media (max-width: 1199px) { height: 80px; right: 40px; } } @media (max-width: 1600px) { right: -100px; } @media (max-width: 1400px) { right: -80px; } @media (max-width: 1199px) { right: -55px; svg { height: 80px; width: 289px; } } @media (max-width: 350px) { right: -48px; } } .cs_header_social_links_wrap { display: flex; align-items: center; gap: 20px; } .cs_header_social_links { display: flex; font-size: 15px; line-height: 1.6em; gap: 5px 20px; a { &:hover { color: #fff; transform: scale(1.1); } } } .cs_header_contact_list { display: flex; gap: 5px 30px; li { display: flex; gap: 10px; align-items: center; i { color: var(--accent-color); } } a { &:hover { color: rgba(255, 255, 255, 0.7); } } } .cs_site_header.cs_style_1 { background-color: #fff; .cs_top_header { background-color: #141422; color: #fff; @media (max-width: 1199px) { display: none; } } .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: 90px; } .cs_top_header_in { height: 50px; position: relative; z-index: 1; } .cs_main_header_right { display: flex; align-items: center; height: 100%; gap: 0 40px; @media (max-width: 1199px) { gap: 0 25px; padding-right: 55px; } } .cs_btn { position: relative; z-index: 2; } .cs_main_header_in { position: relative; z-index: 1; } .cs_top_header_left { padding-left: 31.6%; @media (max-width: 1400px) { padding-left: 27.3%; } } &.cs_type_1 { .cs_logo_wrap { width: 316px; align-items: flex-end; padding-bottom: 4px; @media (max-width: 1280px) { width: 270px; } @media (max-width: 1199px) { width: 180px; padding: 35px 25px 3px 25px; } } .cs_logo_bg_shape { right: initial; left: 0; width: 100%; svg { width: 100%; @media (max-width: 1280px) { height: 120px; } @media (max-width: 1199px) { height: 80px; } } &:before { display: none; } } @media (min-width: 1200px) { .cs_main_header { &::before { content: ''; position: absolute; height: 100%; width: 50vw; left: 74%; background-color: var(--accent-color); transform: skewX(35deg); @media (max-width: 1700px) { left: 77%; } @media (max-width: 1199px) { left: 58%; } @media (max-width: 575px) { left: 62%; } } .cs_btn.cs_style_1 { background-color: #fff; color: var(--accent-color); } .cs_circle_btn { color: #fff; &:hover { opacity: 0.8; } } } } } } .cs_site_header_full_width .container { max-width: 100%; padding: 0 100px; } .cs_site_header_spacing_140 { height: 140px; @media (max-width: 1199px) { height: 80px; } } .cs_site_header_spacing_110 { height: 110px; } @media screen and (max-width: 1199px) { .cs_site_header_spacing_100 { height: 80px; } .cs_main_header .container { 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_top_header_in { overflow: hidden; transition: all 0.3s ease; } } .cs_gescout_sticky { position: fixed !important; top: -110px; opacity: 0; transition: all 0.4s ease; background-color: var(--white-color); .cs_logo_wrap { margin-top: 0; height: 100%; @media (max-width: 1199px) { height: 80px; } } &.cs_site_header.cs_style_1 { .cs_top_header_in { height: 0; } } &.cs_fixed_sticky { top: 0; opacity: 1; box-shadow: 0px 1px 2px 0px rgba(2, 0, 181, 0.1); } } .cs_gescout_show { top: 0 !important; opacity: 1; box-shadow: 0px 1px 2px 0px rgba(2, 0, 181, 0.1); &.cs_site_header.cs_style_1 { &.cs_type_1 { .container::before { opacity: 1; } } } } .cs_main_header, .cs_top_header { position: relative; .container-fluid { max-width: 1700px; margin-left: auto; margin-right: auto; } } @media screen and (min-width: 1200px) { .cs_main_header_center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 100; } .cs_site_header.cs_style_1 { .cs_main_header_center { display: flex; justify-content: center; align-items: center; height: 100%; width: max-content; } .cs_main_header_left { height: 100%; display: flex; justify-content: center; align-items: center; } } .cs_nav { display: flex; align-items: center; height: 100%; line-height: 1.6em; position: relative; z-index: 100; .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); pointer-events: none; } &:hover { > ul { top: 100%; opacity: 1; visibility: visible; pointer-events: auto; } } &.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: var(--white-color); position: absolute; border-top: 2px solid var(--accent-color); box-shadow: 0px 1px 2px 0px rgba(2, 0, 181, 0.1); padding: 10px 0; z-index: 100; opacity: 0; visibility: hidden; display: block !important; border-radius: 0 0 5px 5px; transition: all 0.4s 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_toolbox { margin-left: 40px; } } .cs_menu_toggle, .cs_menu_dropdown_toggle { display: none; } .cs_nav_list_wrap { height: 100%; } .cs_nav .cs_nav_list { .cs_mega_menu { position: relative; } .cs_mega_wrapper { width: 1296px !important; display: flex !important; position: fixed; top: 100px !important; left: 50%; transform: translateX(-50%); padding: 5px 15px 10px; border-top: 2px solid var(--accent-color); border-radius: 0 0 5px 5px; &.cs_with_thumb { display: grid !important; grid-gap: 10px; grid-template-columns: repeat(6, 1fr); padding: 20px 20px 14px 20px; img { border: 1px solid var(--border-color); border-radius: 2px 20px 2px 2px; transition: all 0.3s ease; width: 100%; margin-bottom: 8px; } a { padding: 0; display: block; text-align: center; font-size: 14px; line-height: 1.6em; font-weight: 500; &:hover { img { border-color: #d5d4d4; } } } } a { padding: 7px 10px; } > li { flex: 1; padding: 10px 0; ul { position: initial; border: none; padding: 0; width: 100%; box-shadow: none; background-color: transparent; a { transition: all 0.4s ease; } } } } .cs_mega_menu { &:hover { .cs_mega_wrapper { li ul { opacity: 1; visibility: visible; } } } } } .cs_site_header.cs_style_1.cs_size_md { .cs_nav .cs_nav_list .cs_mega_wrapper { top: 85px !important; } } .cs_nav .cs_nav_list > li ul:not(.cs_mega_wrapper) .menu-item-has-children > a { position: relative; } .cs_site_header.cs_style_1.cs_color_1 { .cs_nav_list > li > a { color: #fff; } } } @media screen and (max-width: 1400px) { .cs_nav .cs_nav_list .cs_mega_wrapper { width: 1116px !important; } .cs_site_header_full_width .container { max-width: 100%; } } @media screen and (max-width: 1199px) { .cs_nav .cs_nav_list .cs_mega_wrapper { width: 100% !important; } .cs_site_header_full_width .container { padding: 0 15px; } .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_nav { .cs_nav_list_wrap { position: fixed; width: 100vw; left: -100vw; top: 0; background-color: #fff; color: var(--heading-color); height: 100vh; padding-top: 80px; transition: all 0.4s ease; &.cs_active { left: 0vw; } } .cs_nav_list { padding: 10px 0; top: 0; overflow: auto; height: 100%; 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; } } /*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_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_btn.cs_style_1 { padding: 8px 18px; font-size: 15px; } .cs_main_header_in { height: 80px; } } .cs_site_header .current-menu-item > a:before { display: none; } .cs_site_header.cs_style_1 { top: 0; } .cs_has_main_nav { display: none; } .cs_nav .cs_nav_list img { display: none; } } @media screen and (max-width: 991px) { .cs_site_header .container { max-width: 100%; } .cs_site_header.cs_style_1 { .cs_action_box > *:not(:last-child) { margin-right: 25px; } .cs_btn.cs_style_1.cs_color_1 { background-color: var(--accent-color); color: #fff; } } } @media screen and (max-width: 767px) { .cs_site_header { .cs_btn.cs_style_1 { display: none; } } }