﻿/* ================================
   云黄页 _temp1 模板全局样式
   File: /_temp1/css.css
   ================================ */

/* --- 1. 基础重置 --- */
* { margin: 0; padding: 0; font-size: 14px; font-family: "Microsoft YaHei", Arial, sans-serif; color: #131313; box-sizing: border-box; }
img { border: 0; display: inline-block; font-size: 0; position: relative; vertical-align: middle; max-width: 100%; }
a { text-decoration: none; color: #333; transition: color 0.2s; }
a:hover { color: #1f71c2; }
body { margin: 0; padding: 0; background-color: #f9f9f9; line-height: 1.6; }
table { border-collapse: collapse; border-spacing: 0; }
ul, li { list-style: none; }

/* --- 2. 通用工具类 --- */
.h15 { height: 15px; clear: both; overflow: hidden; }
.h10 { height: 10px; clear: both; overflow: hidden; }
.w1190 { width: 1190px; margin: 0 auto; }
.w300 { width: 300px; }
.w860 { width: 860px; }
.flex_box { display: flex; justify-content: space-between; align-items: center; }
.flex_col { display: flex; flex-direction: column; }
.clearfix::after { content: ""; display: table; clear: both; }

/* --- 3. 字体图标 --- */
@font-face {
  font-family: 'iconfont';
  src: url('//at.alicdn.com/t/font_3418609_qz8ho9mjic.woff2?t=1654136791779') format('woff2'),
       url('//at.alicdn.com/t/font_3418609_qz8ho9mjic.woff?t=1654136791779') format('woff'),
       url('//at.alicdn.com/t/font_3418609_qz8ho9mjic.ttf?t=1654136791779') format('truetype');
}
.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- 4. 顶部工具栏 (TopControl) --- */
.top-bar {
    height: 40px;
    background-color: #f6f6f6;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: #666;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; }
.top-bar-right a { color: #666; margin: 0 5px; font-size: 12px; }
.top-bar-right a:hover { color: #1f71c2; }
.divider { color: #ccc; margin: 0 2px; }

/* --- 5. 头部主体 (TopControl) --- */
.header-main { background-color: #fff; padding: 10px 0; min-height: 100px; }
.header-logo-box { display: flex; align-items: center; width: 100%; }
.logo-img-box, .logo-text-box {
    width: 100px; height: 100px;
    display: flex; justify-content: center; align-items: center;
}
.logo-img-box img { max-width: 100px; max-height: 100px; object-fit: contain; }
.logo-text-box {
    font-size: 27px; background-color: #3575ea; color: #fff;
    font-weight: 700; letter-spacing: 2px; border-radius: 10px;
    padding: 10px 15px; text-align: center; line-height: 1.2;
}
.logo-divider { width: 1px; height: 80px; background-color: #cecece; margin: 0 15px; }
.header-info-col {
    flex-grow: 1; display: flex; flex-direction: column;
    justify-content: space-between; height: 100px;
}
.header-row-top, .header-row-bottom { height: 50px; align-items: center; display: flex; }
#cnameh1 { font-size: 24px; font-weight: 700; color: #333; margin-right: 20px; white-space: nowrap; }
.header-status-group { align-items: center; margin-right: 20px; display: flex; }
.cert-status { font-size: 12px; color: #666; margin-right: 15px; display: flex; align-items: center; }
.cert-status img { width: 16px; height: 16px; margin-left: 2px; }
.vip-year { font-size: 12px; color: #666; text-align: right; width: 150px; }
.year-num { font-size: 18px; font-weight: 700; color: #ff6a00; font-style: italic; }
.header-actions { display: flex; align-items: center; }
.btn-claim {
    background-color: #db1111; color: #fff; height: 30px; line-height: 30px;
    text-align: center; cursor: pointer; width: 80px; font-size: 13px;
    border-radius: 2px; transition: opacity 0.2s;
}
.btn-share {
    background-color: #1f71c2; color: #fff; height: 30px; padding: 0 10px;
    display: flex; align-items: center; cursor: pointer; width: 120px;
    font-size: 13px; border-radius: 2px; position: relative; margin-left: 10px;
}
.share-qrcode {
    width: 120px; background-color: #f6f6f6; padding: 10px;
    position: absolute; left: 0; top: 30px; display: none;
    z-index: 100; box-shadow: 0 2px 5px rgba(0,0,0,0.2); text-align: center;
}
.main-products {
    width: 750px; display: -webkit-box; -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis;
    line-height: 24px; height: 48px; color: #666; font-size: 14px;
}
.contact-phone { font-size: 24px; color: #1f71c2; font-weight: 700; display: flex; align-items: center; }
.phone-icon { font-size: 28px; color: #ff0000; margin-right: 5px; }

/* --- 6. 导航栏 (TopControl) --- */
.nav-bar { height: 50px; background-color: #1f71c2; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
#navigation_box { position: relative; z-index: 100; }
#nav_ul { display: flex; }
.nav_li { width: 119px; text-align: center; position: relative; list-style: none; }
.nav_li ul {
    display: none; position: absolute; top: 100%; left: 0;
    margin: 0; padding: 0; z-index: 999; background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.nav_li ul li { list-style: none; border-bottom: 1px solid #eee; }
.navigation_a {
    width: 119px; color: #edefed; font-size: 14px;
    padding: 15px 0; line-height: 20px; text-align: center;
    display: block; background-color: #097dce;
}
.navigation_a:hover, .hover_nav { color: #ffffff; background-color: #2791db; }
.nav_li ul .navigation_a {
    width: 100%; background-color: #fff; color: #333;
    border: none; padding: 10px 0;
}
.nav_li ul .navigation_a:hover { background-color: #f0f0f0; color: #1f71c2; }

/* --- 7. 轮播图 (TopControl) --- */
.banner-container { background: #fff; }
#kinMaxShow { position: relative; overflow: hidden; visibility: hidden; height: 360px; }
#kinMaxShow img { width: 100%; display: block; }

/* --- 8. 弹窗 (TopControl/Global) --- */
.rl_bg_box {
    width: 100vw; height: 100vh; display: none; position: fixed;
    z-index: 999; background-color: rgba(0,0,0,0.5);
    justify-content: center; align-items: center;
}
.rl_content_box {
    width: 600px; background-color: #fff; height: 420px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2); position: relative;
    border-radius: 4px; overflow: hidden;
}
.close_rl {
    width: 40px; height: 40px; background-color: #ff4444; color: #fff;
    font-size: 20px; font-weight: bold; text-align: center; line-height: 40px;
    display: block; cursor: pointer; position: absolute; right: 0; top: 0;
    z-index: 10; transition: background 0.2s;
}
.close_rl:hover { background-color: #cc0000; }

/* --- 9. 主布局 (Default.aspx) --- */
#page_main { width: 1190px; margin: 0 auto; }
.main-layout { display: flex; justify-content: space-between; margin-top: 15px; }
.sidebar-left { width: 240px; flex-shrink: 0; }
.content-right { width: 930px; overflow: hidden; }

/* --- 10. 内容板块 (Default.aspx) --- */
.section-box {
    border: 1px solid #e6e6e6; border-top: 2px solid #000;
    padding: 15px; background: #fff; margin-bottom: 15px;
}
.right_title {
    height: 40px; border-bottom: 1px solid #e6e6e6;
    line-height: 40px; display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 15px;
}
.right_title h5 { font-size: 17px; font-weight: bold; color: #000; }
.right_title_more { font-size: 12px; color: #999; }
.right_title_more:hover { color: #1f71c2; }

.company-content { padding: 15px 0; position: relative; min-height: 140px; }
.ad-336-box {
    width: 336px; height: 280px; float: left; margin-right: 15px;
    margin-bottom: 10px; background: #f5f5f5;
    display: flex; align-items: center; justify-content: center; color: #ccc;
}
.company-text { line-height: 24px; color: #666; font-size: 13px; overflow: hidden; }
.company-text a { color: #1f71c2; text-decoration: underline; }
.ad-banner-box {
    width: 100%; min-height: 90px; background: #f5f5f5;
    margin: 15px 0; display: flex; align-items: center; justify-content: center;
}

/* --- 11. 产品列表 (Default.aspx) --- */
.product-box { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 18px; }
.product-item { margin-bottom: 0; }
.product-list {
    width: 165px; height: 165px; border: 1px solid #cccccc;
    display: block; overflow: hidden; transition: all 0.2s; background: #fff;
}
.product-list:hover { border-color: #ff0000; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.product_list_img {
    width: 165px; height: 165px; display: flex;
    align-items: center; justify-content: center; background-color: #f1f1f1;
}
.product_list_img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product_list_a { display: block; margin-top: 5px; }
.product_list_text {
    width: 165px; height: 40px; line-height: 20px; text-align: center;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; color: #1e50a2; font-size: 13px;
}
.product_list_text:hover { color: #ff0000; }
.product-placeholder { width: 165px; height: 210px; visibility: hidden; }

/* --- 12. 友情链接 (Default.aspx) --- */
.footer-link-section {
    width: 1190px; margin: 15px auto 30px; border: 1px solid #cccccc;
    border-top: 1px solid #1f71c2; background: #fff; text-align: left;
}
.link-header {
    display: flex; justify-content: space-between; align-items: center;
    background-color: #f7f7f7; height: 40px; padding: 0 15px;
}
.link-title {
    line-height: 40px; height: 40px; color: #1f71c2; width: 120px;
    text-align: center; cursor: pointer; font-weight: bold; transition: all 0.2s;
}
.link-title:hover, .link-title-hover { background-color: #1f71c2; color: #fff; }
.link-contact {
    line-height: 40px; color: #1f71c2; display: flex; align-items: center;
    flex-grow: 1; justify-content: flex-end; font-size: 13px;
}
.link-contact img { position: relative; top: 2px; margin-left: 10px; }
.link-content-area { padding: 15px; }
.link-text-main {
    overflow-y: auto; display: none; line-height: 30px;
    text-align: left; height: auto; min-height: 60px;
}
.link-text-main-hover { display: flex; flex-wrap: wrap; animation: fadeIn 0.3s; }
.link-a {
    line-height: 30px; padding: 0 10px; height: 30px; color: #5b5a5a;
    display: inline-block; border-radius: 2px;
}
.link-a:hover { background-color: #f15555; color: #fff; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- 13. 底部区域 (BtnControl) --- */
.footer-section {
    width: 100%; background-color: #1f71c2; padding: 30px 0; color: #fff;
}
.footer-layout { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-left { width: 300px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.footer-left img { margin-bottom: 10px; max-width: 150px; }
.footer-left p { font-size: 12px; line-height: 24px; color: #e0e0e0; }
.footer-left a { color: #fff; margin: 0 5px; }
.footer-left a:hover { color: #bae3fe; }

.footer-right { width: 860px; }
.footer-row { line-height: 30px; margin-bottom: 5px; font-size: 13px; color: #e0e0e0; }
.btn_a_box a {
    color: #fff; padding: 0 10px; line-height: 30px; display: inline-block;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.btn_a_box a:last-child { border-right: none; }
.btn_a_box a:hover { color: #bae3fe; }
.products-row span { color: #fff; font-weight: bold; margin-right: 5px; }
.no-product-info { color: #999; font-size: 12px; }

/* --- 14. 分页 (Global) --- */
.pager_box { clear: both; text-align: center; line-height: 40px; margin: 20px auto; font-size: 14px; color: #000; }
.pager {
    font-size: 14px; padding: 0 10px; color: #666; line-height: 25px;
    display: inline-block; background-color: #fff; margin: 0 5px; border: 1px solid #eee;
}
.pager_hover, .pager:hover { background-color: #00428e; color: #fff; }

/* --- 15. 左侧边栏辅助 (LeftControl) --- */
.left_lx { padding: 0 10px; margin-top: 10px; line-height: 24px; }
.left_title {
    height: 40px; border-bottom: 1px solid #e6e6e6;
    line-height: 40px; display: flex; align-items: center;
}
.left_title .iconfont { color: #2791db; font-size: 25px; margin-right: 5px; }