/* 页头 */

.header {
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    /* overflow: hidden; */
    transition: 0.3s
}

.header .logo {
    height: 100%;
    position: absolute;
    top: 0;
    left: 15px;
    line-height: 60px;
    transition: 0.3s
}

.header .logo img {
    height: 38px;
}

.header .pc-nav {
    /* display: inline-block; */
}

.header .layui-nav {
    /* background-color: #fff; */
    display: none;
    /* display: inline-block; */
    background-color: transparent;
}

.header.scroll {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2);
}


/* PC端导航 */

.nav-toggle {
    position: absolute;
    top: 0;
    right: 20px;
    padding: 0 5px;
    border-radius: 0;
    margin: 0;
    height: 100%;
    margin-top: 10px;
}

.nav-toggle span {
    position: relative;
    width: 26px;
    height: 2px;
    margin-top: 16px;
    display: block;
    background: #1e4772;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: relative;
    width: 100%;
    height: 2px;
    left: 0;
    display: block;
    background: #1e4772;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.nav-toggle span::before {
    top: 8px;
}

.nav-toggle span::after {
    bottom: 10px;
}


/* 手机端导航 */

.mb-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fdfefe;
    opacity: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0ms;
    z-index: 9999;
}

.mb-nav>p.close {
    position: absolute;
    top: 0;
    right: 0;
    width: 26px;
    height: 26px;
    padding: 24px 24px 0 0;
}

.mb-nav>p.close span {
    display: inline-block;
    width: 26px;
    height: 1px;
    background: #003c8a;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    transform: rotate(45deg);
}

.mb-nav>p.close span::after {
    content: ' ';
    display: block;
    width: 26px;
    height: 1px;
    background: #003c8a;
    transform: rotate(-90deg);
}

.mb-nav>h2 {
    margin-top: 66px;
    text-align: center;
}

.mb-nav>h2 img {
    width: 240px;
}

.mb-nav>ul {
    margin-top: 30px;
}

.mb-nav>ul li {
    padding: 0 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #003c8a;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0ms;
}

.mb-nav>ul li a {
    display: block;
    text-decoration: none;
    color: #003c8a;
    font-size: 16px;
    height: 48px;
    line-height: 48px;
    width: 100%;
}

.mb-nav>ul li:nth-child(1) {
    transition: all 0.2s cubic-bezier(0.77, 0, 0.175, 1) 0ms;
}

.mb-nav>ul li:nth-child(2) {
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1) 0ms;
}

.mb-nav>ul li:nth-child(3) {
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0ms;
}

.mb-nav>ul li:nth-child(4) {
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0ms;
}

.mb-nav>ul li:nth-child(5) {
    transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0ms;
}

.mb-nav>ul li:nth-child(6) {
    transition: all 1.2s cubic-bezier(0.77, 0, 0.175, 1) 0ms;
}

.mb-nav>ul li:nth-child(7) {
    transition: all 1.4s cubic-bezier(0.77, 0, 0.175, 1) 0ms;
}

.mb-nav>ul li:nth-child(8) {
    transition: all 1.6s cubic-bezier(0.77, 0, 0.175, 1) 0ms;
}

.mb-nav>ul li>div {
    display: none;
}

.mb-nav>ul li>div a {
    color: #757985;
    display: block;
    font-weight: normal;
    padding-left: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.mb-nav>ul li>div a:last-child {
    border: none;
}

.mb-nav>ul li.active {
    position: relative;
}

.mb-nav>ul li.active>a {
    color: #333;
    font-weight: bold;
}

.mb-nav>ul li.active::before {
    position: absolute;
    left: 0;
    top: 14px;
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background-color: #ec6519;
}


/*隐藏菜单-开关*/

.open {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.open ul>li {
    opacity: 1;
    transform: translateY(0);
}


/* 页尾 */

.footer {
    padding-top: 20px;
    background-color: #f0f0f0;
    font-size: 16px;
}

.footer .layui-row p {
    text-align: center;
    line-height: 32px;
    color: #666;
}

.footer .ysy-logo {
    padding: 20px 0;
    text-align: center;
}

.footer .ysy-logo .logo-lg {
    display: none;
}

.footer .ysy-logo .logo-xs span {
    display: block;
    margin-top: 40px;
    text-align: center;
    /* border: 1px solid #000; */
}

.footer .ysy-logo .logo-xs small {
    display: block;
    padding-top: 10px;
    font-size: 16px;
    color: #666;
}

.footer .ysy-logo .logo-xs small em {
    padding-left: 4px;
    color: #333;
    /* display: block; */
}