/* information-contact.css 页面独有样式（从 style.css 拆分） */

.banner-a:hover {
    margin-bottom: 10px;
}

.widget-inner .counter-content {
    padding: 20px 0 10PX;
    background: #eee;
}

#newclose {
    cursor: pointer;
    height: 15px;
    width: 15px;
    position: absolute;
    top: 8px;
    z-index: 8040;
    line-height: 25px;
    color: #333;
    right: 8px;
    background-size: 100%;
}

@media (min-width: 992px) {
    .contact-row {
        display: flex;
        align-items: stretch;
    }
}

@media (min-width: 992px) {
    .contact-row .contact-info,
                                .contact-row .contact-form {
        display: flex;
    }
}

@media (min-width: 992px) {
    .contact-row .contact-detail-box {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .contact-row .contact_item {
        flex: 1;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .contact-row .contact-detail {
        flex: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .contact-row .map-wrapper {
        flex: 1;
        margin-bottom: 0 !important;
        min-height: 180px;
    }
}

@media (min-width: 992px) {
    .contact-row #companyMap {
        width: 100% !important;
        height: 100% !important;
    }
}
    .con-i i {
        font-size: 36px;
        color: #807d7e;
        margin-bottom: 20px;
    }

    .contact-detail {
        margin: 0px;
    }

    .text9 {
        text-align: left;
        padding: 0px 0 10px 0;
    }

    .con-l h2 {
        display: inline-block;
        font-weight: 500;
        color: #161619;
        font-size: 14px;
        width: 110px;
    }

    .con-l div {
        font-size: 14px;
        color: #838889;
        display: inline-block;
        padding: 0 20px;
        width: 80%;
        vertical-align: middle;
    }

    .tab-contact {
        width: 100%;
        border: 0;
        margin: 50px 0 20px;
    }

    @media only screen and (max-width:768px) {
        .con-l div {
            padding: 0 !important;
        }

        .contact-form,
        .contact-info {
            padding: 0 10px !important;
        }
    }

    .fa-phone::before {
        color: #807d7e !important;
    }

    #contact-map {
        padding: 5px;
        border: 2px solid #f7f7f7;
        background-color: #f7f7f7;
    }

    .contact-detail-box {
        width: 100%;
        margin: 0 auto;
    }

    .contact-detail-titles {
        color: #000;
        font-weight: 600;
        font-size: 30px;
        text-align: left;
        line-height: 34px;
        margin: 0px auto 30px;
    }

    .con-i {
        display: none;
    }

    .tab-contact input {
        border: 1px solid #e3e7e8 !important;
        border-radius: 4px;
        box-shadow: none !important;
        width: calc(100% - 16px);
        height: 40px;
        padding: 8px;
        font-size: 14px;
        color: #111111;
    }

    .tab-contact input:focus {
        outline: none;
        border-color: #e3e7e8 !important;
    }

    .tab-contact .textarea-txt {
        border: 1px solid #e3e7e8 !important;
        border-radius: 4px;
        box-shadow: none !important;
        width: calc(100% - 16px);
        height: 40px;
        padding: 8px;
        font-size: 14px;
        color: #111111;
        height: 138px;
    }

    .form-group label {
        font-size: 14px;
        font-weight: 500;
        color: #111111;
        text-transform: capitalize;
        margin-bottom: 8px;
    }

    .tab-contact .textarea-txt:focus {
        outline: none;
        border-color: #e3e7e8 !important;
    }

    .buttons input {
        width: 138px;
        height: 40px;
        max-width: 100%;
        background: #000000;
        color: #ffffff;
        border: 1px solid #000000;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease 0s;
    }

    .buttons input:hover {
        opacity: 0.7;
        background: #000000;
        color: #ffffff;
        border: 1px solid #000000;
        transition: all 0.3s ease 0s;
    }



    .contact_us_item {
        display: flex;
        margin-bottom: 32px;
    }

    .contact_us_item .c_u_c_icon {
        width: 38px;
        height: 38px;
        border-radius: 100%;
        border: 2px solid #dbdbdb;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 16px 0 0;
    }

    .contact_us_item .c_u_c_icon svg {
        width: 20px;
        height: 20px;
    }

    .contact_us_item .c_u_c_icon svg path {
        fill: #666666;
    }

    .contact_us_item .c_u_c_content {
        width: calc(100% - 54px);
    }

    .contact_us_item .c_u_c_content h2 {
        font-size: 12px;
        color: #999999;
        margin-bottom: 8px;
    }

    .contact_us_item .c_u_c_content .c_u_c_item {
        font-size: 16px;
        color: #111111;
        font-weight: bold;
    }

    .contact_item {
        padding: 16px;
        -webkit-box-shadow: 0 7px 15px 0 rgba(0, 51, 90, 0.04);
        -moz-box-shadow: 0 7px 15px 0 rgba(0, 51, 90, 0.04);
        box-shadow: 0 7px 15px 0 rgba(0, 51, 90, 0.04);
        border-radius: 4px;
    }

    #group-content #content {
        margin-top: 0;
        margin-bottom: 60px;
    }

    /* PC端左右两列底部对齐，高度以表单为准 */
    @media (min-width: 992px) {
        .contact-row {
            display: flex;
            align-items: stretch;
        }

        .contact-row .contact-info,
        .contact-row .contact-form {
            display: flex;
        }

        .contact-row .contact-detail-box {
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        .contact-row .contact_item {
            flex: 1;
            width: 100%;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
        }

        .contact-row .contact-detail {
            flex: 1;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        /* 地图容器自动填充左侧剩余高度 */
        .contact-row .map-wrapper {
            flex: 1;
            margin-bottom: 0 !important;
            min-height: 180px;
        }

        .contact-row #companyMap {
            width: 100% !important;
            height: 100% !important;
        }
    }

    .form-group input[name=captcha] {
        width: 100%;
        height: 40px;
        margin: 0;
        border: 1px solid #e3e7e8 !important;
        box-shadow: none;
    }

    .form-group-flex {
        display: flex;
        align-items: center;
    }

    .form-group-flex .first_item {
        width: 145px;
        float: left;
        margin: 0px;
        margin-right: 16px;
    }

    .form-group-flex .last_item {
        width: calc(100% - 154px);
        float: left;
        margin: 0px;
        margin-right: 16px;
        display: flex;
        align-items: center;
    }

    .form-group-flex .last_item #captcha {
        width: 30px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .form-group-flex .last_item #captcha svg {
        width: 18px;
        height: 18px;
        transition: all 0.3s ease 0s;
    }

    .form-group-flex .last_item #captcha svg path {
        fill: #999999;
    }

    .captcha_rotating_circle svg {
        animation: rotate 1s linear infinite;
    }

    @keyframes rotate {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }
        @media (max-width: 768px) {
        .contact-detail-box {
            width: 100%;
        }

        .contact-detail-titles {
            font-size: clamp(16px, 4.7vw, 30px);
            line-height: clamp(24px,3vw,34px);
            margin-bottom: clamp(16px,2vw,30px);
            margin-top: 0 !important;
        }
        .tab-contact {
            margin: 0 !important;
        }

        .tab-contact input {
            width: 90% !important;
        }

        .textarea-txt {
            width: 100% !important;
        }
        .contact_us_item .c_u_c_content .c_u_c_item {
            font-size: clamp(14px,2.5vw,16px);
        }
    }
/* 地图层级：避免覆盖导航菜单 */
.contact-row .map-wrapper {
    position: relative;
    z-index: 1;
}
.contact-row #companyMap {
    position: relative;
    z-index: 1;
}
.contact-row #companyMap .leaflet-pane {
    z-index: 1 !important;
}
.contact-row #companyMap .leaflet-tile-pane {
    z-index: 1 !important;
}
.contact-row #companyMap .leaflet-marker-pane {
    z-index: 2 !important;
}
.contact-row #companyMap .leaflet-popup-pane {
    z-index: 3 !important;
}
