.ast-main-header-wrap .main-header-bar {
background-color: transparent;
transition:
background-color 0.4s ease,
box-shadow 0.4s ease,
padding 0.3s ease;
position: relative;
z-index: 999;
}
.ast-main-header-wrap .main-header-bar .ast-site-title-wrap {
display: none;
}
body.scrolled .ast-main-header-wrap .main-header-bar {
position: fixed;
top: 0;
width: 100%;
background-color: rgba(255, 255, 255);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
border-bottom: 4px solid #FE0000 !important;
z-index: 9999;
padding: 0;
margin: 0;
}
body.scrolled .ast-main-header-wrap .ast-site-identity {
padding: 0;
}
body.scrolled .ast-main-header-wrap .ast-site-identity img {
max-width: 50px !important;
width: 50px !important;
}
body.scrolled .ast-main-header-wrap .main-header-menu li a {
color: #444 !important;
}
body.scrolled .ast-main-header-wrap .main-header-bar .ast-site-title-wrap {
display: block;
}
body.scrolled .ast-main-header-wrap .main-header-bar .ast-site-title-wrap a {
color: #444 !important;
font-size: 1.1rem;
font-weight: 500;
}
@media (min-width: 922px) {
body.scrolled .ast-mobile-header-wrap .ast-primary-header-bar, body.scrolled .ast-primary-header-bar .site-primary-header-wrap {
height: 70px;
}
body.scrolled .ast-main-header-wrap .ast-site-identity img {
max-width: 50px !important;
width: 50px !important;
}
}
@media (max-width: 921px) {
.main-header-menu.stack-on-mobile {
background: #FE0000 !important;
position: fixed;
top: 180px;
}
body.scrolled .main-header-menu.stack-on-mobile {
top: 70px;
}
.main-header-menu.stack-on-mobile li.current-menu-item a.menu-link {
color: #0000FE !important;
background: transparent !important;
}
.main-header-menu.stack-on-mobile li a.menu-link {
color: #FFF !important;
background: transparent !important;
}
}
@media (max-width: 544px) {
body.scrolled .ast-main-header-wrap .main-header-bar .ast-site-title-wrap a {
font-size: 0.85rem;
}
}