@charset "UTF-8";

:root {
    --varColor: #8F000A;
}

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

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;
    /*max-width: 1920px;*/
    margin: 0 auto;
    position: relative;
}

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: 1320px;
    margin: 0 auto;
    position: relative;
}

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

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

.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 {
    position: relative;
    color: #fff;
    height: 126px;
    background: url("../images/header.png") no-repeat center;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo img {
    height: 76px;
}

.top {
    padding: 20px 0;
}

.top a {
    color: #fff;
}

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

/*导航栏*/
.nav {
    height: 48px;
}

.menu {
    display: flex;
}

.menu > li {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    position: relative;
}

.menu.lf > li {
    margin-right: 40px;
}

.menu.rt > li {
    margin-left: 40px;
}

.menu > li > a {
    display: inline-block;
    height: 48px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

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

.menu .second-menu {
    position: absolute;
    top: 49px;
    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: 18px;
    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-color: rgba(201, 61, 40, .8);
}

.toggle {
    display: none;
}

/*尾部*/
.footer {
    padding: 20px 0;
}

.footer p {
    color: #fff;
    line-height: 1.75em;
    text-align: center;
}

.footer p span {
    margin: 0 5px;
}

.footer p a {
    color: #fff;
}

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

.w120 {
    width: 120px;
}

.w100 {
    width: 100px;
}

.w80 {
    width: 80px;
}
