/* 基础样式 */
body, td, th {
    font-size: 14px;
    color: #333333;
    font-family: Tahoma, "微软雅黑";
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    user-select: none;
}

body {
    background-color: #980b01;
    background-image: url(/themes/images/ytsfw_bg_20241116.jpg);
    background-repeat: no-repeat;
    margin: 0;
    background-position: center top;
    background-attachment: fixed;
}

img {
    border: 0;
}

a {
    font-size: 14px;
    color: #333333;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
    color: #333333;
}

a:hover {
    text-decoration: none;
    color: #FF0000;
}

a:active {
    text-decoration: none;
    color: #333333;
}

input[type='submit'] {
    border: 1px solid #D9B5B5;
    padding: 6px 6px;
    background: #EFD2B6;
}

input[type='button'] {
    border: 1px solid #D9B5B5;
    padding: 6px 6px;
    background: #EFD2B6;
}

input[type='image'] {
    border: 0px solid;
    padding: 0px 0px;
    background: #FAFAFA;
}

input {
    border: 1px solid #D9B5B5;
    padding: 6px 6px;
    background: #FFFFFF;
}

select {
    border: 1px solid #D9B5B5;
    padding: 5px 6px;
    background: #FFFFFF;
}

textarea {
    border: 1px solid #D9B5B5;
    padding: 5px 6px;
    background: #FFFFFF;
    font-family: Tahoma, "微软雅黑";
}

.Buttons {
    border: 1px solid #D9B5B5;
    padding: 6px 6px 8px 6px;
    background: #F8F2E7;
    text-align: center;
    width: 150px;
    position: absolute;
}
.Buttonlink {
    cursor: pointer;
}

.Buttonlink:hover {
    border: 1px solid #990000; 
    /*background:#FAF8F5;*/
    color:#FAFAFA;
    /*font-weight:bolder;*/
    background: linear-gradient(to bottom, #D90000 0%, #660000 100%);
    box-shadow: 0 1px 2px rgba(140, 0, 0, 0.6);
    cursor: pointer;
}

.textarea-inherit {
    width: 660px;
    overflow: auto;
    word-break: break-all;
}

.input-text {
    width: 83%;
    overflow: auto;
    word-break: break-all;
}

.center {
    text-align: center;
}

.utext {
    -moz-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    -khtml-user-select: text;
    -o-user-select: text;
    user-select: text;
}

/* 顶部 */
.header {
    margin: 0 auto;
    width: 920px;
    height: 160px;
}
/* 导航容器 */
.nav {
  margin: 0 auto;
  width: 920px;
  max-width: 100%;
  height: 40px;
  background-color: #450A00;
  border-radius: 10px 10px 0 0;
  border: 1px solid #C70311;
  box-sizing: border-box; /* 确保边框包含在宽度内 */
  display: flex; /* 使用flex布局替代浮动 */
  overflow: hidden; /* 隐藏溢出的内容 */
}

/* 通用导航项基础样式 */
.navl, .navv, .navw {
  height: 40px;
  line-height: 36px; /* 垂直居中 */
  text-align: center;
  font-weight: 800;
  box-sizing: border-box; /* 确保边框和内边距包含在宽度内 */
  transition: all 0.2s ease; /* 平滑过渡效果 */
  position: relative; /* 为边框效果做准备 */
  flex-shrink: 0; /* 防止项目被压缩 */
  white-space: nowrap; /* 防止文字换行 */
  overflow: hidden; /* 隐藏溢出的内容 */
}

/* 左侧导航项 */
.navl, .navv {
  border-right: 1px solid #C70311;
  float: none; /* 移除浮动，使用flex布局 */
  border-left: 1px solid transparent; /* 预留左边框空间 */
  border-top: 1px solid transparent; /* 预留上边框空间 */
  border-bottom: 1px solid transparent; /* 预留下边框空间 */
}

/* 第一个导航项的特殊样式 */
.navl {
  border-radius: 10px 0 0 0;
  border-left: 1px solid transparent; /* 预留左边框空间 */
}

/* 右侧导航项 */
.navw {
  margin-left: auto; /* 推至最右侧 */
  border-radius: 0 10px 0 0;
  border-left: 1px solid transparent; /* 预留左边框空间 */
  border-right: 1px solid transparent; /* 预留右边框空间 */
  border-top: 1px solid transparent; /* 预留上边框空间 */
  border-bottom: 1px solid transparent; /* 预留下边框空间 */
}

/* 悬停效果 - 不改变宽度 */
.navl:hover, .navv:hover, .navw:hover {
  background-color: #8E1500;
  z-index: 10; /* 确保悬停项在上层 */
}

/* 左侧项目悬停效果 */
.navl:hover, .navv:hover {
  border: 1px solid #FF7300;
  border-right: 1px solid #C70311; /* 保持右边框不变，避免影响布局 */
  line-height: 36px; /* 调整行高以补偿边框 */
  height: 39px; /* 调整高度以补偿边框 */
}

/* 第一个项目悬停效果 */
.navl:hover {
  border-left: 1px solid #FF7300;
  border-radius: 10px 0 0 0;
}

/* 右侧项目悬停效果 */
.navw:hover {
  border: 1px solid #FF7300;
  border-radius: 0 10px 0 0;
  line-height: 36px; /* 调整行高以补偿边框 */
  height: 39px; /* 调整高度以补偿边框 */
}


.n {
  width: 920px;
  height: 38px;
  margin: 0 auto 1px;
  background-color: #450A00;
  text-align: center;
  font-weight: 800;
  line-height: 36px;
  border-left: 1px solid #C70311;
  border-right: 1px solid #C70311;
  border-top: 1px solid transparent; /* 预置上边框 */
  border-bottom: 1px solid transparent; /* 预置下边框 */
  box-sizing: border-box; /* 确保边框包含在尺寸内 */
  transition: all 0.2s ease; /* 平滑过渡 */
  position: relative; /* 为边框效果做准备 */
  overflow: hidden; /* 防止内容溢出 */
  white-space: nowrap; /* 防止文字换行 */
}

/* 悬停效果 - 不改变总尺寸 */
.n:hover {
  background-color: #8E1500;
  border: 1px solid #FF7300; /* 改变边框颜色 */
  line-height: 36px; /* 调整行高补偿边框 */
  z-index: 10; /* 确保悬停时在上层 */
}

/* 工具条 */
.tool_r {
    width: 108px;
    height: 320px;
    position: fixed;
    top: 160px;
    left: 50%;
    margin-left: 466px;
}

.tool_rii {
    width: 108px;
    height: 52px;
    margin-bottom: 2px;
    background-color: #450A00;
    border: 1px solid #C70311;
    color: #fff;
    text-align: center;
    line-height: 52px;
    border-radius: 10px 10px 0 0;
}

.tool_rii:hover {
    width: 108px;
    height: 52px;
    margin-bottom: 2px;
    background-color: #8E1500;
    border: 1px solid #FF7300;
    color: #ff0;
    text-align: center;
    line-height: 52px;
    border-radius: 10px 10px 0 0;
}

.tool_ri {
    width: 108px;
    height: 52px;
    margin-bottom: 2px;
    background-color: #450A00;
    border: 1px solid #C70311;
    color: #fff;
    text-align: center;
    line-height: 52px;
}

.tool_ri:hover {
    width: 108px;
    height: 52px;
    margin-bottom: 2px;
    background-color: #8E1500;
    border: 1px solid #FF7300;
    color: #ff0;
    text-align: center;
    line-height: 52px;
}

.i {
    display: inline-block;
    width: 24px;
    height: 24px;
}

.tool_t {
    width: 108px;
    height: 72px;
    margin-bottom: 2px;
    background-color: #450A00;
    border: 1px solid #C70311;
    color: #fff;
    text-align: center;
    line-height: 26px;
    border-radius: 0 0 10px 10px;
}

.tool_t:hover {
    width: 108px;
    height: 72px;
    margin-bottom: 2px;
    background-color: #8E1500;
    border: 1px solid #FF7300;
    color: #ff0;
    text-align: center;
    line-height: 26px;
    border-radius: 0 0 10px 10px;
}

.i_t {
    display: inline-block;
    width: 44px;
    height: 24px;
    margin-top: 12px;
}

.tool_l {
    background-color: #980b01;
    width: 108px;
    height: 354px;
    position: fixed;
    top: 160px;
    right: 50%;
    margin-right: 466px;
    border: 1px solid #C70311;
    border-radius: 10px;
}

.tool_l:hover {
    background-color: #980b01;
    width: 108px;
    height: 354px;
    position: fixed;
    top: 160px;
    right: 50%;
    margin-right: 466px;
    border: 1px solid #FF7300;
    border-radius: 10px;
}

/* 底部 */
.footer {
    margin: 0 auto;
    width: 920px;
    height: 100px;
    background: url(/themes/images/index60.gif);
    padding-top: 20px;
    margin-bottom: 6px;
    border-radius: 0 0 10px 10px;
}

.footl {
    float: left;
    width: 260px;
    text-align: center;
}

.footr {
    float: left;
    width: 660px;
    color: #FFFFCC;
    line-height: 26px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 顶图和中图 */
.banner {
    margin: 0 auto;
    width: 920px;
}

.img {
    margin-bottom: 2px;
}

.jsimg {
    margin-bottom: 1px;
}

/* 分页 */
#page-normal {
    margin: 3px 0px;
    text-align: center;
}

#page-prev {
    border: 1px solid #D9B5B5;
    color: #000000;
    padding: 3px 14px;
    font-size: 14px;
    margin-right: 10px;
    background: #F8F2E7;
}

