div#hfc-header-menu a {
text-decoration: none;
} #hfc-header {
width: 100%;
background: #f5f5f5;
}
.inside-header {
max-width: 1240px;
margin: 0 auto;
padding: 25px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
nav.hfc-navigation ul {
margin: 0;
padding: 0;
list-style: none;
gap: 5px;
}
ul.menu li {
display: block;
line-height: 1;
}
.hfc-sticky {
position: sticky;
top: 0;
z-index: 999;
box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}
.hfc-sticky-off {
position: relative;
z-index: 999;
box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}
img.header-image {
width: 100%;
max-width: fit-content;
height: auto;
max-height: 80px;
}
.hfc-navigation ul,
ul.menu li a,
span.hfc-icon,
.hfc-day-night-mode svg {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
li.menu-item-has-children a,
a.has-mega-sub-menu {
gap: 5px;
}
li.menu-item-has-children {
position: relative;
}
.hfc-navigation ul ul {
display: block;
width: max-content;
box-shadow: 1px 1px 0 rgba(0,0,0,.1);
position: absolute;
opacity: 0;
z-index: 99999;
text-align: left;
top: auto;
transition: opacity 80ms linear;
transition-delay: 0s;
pointer-events: none;
height: 0;
overflow: hidden;
background: #fff;
border-top: 2px solid #03a9f4;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
padding: 0;
}
li.menu-item-has-children:hover > ul,
li a.has-mega-sub-menu:hover + ul,
li a.has-mega-sub-menu + ul:hover {
opacity: 1;
transition-delay: 150ms;
pointer-events: auto;
height: auto;
overflow: visible;
z-index: 999999; }
nav.hfc-navigation .menu li a {
font-size: 16px;
line-height: 20px;
font-weight: bold;
padding: 10px;
background: transparent;
color: #666;
justify-content: left;
transition: .3s;
text-decoration: none;
}
ul.menu ul li a {
font-weight: normal !important;
}
nav.hfc-navigation .menu li a:hover {
color: #2196f3;
}
span.hfc-icon svg {
width: 14px;
height: 14px;
transition: .3s;
}
ul.menu li:hover svg {
transform: translateY(2px);
}
ul.sub-menu li:hover {
background: rgb(241 241 241 / 50%);
} @media (min-width: 920px) {
ul.sub-menu li.menu-item-has-children > ul {
left: 100%;
top: 0;
}
ul.sub-menu li.menu-item-has-children {
position: relative;
}
ul.sub-menu li.menu-item-has-children .hfc-icon svg {
transform: rotate(-90deg);
}
} #search-form {
position: relative;
}
.hfc-header-search #search-input {
background-color: #fff;
font-size: 16px;
display: block;
width: 100%;
padding: 14px 50px 14px 30px !important;
border: 0;
border-radius: 25px;
position: relative;
}
.hfc-header-search .search-submit svg {
width: 20px;
height: 20px;
fill: #6e6e6e;
}
.hfc-header-search .search-submit {
margin: 0;
padding: 10px;
line-height: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 6px;
background: transparent;
border-radius: 50%;
border: 0;
cursor: pointer;
border: 1px solid transparent;
transition: .3s;
}
.hfc-header-search:hover .search-submit {
background: #f7f7f7;
border: 1px solid #ebebeb;
} input#hfc-menu-toggle {
display: none;
} label.hfc-menu-toggle {
width: 34px;
height: 34px;
padding: 7px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
display: none;
}
label.hfc-menu-toggle svg {
height: 100%;
width: 100%;
}
label.hfc-menu-toggle:hover {
cursor: pointer;
}
input#hfc-menu-toggle:checked ~ label.hfc-menu-toggle svg.hfc-svg-hb,
input#hfc-menu-toggle ~ label.hfc-menu-toggle svg.hfc-svg-cr{
display: none;
}
input#hfc-menu-toggle:checked ~ label.hfc-menu-toggle svg.hfc-svg-cr {
display: block;
}
#hfc-header .inside-header {gap: 20px;}     .hfc-header-btn img {
width: 15px;
height: 15px;
}
a.hfc-header-btn {
display: flex;
gap: 10px;
justify-content: center;
align-items: center;
background: #1a4548;
color: #fff;
text-decoration: none;
font-size: 18px;
line-height: 32px;
font-weight: 500;
padding: 8px 24px;
border-radius: 50px;
outline: 2px solid #1a4548;
transition: .3s;
}
a.hfc-header-btn:hover {
outline-offset: 3px;
} @media (max-width: 1200px) {
.hfc-post-head-inner {
flex-direction: column-reverse;
align-items: flex-start !important;
padding: 20px;
}
}
@media (max-width: 920px) {
nav.hfc-navigation {
order: 1;
}
label.hfc-menu-toggle + div {
position: absolute;
background: #fff;
min-width: max-content;
right: 0;
z-index: 999;
}
label.hfc-menu-toggle {
display: block;
margin: 0 auto;
}
.hfc-navigation ul {
flex-direction: column;
align-items: baseline;
}
#hfc-header-menu {
width: 100%;
background: transparent;
overflow: hidden;
}
#hfc-header-menu ul {
gap: 0;
transition: .3s;
transform: translateY(-100vh);
}
#hfc-header-menu ul li {
background: #fff;
width: 100%;
}
#hfc-header-menu ul li {
border-bottom: 1px solid #e7e7e7;
}
input#hfc-menu-toggle:checked ~ #hfc-header-menu ul {
display: block;
width: 100%;
transform: none;
}
.hfc-navigation ul ul {
position: relative;
opacity: 1;
height: auto;
}
}
@media (max-width: 599px) {
#hfc-header .inside-header {
flex-wrap: wrap;
}
.site-logo {
width: 100%;
height: auto;
text-align: center;
}
nav.hfc-navigation {
order: 2;
width: 100%;
}
.hfc-header-search {order: 3;}
.inside-header {justify-content: center;}
label.hfc-menu-toggle + div {left: 0;}
} ul.hfc-mega-sub-menu {
display: flex !important;
gap: 12px;
max-width: 1200px;
left: 50%;
padding: 10px !important;
transform: translateX(-50%);
box-shadow: 0 10px 10px rgb(0 0 0 / 28%) !important;
}
ul.hfc-mega-sub-menu li {
position: relative;
width: 250px;
max-height: 200px;
overflow: hidden;
}
ul.hfc-mega-sub-menu li a {
width: calc(250px - 10px * 2);
justify-content: center;
}
ul.hfc-mega-sub-menu li img{
max-width: 300px;
}
.hfc-mega-content {
position: absolute;
left: 0;
bottom: 0;
text-align: center;
padding: 15px;
color: #fff;
background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.84)) !important;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
.hfc-mega-overlay {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: #222 !important;
opacity: 0;
transition: .3s;
border-radius: 3px;
}
ul.hfc-mega-sub-menu li:hover .hfc-mega-overlay {opacity: .3;}
.hfc-mega-content p {
color: #fff !important;
}
p.hfc-mega-title {
display: inline-block;
background: #ff9800 !important;
max-width: fit-content;
margin: 0 auto;
padding: 5px 10px !important;
} ul.hfc-mega-sub-menu .hfc-mega-link-item ul {
height: auto;
opacity: 1;
position: relative;
border-top: 1px solid #c7c7c7;
padding-top: 10px;
box-shadow: 0 0;
}
ul.hfc-mega-sub-menu .hfc-mega-link-item svg {
width: 22px;
height: 22px;
}
ul.hfc-mega-sub-menu .hfc-mega-link-item a {
pointer-events: auto;
justify-content: left;
align-items: center;
gap: 8px;
}
ul.hfc-mega-sub-menu .hfc-mega-link-item > a {
font-weight: bold !important;
} .hfc-main-header-1 ul.sub-menu li:not(:last-child) {
border-bottom: 1px solid #eee;
}
.hfc-main-header-1 .sub-menu li a:before {
content: "";
width: 5px;
height: 5px;
left: 0;
top: 19px;
border-radius: 10px;
margin-right: 8px;
background: #2196f3;
transition: all .3s ease;
} .sub-menu li a.has-menu-badge:after {
display: block;
width: fit-content;
min-height: 17px;
padding: 0px 5px;
background: #9c27b0;
color: #fff;
font-size: 10px;
line-height: 17px;
text-align: center;
margin-left: 7px;
box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.sub-menu li a.has-menu-badge.badge-new:after {
content: "NEW";
}
ul.sub-menu li:hover a:before {
width: 9px;
}