@charset "utf-8";

:root {
    --varColor: #00489A;;
}

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: 1380px;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    background: url(../images/body-bg.jpg) no-repeat center top;
}

body:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../images/header.png) no-repeat right -40px top;
}

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%;
    margin: 0 auto;
    border-collapse: collapse;
}

.profile table tr th, .profile table tr td,
.content table tr th, .content table tr td {
    border: 1px solid #D0DbE7;
}

video {
    max-width: 100%;
    object-fit: fill;
}

.lf {
    float: left;
}

.rt {
    float: right;
}

.container {
    width: 1380px;
    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;
}

/*头部*/
.header .container {
    width: auto;
    padding: 0 4%;
}

.logo {
    float: left;
    padding-top: 10px;
}

.toggle, .query {
    display: none;
}

/*导航栏*/
.nav {
    float: right;
    height: 60px;
    margin-top: 48px;
    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: 60px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.menu > li > a:hover {
    /*color: orangered;*/
}

.menu > li:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: #fff;
    transition: .3s;
}

.menu > li:hover:before {
    width: 100%;
}

.menu > li:last-of-type {
    align-items: center;
}

.menu > li span {
    display: inline-block;
    width: 21px;
    height: 22px;
    background: url(../images/search.png) no-repeat;
}

.menu > li:last-of-type:before {
    display: none;
}

.menu .second-menu {
    position: absolute;
    top: 60px;
    left: 0;
    min-width: 100%;
    width: max-content;
    background-color: #fff;
    display: none;
    z-index: 999;
}

.menu .second-menu li a {
    display: block;
    line-height: 45px;
    font-size: 16px;
    text-align: center;
    padding: 0 10px;
}

.menu .second-menu a:hover {
    color: #fff;
    background-color: var(--varColor);
}

/*尾部*/
.footer {
    padding: 60px 0;
    color: #fff;
    text-align: center;
    line-height: 1.75em;
    box-sizing: border-box;
    background: var(--varColor);
}

.footer h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer ul {
    display: flex;
    width: 70%;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 40px;
    margin: 0 auto 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.68);
}

.footer ul li {
    margin: 0 15px;
}

.footer p {
    color: rgba(255, 255, 255, 0.65);
}

.footer a {
    color: rgba(255, 255, 255, 0.65);
}

.footer p a {
    text-decoration: underline;
}

.footer a:hover {
    color: orangered;
}

.footer .code {
    margin-top: 30px;
}

/*返回顶部*/
.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 {
    /*min-height: calc(100vh - 275px);*/
}

/*搜索*/
.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: 40vh 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;
}