/* CSS Document */
/*全局*/
body{padding:0;margin:0;font-size:12px;background:#fff url(images/navbg.gif) 0 3px repeat-x;;font-family:Verdana;color:#333;}
img{border:0}
table{ border-collapse:collapse;}
th{ text-align:left;font-size:12px;} 
td{font-size:12px;}
html{height:100%}
*{margin:0;padding:0;}
ul{list-style-type:none;} 
a{color:#336699;text-decoration:none;} 
a:hover{color:#336699;}
.input{border: 1px solid;border-color: #c0c0c0 #ededed #ededed #c0c0c0;padding:2px 0px 1px 1px;font-size:1.0em;vertical-align:middle;color:#000;}
.btn{background:#d9d9d9;border-width:1px;vertical-align:middle;height:21px;padding-left:0.15em;padding-right:0.15em;border: 1px solid; border-color: #c0c0c0 #555 #555 #c0c0c0;}
.fr{float:right} 
.fl{float:left}
.c{clear:both;height:0;overflow:hidden;} 
.cc{clear:both;margin-right:1em;border-top:1px solid #91c900;height:10px;} 
.ccc{clear:both;height:10px; width:100%;} 
/*字体颜色*/
.s1{color:#006699;} /*蓝*/
.s2{color:#1e5494;} /*深蓝*/
.s3{color:#da8030;}
/*头部*/
#header{border-top:3px solid #fff;height:80px;position:absolute;top:0px;left:0px;width:100%;overflow:hidden; }
/*logo*/
.logo{background:url(images/logo_bg.gif) left top no-repeat;width:160px;}
.logo .png{height:43px; }
.logo .lun{line-height:35px;height:36px;text-align:center;color:#336699; font-size:11px;}

/*位置*/
.wei{height:32px;line-height:30px;padding-left:1em;}
.wei2{height:32px;line-height:30px;padding-right:2em;}
.wei2 img{ vertical-align:middle; position:absolute; margin:4px 0 0 -100px;_margin-top:-3px;}
/*左边*/
#main-fl{background:#fff url(images/main-left.gif) right top repeat-y;width:160px;}
#left{margin:.2em 0 1em 1em;} 
#left h1{float:left;font-size:12px;height:30px;line-height:32px;padding:0 0 .3em;border-bottom:3px solid #91c900;color:#376585;}
#left h2{font-size:12px;height:25px;line-height:25px;text-align:center;color:#888;}
#left ul{padding:0 0 .8em 0;margin:0px;}
#left ul li{height:24px;line-height:24px;margin:0 0 0 -12px;}
#left a{display:block;background:url(images/main-left-a.gif) 1.5em .7em no-repeat;padding-left:2.8em;color:#000;}
#left a:hover{background:url(images/main-left-hover.gif) 6px top no-repeat;}
#left ul .one{height:24px;} 
#left ul .one a,#left ul .one a:hover{height:24px;background:url(images/main-left-home.gif) 6px top no-repeat;}

/*顶部导航*/
ul.nav {font-size:14px;overflow:hidden;position:relative;z-index:4;margin-top:3px;width:auto;
_width:100%;border-bottom:3px solid #0099cc;}
ul.nav li {background:url(images/btn_bg.gif) no-repeat scroll right -115px;float:left;height:38px;
line-height:38px;overflow:hidden;}
ul.nav li.navon {background:url(images/btn_bg.gif) no-repeat scroll 0 0;line-height:33px;float:left;height:38px;padding:0;overflow:hidden;}
ul.nav li.navon em {background:url(images/btn_bg.gif) no-repeat scroll right -50px;display:block;}
ul.nav li.navon em a {background:url(images/btn_bg.gif) no-repeat scroll center bottom;color:#FFFFFF;
display:block;font-weight:700;padding:5px 12px;}
ul.nav li.navon em a:hover {color:#FFFFFF;}
.nav li a:hover {color:#0099CC;text-decoration:none;}
.nav li a {color:#336699;font-weight:700;padding:5px 12px;}
em, cite, th {font-style:normal;font-weight:normal; font-size:12px;}

/* ============ 控制面板修复样式 ============ */

/* 1. 控制面板容器 */
.home-container {
    width: 98%;
    margin: 0 auto;
    padding: 20px 0;
}

/* 2. 控制面板表格样式 */
.tableborder {
    width: 98% !important;
    margin: 0 auto 20px auto !important;
    border: 1px solid #E0E0E0 !important;
    background: #FFFFFF !important;
    border-collapse: collapse !important;
}

.tableborder .header {
    background: #F5F5F5 !important;
    border-bottom: 2px solid #E0E0E0 !important;
}

.tableborder .header td {
    padding: 12px 15px !important;
    font-weight: bold !important;
    color: #333 !important;
}

.tableborder td {
    padding: 15px !important;
    line-height: 1.6 !important;
    border-bottom: 1px solid #F0F0F0 !important;
}

/* 3. 数据统计表格样式 */
.datacount {
    width: 98% !important;
    margin: 30px auto !important;
    border: 1px solid #E0E0E0 !important;
    background: white !important;
    border-collapse: collapse !important;
}

.datacount .header {
    background: #2A5B88 !important;
    color: white !important;
}

.datacount .header td {
    padding: 15px !important;
    font-weight: bold !important;
    text-align: center !important;
}

.datacount td {
    padding: 12px 8px !important;
    text-align: center !important;
    border: 1px solid #E0E0E0 !important;
    background: white !important;
    font-size: 12px !important;
}

.datacount td b {
    font-size: 14px !important;
    color: #2A5B88 !important;
    display: block !important;
    margin-top: 5px !important;
}

.datacount a {
    color: #2A5B88 !important;
    text-decoration: none !important;
}

.datacount a:hover {
    color: #FF6600 !important;
    text-decoration: underline !important;
}

/* 4. 导航标题样式 */
.NavaL {
    font-weight: bold !important;
    padding: 8px 0 !important;
    display: block !important;
}

.ntj {
    color: #333 !important;
    font-size: 16px !important;
    border-bottom: 2px solid #2A5B88 !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
}

.nlj {
    color: #666 !important;
    background: #F9F9F9 !important;
    padding: 10px 15px !important;
    border-left: 4px solid #2A5B88 !important;
    margin: 10px 0 !important;
    display: block !important;
}

.nkj {
    color: white !important;
    font-size: 14px !important;
}

/* 5. 链接样式 */
.fred {
    color: #FF0000 !important;
    font-weight: bold !important;
}

/* 6. 主内容区域修复 */
#mainright {
    margin-left: 160px;
    height: 94%;
    position: relative;
    background: white;
}

#mainright iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    background: white !important;
}

/* 7. 确保左侧菜单正确显示 */
#con_nav_1 {
    display: block !important;
}

#con_nav_2,
#con_nav_3,
#con_nav_4,
#con_nav_5,
#con_nav_6,
#con_nav_7 {
    display: none !important;
}

/* 8. 左侧菜单链接样式修复 */
#left ul li a {
    color: #333 !important;
    text-decoration: none !important;
}

#left ul li a:hover {
    color: #2A5B88 !important;
    background-color: #E8F0FE !important;
}

/* 9. 控制面板链接样式 */
.tableborder a {
    color: #336699 !important;
    text-decoration: none !important;
    padding: 0 3px !important;
}

.tableborder a:hover {
    color: #FF6600 !important;
    text-decoration: underline !important;
}

/* 10. 表格间距调整 */
.tableborder td br {
    margin-bottom: 5px !important;
    display: block !important;
}

/* 11. 字体颜色修复 */
font[color="#FF0000"] {
    color: #FF0000 !important;
}

/* 12. 外部链接样式 */
a[target="_blank"] {
    color: #336699 !important;
    text-decoration: underline !important;
}

a[target="_blank"]:hover {
    color: #FF0000 !important;
}

/* 13. 确保表格内容正确对齐 */
.tableborder td {
    vertical-align: top !important;
}

/* 14. 分隔线样式 */
.tableborder .header + .header {
    margin-top: 20px !important;
}

/* 15. 整体布局优化 */
#main-fl, #mainright {
    height: calc(100% - 80px) !important;
}

/* 16. 滚动条优化 */
#left {
    overflow-y: auto;
    height: 100%;
}

/* 17. 响应式调整 */
@media screen and (max-width: 1200px) {
    .tableborder, .datacount {
        width: 99% !important;
    }
    
    #main-fl {
        width: 180px !important;
    }
    
    #mainright {
        margin-left: 180px !important;
    }
}

/* 18. 打印样式 */
@media print {
    .tableborder, .datacount {
        width: 100% !important;
        border: 1px solid #000 !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: none !important;
    }
}

/* 19. 兼容性修复 */
_:-ms-fullscreen, :root .tableborder {
    width: 98% !important;
}

_:-ms-fullscreen, :root .datacount {
    width: 98% !important;
}