/* header */
.header {
    height: 59px;
    border-bottom: 2px solid #f0f2f3;
    background-color: #fff;
}

.header .logo {
    position: absolute;
    top: 12px;
    font-size: 25px;
    color: rgb(0, 102, 255);
}

.header .layui-nav {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    background: none;
}

.header .layui-nav .layui-nav-item {
    margin: 0 20px;
}

.header .wechat-icon {
    font-size: 20px;
    color: #00c060;
}

.header a {
    /* font-size: 16px; */
    color: rgb(18, 18, 18);
}

.layui-nav .layui-nav-item a:hover,
.layui-nav .layui-this a {
    color: rgb(18, 18, 18);
}

.layui-nav .layui-nav-item a {
    color: rgb(18, 18, 18);
}

.layui-nav .layui-this:after, .layui-nav-bar,
.layui-nav-tree .layui-nav-itemed:after {
    background-color: rgb(0, 102, 255);
}

.head-image {
    width: 35px;
    border-radius: 50%;
}

/* background */
.background-div {
    background-color: rgb(246, 246, 246);
}

/* section */
.section-row {
    height: 700px;
    border-radius: 10px;
    background-color: rgb(255,255,255);
}

.section-row h1 {
    text-align: center;
    font-size: 40px;
    margin-top: 100px;
    margin-bottom: 100px;
    font-weight: bold;
    color: rgb(0, 102, 255);
}

.section-row h2 {
    text-align: left;
    margin-left: 150px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgb(66, 72, 83);
}

.section-row p {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgb(66, 72, 83);
}


/* company */
.company-row {
    padding-top: 50px;
    padding-bottom: 300px;
    border-radius: 10px;
    background: white;
}

.page-title {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-sub-title {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.company-col {
    text-align: center;
}

.company-col h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* contact */
.contact-row {
    padding-top: 50px;
    padding-bottom: 300px;
    border-radius: 10px;
    background: white;
}

.contact-col {
    text-align: center;
}

.contact-col h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.contact-col img {
    margin-top: 20px;
}

/* footer */
.footer {
    background: rgb(66, 72, 83);
    padding: 20px 0;
    margin-top: 10px;
    color: #fff;
    text-align: center;
}

.footer p a {
    margin-left: 10px;
    color: #fff;
}

/* 适配手机 */
@media screen and (max-width: 768px) {

    /* disable horizontal scroll */
    html, body {
      overflow-x: hidden;
    }
    body {
      position: relative;
    }

    /* */
    .layui-main {
        width: auto;
        margin: 0 10px;
    }

    .header .logo {
        top: 18px;
        font-size: 16px;
    }

    .header a {
        /* font-size: 12px; */
    }

    /* section */
    .section-row {
        height: 500px;
        border-radius: 10px;
    }

    .section-row h1 {
        font-size: 36px;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .section-row h2 {
        margin-left: calc(50% - 150px);
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .section-row p {
        font-size: 15px;
        margin-left: calc(50% - 100px);
        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* company */
    .company-row {
        padding-top: 50px;
        padding-bottom: 300px;
        border-radius: 10px;
    }

    .page-title {
        text-align: center;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .company-col {
        text-align: center;
    }

    .company-col h2 {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .company-col p {
        margin-left: 10px;
        margin-right: 10px;
    }

    /* contact */
    .contact-row {
        padding-top: 50px;
        padding-bottom: 300px;
        border-radius: 10px;
    }

    .contact-col {
        text-align: center;
    }

    .contact-col h2 {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .contact-col p {
        margin-left: 10px;
        margin-right: 10px;
    }

    .contact-col img {
        margin-top: 20px;
    }

    /* footer */
    .footer {
        padding: 20px 0;
        margin-top: 10px;
        font-size: 12px;
    }

    .footer p a {
        margin-left: 10px;
    }
}


@media screen and (max-width: 320px) {
    .section-row h1 {
        font-size: 32px;
    }

    .section-row h2 {
        margin-left: 10px;
        font-size: 14px;
    }

    /* footer */
    .footer p a {
        margin-left: 5px;
    }
}