﻿.sec-top-nav {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    z-index: 11;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    transition: background-color .15s ease-in;
    
}

.sec-top-nav.active {
    color: #232323;
    background-color: #fff;
}
.sec-top-nav img {
    width: 100%;
}
.sec-top-nav .content-wrapper .menu-wrapper{
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sec-top-nav .logo {
    width: 136px;
    height: 58px;
    background: url(../../images/newPage/topNav/logo-white.png) no-repeat;
    background-size: cover;
}

.sec-top-nav .logo.active {
    background: url(../../images/newPage/topNav/logo.png) no-repeat;
    background-size: cover;
}
.sec-top-nav ul {
    display: flex;
}
.sec-top-nav .menu-list li.item {
    font-size: 20px;
    line-height: 25px;
    margin-right: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 27px;
}

.sec-top-nav .menu-list li.item.active {
    color: #1458FF;
}


.sec-top-nav ul .search {
    background: url(../../images/newPage/topNav/search.png) no-repeat;
    background-size: cover;
    width: 21px;
    height: 21px;
    /*margin-right: 40px;*/
    margin-top: 30px;
}

.sec-top-nav ul .search.active {
    background: url(../../images/newPage/topNav/b-search.png) no-repeat;
    background-size: cover;
}

.sec-top-nav ul .code {
    background: url(../../images/newPage/topNav/code.png) no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
    margin-top: 30px;
}
.sec-top-nav ul .code.active {
    background: url(../../images/newPage/topNav/b-code.png) no-repeat;
    background-size: cover;
}



.sec-top-nav ul li .line {
    width: 52px;
    height: 2px;
    background: transparent;
    margin-top: 25px;
}

.sec-top-nav ul li:hover .line {
    background: #1458FF;
}

.sec-top-nav ul li.active .line {
    background: #fff;
}

.sec-top-nav.active ul li.active .line {
    background: #1458FF;
}
.sec-top-nav.active ul li.active .one-title {
    color: #1458FF;
}


.sec-top-nav .one-title,.sec-top-nav .search,.sec-top-nav .code {
    cursor: pointer;
}

.sec-top-nav .one-title {
    color: #fff;
}

.sec-top-nav.active .one-title {
    color: #383129;
}



/*3.case*/
.sec-top-nav  .show-box {
    position:absolute;
    top: 80px;
    left:0;
    box-sizing: border-box;
    display: none;
    /*margin-top: -8px;*/

    background: url(../../images/newPage/topNav/2.jpg) no-repeat;
    background-size: cover;
    width: 1200px;
    display: none;
    padding-bottom: 30px;
}


.sec-top-nav  .show-box ul{
    display: flex;
    flex-direction: column;
    width: 230px;
    background: #FFFFFF;
    color: #232323;
    flex-shrink: 0
}

.sec-top-nav  .show-box .case-menu .case-menu-type {
    width: 100%;
    height: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    line-height: 22px;
}

.sec-top-nav .show-box .case-menu .case-menu-type .arrow {
    width: 20px;
    margin-left: 40px;
}

.sec-top-nav  .show-box .case-menu .case-menu-type.active {
    background: linear-gradient(90deg, #5C8BFF, #1458FF);
    color: #fff;
}




.sec-top-nav  .show-box .content-wrapper {
    display: flex;
}
.sec-top-nav  .show-box .case-info {
    width: 100%;
    height: 100%;
    padding: 30px 41px 0 65px;
    display: flex;
    flex-wrap: wrap;

}


.sec-top-nav  .show-box .case-info .item {
    width: 20%;
    margin-bottom: 50px;
}
.sec-top-nav .show-box .case-info .item.no-title-item {
    width: 100%;
}
.sec-top-nav  .show-box .case-info .item .item-name {
    color: #1458FF;
    border-bottom: 1px solid #CFCFCF;
    width:80%;
    font-size:22px;
    line-height:30px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: inline-block;
}

.sec-top-nav  .show-box .case-info .item .list {
    display: flex;
    flex-direction:column;
}



.sec-top-nav  .show-box .case-info .item .list a {
    color: #7A8BA6;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 12px;
    font-weight: 400;
}

.sec-top-nav  .show-box .case-info .item .list a:hover {
    color: #232323;
}


.sec-top-nav .show-box .case-info .item .list.no-title-list {
    flex-direction: row;
    flex-wrap: wrap;
}

.sec-top-nav .show-box .case-info .item .list.no-title-list a {
    width: auto;
    flex-shrink: 0;
    background: #f4f6ff;
    padding: 11px 24px;
    border-radius: 7px;
    text-align: center;
    margin: 0 50px 30px 0;
}

.sec-top-nav .show-box .case-info .item .list.no-title-list a:hover {
    color: #1458FF;
}

/*搜索*/

#click-search {
    position: absolute;
    right: 0;
    top: 57px;
    z-index: 100;
    display: none;

}

#click-search .search-form {
    padding-left: 10px;
    height: 40px;
    font-size: 18px;
    color: #818285;
    font-weight: 300;
    outline: none;
    border: 1px solid #0a3d95;
    border-radius: 4px;
    padding-right: 28px;
}

#click-search .search-form::-webkit-input-placeholder {
    font-size: 18px;
    color: #818285;
}

#click-search i {
    color: #000;
    color: #0a3d95;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 7px;
    padding: 5px 10px;
}

@media only screen and (max-width: 1200px){
    .sec-top-nav ul .search,
    .sec-top-nav ul .code {
        display: none !important;
    }

    .sec-top-nav .container {
        width: auto;
    }

    .sec-top-nav .show-box {
        width: 100vh;
    }
}





/*移动端兼容*/
@media only screen and (max-width: 768px) {
    .sec-top-nav {
        height:.5rem;
    }
    .sec-top-nav .ext-btn {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 .2rem;
        width: 100%;
        left: 0;


    }
    .sec-top-nav.active  .ext-btn .line{
        background-color: #000;
    }
    .sec-top-nav .ext-btn .line {
        width: .25rem;
        height: 2px;
        border-radius: 5px;
        margin-bottom: .06rem;
        background-color: #fff;

    }
    .sec-top-nav .ext-btn .logo {
        width: .8065rem;
        height: .34rem;
        background: url(../../images/newPage/topNav/logo-white.png) no-repeat;
        background-size: cover;
        display: block;
    }
    .sec-top-nav.active .ext-btn .logo {
        background: url(../../images/newPage/topNav/logo.png) no-repeat;
        background-size: cover;
    }
    .sec-top-nav .ext-btn .line:nth-child(2) {
        width: .18rem;
    }
    .sec-top-nav .ext-btn .line:nth-child(3) {
        margin-bottom: 0;
    }



    /*list*/
    .sec-top-nav .show-nav-list img {
        width: 100%;
    }

    .sec-top-nav .show-nav-list {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10000;
        background-color: #F7F8FC;
        width: 100vw;
        height: 100vh;
        display: none;
    }
    .sec-top-nav .show-nav-list .top {
        display:flex;
        align-items: center;
        width: 100%;
        height: .56rem;
        background: #F7F8FC;
        border: 1px solid #E4E5E9;
        padding: 0 .16rem;
        position: relative;
    }
    .sec-top-nav .show-nav-list .top .close-icon {
        width: .17rem;
        height: .17rem;
        display:flex;

    }
    .sec-top-nav .show-nav-list .top .list-logo {
        width: .77rem;
        height: .33rem;
        display:flex;
        position: absolute;

        left: 50%;
        transform: translateX(-50%);
    }

    .sec-top-nav ul.menu-list{
        width: 1.4rem;
        height: 5.5rem;
        flex-direction: column;
        align-items: flex-start;
        overflow-y: scroll;

    }
    .sec-top-nav .left-list .menu-list .one-title {
        color: #1D1E1E;

    }

    .sec-top-nav .menu-list li.item {
        font-size: .13rem;
        line-height: .4rem;
        margin: 0;
        width: 100%;
        align-items: inherit;
        height: auto;
        padding-left: .2rem;
    }



    .sec-top-nav .right-list {
        width: 2.35rem;
        height: 5.5rem;
        background: #FFFFFF;
        box-shadow: 0px 1px 6px 0px rgba(208, 208, 208, 0.5);
    }

    .sec-top-nav .show-nav-list .bottom {
        display:flex;
        height: 100%;
    }
    .sec-top-nav ul li .line {
        display: none;
    }
    .sec-top-nav .menu-list li:not(:first-child).item a {
        /*pointer-events: none;*/
        width: 100%;
    }
    .sec-top-nav .menu-list li.item.click-item-active {
        background-color: #fff;
    }
    .sec-top-nav .menu-list li.item.click-item-active a,
    .sec-top-nav .menu-list li.item.click-item-active a.one-title{
        color: #1458FF;
    }

    .sec-top-nav ul.menu-list .second-list-box {
        color: #1D1E1E;
        padding-left: .1rem;
    }


    .sec-top-nav .menu-list li.item.active ,
    .sec-top-nav.active ul li.active .one-title{
        color: #1D1E1E;
    }


    .sec-top-nav ul.menu-list .second-list-box .click-second-item-active {
        color: #1458FF;

    }



    .sec-top-nav .show-nav-list .right-list {
        padding: .22rem .17rem .15rem;
        height: 5.5rem;
        overflow-y: scroll;
    }

    .sec-top-nav .show-nav-list .right-list .title-wrapper {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #E3E3E3;
        padding-bottom: .1rem;
        color: #1D1E1E;
        margin-bottom: .1rem;
        padding-top: 0;
    }

    .sec-top-nav .show-nav-list .right-list .title-wrapper .arrow {
        width: .07rem;
        display: flex;
    }

    .sec-top-nav .show-nav-list .right-list .title-wrapper .name {
        font-weight: 400;
        font-size: .13rem;
        line-height: .2rem;
        margin-right: .1rem;
    }


    .sec-top-nav .show-nav-list .right-list .show-list .title-wrapper  .arrow  {
        width: .11rem;
    }

     .sec-top-nav .show-nav-list .right-list .show-list .title-wrapper {
         border-bottom: none;
         justify-content: space-between;
         /*padding-bottom: 0;*/
     }


     .sec-top-nav .show-nav-list .right-list .show-list-down {
        color: #646464;
        font-size: .12rem;
        line-height: .2rem;
        padding-left: .1rem;
     }

     .sec-top-nav .show-nav-list .right-list .show-list-down .name {
         margin-bottom: .2rem;
     }
     .sec-top-nav .show-nav-list .right-list .click-right-item-active {
         color: #1458FF;
     }
}