﻿@charset "UTF-8";

:root {
    --fontColor: #333333;
    --blueColor: #0543A8;
}

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;
    line-height: 1.42857143;
    color: var(--fontColor);
    transition: .5s;
    scroll-behavior: smooth;
}

a {
    color: var(--fontColor);
    text-decoration: none;
    transition: .3s;
}

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

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

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

.img {
    display: block;
    height: 100%;
    overflow: hidden;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

table {
    max-width: 100%;
    border-collapse: collapse;
}

table tr th, table tr td {
    padding: 5px 10px;
    border: 1px solid gray;
}

.lf, .fl {
    float: left;
}

.rt, .fr {
    float: right;
}

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

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ellipsis2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.ellipsis3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.ellipsis4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/*头部*/
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 138px;
    z-index: 999;
    border-top: 25px solid var(--blueColor);
}

header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 174px;
    z-index: -1;
    background: url("../images/header-bg.png") no-repeat center top;
    background-size: cover;
}

header .flex {
    height: 101px;
    transition: .3s;
}

nav {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    color: #fff;
}

nav .top {
    text-align: right;
    padding: 20px 0 6px;
}

nav .top a {
    margin: 0 20px;
    color: #fff;
}

nav .top a:hover {
    color: var(--blueColor);
}

header .menu {
    display: flex;
}

header .menu > li {
    position: relative;
    padding: 0 20px;
    font-size: 18px;
}

header .menu > li span {
    display: none;
}

header .menu > li > a {
    color: #fff;
    font-size: 20px;
    line-height: 50px;
    display: inline-flex;
    align-items: center;
}

header .menu > li > a:hover {
    color: var(--blueColor);
}

header .menu > li:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--blueColor);
    transition: .3s;
}

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

header .sub-menu {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    display: none;
    z-index: 10;
    background: #eee;
}

header .sub-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    font-size: 16px;
}

header .sub-menu li a:hover {
    color: #fff;
    background: var(--blueColor);
}

.toggle {
    position: absolute;
    top: -25px;
    right: 0;
    bottom: 0;
    width: 138px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: url(../images/nav-bg.png) no-repeat;
    z-index: 9;
    cursor: pointer;
}

.toggle span {
    display: inline-flex;
    width: 50px;
    height: 10px;
    background: #fff;
    border-radius: 5px;
    margin: 5px 0;
}

/*尾部*/
footer {
    color: #fff;
    font-size: 16px;
    height: 224px;
    background: url(../images/footer-bg.jpg) no-repeat center center;
    background-size: cover;
}

footer .container {
    height: 100%;
}

footer .copyRight {
    display: flex;
    align-items: center;
    line-height: 2em;
}

footer .copyRight > a {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    padding: 0 20px;
    border-left: 1px solid #fff;
}

footer .copyRight p a {
    color: #fff;
}

footer .copyRight p a:hover {
    text-decoration: underline;
}

footer .qrCode {
    margin-top: -240px;
    font-size: 18px;
    text-align: center;
    line-height: 3em;
}

/*返回顶部*/
.toTop {
    position: fixed;
    right: 17px;
    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;
}

.nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
}

.nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav ul li {
    width: 48%;
    margin: 1em 0;
    font-size: 20px;
    line-height: 2em;
}

.nav ul li h3 {
    margin-bottom: 0.5em;
}

.nav ul li a {
    color: #fff;
}

.nav ul li p {
    text-indent: 1em;
}

.nav span {
    position: absolute;
    top: 0;
    right: 40px;
    color: #fff;
    font-size: 80px;
    cursor: pointer;
}

.nav ul li a:hover {
    margin-left: 1em;
}

.title {
    margin-bottom: 30px;
}

.title h2 {
    position: relative;
    padding-left: 25px;
    font-size: 20px;
    color: var(--blueColor);
}

.title h2:before {
    content: '';
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 10px;
    background: var(--blueColor);
}

.title h2:after {
    content: '';
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 12px;
    width: 3px;
    background: var(--blueColor);
}

.title h2 span {
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    margin-left: 10px;
}

.title a {
    font-size: 16px;
    color: var(--blueColor);
}

.title a:hover {
    font-weight: bold;
}

/*常用链接*/
.links {
    height: 290px;
    padding: 40px 0;
    box-sizing: border-box;
    background: url(../images/link-bg.jpg) no-repeat center center;
    background-size: cover;
}

.links ul {
    display: flex;
    margin-top: 60px;
}

.links ul li {
    width: 20%;
}

.links ul li a {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    color: var(--blueColor);
}

.links ul li a img {
    margin-right: 20px;
    height: 30px;
}

.links ul li a:hover {
    font-weight: bold;
}

.links ul li a:hover img {
    transform: rotateY(180deg);
}

@media screen and (max-width: 1600px) {

    .container {
        width: 1400px;
    }

}
