/* base */
body,
ul,
p,
h1,
h2,
h3 {
    margin: 0;
}

body {
    font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #333;
}

ul {
    padding: 0;
    list-style: none;
}

a {
    color: #666;
    text-decoration: none;
}

a:hover {
    color: #111;
}

img {
    vertical-align: middle;
}

/* top */
.top {
    display: flex;
    justify-content: flex-start;
    background-color: #333;
}

.top p {
    padding: 10px 20px;
}

.top a {
    color: #fff;
}

/* header */
.header {
    padding: 30px 0;
    background-color: #fff;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-logo a {
    font-size: 32px;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.header-nav li {
    position: relative;
    padding: 0 20px;
    font-size: 18px;
}

.header-nav-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0 20px;
}

.header-nav-sub li {
    padding-top: 10px;
    white-space: nowrap;
}

.header-nav li:hover .header-nav-sub {
    display: block;
    background: rgb(255, 255, 255, .6);
    z-index: 3;
}

.header-menu {
    display: none;
    position: relative;
    width: 30px;
    height: 40px;
    cursor: pointer;
}

.header-menu span:nth-child(1) {
    width: 30px;
    top: 25%;
}

.header-menu span:nth-child(2) {
    width: 22px;
    top: 48%;
}

.header-menu span:nth-child(3) {
    width: 26px;
    top: 73%;
}

.header-menu-on span:nth-child(1) {
    top: 48%;
    width: 32px;
    transform: rotate(45deg);
}

.header-menu-on span:nth-child(2) {
    display: none;
}

.header-menu-on span:nth-child(3) {
    top: 48%;
    width: 32px;
    transform: rotate(-45deg);
}

/* banner */
.banner {
    position: relative;
}

.banner-wrap {
    display: flex;
    overflow: hidden;
}

.banner-item {
    position: relative;
    flex: 0;
    opacity: 0;
    transition: opacity 2s linear;
}

.banner-item.banner-item-on {
    flex: 1;
    opacity: 1;
}

.banner-item a {
    display: block;
    overflow: hidden;
}

.banner-item img {
    width: 100%;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    text-align: center;
    font-size: 18px;
    color: #fff;
}

.banner-item-on .banner-content {
    visibility: visible;
}

.banner-content h3 {
    padding-bottom: 20px;
    font-size: 32px;
}

.banner-prev,
.banner-next {
    display: none;
    position: absolute;
    top: 45%;
    padding: 5px 10px;
    border-radius: 3px;
    background: rgb(0, 0, 0, .5);
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.banner:hover .banner-prev,
.banner:hover .banner-next {
    display: block;
}

.banner-prev {
    left: 10%;
}

.banner-next {
    right: 10%;
}

/* banner-mini */
.banner-mini {
    height: 240px;
    line-height: 240px;
    background: url('/upload/banner-mini.jpg') center/cover no-repeat;
    text-align: center;
    font-size: 56px;
    color: #fff;
}

/* location */
.location {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    color: #aaa;
}

.location span {
    padding: 0 10px;
}

/* about */
.about {
    margin: 60px 0;
    padding: 100px 20px;
    background: url('/upload/article-bg.jpg') center/cover no-repeat;
}

.about-content {
    max-width: 1130px;
    margin: 0 auto;
    padding: 50px 35px;
    background: rgb(43, 58, 161, .8);
    color: #fff;
}

.about-content h3 {
    font-size: 26px;
}

.about-content p {
    padding-top: 30px;
}

.about-content a {
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
}

/* article */
.article1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article1-left {
    width: 40%;
}

.article1-left img {
    width: 100%;
}

.article1-right {
    flex: 1;
    padding-left: 50px;
}

.article1-right h3 {
    font-size: 26px;
}

.article1 p {
    padding-top: 30px;
}

.article2 {
    max-width: 1160px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* message */
.message {
    max-width: 1160px;
    margin: 60px auto;
    padding: 20px;
    background-color: #f6f6f6;
}

.message p+p {
    padding-top: 20px;
}

.message input,
.message textarea {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 0 10px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
    font-family: inherit;
    font-size: 16px;
    line-height: 50px;
    outline: 0;
}

.message textarea {
    height: 160px;
    padding: 10px;
    line-height: 1.5;
}

.message button {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 5px;
    background: #5362b4;
    text-align: center;
    font-family: inherit;
    font-size: 16px;
    line-height: 50px;
    outline: 0;
    color: #fff;
    cursor: pointer;
}

/* footer */
.footer {
    background-color: #231f20;
    color: #999;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-content li {
    width: 25%;
}

.footer-content p {
    padding: 20px;
}

.footer-content p:first-child {
    padding-bottom: 0;
    font-size: 22px;
    color: #fff;
}

.footer-content a {
    color: #999;
}

.footer-copy {
    max-width: 1300px;
    border-top: 1px solid #393637;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}

/* responsive */
@media (max-width: 1080px) {
    .top {
        display: none;
    }

    .header {
        padding: 10px 0;
    }

    .header-nav {
        position: fixed;
        top: 68px;
        left: 100%;
        width: 85%;
        height: calc(100vh - 68px);
        background-color: #fff;
        transition: all .15s linear;
        opacity: 0;
        visibility: hidden;
        z-index: 999;
    }

    .header-nav.header-nav-on {
        flex-direction: column;
        justify-content: flex-start;
        left: 15%;
        opacity: 1;
        visibility: visible;
    }

    .header-nav-on li {
        padding: 10px 20px;
    }

    .header-nav-sub {
        display: block;
        position: relative;
        top: 0;
        left: 0;
    }

    .header-menu {
        display: block;
    }

    .header-menu span {
        position: absolute;
        background: #666;
        height: 3px;
        border-radius: 4px;
        left: 0px;
        transition: all .2s linear;
    }

    .article1-left {
        width: 100%;
    }

    .article1-right {
        padding: 30px 0 0;
    }

    .footer-content li {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .banner-content {
        font-size: 16px;
    }

    .banner-content h3 {
        padding-bottom: 10px;
        font-size: 20px;
    }

    .banner-prev,
    .banner-next {
        display: none;
    }

    .footer-content li {
        width: 100%;
    }
}