/* 网页选中文字后变成红底白字 */
::selection {
    background: #CC0000;
    color: #ffffff;
}
::-moz-selection {
    background: #CC0000;
    color: #ffffff;
}

/* 定义字体样式变量 */
:root {
    --base-font-size: 14px;
    --base-font-family: Georgia, Times New Roman, Tahoma, Verdana, sans-serif;
    --base-color: #666666;
}

body, td, div {
    font-size: 14px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

BODY {
    background-color: #f0f0f0;
    background-image: url('bg.png');
    background-repeat: repeat;
    background-attachment: fixed;
    margin-left: 0px;
    margin-top: 0px;
    word-break: break-all;
    font-family: var(--base-font-family);
    font-size: var(--base-font-size);
    color: var(--base-color);
}

/* 常规链接文字样式 */
A {
    color: #000000;
    padding: 5px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 2px 2px;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--base-font-family);
}

A:hover {
    background-color: #000000;
    color: #FFFFFF;
    padding: 5px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    font-family: var(--base-font-family);
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 6px;
}

/* 自定义链接文字样式 */
A.dh {
    color: #CF2A26;
    padding: 5px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
    font-size: var(--base-font-size);
    font-weight: bold;
    font-family: var(--base-font-family);
}

A.dh:hover {
    background-color: #CF2A26;
    color: #FFFFFF;
    padding: 5px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: var(--base-font-size);
    font-weight: bold;
    font-family: var(--base-font-family);
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 6px;
}

/* 普通连接样式 */
a.ptlink {
    color: inherit;
    padding: 0;
    border: none;
    text-align: inherit;
    text-decoration: none;
    display: inline;
    margin: 0;
    cursor: pointer;
    font-weight: normal;
    font-family: inherit;
}

a.ptlink:hover {
    background-color: transparent;
    color: #000;
    padding: 0;
    border: none;
    text-align: inherit;
    text-decoration: none;
    display: inline;
    font-weight: bold;
    font-family: inherit;
    margin: 0;
    cursor: pointer;
    border-radius: 0;
}

h3 {
    color: #333333;
    margin: 8px 0;
    text-align: center;
    border-bottom: #dddddd solid 1px;
    padding: 5px;
}

h5 {
    margin: 8px 0;
    border-bottom: #dddddd solid 1px;
    padding-bottom: 5px;
}

img { 
    border: 0px;
}

ul {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 修复链接状态的冲突定义 */
a:link {
    text-decoration: none;
    color: #555555;
}

a:visited {
    text-decoration: none;
    color: #555555;
}

a:hover {
    text-decoration: none;
    color: #888888;
}

a:active {
    text-decoration: none;
    color: #888888;
}

.wrap { 
    width: 100%; 
    padding: 0; 
    margin: 0; 
    clear: both; 
    text-align: center;
}

.box { 
    width: 1040px; 
    height: auto; 
    text-align: left; 
    margin: auto; 
    background: url(Images/bg.gif) repeat-y; 
    overflow: hidden; 
    clear: both;
}

.left { 
    float: left; 
    width: 220px; 
    overflow: hidden; 
    text-align: right; 
    margin-left: 8px; 
    margin-right: 8px;
}

.right { 
    float: right; 
    width: 780px; 
    overflow: hidden; 
    text-align: left; 
    margin-left: 8px; 
    margin-right: 8px;
}

#top, #foot { 
    padding: 8px 0; 
    background: none;
}

.button { 
    background: #888888; 
    border: #333333 solid 1px; 
    height: 20px;
}

.submit { 
    background: #555555; 
    border: #555555 solid 1px; 
    height: 20px; 
    color: #cccccc;
}

.title { 
    font-size: 14px; 
    font-weight: bold; 
    margin: 8px 0;
}

.content, .list {
    padding: 5px;
    /* text-indent:28px; 首行缩进 */
}

.note {
    text-align: left; 
    border-bottom: #e3e3e3 solid 1px;
    margin: 5px 0; 
    color: #999999;
}

.span {
    text-align: left; 
    margin: 5px 0; 
    color: #999999;
}

.gbook { 
    background: #f8f8f8; 
    padding: 5px; 
    border: #f0f0f0 solid 1px; /* 修复了这里的语法错误 */
}

#nav {
    background: #F5CCCB; 
    color: #C9095F; 
    padding: 5px 10px; 
    height: 15px; 
    line-height: 5px;
}

#nav ul li { 
    display: inline; 
    width: auto; 
    margin: 1px 10px;
}

#nav ul li a { 
    color: #C9095F;
}

#nav ul li a:hover { 
    color: #cccccc;
}

/* 页面其他不重要文字样式 */
.bzywz {
    color: #CCCCCC;
}

.bzywz2 {
    color: #999999;
}

/* 底部COPY网站名特效 */
.webname {
    font-size: 24px; 
    font-weight: bolder; 
    color: #CC0000;
    background: -webkit-linear-gradient(top, #ff7e5f, #CC0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
    