﻿@charset "UTF-8";

:root {
    --varColor: #EB5A2C;
    --focusColor: #EC5B2D;
    --swiper-theme-color: #EB5A2C;
}

html {
    font-size: 100px;
    scroll-behavior: smooth;
}

@media screen and (max-width: 1280px) {
    html {
        font-size: 96px;
    }
}

@media screen and (max-width: 1200px) {
    html {
        font-size: 80px;
    }
}

@font-face {
    font-family: AlimamaShuHeiTi;
    src: url('../fonts/AlimamaShuHeiTi-Bold.ttf');
}

@font-face {
    font-family: Barlow;
    src: url('../fonts/Barlow-Bold.ttf');
}

@font-face {
    font-family: SourceHanSerifCN;
    src: url('../fonts/SourceHanSerifCN-Bold.otf');
}

body, p, h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, div, span {
    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: clamp(12px, 0.14rem, 0.14rem);
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

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: 14rem;
    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: relative;
    padding-top: 0.1rem;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 0.1rem;
    background: linear-gradient(90deg, #F3883D 0%, #EA542A 100%);
}

header .flex {
    height: 100%;
    align-items: flex-end;
}

header .logo {
    padding: 0.2rem 0;
}

header .logo img {
    max-height: 0.92rem;
}

.search form {
    position: relative;
    width: 3.6rem;
    margin: 0 auto 0.2rem;
    font-size: 0.16rem;
}

.search input[type='text'] {
    width: 100%;
    height: 0.4rem;
    font-size: 0.16rem;
    padding: 0 55px 0 0.15rem;
    border-radius: 3px;
    border: 1px solid #D4D4D4;
    box-sizing: border-box;
}

.search input[type='submit'] {
    position: absolute;
    top: 0;
    right: 0;
    width: 0.4rem;
    height: 0.4rem;
    background: url("../images/search.png") no-repeat center center;
    cursor: pointer;
}

input[type='text']::placeholder {
    color: #666;
}

header .date {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 4rem;
    height: 0.4rem;
    padding: 0 0.2rem;
    background: #F17B38;
    clip-path: polygon(0.2rem 0%, calc(100% - 0.2rem) 0%, 100% 100%, 0% 100%);
}

header .date p {
    color: #fff;
    font-size: 0.18rem;
}

header .date a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 0.32rem;
    background: #FFFFFF;
    border-radius: 0.3rem;
}

header .date a img {
    margin-right: 5px;
}

/*导航*/
nav {
    background: linear-gradient(90deg, #EA542A 0%, #F3883D 100%);
}

nav ul {
    display: flex;
}

nav ul li {
    flex-grow: 1;
    position: relative;
}

nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0.63rem;
    color: #fff;
    font-size: 0.20rem;
    font-weight: bold;
    padding: 0 0.15rem;
}

nav ul li:hover a {
    background: rgba(0, 0, 0, .6);
}

nav dl {
    position: absolute;
    top: 0.63rem;
    left: 0;
    min-width: 100%;
    width: max-content;
    z-index: 9;
    display: none;
}

nav dl dt a {
    height: 0.5rem;
    font-size: 0.18rem;
}

nav dl dt a:hover {
    color: #fff;
    background: var(--varColor);
}

/*轮播图*/
#swiper, #swiper img {
    width: 100%;
    min-height: 1.4rem;
}

#swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: rgba(10, 10, 10, 0.63);
    opacity: 1;
}

#swiper .swiper-pagination-bullet-active {
    background: #fff;
}

/*尾部*/
footer {
    height: 2.7rem;
    color: #fff;
    margin-top: 0.32rem;
    padding: 0.22rem 0;
    box-sizing: border-box;
    background: url("../images/footer.png") no-repeat center center;
    background-size: cover;
}

footer > .flex {
    align-items: center;
}

footer h3 {
    font-size: 0.18rem;
}

footer form {
    display: flex;
    margin: 0.10rem 0 0.22rem;
}

footer form input[type='text'] {
    width: 4.85rem;
    height: 0.42rem;
    font-size: 0.16rem;
    padding: 0 0.15rem;
    background: #FFFFFF;
    box-sizing: border-box;
}

footer form input[type='submit'] {
    color: #fff;
    font-size: 0.16rem;
    width: 0.6rem;
    height: 0.42rem;
    background: #AA3A08;
    cursor: pointer;
}

.foot1 p {
    line-height: 2em;
}

.foot2 {
    line-height: 2em;
}

.foot2 ul {
    width: 3.68rem;
}

.foot2 ul li {
    float: left;
    width: 50%;
}

.foot2 ul li a {
    color: #fff;
    position: relative;
    left: 0;
}

.foot2 ul li a:hover {
    left: 10px;
}

.foot3 {
    display: flex;
}

.foot3 div:last-of-type {
    margin-left: 0.22rem;
}

.foot3 p {
    font-size: 12px;
    text-align: center;
    line-height: 2.5em;
}

/*返回顶部*/
.toTop {
    position: fixed;
    right: 0.15rem;
    bottom: -100px;
    width: 0.4rem;
    height: 0.4rem;
    line-height: 0.4rem;
    text-align: center;
    color: #fff;
    font-size: 0.24rem;
    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: 1;
}

/*响应式适配多端*/
@media screen and (max-width: 1400px) {

    .container {
        width: 100%;
        padding: 0 0.2rem;
    }

}

/*浏览器滚动条样式*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 4px;
}

/*
 * jQuery Nivo Slider v3.2
 */

.slider-wrapper{
    position: relative;
}

/* The Nivo Slider styles */
.nivoSlider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.nivoSlider img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    min-height: 120px;
}

.nivo-main-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
}

/* The slices and boxes in the Slider */
.nivo-slice {
    display: block;
    position: absolute;
    z-index: 5;
    height: 100%;
    top: 0;
}

.nivo-box {
    display: block;
    position: absolute;
    z-index: 5;
    overflow: hidden;
}

.nivo-box img {
    display: block;
}

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    z-index: 9;
    cursor: pointer;
}

.nivo-prevNav {
    left: 0;
    background: rgba(0,0,0,.5) url("../images/prev.png") no-repeat center center;
}

.nivo-nextNav {
    right: 0;
    background: rgba(0,0,0,.5) url("../images/next.png") no-repeat center center;
}

.nivo-directionNav a:hover {
    background-color: #000;
}

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    padding: 15px 0;
    z-index: 9;
}

.nivo-controlNav a {
    display: inline-flex;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: #eee;
    border-radius: 50%;
    font-size: 0;
    cursor: pointer;
}

.nivo-controlNav a.active {
    background: var(--varColor);
}

