@charset "utf-8";

:root {
    --varColor: #2569ED;;
}

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: #333;
    min-width: 1200px;
}

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);
}

table {
    max-width: 100%;
    border-collapse: collapse;
}

table tr th, table tr td {
    padding: 5px 10px;
    border: 1px solid #eee;
}

video {
    max-width: 100%;
    object-fit: fill;
}

.lf {
    float: left;
}

.rt {
    float: right;
}

.container {
    width: 1400px;
    margin: 0 auto;
    position: relative;
}

.container:before,
.container:after {
    content: '';
    display: table;
    clear: both;
}

.flex {
    display: flex;
}

.flex:before, .flex:after {
    display: none;
}

.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.ellipsis-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.ellipsis-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/*头部*/
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 140px;
    background: url(../images/header-bg.png) no-repeat center center;
    background-size: cover;
    z-index: 9;
}

.header.filter {
    backdrop-filter: blur(10px);
}

.logo {
    float: left;
    height: 140px;
    display: flex;
    align-items: center;
}

.header .toggle {
    display: none;
}

/*导航栏*/
.nav {
    float: right;
    height: 140px;
    display: flex;
    align-items: center;
}

.nav img {
    cursor: pointer;
}

.menu {
    display: flex;
}

.menu > li {
    display: inline-flex;
    position: relative;
    flex-grow: 1;
}

.menu > li > a {
    flex-grow: 1;
    line-height: 50px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 0 20px;
}

.menu > li > a:hover {
    color: orangered;
}

.menu > li:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: orangered;
    transition: .3s;
}

.menu > li:hover:before {
    width: 100%;
}

.menu > li:last-of-type {
    margin-left: 20px;
    align-items: center;
}

.menu .second-menu {
    position: absolute;
    top: 50px;
    left: 0;
    min-width: 100%;
    width: max-content;
    background-color: rgba(0, 0, 0, .6);
    display: none;
    z-index: 999;
}

.menu .second-menu li a {
    display: block;
    line-height: 45px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 0 10px;
    border-top: 1px solid #ddd;
}

.menu .second-menu li:first-of-type a {
    border-top: none;
}

.menu .second-menu a:hover {
    background-color: rgba(1, 48, 168, 0.6);
}

/*尾部*/
.footer {
    padding: 60px 0;
    box-sizing: border-box;
    background: url(../images/footer-bg.png) no-repeat center center;
    background-size: cover;
}

.footer ul {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer ul li:first-of-type {
    display: flex;
    align-items: center;
}

.footer ul li h3 {
    display: inline-block;
    color: #000;
    font-size: 19px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--varColor);
}

.footer ul li p {
    color: #666;
    font-size: 16px;
    line-height: 1.75em;
}

/*返回顶部*/
.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 {
    overflow: hidden;
}

/*搜索*/
.search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .95);
    z-index: 999;
    display: none;
}

.search form {
    position: relative;
    width: 600px;
    margin: 20% auto;
    max-width: 90%;
}

.search input[type="text"] {
    width: 100%;
    height: 50px;
    font-size: 16px;
    padding: 0 100px 0 10px;
    background: #FDFEFF;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.search input[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 50px;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    background: orangered;
}

.search span {
    position: absolute;
    top: 20%;
    right: 20%;
    color: #fff;
    font-size: 56px;
    cursor: pointer;
}