﻿/*------------------------头部导航菜单---------------*/


/* nav--------------------------------------------------------------*/

.headerTop {
    box-shadow: 7px 10px 13px 0px rgba(0, 0, 0, 0.05);
}

.nav {
    width: 83%;
    margin: 0 auto;
    position: relative;
}

.lv1_li:hover .lv2_ul {
    display: block;
}

.tel_phone {
    display: none;
    height: 0.6rem;
    text-align: center;
    line-height: 0.6rem;
    width: 100%;
    border-bottom: 1px solid #8E8E8E;
    font-size: 0.24rem;
    color: #8E8E8E;
}

.switch_phone {
    display: none;
    width: 20px;
    position: absolute;
    right: 0.4rem;
    top: 0.5rem;
    vertical-align: middle;
}

.switch_phone span {
    display: block;
    width: 20px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #000;
    border-radius: 3px;
    z-index: 1;
    -webkit-transform-origin: 20px;
    transform-origin: 20px;
    transition: background .5s cubic-bezier(.77, .2, .05, 1), opacity .55s ease, transform .5s cubic-bezier(.77, .2, .05, 1), width .5s;
}

.switch_phone span:nth-child(2) {
    transform: rotate(0);
    transition: width .5s ease;
}

.switch_phone span:nth-child(3) {
    margin-bottom: 0;
}

.toggle-animate span:nth-child(1) {
    opacity: 1;
    transform: rotate(-45deg);
}

.toggle-animate span:nth-child(2) {
    width: 0;
    opacity: 0;
    transform: rotate(0);
    transition: width .5s;
}

.toggle-animate span:nth-child(3) {
    opacity: 1;
    transform: rotate(45deg);
}

.nav .logo {
    float: left;
    margin-top: 22px;
}

.nav .logo_site {
    display: none;
}

.nav .lv1_ul {
    height: 96px;
    float: left;
    position: absolute;
    right: 160px;
    top: 0;
}

.nav .lv1_li {
    float: left;
    position: relative;
    height: 96px;
    padding: 0 32px;
}

.nav .lv1_li .lv1_tit,
.lv1_home {
    display: block;
    color: #333;
    height: 94px;
    line-height: 94px;
    transition: transform 0.3s ease-in-out;
    font-size: 18px;
}

.nav .lv1_li .lv1_tit::before,
.lv1_home::before {
    content: "";
    width: 1px;
    height: 24px;
    background: rgba(225, 225, 225, 1);
    position: absolute;
    right: 0;
    top: 36px;
}

.nav .lv1_li::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 15px;
    width: 30px;
    height: 4px;
    background-color: #333;
    transform-origin: center;
    transform: translate(-50%, 0) scaleX(0);
    transition: transform 0.3s ease-in-out;
    border-radius: 2px;
}

.nav .lv1_li.lv1_li6::after,
.nav .lv1_li.lv1_li6 .lv1_tit::before {
    display: none;
}

.nav .lv1_li:hover a.lv1_tit,
.nav .lv1_li:hover a.lv1_home {
    font-weight: bold;
}

.bold {
    font-weight: bold;
}

.nav .lv1_li:hover::after {
    transform: translate(-50%, 0) scaleX(1);
}

.nav>span {
    float: right;
    height: 96px;
    line-height: 96px;
    font-size: 22px;
    color: #333;
    font-weight: bold;
}

.nav .lv1_li .lv2_ul {
    position: absolute;
    top: 96px;
    left: 50%;
    line-height: 56px;
    margin-left: -80px;
    width: 160px;
    overflow: hidden;
    background: transparent;
    /* display: none; */
    /* box-shadow: 1px 5px 35px 3px rgba(0, 0, 0, 0.28); */
    border-radius: 0 0 6px 6px;
    /* padding: 0 20px; */
    box-sizing: border-box;
    text-align: center;
    z-index: 9999;
    height: 0;
}

.nav .lv1_li .lv2_ul .lv2_li .lv2_tit:hover {
    color: #1393D2;
}

.nav .lv1_li .cur {
    height: 350px;
    /* display: block; */
    padding-top: 10px;
    -webkit-transition: all 0.2s ease-out 0s;
    -moz-transition: all 0.2s ease-out 0s;
    transition: all 0.2s ease-out 0s;
}

.nav .lv1_li .lv2_ul .lv2_li .lv2_tit {
    font-size: 16px;
    color: #666;
    /* border-bottom: 1px solid #4B4C55; */
    display: block;
    background: #fff;
    position: relative;
}

.lv2_ul .lv2_li .lv2_tit::after {
    content: "";
    width: 120px;
    height: 1px;
    background: #4B4C55;
    opacity: 0.1;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -60px;
}

.lv2_ul .lv2_li:nth-child(1) a {
    border-radius: 6px 6px 0 0;
}

.lv2_ul .lv2_li:last-child a {
    border-radius: 0 0 6px 6px;
}


/* .nav .lv1_li .lv2_ul .lv2_li .lv2_tit:hover {
    font-weight: bold;
} */

@media screen and (max-width:1440px) {
    .nav {
        width: 1000px;
    }
    .nav .lv1_ul {
        right: 165px;
    }
    .nav .lv1_li {
        padding: 0 20px;
    }
    .nav>span {
        margin-right: 0px;
    }
    .nav .logo {
        margin-left: 0;
        margin-top: 25px;
    }
    .nav .logo img {
        margin-left: 0;
        width: 135px;
    }
    .nav>span {
        font-size: 18px;
    }
    .nav .lv1_li .lv1_tit,
    .lv1_home {
        font-size: 14px;
    }
    .nav .lv1_li::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 15px;
        width: 15px;
        height: 2px;
        background-color: #333;
        transform-origin: center;
        transform: translate(-50%, 0) scaleX(0);
        transition: transform 0.3s ease-in-out;
        border-radius: 2px;
    }
    .nav .lv1_li .lv2_ul .lv2_li .lv2_tit {
        font-size: 12px;
    }
    .nav .lv1_li .lv2_ul {
        margin-left: -70px;
        width: 140px;
    }
}

@media screen and (max-width:768px) {
    .tel_phone {
        display: block;
    }
    .tel_pc {
        display: none;
    }
    .switch_phone {
        display: block;
    }
    .nav {
        width: 100%;
        position: relative;
        height: 1.32rem;
    }
    .nav .lv1_ul,
    .nav .lv1_li .lv1_tit::before,
    .lv1_home::before,
    .nav .lv1_li .lv1_tit::after,
    .lv1_home::after,
    .nav .lv1_li::after {
        display: none;
    }
    .nav .logo {
        margin-top: 0;
    overflow: hidden;
    height: 1.32rem;
    }
    .nav .logo img {
        width: 2.5rem;
        margin: 0.28rem 0 0 0.2rem;
    }
    .nav .lv1_ul {
        width: 100%;
        background: #16171a;
        height: auto;
        right: 0 !important;
        top: 1.32rem;
        z-index: 9999;
    }
    .nav .lv1_li {
        float: none;
        position: relative;
        height: auto;
        padding: 0;
        width: 100%;
        border-bottom: #2b2b2e 1px solid;
    }
    .nav .lv1_li .lv1_tit,
    .lv1_home {
        display: block;
        color: #fff;
        height: 0.8rem;
        line-height: 0.8rem;
        transition: transform 0.3s ease-in-out;
        font-size: 0.2rem;
        padding: 0 0.7rem 0 0.5rem;
        width: 50%;
    }
    .Has_Children b {
        border: 2px solid #777;
        display: block;
        width: 8px;
        height: 8px;
        margin: auto;
        position: absolute;
        top: 0.3rem;
        margin-top: -4px;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        border-top: none;
        border-right: none;
        right: 20px;
    }
    .Has_Children b.actived {
        top: 20px;
        border-bottom: none;
        border-left: none;
        border-right: 2px solid #777;
        border-top: 2px solid #777;
    }
    .nav .lv1_li .lv2_ul {
        position: static;
        margin-left: 0;
        width: 100%;
        line-height: 0.8rem;
        border-radius: 0;
        padding: 0;
        background: #202124;
        text-align: left;
        height: auto;
    }
    .nav .lv1_li .lv2_ul .lv2_li .lv2_tit {
        font-size: 0.2rem;
        color: #fff;
        border-bottom: 1px solid #2b2b2e;
        display: block;
        padding: 0 0.5rem;
        background: none;
    }
}