﻿@charset "UTF-8";

:root {
    --varColor: #116EDD;
    --focusColor: #DE4C4A;
}

@font-face {
    font-family: D-DIN-PRO-Bold;
    src: url("../fonts/D-DIN-PRO-600-SemiBold.otf");
}

@font-face {
    font-family: Alibaba-PuHuiTi-Bold;
    src: url("../fonts/Alibaba-PuHuiTi-Bold.ttf");
}

body, p, h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, pre {
    margin: 0;
    padding: 0;
    border: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: "microsoft yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    min-width: 1200px;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #F3F3F3;
}

a {
    color: #333;
    text-decoration: none;
    transition: .3s;
}

a:hover {
    color: var(--varColor);
    text-decoration: none;
}

input, button {
    outline: none;
    border: none;
}

img {
    vertical-align: middle;
    border: 0;
    max-width: 100%;
    object-fit: cover;
    transition: .3s;
}

.img {
    display: block;
    overflow: hidden;
}

.img img {
    width: 100%;
    height: 100%;
}

.img:hover img {
    transform: scale(1.1);
}

.lf {
    float: left;
}

.rt {
    float: right;
}

.container {
    width: 1600px;
    margin: 0 auto;
    position: relative;
}

.container:before,
.container:after {
    content: '';
    display: table;
    clear: both;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex:before, .flex:after {
    display: none;
}

.ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: justify;
}

.ellipsis-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-align: justify;
}

.ellipsis-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-align: justify;
}

/*头部*/
.header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 100px;
    z-index: 999;
}

.header.fixed{
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.header > .flex {
    height: 100%;
    justify-content: left;
}

.header .logo {
    display: flex;
    align-items: center;
    margin: 0 80px 0 25px;
}

.header .logo img {
    max-height: 64px;
}

/*导航栏*/
.menu {
    display: flex;
    height: 100%;
    align-items: center;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    display: flex;
    padding: 0 25px;
    height: 60px;
    line-height: 60px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    position: relative;
}

.menu > li:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 0;
    background: var(--varColor);
    transition: .3s;
}

.menu > li:hover:before {
    height: 100%;
}

.menu .second-menu {
    position: absolute;
    top: 60px;
    left: 0;
    min-width: 100%;
    width: max-content;
    background-color: rgba(255, 255, 255, .8);
    display: none;
    z-index: 999;
}

.menu .second-menu li a {
    display: block;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    padding: 0 10px;
    border-top: 1px solid #ccc;
}

.menu .second-menu li:first-of-type a {
    border-top: none;
}

.menu .second-menu a:hover {
    color: #fff;
    background: var(--focusColor);
}

.toggle {
    display: none;
}

/*尾部*/
.footer {
    position: relative;
    padding: 55px 0;
}

.footer p {
    color: #666;
    line-height: 1.75em;
}

.footer p a {
    color: #666;
    text-decoration: underline;
}

.footer p a:hover {
    color: var(--varColor);
}

.footer .copyright {
    display: flex;
    justify-content: space-between;
}

.footer .copyright div:first-of-type {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer .copyright img:first-of-type {
    margin-bottom: 28px;
    max-height: 64px;
}

.footer .copyright div:last-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}
.footer .copyright h2{
    font-size: 24px;
    font-weight: normal;
}
.footer .copyright h3{
    font-size: 30px;
    font-family: D-DIN-PRO-Bold;
    margin: 10px 0;
}
.footer .copyright h3 span{
    font-size: 14px;
}

/*返回顶部*/
.toTop {
    position: fixed;
    right: 15px;
    bottom: -100px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: bolder;
    font-family: '黑体';
    background: rgba(0, 0, 0, .6);
    border-radius: 5px;
    transform: rotate(90deg);
    cursor: pointer;
    transition: .3s;
    z-index: 99;
}

.section {
    position: relative;
    flex-grow: 1;
    width: 100%;
    z-index: 8;
}

/*右侧浮窗*/
.layer {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 999;
    width: 60px;
    background: #FFFFFF;
    border-radius: 12px;
    transform: translateY(-50%);
}
.layer .wechat{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 20px 0;
    cursor: pointer;
}
.layer .wechat span{
    display: block;
    color: #666;
    width: 2em;
    line-height: 1.3em;
    margin-top: 0.5em;
}
.layer .wechat div{
    position: absolute;
    top: 0;
    right: 75px;
    width: max-content;
    z-index: 9;
    padding: 15px 10px 15px 17px;
    background: #fff;
    box-shadow: 0 1px 14px 0 rgba(0,0,0,0.15);
    border-radius: 6px;
    display: none;
}
.layer .wechat div p{
    margin-bottom: 0.5em;
}
.layer .wechat div img{
    margin-right: 7px;
}

@media screen and (min-width: 1280px) {

    .layer .wechat:hover div{
        display: block;
    }

}
