.nav-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    box-sizing: border-box;
    padding: 0 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    height: 64px;
    background: #fff;
    z-index: 9997;
}
.mainBox{
    height: 100%;
    align-items: center;
    justify-content: space-between;
}
.nav-header .m-logo {
    display: block;
    width: 70px;
}
.m-logo img {
    display: block;
    width: 100%;
}
.m-search .bi-search{
    font-size: 16px;
    color: #b28850;
    cursor: pointer;
}
.m-menu {
    position: relative;
    cursor: pointer;
    width: 26px;
    height: 22px;
    margin-left: 15px;
    border-radius: 50%;
    -webkit-transition: all .3s ease-out 0s;
    -moz-transition: all .3s ease-out 0s;
    -ms-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
}
.nav-btn {
    display: block;
    width: 26px;
    height: 1px;
    background: #333;
    position: absolute;
    top: 8px;
    right: 0;
    -webkit-transition: all .3s ease-out 0s;
    -moz-transition: all .3s ease-out 0s;
    -ms-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
}
.nav-btn::after,
.nav-btn::before {
    content: '';
    position: absolute;
    right: 0;
    -webkit-transition: all .3s ease-out 0s;
    -moz-transition: all .3s ease-out 0s;
    -ms-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
    display: inline-block;
    width: 26px;
    height: 1px;
    background-color: #333;
}
.nav-btn::before {
    top: 8px;
}
.nav-btn::after {
    top: -8px;
} 

.nav-header.active .m-menu {
    box-shadow: 0 0 0 2000px #fff, inset 0 0 0 20px #fff;
}

.nav-header.active .m-logo,
.nav-header.active .m-search {
    opacity: 0;
    visibility: hidden;
}

.nav-header.active .nav-btn{
    background: transparent;
}
.nav-header.active .nav-btn::before {
    top: 0;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.nav-header.active .nav-btn::after {
    top: 0;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* 下拉 */
.modal-open {
    overflow: hidden;
}
.m-sub {
    /* display: none; */
    position: fixed;
    width: 100%;
    left: 0;
    top: 100px;
    z-index: 9998;
    overflow: auto;
    box-sizing: border-box;
    opacity: 0;
    z-index: -1;
}
.m-sub.open {
    height: 100vh;
    z-index: 99999;
    opacity: 1;
}
.m-sub.open #mNav {
    z-index: 699999999;
    opacity: 1;
}
#mNav{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    position: relative;
    z-index: -1;
    list-style: none;
    transition: 0s;
}
#mNav.open {
    opacity: 1;
    visibility: visible;
}
#mNav>li {
    color: #000;
    font-size: 18px;
    text-align: center;
}
#mNav>li:not(:last-child) {
    margin-bottom: 20px;
}
#mNav>li a {
    color: #000;
}
/* 搜索 */
.m-searchBox {
    display: none;
    width: 100%;
    position: fixed;
    top: 64px;
    left: 0;
    z-index: 999;
    background: #fff;
    box-sizing: border-box;
    padding: 16px 20px;
}
.m-searchBox input {
    border: 0;
    display: block;
    width: calc(100% - 20px);
    border-bottom: 1px solid #eee;
    padding: 0;
}
.m-searchBox input:focus {
    border-bottom: 1px solid #eee;
    outline: 0;
}
.m-searchBox  button {
    background: transparent;
    padding: 0;
    border: 0;
    font-size: 18px;
    color: #b28850;
    margin-left: 10px;
}
.subNav {
    display: none;
    margin-top: 15px;
}
.subNav li:not(:last-child) {
    margin-bottom: 10px;
}
.subNav a {
    display: block;
    text-align: center;
    opacity: 0.8;
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.mainBox .d-flex {
    align-items: center;
}
.mLang {
    font-size: 20px;
    align-items: center;
    margin-top: -5px;
}
.mLang .center {
    margin: 0 10px;
}
.mLang .langBtn {
    cursor: pointer;
    line-height: 1;
}
.mLang .langBtn.active {
    color: #e40012;
}

@media screen and (max-width: 1080px) {
    .nav-header {
        display: block;
    }
}