.sub-menu,
.sub-menutwo,
.sub-menuthree {
    list-style-type: none;
    display: none;
    margin: 0;
    padding: 0;
}

.sub-menu li,
.sub-menutwo li,
.sub-menuthree li {
    width: 100%;
    height: 100%;
    padding-left: 25%;
    margin-bottom: 1%;
}

.sub-menu li:hover {
    background-color: #409DFE;
}

.sub-menutwo li:hover {
    background-color: #409DFE;
}

.sub-menuthree li:hover {
    background-color: #409DFE;
}

.sub-menu li>a:active {
    color: #fff;
}

.sub-menutwo li>a:active {
    color: #fff;
}

.sub-menuthree li>a:active {
    color: #fff;
}

.sub-menu li>a,
.sub-menutwo li>a,
.sub-menuthree li>a {
    color: #000;
    text-decoration: none;
}

.show {
    display: block;
}


/* 搜索处 */
#navtop {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search {
    width: 150px;
    height: 30px;
    position: relative;
}
/* 遍历搜索列表处 */
#searchlist {
    width: 100%;
    background-color: #fff;
    position: absolute;
    top: 32px;
    left: 0;
    display: none;
}
#searchlink{
    padding: 5px 10px 5px 20px;
    cursor: pointer;
}
#searchlink:hover{
    background-color: #409eff;
}
#searchlink>a{
    color: #000;
    font-size: 16.5px;
    text-decoration: none;
}

.search-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search img {
    width: 25px;
    height: 25px;
}

.search input {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    text-indent: 2em;
}

.search input::placeholder {
    font-size: 14px;
    color: #000;
}

/* 搜索文本处 */



/* 多语言处 */
.language {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    margin-left: 10px;
}

#earch {
    width: 40px;
    height: 40px;
}

.language-text {
    width: 120px;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    padding-left: 15px;
    display: flex;
    justify-content: space-between;
}

/* 选择语言处 */
.language-all {
    width: 140px;
    background-color: red;
    position: absolute;
    top: 55px;
    left: 0;
    border: 2px solid #fff;
    background-color: #000;
    padding: 15px 15px;
    display: none;
}

.language-all a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 2px solid transparent;
}

.language-all a:hover {
    border-bottom: 2px solid red;
}

.language-all div {
    padding: 0 !important;
}

.navlink {
    display: flex;
    justify-content: space-between;
}


/* 移动端导航背景颜色 */
@media screen and (max-width: 1080px) {
    #navlink {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100vw;
        height: 80px;
    }

    #navtop {
        display: flex;
        justify-content: space-between;
        width: 100vw;
    }

    .navbar {
        background-color: #000;
        opacity: 1;
    }

    .search {
        margin-left: 10px;
    }

    .language {
        position: relative;
    }

    .language-text {
        width: 80px;
        font-size: 14px;
        padding-left: 5px;
        display: flex;
        align-items: center;
        position: relative;
    }

    .language-text>span:nth-of-type(2) {
        position: absolute;
        top: 0;
        right: 10px;
    }

    .language-all {
        position: absolute;
        width: 100px;
        height: 345px;
        top: 35px;
        left: 10px;
        padding: 5px 10px;
    }

    .language-all li {
        margin-bottom: 5.2px;
        font-size: 14px;
        border-bottom: 1px solid transparent;

    }

    .language-all li:hover {
        border-bottom: 1px solid red;
    }
}

