.site-header {
margin-bottom: 15px;
position: relative;
border-radius: 5px;
z-index: 3;
}
.header-nav {
text-align: center;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.site-brand {
min-height: 50px;
}
.site-brand img {
max-height: 50px;
width: auto;
}
.btn-menu {
display: none;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
color: #fff;
background: #32373C;
cursor: pointer;
}
.main-menu {
margin-right: 15px;
}
.menu-main {
position: absolute;
top: 100%;
left: 0;
width: 270px;
background: #E53935;
margin-top: 20px;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.open-menu .menu-main {
opacity: 1;
visibility: visible;
margin-top: 0;
}
.menu-main li a {
display: block;
padding: 0 14px;
line-height: 40px;
color: #fff;
text-transform: uppercase;
}
.menu-main li a:hover {
background: rgba(0, 0, 0, 0.2);
}
.hd-search {
width: 270px;
margin-left: auto;
position: relative;
}
.hd-search input {
width: 100%;
height: 30px;
padding: 5px 45px 5px 10px;
border: 0;
background: #32373C;
color: #fff;
opacity: 0.3;
transition: opacity 0.3s ease;
}
.hd-search input:focus {
opacity: 1;
}
.btn-search {
position: absolute;
right: 0;
top: 0;
width: 30px;
height: 30px;
line-height: 30px;
background: #E53935;
border: none;
color: #fff;
cursor: pointer;
}
.pri-menu {
margin-bottom: 15px;
position: relative;
z-index: 99;
}
.pri-menu .menu-main {
background: #32373C;
}
.pri-menu .menu-main > li {
display: inline-block;
padding: 15px;
}
.pri-menu .menu-main a {
color: #fff;
text-transform: uppercase;
font-size: 15px;
}
.pri-menu .menu-main a:hover,
.pri-menu .menu-main li.current-menu-item > a {
color: #E53935;
}
.adv_header {
margin-bottom: 10px;
}
@media (max-width: 767px) {
.header-nav {
flex-direction: column;
}
.hd-search {
width: 100%;
margin: 10px 0;
}
.site-brand img {
max-height: 40px;
}
}