﻿@media screen and (max-width: 768px) {

    .container {
        padding: 0 10px;
    }

    header .logo {
        padding: 10px 0;
    }

    header .logo img {
        height: 30px;
    }

    .toggle {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 30px;
        height: 30px;
    }

    .toggle i {
        display: inline-flex;
        width: 100%;
        height: 3px;
        background: var(--varColor);
        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: 50px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        background: linear-gradient(45deg, #AA0000 0%, #A41F35 100%);
        display: none;
    }

    nav ul {
        display: block;
        width: 100%;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        display: block;
        height: 50px;
        line-height: 50px;
        padding: 0 10px;
        color: #fff;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    nav ul li:after {
        display: none;
    }

    nav ul li:before {
        position: absolute;
        content: ">";
        top: 0;
        bottom: 1px;
        right: 0;
        color: #fff;
        font-size: 20px;
        font-family: 'fangsong';
        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, .9);
    }

    #swiper .swiper-pagination {
        bottom: 5px;
    }

    #swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    #swiper .swiper-pagination-bullet-active {
        width: 24px;
        border-radius: 12px;
    }

    footer {
        padding: 15px 0;
        margin-top: 30px;
    }

    section > div{
        padding: 0;
    }

    section .container {
        padding: 20px 10px;
    }

    .title {
        margin-bottom: 15px;
    }

    .title div p {
        font-size: 15px;
    }
    .title h2 {
        font-size: 20px;
    }

    .title div a {
        font-size: 13px;
        padding: 5px 10px;
    }

    .title div img {
        height: 28px;
    }

    .intro {
        width: 100%;
    }

    .intro-text {
        margin: 15px 0;
        padding: 10px;
    }

    .intro-more a {
        font-size: 15px;
        padding: 5px 10px;
    }

    .intro-more img {
        height: 32px;
    }

    .intro-img {
        width: 100%;
        margin-top: 15px;
    }

    .news .title {
        padding-right: 40px;
    }

    #news .swiper-slide .img {
        height: 66vw;
    }

    #news .swiper-slide h3 {
        font-size: 18px;
        margin: 10px 0;
    }

    #news .swiper-slide p {
        font-size: 16px;
    }
    #news .swiper-slide p span {
        font-size: 13px;
    }

    .news .swiper-button-prev, .news .swiper-button-next {
        top: 25px;
        width: 29px;
        height: 30px;
    }

    .news .swiper-button-prev {
        right: 132px;
    }
    .news .swiper-button-next {
        right: 10px;
    }

    .project .item, .project ul {
        width: 100%;
    }
    .project .item .img {
        height: 66vw;
    }
    .project span {
        font-size: 20px;
    }
    .project h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .project p {
        height: auto;
        margin-bottom: 15px;
    }
    .project ul {
        margin-bottom: -10px;
    }
    .project ul li {
        width: 48.5%;
    }
    .project ul li .img {
        height: 33vw;
    }

    .contact ul {
        width: 100%;
    }
    .contact ul li {
        margin-bottom: 5px !important;
    }
    .contact ul li p {
        font-size: 18px;
    }

    .contact .map {
        width: 100%;
        margin-top: 8px;
    }

    .banner{
        margin-bottom: 15px;
    }

    aside {
        display: none;
    }

    main {
        margin: -20px 0;
    }

    .bread{
        height: auto;
        font-size: 12px;
        margin-bottom: 15px;
    }
    .bread span {
        font-size: 12px;
    }
    .bread h2 {
        font-size: 18px;
    }

    .list li span {
        margin-left: 10px;
    }

    .caption h2 {
        font-size: 20px;
    }
    .caption p {
        font-size: 14px;
    }

    .list-project li .img {
        width: 100px;
        min-width: 100px;
        height: 75px;
    }

    .list-project li .text div h3 {
        font-size: 16px;
        line-height: 1.2em;
    }
    .list-project li .text div p span {
        font-size: 10px;
    }
    .list-project li .text > p {
        display: none;
    }

    .list-project li .text h4 a {
        padding-right: 40px;
    }

    .list-news li {
        width: 48.5%;
        margin-bottom: 10px;
    }

    .list-news li .img {
        height: 34vw;
    }
    .list-news li .txt {
        padding: 10px;
    }

    .list-news li .txt h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .list-news li .txt p {
        font-size: 12px;
    }

}