﻿@charset "utf-8";


/* header */
.header {
    position: fixed;
    left: 0;
    display: flex;
    width: 100%;
    padding: 0px 40px;
    justify-content: space-between;
    align-items: center;
    height: 92px;
    background: #FFF;
    z-index: 9;
}

.logo {
    max-width: 145px;
}

.menu {
    /* padding-right: 68px; */
    /* flex: 1; */
}

.menu>ul {
    display: flex;
    margin-left: -28px;
    margin-right: -28px;
}

.menu>ul>li {
    position: relative;
    margin: 0 28px;
}

.menu>ul>li>a {
    padding: 30px 0;

    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 500;
}

/* .menu>ul>li>a>i {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    background-image: url(/templates/skin/images/icon/chevron-down.svg);
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: center;
} */
.menu>ul>li.active>a,
.menu>ul>li.current>a {
    color: var(--main-color);
    /* border-bottom: 2px solid var(--main-color); */
    /* text-decoration: underline; */
}
.menu>ul>li.active>a::after {
    content: '';
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--main-color);
}
.menu>ul>li>a {
    /* color: var(--main-color); */
    position: relative;
}
.menu>ul>li>a::before {
    content: '';
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--main-color);
    transform-origin: bottom right;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.menu>ul>li>a:hover::before {
    transform-origin: bottom left;
    transform: scaleX(1);
}
/* .menu>ul>li.active>a>i,
.menu>ul>li.current>a>i {
    background-image: url(/templates/skin/images/icon/chevron-up.svg);
} */
.menu>ul>li.current .menu-dropdown {
    z-index: 100;
}
.menu-dropdown {
    min-width: 100%;
    width:360px;
    left: 0;
    top: 100%;
    padding-top: 8px;
    display: none;
    position: absolute;
    z-index: -1;
    overflow: hidden;
}

.menu>ul>li:last-child .menu-dropdown {
    right: 0;
    left: inherit;
}

.menu-dropdown>ul{
    width: 100%;
    overflow: hidden;
    padding: 8px 40px 40px;
    position: relative;
    border-radius: 8px;
    border: 1px solid #F1F1F1;
    background: #fff;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}
.menu-dropdown>ul>li>ul{
    width: 100%;
    padding-left: 20px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.menu-dropdown ul>li {
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.current .menu-dropdown ul>li.show {
    opacity: 1;
}

.menu-dropdown ul>li>a{
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 0;
    width: 100%;
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 600;
}
.menu-dropdown>ul>li>ul>li>a{
    padding: 6px 0px;
    width: 100%;
    color: #333;
    font-size: 14px;
    font-weight: 300;
}

.menu-dropdown ul>li>a::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.10);
}

.menu-dropdown ul>li>a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--main-color);
    transition: width .5s;
}

.menu-dropdown ul>li>a:hover:after{
    width: 100%;
}

/* .menu-dropdown>ul>li>a i {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('/templates/skin/images/icon/arrow-right.svg');
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: center;
    opacity: 0;
    transition: all .3s;
} */

.menu-dropdown ul>li>a:hover i{
    opacity: 1;
    right: 0;
}

.menu-dropdown ul>li>a span {
    margin-right: 16px;
    width: 30px;
    height: 30px;
    overflow: hidden;
}

.menu-dropdown ul>li>a span img {
    width: 100%;
    height: 100%;
}

.menu-dropdown ul>li>a:hover {
    color: var(--main-color);
}

.menu-dropdown ul>li>a span img:nth-child(2) {
    display: none;
}

.menu-dropdown ul>li>a:hover span img:nth-child(1) {
    display: none;
}

.menu-dropdown ul>li>a:hover span img:nth-child(2) {
    display: block;
}

.head_link a {
    display: inline-flex;
    padding: 16px 20px 16px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background: var(--main-color);
    border: 1px solid transparent;
    transition: background .3s;
}

.head_link a {
    color: var(--white-color);
    text-align: center;

    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.head_link a i {
    position: relative;
    margin-left: 10px;
    width: 24px;
    height: 24px;
    display: inline-block;
    overflow: hidden;
}

.head_link a i img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 0.4s;
}

.head_link a i img:nth-child(2) {
    top: 100%;
}

.head_link a:hover {
    border: 1px solid var(--main-color);
    background: #FFF;
    color: var(--main-color);

}

.head_link a:hover i img:first-child {
    top: -100%;
}

.head_link a:hover i img:nth-child(2) {
    top: 0;
}

@media (max-width:1680px) {
    .menu {
        padding-right: 38px;
    }

}

@media (max-width:1580px) {
    .menu>ul {
        margin-left: -24px;
        margin-right: -24px;
    }

    .menu>ul>li {
        margin: 0 24px;
    }

}

@media (max-width:1440px) {
    .menu>ul {
        margin-left: -20px;
        margin-right: -20x;
    }

    .menu>ul>li {
        margin: 0 20px;
    }
}

@media (max-width:1366px) {
    .menu>ul {
        margin-left: -18px;
        margin-right: -18px;
    }

    .menu>ul>li {
        margin: 0 18px;
    }
}

@media (max-width:1300px) {
    .menu>ul {
        margin-left: -16px;
        margin-right: -16px;
    }

    .menu>ul>li {
        margin: 0 16px;
    }

    .menu>ul>li>a>i {
        margin-left: 6px;
        width: 20px;
        height: 20px;
        background-repeat: no-repeat;
        background-size: 20px 20px;
    }
}

@media (max-width:1200px) {
    .menu {
        display: none !important;
    }

}

@media (max-width:991px) {
    .header {
        padding: 0px 30px;
        height: 92px;
    }

}

@media (max-width:767px) {
    .header {
        padding: 0px 20px;
        height: 80px;
    }

    .logo {
        max-width: 135px;
    }

    .head_link a {
        padding: 10px 10px 10px 14px;
    }

}

@media (max-width:540px) {
    .header {
        padding: 0px 20px;
        height: 80px;
    }

    .logo {
        max-width: 125px;
    }

    .head_link a {
        line-height: 20px;
        font-size: 14px;
        padding: 10px 6px 10px 10px;
    }

    .head_link a i {
        margin-left: 6px;
        width: 18px;
        height: 18px;
    }

}

/* 弹出导航 */
.head_menu {
    position: relative;
    display: none;
    width: 21px;
    height: 18px;
    margin-top: 5px;
    margin-left: 16px;
    z-index: 99;
    cursor: pointer;
}

@media (max-width:1200px) {

    .head_menu {
        display: block;
    }
}

.head_menu .bar {
    position: absolute;
    right: 0;
    top: 0;
    height: 2px;
    background: var(--dark-color);
    transition: all ease .3s;
}

.head_menu .bar.bar01 {
    width: 13px;
}

.head_menu .bar.bar02 {
    top: 6px;
    width: 17px;
}

.head_menu .bar.bar03 {
    top: 12px;
    width: 21px;
}

.head_menu.is-active .bar {
    background-color: var(--dark-color);
}

.head_menu.is-active .bar.bar01 {
    width: 30px;
    top: 6px;
    transform: rotate(45deg);
}

.head_menu.is-active .bar.bar02 {
    display: none;
}

.head_menu.is-active .bar.bar03 {
    width: 30px;
    top: 6px;
    transform: rotate(-45deg);
}


.header-nav {
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: var(--white-color);
    transition: opacity 0.2s;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    zoom: 1;
}

.header-nav .li {
    float: left;
    width: 20%;
    height: 100vh;
    padding: 6vh 20px 8.5vh;
    border-right: 1px solid rgba(0, 0, 0, .1);

}
.header-nav .li:last-child {
    border-right: none;
}
.header-nav .nli {
    height: 100%;
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 3;
    transition: opacity 0.5s;
}

.header-nav .num {
    position: absolute;
    color: var(--grey-color);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    opacity: 0.5;
}

.header-nav .tit4 {
    margin-top: 28vh;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    letter-spacing: 0.05em;
}

.js-m-2-1 {
    opacity: 0;
    transform: translate(0, 30px);
    transition: all 0.8s cubic-bezier(0.79, -0.27, 0.21, 0.82);
}

.header-nav .tit4 a {
    color: var(--dark-color);
    display: inline-block;
    position: relative;
    white-space: pre-line;
    overflow: hidden;
}

.header-nav .item {
    position: relative;
    display: block;
    padding: 5px 0;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    opacity: 0.7;
    white-space: pre-line;
}

.header-nav .item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--main-color);
    transform-origin: bottom right;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.header-nav.active {
    opacity: 1;
    visibility: visible;
}

.js-m-2-1.animate {
    opacity: 1;
    transform: translate(0, 0);
}

.header-nav .item:hover {
    opacity: 1;
    color: var(--main-color);
}

.header-nav .item:hover::before {
    transform-origin: bottom left;
    transform: scaleX(1);
}


@media (max-width:1000px) {

    .header-nav {
        overflow-y: auto;
        height: 100vh;
    }

    .header-ulbox {
        width: 100%;
        padding-bottom: 50px;
        overflow: hidden;
    }

    .header-nav .li {
        width: 100%;
        padding: 30px 20px 30px;
        height: auto;
        border-right: none;
    }

    .header-nav .li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .header-nav .nli {
        padding-bottom: 0;
    }

    .header-nav .tit4 {
        margin-top: 45px;
        margin-bottom: 10px;
    }

}

@media (max-width:767px) {
    .header-ulbox {
        padding-top: 40px;
    }
    .head_menu {
        margin-left: 10px;
    }
    .header-nav .num {
        letter-spacing: normal;
    }
    .header-nav .li {
        padding:10px 20px 10px 20px;
    }
    .header-nav .item {
        margin-bottom: 8px;
        font-size: 16px;
        padding: 0;
        line-height: 26px;
    }
}
