
/*头部样式*/
#header.active {
    background: #17161a;
}
#header.active .logo .logo-r .top,
#header.active .logo .logo-r .bottom {
    color: #5ac4f1
}

.header {
    background: transparent;
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    margin: 0 auto;
    left: 0;
    right: 0;
    transition: all 0.5s;
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.3);*/
    cursor: pointer;
    font-family: siyuan;
}
.headerTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    max-width: 1700px;
    margin: auto;
    width: 90%;
    transition: all 0.5s;
}
.logo {
    max-width: 380px;
    width: 100%;
}
.logo a{
    width: 100%;
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
}
.logo .logo-l {
    max-width: 150px;
    width: 100%;
    margin-right: 20px;
}
.logo .logo-r .top{
    font-size: 32px;
    font-weight: 900;
    color: #fff;
}
.logo .logo-r .bottom{
    font-size: 16px;
    color: #fff;
}
.bgActive {
    background: #fff;
}
 


.header.active {
    /* background: #fff; */
    transition: all 0.5s;
    border-color: #eee;
}


.active .headerTop {
    /*height: 50px;*/
    transition: all 0.5s;
}

.logo img {
    max-width: 100%;
}
/*头部样式*/
/* 移动端菜单 */
.menu-btn {
    display: none;
    text-align: right;
}
/*菜单样式*/
.menu {
    display: flex;
    justify-content: flex-end;
    /*max-width: 950px;*/
}

.phoneIcon {
    display: none
}
.menuBox {
    display: flex;
    align-items: center;
}
/* .menuBox .close {
    display: none;
} */

.menuBox ul {
    display: flex;
    justify-content: flex-start;
}

.menuBox ul>li>a {
    font-size: 16px;
    color: #C6CFD6;
    height: 40px;
    display: block;
    position: relative;
    transition: all 0.5s;
    border-radius: 23px;
    line-height: 40px;
    /*width: 110px;*/
    padding: 0 8px;
    text-align: center;
}

.menuBox ul>li>a:hover {
    background: #EC3849;
    color: #fff;
}
.header.bgActive .menuBox ul li a {
    color: #333;
}

.header.bgActive .menuBox ul>li>a:hover {
    background: #EC3849;
    color: #fff ;
}

.header .menuBox ul .active {
    background: #EC3849;
    border-radius: 20px;

}
.header .menuBox>ul>li {
    position: relative;
    margin-right: 40px;
}

.header .menuBox ul .active>a {
    color: #fff !important;
    position: relative;
}
.header .menuBox ul .active {
    color: #fff !important;
    position: relative;
}
.header .menuBox ul li:hover   .nav-down{
        display: block;
}


.header.active .menuBox ul li a::after {
    background: #000078;
    bottom: -1px;
}
/* 下拉 */
.nav-down {
    display: none;
    position: absolute;
    width: 160px;
    background-color: #17161a;
    /*box-shadow: 0 3px 29px -8px rgb(192 196 204 / 71%);*/
    border-radius: 6px;
    padding: 10px 20px;
    left: 50%;
    top: 55px;
    margin-left: -80px;
}
.nav-down > span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 100%;
    height: 20px;
    /* background: url("../images/header/header-icon.png") no-repeat center bottom; */
}
.nav-down > li {
    width: 100%;
    position: relative;
    text-align: center;
    height:50px;
    line-height: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.nav-down > li:last-child {
    border-bottom: none;
}
.nav-down > li:hover a {
    color: #EC3849;
    /*border-radius: 0%;*/
    /*background: rgba(51, 51, 51, 0.246);*/
}
.nav-down > li a {
    border-radius: 0;
    text-align: center;
    font-size: 16px;
    color: rgba(255,255,255,0.6);
}



.header .secondMenu {
    position: absolute;
    top: 90px;
    /* background: #fff; */
    left: 50%;
    margin-left: -90px;
    padding: 20px 10px;
    width: 180px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
    /*transition: all 0.5s;*/
    display: none;
}


.header .secondMenu a {
    color: #333;
    line-height: 40px;
    height: auto;
    text-align: center;
    margin: 0;
}

.header .secondMenu a::after {
    display: none !important;
}
.header.bgActive .language a {
    color: #333;
}

.header.active .language a {
    color: #000;
}

/*菜单样式*/
/* 搜索 */
.search {
    height: 100px;
    display: flex;
    margin-left: 30px;
    align-items: center;
    position: relative;
}
/* .search:hover {
    filter: none !important;
} */
/* .search-active {
    filter:brightness(4) !important; 
} */
/* .search-active::after {
   background: rgb(57 50 50) !important;
} */
.search::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0; 
    bottom: 0;
    height: 16px;
    width: 1px;
    margin: auto;
}
.search .searchbtn{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(255, 255, 255);
    transition: al 0.5s;
}
.search .searchbtn:hover {
    transition: al 0.5s;
}
.search .searchbtn img {
    width: 16px;
    filter: brightness(0);
}
/* 搜索导航栏 */
#search-nav {
    width: 100%;
    height: 80px;
    display: none;
    position: fixed;
    /* top: 10%; */
    top: 101px;
    z-index: -1;
    background:#fff;
    box-shadow: 0 0 3px 3px rgba(211,211,211,0.08);
}
#search-nav .h_search {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 0 20px;
}
#search-nav .h_search .search-panel {
    width: 700px;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    position: relative;
    align-items: center;
}
#search-nav .h_search .search-panel form {
    width: 100%;
}
#search-nav .h_search .search-panel .ikeyClick {
    display: inline-block;
    line-height: 80px;
    padding-top: 11px;
}
#search-nav .h_search .search-panel .ikeyClick1 {
    display: inline-block;
    line-height: 80px;
    padding-top: 0;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
}
#search-nav .h_search .search-panel  .hide-search {
    cursor: pointer;
    filter: brightness(0);
}
#search-nav .h_search .search-panel .ikeyClick img {
    cursor: pointer;
}
#search-nav .h_search .search-panel .h_searchtxt {
    background: #fff ;
    border: none;
    color: black;
    width: 100%;
    line-height: 44px;
    font-size: 14px;
    padding: 0 60px;
    border-bottom: 1px solid #eee;
}

#search-nav .h_search .search-panel .h_searchtxt:focus {
    outline: 1px solid rgba(255, 255, 255, 0);
}
input::-webkit-input-placeholder {
    color: #fff;
    font-size: 12px;
}
#search-nav .h_search .search-panel h1 {
    color: #fff;
    text-align: left;
    position: absolute;
    height: fit-content;
    top: 0;
    bottom: 0;
    right: -100px;
    margin: auto;
}
#search-nav .h_search .search-panel h1 img {
    width: 20px;
    height: 20px;
}
#search-nav .search-detail .h_searchdesc {
    width: 700px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
#search-nav h4 {
    font-size: 12px;
    color: black;
    padding: 20px 0;
}
#search-nav ul {
    list-style: none;
}
#search-nav ul li {
    line-height: 32px;
    margin: 5px 0;
    padding: 0 45px;
}
#search-nav ul li a {
    color: black;
}

/* 移动菜单 */
.menuBox1 {
    position: fixed;
    width: 100%;
    background: #fff;
    height: 100vh;
    top: 0;
    right: -100%;
    z-index: 99999999999;
    transition: all 0.5s;
    overflow: auto;
    overflow-x: hidden;
    display: none;
    }
    
    .phoneNavShow {
    box-sizing: border-box;
    right: 0;
    transition: all 0.5s;
    z-index: 9999;
    padding: 0 20px;
    }
    
    .menuBox1 .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    z-index: 20;
    border-radius: 50%;
    cursor: pointer;
    background: #3151A0 url("../images/header/close.svg") no-repeat center;
    background-size: 12px;
    text-indent: -99px;
    }
    
    .phoneNavShow .close {
    display: block;
    }
    
    /*菜单手机状态*/
    .menuBox1 ul li a {
    color: #333;
    display: block;
    }
    
    .menuBox1 ul {
    flex-wrap: wrap;
    margin-top: 90px;
    }
    
    .menuBox1 ul li {
    width: 100%;
    border-bottom: 1px solid #eee;
    transition: all 1s ease;
    
    }
    
    .menuBox1 ul li a {
    height: auto;
    line-height: 50px;
    }
    
    .menuBox1 .secondMenu {
    position: relative;
    top: 0;
    left: 0;
    margin-left: 0;
    width: 100%;
    box-shadow: none;
    padding: 0 30px 20px;
     /* display: flex; */
    flex-direction: column;
    display: none;
    }
    
    .menuBox1 .secondMenu a,
    .menuBox1.active .menuBox1 ul .secondMenu a {
    text-align: left;
    line-height: 30px;
    height: auto;
    }
    
    .menuBox1.active .secondMenu {
    top: 0;
    }
    
    .menuBox1 ul li {
    position: relative;
    }
    
    .menuBox1 ul li i {
    content: '';
    width: 50px;
    height: 50px;
    top: 0;
    right: 0;
    position: absolute;
    background: url("../images/header/close.svg") no-repeat center;
    filter: brightness(0.2);
    background-size: 12px;
    z-index: 10;
    transform: rotate(45deg);
    transition: all 0.5s;
    }
    
    .menuBox1 ul li i.active {
    transform: rotate(90deg);
    transition: all 0.5s;
    }
       /* 菜单结束 */

@media screen and (max-width: 1600px) {
    .logo .logo-r .top {
        font-size: 28px;
    }
    .logo .logo-r .bottom {
        font-size: 14px;
    }
    .search {
        margin-left: 10px;
    }
    .header .menuBox>ul>li {
        margin-right: 15px;
    }
}
@media screen and (max-width: 1440px) {
    .menuBox ul li a {
        font-size: 16px;
        /*width: 80px;*/

    }
    .language a {
        font-size: 14px;
    }
    .navbar .narbar-left {
        max-width: 190px;
    }
    .navbar .narbar-left .item {
        padding: 20px 0 20px 20px;
    }
    .navbar .right .narbar-right .navbar-item {
        max-width: 110px;
        height: 75px;
    }
    .navbar .right .narbar-right .navbar-item .text {
        padding: 5px;
    }
}
@media screen and (max-width: 1280px) {

    .headerTop {
        width: 100%;
        padding: 0 20px;
    }

    .logo {
        max-width: 320px;
    }
    .logo .logo-r .top {
        font-size: 24px;
    }
    .logo .logo-r .bottom {
        font-size: 12px;
    }

    .menuBox ul li a {
        font-size: 14px;
    }
    .language a {
        font-size: 14px;
    }
    .navbar .narbar-left {
        max-width: 165px;
    }
    .navbar .narbar-left .item {
        padding: 20px 0 20px 20px;
    }
    .navbar .right .narbar-right .navbar-item .text {
        padding: 0px;
        color: #333333;
    }
    .navbar .right .narbar-right .navbar-item {
        max-width: 90px;
        height: 75px;
    }
    
    .service .title .title-text,  .service .title .title-text1{
        font-size: 16px ; 
    }
    .service {
        height: 570px;
    }

}

@media screen and (max-width: 1100px) {
    .logo .logo-r .top {
        font-size: 20px;
    }
    .logo {
        max-width: 260px;
    }
    .header .menuBox>ul>li {
        margin-right: 5px;
    }


}



@media screen and (max-width: 1000px) {
    .menu {
        display: none;
    } 
     .menu-btn {
        display: block;
         filter: brightness(10);
    }
    .active .menu-btn {
        filter: none;
    }
    .menuBox1 {
        display: block;
    }
}
@media screen and (max-width: 768px) {
    .navbar .right .narbar-right .navbar-item .item-img {
        max-width: 31px;
    }
    .headerTop {
        padding: 0 20px;
        height: 60px
    }
    .headerTop .logo {
        width: 85%;
        max-width: 100%;
    }
    .logo a {
        justify-content: flex-start;
    }
    .logo .logo-r .top {
        font-size: 16px;
    }
    .logo .logo-r .bottom {
        font-size: 12px;
    }
    .logo .logo-l {
        max-width: 60px;
        margin-right: 10px;
    }
}
.trainBanner img {
    width: 100%;
}