﻿@media screen and (max-width: 768px) {

    body{
        padding-top: 62px;
    }

    .container {
        padding: 0 10px;
    }

    section {
        padding-bottom: 0;
    }

    .search {
        display: none;
    }

    header{
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        height: auto;
        border-bottom-width: 2px;
        z-index: 99;
    }
    header .logo {
        padding: 10px;
    }
    header .logo::after {
        display: none;
    }
    header .logo img {
        height: 40px;
    }

    .toggle {
        position: absolute;
        top: 15px;
        right: 10px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 30px;
        height: 30px;
    }

    .toggle i {
        display: inline-flex;
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: .5s;
        transform-origin: 0 50%;
    }

    .toggle.on i:first-of-type {
        transform: rotate(40deg);
    }

    .toggle.on i:nth-of-type(2) {
        opacity: 0;
    }

    .toggle.on i:last-of-type {
        transform: rotate(-40deg);
    }

    nav {
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        background: linear-gradient(45deg, #AA0000 0%, #9A0909 100%);
        display: none;
    }

    nav ul {
        display: block;
        width: 100%;
    }

    nav ul li a {
        display: block;
        height: 50px;
        line-height: 50px;
        color: #fff;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    nav ul li:after {
        position: absolute;
        content: ">";
        top: 0;
        bottom: 1px;
        right: 0;
        color: #fff;
        font-size: 20px;
        font-family: '宋体';
        text-align: center;
        width: 50px;
        line-height: 50px;
        transform: rotate(90deg);
    }

    nav ul li:hover a {
        background: none;
    }

    nav dl {
        top: 51px;
        text-align: center;
        background: rgba(0, 0, 0, .8);
    }

    #swiper .swiper-pagination {
        bottom: 10px;
    }

    #swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    footer {
        height: auto;
        padding: 15px 0;
        margin-top: 30px;
    }

    footer p {
        line-height: 1.75em;
    }

    .title {
        margin: 20px 0 15px;
    }

    .news, #news, .news .flex ul, .notice, .box {
        width: 100%;
    }

    .news .flex ul {
        margin-top: 10px;
    }

    .news .flex ul li {
        margin-bottom: 14px;
    }

    .context ul li p {
        margin-bottom: 10px;
    }

    .context ul li > a {
        margin-top: 0;
        font-size: 14px;
    }

    .box ul li p {
        margin-bottom: 10px;
    }

    .banner {
        margin-bottom: 20px;
    }

    aside {
        display: none;
    }

    .bread {
        padding-bottom: 8px;
    }

    main {
        margin-bottom: 0;
        width: 100%;
    }

    .caption {
        margin: 20px 0;
    }

    .caption h2 {
        font-size: 20px;
    }

    .list-notice, .list-news {
        margin: 0.15rem 0;
    }

    .list-notice li, .list-news li {
        padding: 0.15rem 0;
    }

    .list-notice li .date {
        padding: 0 10px;
        margin-right: 15px;
    }

    .list-notice li .date h1 {
        font-size: 40px;
    }

    .list-notice li .text h2 {
        font-size: 18px;
    }

    .list-notice li .text p {
        margin-top: 5px;
    }

    .list-news li .img {
        width: 120px;
        min-width: 120px;
        height: 80px;
    }

    .list-news li .txt h2 {
        font-size: 16px;
    }

    .list-news li .txt p {
        font-size: 12px;
        line-height: 1.2em;
        margin: 5px 0;
    }

    .list-news li .txt span {
        font-size: 12px;
    }

}