﻿/* --- Default.aspx Specific Styles --- */

/* 各省企业 (四列纵排布局) */
.province-sections {
    background: #fff;
    font-family: "Microsoft YaHei", sans-serif;
}

.prov-row {
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    margin: 15px auto;
    overflow: hidden;
}

.prov-row:last-child {
    border-bottom: none;
}

/* 标题区 */
.prov-header {
    height: 50px;
    line-height: 50px; /* 这个高度需要能容纳下楼层标签 */
    background: #fdfdfd;
    /* position: relative; 不再需要 */
}

/* 新增：楼层标签样式 */
.floor-label {
    /* 移除了绝对定位相关属性 */
    background-color: #d11120;
    color: white;
    font-size: 24px; /* 或者根据喜好调整 */
    font-weight: bold;
    padding: 2px 8px; /* 稍微加大一点padding */
    float: left;
    margin-right: 8px; /* 与后面的文字有间距 */
    display: inline-block; /* 确保它能包裹内容 */
    vertical-align: middle; /* 与旁边文字垂直居中对齐 */
    text-align: center;
    min-width: 28px; /* 确保所有标签宽度一致 */
    box-sizing: border-box;
}

.prov-title {
    float: left;
    font-size: 22px;
    font-weight: bold;
    color: #d11120;
    margin-right: 20px;
    /* 添加垂直居中 */
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.prov-cities {
    float: right;
    max-width: 1000px;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prov-cities a {
    margin-right: 10px;
    color: #666;
    text-decoration: none;
}

.prov-cities a:hover {
    color: #d11120;
    text-decoration: underline;
}

/* === 核心四大列布局 (比例 2:2:5:3) === */
.four-columns-wrapper {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-top: 2px solid #f0f0f0;
    padding-top: 10px;
}

.col-box {
    display: table-cell;
    vertical-align: top;
    padding: 0 8px;
    box-sizing: border-box;
    position: relative;
}

/* 列宽定义 */
.col-img {
    width: 16.66%;
} /* 2/12 - 形象图 */

.col-boss {
    width: 16.66%;
} /* 2/12 - 老板名录 */

.col-comp {
    width: 48.00%;
} /* 6/12 - 企业名录 */

.col-rec {
    width: 18.66%;
} /* 2/12 - 推荐企业 */

/* --- 第1列：形象图 (大图展示) --- */
.big-img-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.big-img-item {
    width: 48%;
    margin-bottom: 5px;
    border: 1px solid #eee;
    padding: 3px;
    background: #fff;
    text-align: center;
}

.big-img-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.big-img-item span {
    font-size: 11px;
    color: #666;
    display: block;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- 第2列 & 第3列：列表容器 (每行3个) --- */
.list-grid-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-content: flex-start;
}

.list-item-3 {
    width: 32%;
    font-size: 13px;
    line-height: 30px;
    height: 30px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
    padding-left: 5px;
    box-sizing: border-box;
}

.list-item-3 a {
    color: #333;
    text-decoration: none;
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-3 a:hover {
    color: #d11120;
    text-decoration: underline;
}

/* 列标题小字 */
.col-title {
    font-size: 14px;
    font-weight: bold;
    color: #d11120;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 8px;
    text-align: center;
}

/* --- 第4列：推荐列表 (每行1个) --- */
.list-grid-1 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-item-1 {
    background: #fff8f8;
    border: 1px solid #ffebeb;
    padding: 3px 5px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    text-align: left;
}

.list-item-1 strong {
    color: #d11120;
    margin-right: 5px;
}

.list-item-1 p {
    margin: 0;
    font-size: 12px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- 优化后的老板名录标签样式 --- */
.boss-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.boss-tag-link {
    /* 统一固定宽度，居中对齐文字 */
    min-width: 65px;
    width: auto;
    text-align: center;

    /* 内边距和字体 */
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 500;

    /* 圆角和过渡效果 */
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    color: white; /* 默认白色文字，由JS/C#动态覆盖 */
    display: inline-block; /* 确保是行内块元素 */
}

.boss-tag-link:hover {
    opacity: 0.9;
    transform: scale(1.05);
    filter: brightness(1.1); /* 悬停时稍微提亮 */
}

/* Additional styles from the original default.css */
#m_top {
    background-color: #f1f1f1;
    padding: 15px 0px;
    margin: 0px auto;
}

#m_top_box {
    width: 1190px;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
}

#type_box {
    width: 230px;
    background-color: #ffffff;
}

.type_title_box {
    background-color: #ff0000;
    height: 40px;
    line-height: 40px;
    text-indent: 15px;
    color: #ffffff;
}

.type_title_box span {
    color: #ffffff;
}

.type {
    height: 28px;
    line-height: 28px;
    text-indent: 15px;
    display: flex;
    justify-content: flex-start;
}

.type span {
    color: #807c7c;
}

.type a {
    text-indent: 0px;
    color: #4b4b4b;
    padding: 0px 6px;
    margin-left: 8px;
    height: 28px;
    line-height: 28px;
    overflow: hidden;
}

.type a:hover {
    color: #ff0000;
    background-color: #f6f6f6;
}

#banner {
    width: 720px;
}

#tbkinMaxShow {
    width: 720px;
    height: 365px;
    visibility: hidden;
    overflow: hidden;
}

#tbkinMaxShow img {
    width: 720px;
    height: 365px;
}

#f_right_box {
    width: 220px;
}

#gg2_box {
    background-color: #f1f1f1;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#gg2_box a {
    width: 239px;
    height: 100px;
    display: inline-block;
    background-color: #ffffff;
    background-position: right center;
    background-repeat: no-repeat;
    float: left;
    margin-right: 1px;
    margin-bottom: 1px;
    background-size: 120px 100px;
}

#gg2_box a:hover {
    background-color: #f6f6f6;
}

#gg2_box a img {
    width: 239px;
    height: 100px;
    display: block;
}

#login_k {
    height: 145px;
    text-align: center;
    border: 1px #e0e0e0 solid;
    background-color: #ffffff;
}

#cg_new {
    height: 198px;
    margin-top: 10px;
    border: 1px #e0e0e0 solid;
    background-color: #ffffff;
}

#gy_new {
    height: 198px;
    margin-top: 10px;
    border: 1px #e0e0e0 solid;
    background-color: #ffffff;
}

#login_k a {
    display: inline-block;
    width: 190px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 8px auto 5px;
    color: #ffffff;
}

.login_btn {
    background-color: #ff0000;
}

.login_reg {
    background-color: #ff7e00;
}

.reg_tip {
    background-color: #f1f1f1;
    height: 28px;
    line-height: 28px;
    width: 190px;
    text-align: center;
    margin-top: 5px;
    display: inline-block;
}

.cgp_list {
    display: flex;
    justify-content: space-between;
    width: 200px;
    margin: 0 auto;
}

.cgp_list a {
    color: #5b5555;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    display: inline-block;
}

.tbp_list {
    display: flex;
    justify-content: space-between;
    width: 200px;
    margin: 0 auto;
}

.tbp_list span {
    height: 30px;
    line-height: 30px;
}

.tbp_list a {
    color: #5b5555;
    width: 160px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    display: inline-block;
}

#cg_new_title {
    height: 40px;
    line-height: 40px;
    text-indent: 20px;
    border-bottom: 1px #ededed solid;
}

#gy_new_title {
    height: 40px;
    line-height: 40px;
    text-indent: 20px;
    border-bottom: 1px #ededed solid;
}

#m_type_box {
    width: 1190px;
    margin: 0 auto;
}

.type_s_box {
    width: 739px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.type_s_box_block {
    width: 350px;
    height: 130px;
    overflow: hidden;
}

.type_s_box_block div {
    height: 28px;
    line-height: 28px;
    margin-top: 10px;
}

.type_s_box_block div a {
    font-size: 15px;
}

.type_s_box_block a {
    min-width: 30px;
    height: 28px;
    line-height: 28px;
    display: inline-block;
    padding: 0px 15px;
}

.m_type_list {
    height: 380px;
    margin-top: 20px;
}

.m_type_list_title {
    height: 50px;
    line-height: 50px;
    font-size: 20px;
}

.m_type_list_title span {
    font-size: 16px;
    margin-right: 5px;
}

.m_type_list_title span:first-child,
.m_type_list_title .icon {
    font-size: 20px;
    color: red;
    font-weight: bold;
}

.m_type_list_title a {
    font-size: 16px;
}

.m_type_list_box {
    height: 330px;
    display: flex;
    justify-content: space-between;
    border: 1px #cecece solid;
}

.t_company_title {
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    font-weight: bold;
    text-indent: 15px;
    margin-top: 10px;
}

.company_box {
    width: 250px;
    border-left: 1px #cecece solid;
    background-color: #fbfbfb;
}

.t_company a {
    display: block;
    width: 220px;
    margin: 0 auto;
    height: 28px;
    line-height: 28px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.m_type_list_img {
    width: 200px;
    background: linear-gradient(#fefefe, #e2e2e2);
    border-right: 1px #cecece solid;
}

.m_type_list_img:hover img {
    transform: scale(1.1);
    transition: 0.3s;
}

.m_type_list_img img {
    width: 170px;
    margin: 45px 15px;
}

.m_type_list_img div {
    text-align: center;
}

.m_type_list_img div a {
    color: #ff0000;
    font-size: 16px;
}

.m_type_list_img div a:hover {
    font-weight: bold;
}

.ali_ads_box {
    display: flex;
    justify-content: center;
}

.ali_ads_item {
    width: 240px;
    background-color: #ffffff;
    height: 365px;
}

.ali_ads_item:hover .ali_ads_item_dtitle {
    color: #ff2900;
}

.ali_ads_item span {
    color: #666;
}

.ali_ads_item_img img {
    width: 230px;
    margin: 5px auto;
    display: block;
}

.ali_ads_item_dtitle {
    margin: 0 auto;
    color: #222;
    font-size: 14px;
    line-height: 18px;
    height: 40px;
    width: 230px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.ali_ads_item_h,
.ali_ads_item_b,
.ali_ads_item_dt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 230px;
    margin: 0 auto;
    height: 26px;
}

#qdj {
    color: #ff2900;
    font-size: 20px;
}

#qdj_box {
    color: #ff2900;
}

#yj {
    color: #a4a3a3;
    text-decoration: line-through;
}

.ali_ads_item_b {
    padding-top: 5px;
}

.ali_ads_item_b span {
    border: 1px #ff6a00 solid;
    color: #ff6a00;
    font-size: 12px;
    padding: 0px 3px;
    line-height: 18px;
}

.ali_ads_item_dt {
    font-size: 14px;
    color: #333;
}

#tm {
    margin-right: 5px;
}

#wyfx {
    color: #cecece;
    border: 1px #cecece solid;
    display: none;
}