.search-btn {
    height: 100%;
    position: relative;
}

.search-btn::after {
    content: "";
}

.search-btn span {
    display: block;
    padding: 25px;
    cursor: pointer;
    color: #fff;
}

.search-btn span:last-child {
    display: none;
}

.search-btn.open span:last-child {
    display: block;
}

.search-btn.open span:first-child {
    display: none;
}

.nav-box {
    padding: 0 5px 0 0;
}

.level1-a {
    position: relative;
    display: flex;
    align-items: center;
}

.level1-a i {
    position: relative;
    right: 15px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1199px) {
    .nav-logo {
        width: 125px;
        margin: 0 auto 0 0;
    }
}

.level2 {
    display: none;
    z-index: 10;
}

.level2::-webkit-scrollbar,
.level3::-webkit-scrollbar,
.level4::-webkit-scrollbar {
    width: 8px;
    height: 4px;
}

.level2::-webkit-scrollbar-thumb,
.level3::-webkit-scrollbar-thumb,
.level4::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 1px rgb(12 12 12 / 20%);
    background: #999;
}

.level2 a {
    font-size: 15px;
}

.level3>li {
    /* position: relative; */
}

.level3-a i {
    position: absolute;
    top: 14px;
    right: 10px;
    transform: rotate(-90deg);
}

.top-menu a {
    color: #000;
}

.top-menu a:hover {
    /* text-decoration: underline; */
    color: #4587df;
}

.style1 .level2-a a {
    padding: 5px 30px 5px 0;
    margin: 5px 0;
    font-weight: bold;
    display: inline-block;
}

.level4 {
    display: none;
}

.level3-a i.fa-arrow-up {
    display: none;
}

.open .level3-a i.fa-arrow-up {
    display: none;
}

.open .level3-a i.fa-arrow-down {
    /* display: unset; */
    position: unset;
}

.top-menu .open>a,
.top-menu .open>.level2-a>a {
    color: rgb(69, 135, 223)
}

.fa-arrow-down {
    display: none;
}

.has-children>.fa-arrow-down,
.has-children>.level1-a>.fa-arrow-down {
    display: unset;
}

.search-box {
    position: absolute;
    top: 0;
    height: 100vh;
    padding: 0 30px;
    background-color: rgba(34, 51, 77, .5);
    width: 100%;
    display: none;
    border-bottom: 1px solid #ddd;
    z-index: 10;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.search-box.open {
    display: flex;
    align-items: center;
}

.search-box select {
    height: 30px;
    margin-right: 20px;
    border: 1px solid #ddd;
}

.searchtxt {
    width: 60%;
    align-items: center;
    display: flex;
}

.searchtxt span {
    color: #fff;
    padding: 10px;
    cursor: pointer;
}

.search-sc {
    padding: 12px;
    border: none;
    border-bottom: 1px solid #333;
    width: 170px;
}

.search-sc:focus-visible {
    outline: none;
}

#search_button {
    cursor: pointer;
}

#searchkey {
    padding: 12px 55px 12px 12px;
    border: none;
    border-bottom: 1px solid #333;
    width: calc( 100% - 170px);
}

#search_buttonsearchkey {
    cursor: pointer;
}

.listsearchkey {
    width: 100%;
    background: #fff;
    margin: 0;
}

.listsearchkey ul {
    padding: 15px 0;
}

.listsearchkey ul li {
    padding: 0 15px;
    cursor: pointer;
}

.listsearchkey ul li:hover {
    background: #f6f6f6;
    color: #4587df;
}

#searchkey:focus {
    outline: none;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 30px;
}

#searchkey::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #fff;
}

#searchkey:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #fff;
}

#searchkey::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #fff;
}

#searchkey:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
}

.m-menu i {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background 0.3s;
}

.m-menu i::before,
.m-menu i::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    left: 0;
    transition: transform 0.3s;
}

.m-menu.active i {
    background: transparent;
}

.m-menu.active i::before {
    transform: rotate(45deg);
    top: 0;
}

.m-menu.active i::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.m-menu i::before {
    top: -8px;
}

.m-menu i::after {
    bottom: -8px;
}

.level2-a {
    position: relative;
}

.level2-a i {
    /* display: none; */
    position: absolute;
    top: 14px;
    right: 10px;
    transform: rotate(-90deg);
}

.level3>li {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}


/* .top-menu {
    background-color: #1b1c1e;
} */

@media (max-width:1199px) {
    .nav-box {
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        align-items: center;
    }
    .top-menu {
        background: #fff;
        position: absolute;
        width: 100%;
        top: 59px;
        left: 0;
        padding: 0 10px;
        display: none;
        z-index: 10;
        max-height: calc(100vh - 59px);
        overflow-x: auto;
        overflow-y: scroll;
    }
    .top-menu>li.active .d-layer {
        height: auto!important;
        display: block!important;
        transform: unset !important;
    }
    .level2,
    .level3,
    .level4 {
        min-height: unset!important;
        border: unset!important;
    }
    .style1 .level3>.open .level4,
    .top-menu>li.style1.active .level2,
    .top-menu li.open .level3 {
        position: unset!important;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .level3>li {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    /* .top-menu li:active {
        background: #3279d649;
    } */
    .level1-a {
        justify-content: space-between;
    }
    .has-children.active .level1-a>div {
        position: unset;
        width: 100%;
    }
    .top-menu.show {
        display: block;
    }
    .top-menu li {
        margin: 10px 0;
    }
    .level2-a {
        border-bottom: 1px solid #ddd;
        padding-bottom: 5px;
    }
    .level1-a i {
        top: -3px;
        display: block;
        padding: 5px;
        right: 9px;
        color: #888;
    }
    .has-children.active1 .level2 {
        display: block;
    }
    .search-btn span {
        padding: 25px 10px;
    }
    .level2-a {
        /* position: relative; */
    }
    .level2-a a {
        padding: 5px 0 !important;
        display: inline-block;
    }
    .level2-a i {
        position: absolute;
        right: 10px;
        top: 4px;
        font-size: 14px;
        padding: 5px;
        color: #888;
        cursor: pointer;
        display: block;
    }
    .level3 {
        display: none;
        padding-left: 13px;
    }
    .active2 .level3 {
        display: block;
        width: 100%;
    }
    .level3,
    .level4 {
        max-height: unset!important;
    }
    .level2-a .fa-arrow-up {
        display: none;
    }
    .active2 .level2-a .fa-arrow-down {
        display: none;
    }
    .active2 .level2-a .fa-arrow-up {
        display: block;
    }
    .level4 a {
        color: #888;
        padding-left: 5px;
    }
    .level2-a a {
        padding-left: 5px !important;
        font-weight: normal !important;
    }
    .level1-a>a {
        font-weight: bold;
        padding-bottom: 10px;
        display: inline-block;
    }
}

.top-nav {
    height: auto;
    height: auto;
    top: 0;
    width: 100%;
    position: fixed;
    background: #111;
    /* background-color: #fff; */
    z-index: 20;
}

.top-nav.fixed {
    background: #111
}

.m-menu {
    width: 50px;
    height: 50px;
}

.top-menu>li .d-layer {
    display: none;
}

.top-menu>li.active .d-layer {
    height: 330px;
    display: block;
}

.level3,
.level4 {
    max-height: 305px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px;
    background: #fff;
    width: 50%;
}

.level2,
.level3,
.level4 {
    min-height: 305px;
    border: #eee solid 1px;
}

@media (min-width:1200px) {
    .style1 .level2-a a {
        /* color: #4587df; */
    }
    .level1-a>a,
    .level1-a>i {
        color: #fff;
    }
    .m-menu {
        display: none;
    }
    .top-menu>li.style1.active .level2 {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        width: 33%;
        max-height: 305px;
        overflow-y: auto;
        overflow-x: hidden;
        background: #fff;
        padding: 15px;
    }
    .top-menu>li.style2.active .d-layer {
        display: block;
    }
    .level2.open .level3 {
        display: block;
    }
    .nav-box {
        display: flex;
        height: 70px;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }
    .top-menu {
        display: flex;
        width: 100%;
        justify-content: center;
        font-size: 18px;
    }
    .level2 {
        /* box-shadow: 0 4px 8px rgb(12 12 12 / 20%); */
    }
    .style2 a {
        padding: 10px 0px;
        display: block;
    }
    .level1-a>a {
        padding: 21px 25px 21px 4px;
        display: inline-block;
        text-transform: uppercase;
        font-size: .875rem
    }
    /* style1 */
    .style1 .d-layer {
        position: absolute;
        width: 100%;
        left: 0;
        top: auto;
    }
    .style1 .level2-a i {
        display: none;
    }
    .style1 .level2-a i.fa-arrow-down {
        display: none;
    }
    .style1 .level2-a.has-children i.fa-arrow-down {
        display: unset;
    }
    .style1 .level2>li {
        width: 100%;
        -webkit-overflow-scrolling: touch;
        position: static;
    }
    .style1 .level3-a {
        display: none;
    }
    .style1 .level2>.open .level3-a {
        position: absolute;
        left: calc( 33% + 4px);
        top: 0;
        display: block;
        width: 66.66%;
        z-index: 10;
    }
    .style1 .level3>.open .level4 {
        position: absolute;
        left: 50%;
        top: 0;
        display: block;
        z-index: 10;
        background: #fff;
    }
    .style1 .level3>li a {
        margin: 4px 0;
        display: inline-block;
        font-size: 13px;
    }
    .level4 a {
        font-size: 14px;
        color: #888;
        padding-left: 5px;
    }
    .style2 .level2 {
        position: absolute;
        width: 230px;
        top: 70px;
        left: 0;
        padding: 10px 0;
    }
    .style2:nth-child(2) .level2 {
        width: 600px;
    }
    .style2 .level2-a {
        padding: 0 17px;
    }
    .style2 {
        position: relative;
    }
    .level2>li {
        position: relative;
    }
    .style2 .level3 {
        position: absolute;
        left: 228px;
        top: -11px;
        background-color: #fff;
        /* box-shadow: 0 1px 4px rgba(0,0,0,.3); */
        width: 305px;
        padding: 10px;
        display: none;
        border: 1px solid #ddd;
    }
    .style2 .level2>li:hover .level3 {
        display: block;
    }
}

.nav-logo img:last-child {
    display: none;
}

.top-nav.fixed .nav-logo img:last-child {
    display: block;
}

.top-nav.fixed .nav-logo img:first-child {
    display: none;
}

.top-nav.fixed .level1-a>a,
.top-nav.fixed .level1-a>i {
    /* color: #000; */
}

.top-nav.fixed .search-btn span {
    color: #000;
}

.top-nav.fixed {
    /* border-bottom: 1px solid #ddd; */
}

.nav-search {
    position: relative;
    display: none;
}

.nav-search.open {
    display: flex;
    position: absolute;
    top: 64px;
    right: 0;
    flex-wrap: wrap;
    width: 580px;
}

.nav-search .fa-search_bold {
    position: absolute;
    top: 13px;
    right: 10px;
}

.nav-search .close {
    position: absolute;
    top: 16px;
    right: 34px;
    color: #3278d6;
    cursor: pointer;
    font-size: 14px;
    display: none;
}

.nav-right {
    display: flex;
    position: relative;
}

.nav-right>span {
    /* border-radius: 4px;
    border: 1px solid #ddd; */
    padding: 7px 10px;
    display: inline-block;
    font-weight: bold;
    margin-left: 10px;
    color: #fff;
    cursor: pointer;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-right>span .iconfont {
    font-size: 30px;
    color: #fff;
    position: relative;
}

.has-children:hover>i,
.has-children:hover>a,
.has-children:hover>.level1-a>a,
.has-children:hover>.level1-a>i {
    color: rgb(69, 135, 223)
}

.has-children.active .level1-a>div {
    position: absolute;
    display: block;
    top: 67px;
    left: 0px;
    width: 200px;
}

.has-children.active .level1-a>div ul.level2 {
    width: 100%;
    min-height: auto;
}