/* ------------------------------------------------------------------
 * 企业站补充样式
 * 原模板缺失的部分:留言表单、分页统计文字、空栏目提示、Logo
 * ------------------------------------------------------------------ */

/* 页头 Logo */
.qiehuan .site-logo {
    display: inline-block;
    padding: 18px 0;
}

.qiehuan .site-logo img {
    max-height: 60px;
    width: auto;
}

/* 分页 */
.page_list .total {
    color: #888;
    font-size: 13px;
    margin: 0 8px;
}

.page_list .disabled {
    border: #eee 1px solid;
    padding: 4px 5px;
    margin-right: 2px;
    color: #bbb;
}

.page_list .ellipsis {
    margin-right: 2px;
    color: #999;
}

.page_list a {
    color: #555;
    text-decoration: none;
}

.page_list a:hover {
    border-color: #cc9b18;
    color: #cc9b18;
}

/* 留言表单 */
.msg-intro {
    line-height: 32px;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.msg-form {
    margin-bottom: 40px;
}

.msg-row {
    margin-bottom: 20px;
}

.msg-row .msg-col {
    float: left;
    width: 48%;
}

.msg-row .msg-col + .msg-col {
    float: right;
}

.msg-form label {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: normal;
    margin-bottom: 8px;
}

.msg-form label em {
    color: #d71224;
    font-style: normal;
}

.msg-form input[type="text"],
.msg-form input[type="email"],
.msg-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    line-height: 20px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s;
}

.msg-form input[type="text"]:focus,
.msg-form input[type="email"]:focus,
.msg-form textarea:focus {
    border-color: #cc9b18;
    outline: none;
}

.msg-form textarea {
    resize: vertical;
}

.msg-actions {
    padding-top: 10px;
}

.msg-submit,
.msg-reset {
    border: none;
    border-radius: 2px;
    padding: 10px 34px;
    font-size: 15px;
    cursor: pointer;
    margin-right: 12px;
}

.msg-submit {
    background: #005766;
    color: #fff;
}

.msg-submit:hover {
    background: #cc9b18;
}

.msg-reset {
    background: #f0f0f0;
    color: #666;
}

.msg-reset:hover {
    background: #e2e2e2;
}

.msg-tip {
    font-size: 14px;
    margin-left: 6px;
}

.msg-tip.success {
    color: #0ab92f;
}

.msg-tip.error {
    color: #d71224;
}

/* 联系方式 */
.msg-contact {
    border-top: 1px dashed #ddd;
    padding-top: 26px;
}

.msg-contact li {
    float: left;
    width: 33.33%;
    list-style: none;
    padding-right: 20px;
    box-sizing: border-box;
}

.msg-contact li strong {
    display: block;
    color: #005766;
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: normal;
}

.msg-contact li span {
    color: #666;
    font-size: 14px;
    line-height: 24px;
}

@media (max-width: 767px) {
    .msg-row .msg-col,
    .msg-row .msg-col + .msg-col {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .msg-contact li {
        float: none;
        width: 100%;
        margin-bottom: 18px;
    }
}

/* 首页移动端适配：原首页为桌面固定布局，手机端需要重新排列内容。 */
@media (max-width: 767px) {
    html, body { width: 100%; overflow-x: hidden; }
    .container { width: 100%; padding-left: 16px; padding-right: 16px; }

    .header {
        position: relative;
        height: 68px;
        background: #fff;
        box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
    }
    .header-bg { height: 68px; padding: 0 16px; }
    .qiehuan { width: auto; float: left; margin: 0; }
    .qiehuan .site-logo { padding: 9px 0; }
    .qiehuan .site-logo img { max-width: 180px; max-height: 50px; }
    .nav { width: auto; float: right; margin: 0; }
    .mobile-menu-toggle {
        display: block;
        width: 42px;
        height: 42px;
        margin-top: 13px;
        padding: 9px 7px;
        border: 1px solid #005766;
        border-radius: 3px;
        background: #fff;
    }
    .mobile-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #005766; }
    .mobile_nav {
        display: none;
        position: absolute;
        z-index: 1001;
        top: 68px;
        right: 0;
        left: 0;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        background: rgba(255,255,255,.98);
        box-shadow: 0 5px 12px rgba(0,0,0,.12);
    }
    .mobile_nav.is-open { display: block; }
    .mobile_nav > ul { display: block; margin: 0; }
    .mobile_nav > ul > li { float: none; width: 100%; padding: 0; border-bottom: 1px solid #eee; text-align: left; }
    .mobile_nav > ul > li > a { display: block; padding: 14px 20px; font-size: 16px; }
    .mobile_nav .menulevel,
    .mobile_nav li:hover > .menulevel { display: block; position: static; width: 100%; margin: 0; padding: 0; }
    .mobile_nav .menulevel li { width: 100%; line-height: normal; border-bottom: 1px solid rgba(255,255,255,.25); text-align: left; }
    .mobile_nav .menulevel li a { display: block; padding: 11px 30px; }
    .mobile_nav .menulevel li a span { font-size: 14px; }
    .mobile_nav .menulevel .menulevel li a { padding-left: 44px; }

    .slide_container { margin: 0; }
    .slide_container img { min-height: 170px; object-fit: cover; }
    .gd { height: auto; }
    .gd-bg { padding: 0; }
    .gd-con li { width: 50%; height: 112px; padding-top: 18px; font-size: 27px; }
    .gd-con li span { font-size: 14px; }
    .gd-con li p { font-size: 12px; margin-top: 7px; }

    .pro, .about, .history, .ad { height: auto !important; min-height: 0; background-attachment: scroll; }
    .pro { padding: 36px 0 42px; background-position: center top; }
    .pro-bg, .about-bg, .history-bg, .ad-bg { padding-left: 16px; padding-right: 16px; }
    .pro-title, .news-title { font-size: 24px; }
    .pro-con { margin-top: 30px; }
    .pro-right { width: 100%; }
    .pro-right li { width: 50%; height: auto; min-height: 150px; }
    .pro-right li figure { margin: 0; }
    .pro-right li figure > img { display: block; width: 100%; height: auto; min-height: 145px; object-fit: cover; }
    .pro-right li p { top: auto; bottom: 12px; margin: 0; }
    .pro-right li p a { font-size: 15px; }
    .pro-right li p:after { width: 60px; margin-top: 8px; }
    .pro-gd a { width: 105px; height: 32px; line-height: 30px; margin: 55px auto 0; font-size: 13px; }

    .about { padding: 42px 0; }
    .about-nav { width: 100%; float: none; }
    .about-nav li { width: 100%; margin-bottom: 4px; padding-left: 38px; line-height: 52px; background-position: 16px center; }
    .about-nav li:hover { background-position: 16px center; }
    .about-nav li a { font-size: 16px; }
    .about-nav li a span { font-size: 13px; }
    .about-con { width: 100%; float: none; padding: 28px 20px 30px; }
    .about-nr { width: 100%; float: none; }
    .about-bt { font-size: 22px; }
    .about-diao { font-size: 14px; line-height: 26px; }
    .about-tu { width: 100%; height: auto; float: none; margin-top: 24px; }
    .about-tu img { display: block; width: 100%; height: auto; }
    .about-more { margin: 20px auto 0; }

    .history { padding: 54px 0 45px; }
    .history-con { width: 100%; float: none; }
    .history-con li { width: 100%; max-width: 290px; float: none; height: 300px; margin: 0 auto 14px !important; padding: 192px 18px 0; background-size: 100% auto; font-size: 21px; }
    .history-con li p { font-size: 13px; line-height: 23px; margin-top: 10px; }
    .history-title { width: 100%; float: none; margin-top: 20px; text-align: left; }
    .history-bt { font-size: 24px; }
    .history-bt p { font-size: 30px; line-height: 38px; }
    .history-bt:after { margin-left: 0; }
    .history-by { margin-top: 25px; font-size: 15px; line-height: 27px; }

    .ad { padding: 60px 0 48px; }
    .ad-con li { width: 50%; min-height: 210px; padding: 105px 12px 0; font-size: 15px; background-size: 78px auto; }
    .ad-con li p { font-size: 12px; line-height: 21px; margin-top: 10px; }
    .news-title { width: 100%; margin-top: 40px; }
    .news-con { margin-top: 24px; }
    .news-con li { width: 100%; height: auto; min-height: 150px; margin: 0 0 12px !important; padding: 8px 12px; }
    .gs-xbt, .gs-xnr { width: 100%; }
    .gs-xbt { margin-top: 12px; }
    .gs-xbt a { font-size: 16px; line-height: 25px; }
    .gs-xnr { margin-top: 10px; }
    .gs-xnr a { font-size: 13px; line-height: 24px; }

    .f-nav { padding: 30px 0 20px; }
    .f-nav-bg, .footer-bg { padding-left: 16px; padding-right: 16px; }
    .dh-con, .xdh { width: 100%; }
    .dh-con li { width: 33.33%; line-height: 34px; }
    .dh-con li a { font-size: 13px; }
    .xdh > ul > li { width: 33.33%; }
    .xdh > ul > li > ul > li { line-height: 28px; }
    .xdh > ul > li > ul > li a { font-size: 12px; }
    .footer { padding: 25px 0; }
    .f-lxfs, .f-tel { width: 100%; float: none; }
    .f-lxfs li { float: none; margin: 0; font-size: 13px; line-height: 27px; }
    .f-tel { margin-top: 14px; font-size: 14px; }
    .f-tel span { font-size: 20px; }
    .banq { padding-left: 12px; padding-right: 12px; line-height: 22px; }
}

@media (min-width: 768px) {
    .mobile-menu-toggle { display: none; }
}

/* ------------------------------------------------------------------
 * 图片灯箱
 * ------------------------------------------------------------------ */
.cms-zoomable {
    cursor: zoom-in;
}

.cms-zoomable span {
    position: relative;
    display: block;
    overflow: hidden;
}

.cms-zoomable span::after {
    content: "\f00e";
    font-family: FontAwesome;
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    color: #fff;
    background: rgba(0, 87, 102, .75);
    border-radius: 2px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s;
}

.cms-zoomable:hover span::after {
    opacity: 1;
    transform: translateY(0);
}

body.cms-lightbox-open {
    overflow: hidden;
}

.cms-lightbox {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10500;
}

.cms-lightbox.open {
    display: block;
}

.cms-lightbox-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .88);
    cursor: zoom-out;
}

.cms-lb-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
    pointer-events: none;
}

.cms-lb-stage img {
    display: block;
    max-width: 90vw;
    max-height: 82vh;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 6px 40px rgba(0, 0, 0, .5);
}

.cms-lb-stage figcaption {
    margin-top: 14px;
    color: #e8e8e8;
    font-size: 15px;
    line-height: 24px;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

.cms-lightbox button {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    transition: background .2s;
    padding: 0;
}

.cms-lightbox button:hover {
    background: rgba(255, 255, 255, .28);
}

.cms-lb-close {
    top: 24px;
    right: 28px;
    width: 42px;
    height: 42px;
    font-size: 28px;
    line-height: 42px;
    border-radius: 50%;
}

.cms-lb-prev,
.cms-lb-next {
    top: 50%;
    margin-top: -28px;
    width: 46px;
    height: 56px;
    font-size: 22px;
    line-height: 56px;
    border-radius: 3px;
}

.cms-lb-prev {
    left: 26px;
}

.cms-lb-next {
    right: 26px;
}

.cms-lb-counter {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    color: #bbb;
    font-size: 13px;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .cms-lb-prev { left: 8px; }
    .cms-lb-next { right: 8px; }
    .cms-lb-close { top: 10px; right: 10px; }
    .cms-lb-stage img { max-width: 94vw; max-height: 74vh; }
}
