html, body {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    border-top: 0px;
    border-bottom: 0px;
    border-left: 0px;
    border-right: 0px;
}
html {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}
body {
    background-color: #337799;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 1px;
    padding-right: 1px;
    text-align: center;
}
body.popup {
    background-color: white;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
}
div#pagecontainer {
    text-align: left;
    width: 770px;
    margin: 0 auto;
}
body.popup div#pagecontainer {
    text-align: left;
    width: auto;
    margin: 0;
}
a {
    color: #0000FF;
}
body.english em {
    font-style: italic;
}
body.chinese em {
    font-style: normal;
}
em {
    color: #005555;
}
table#maintbl tr.tblevenrow a:visited, table#maintbl tr.tbloddrow a:visited {
    color: #000080;
}
table#maintbl th {
    text-align: left;
}
table#maintbl {
    width: 100%;
}
body, a.pbutton, a.sbutton, a.hbutton, a.abutton, a.greenbutton {
    color: black;
}
.english, body.english table, p.english, div.english, body.english input, body.english textarea, body.english select, body.english h2, body.english h3, .chinese, body.chinese, body.chinese table, p.chinese, div.chinese, body.chinese input, body.chinese textarea, body.chinese select, body.chinese h2, body.chinese h3 {
    font-family: "Trebuchet MS", "Bitstream Vera Sans", lucida, helvetica, arial, sans-serif;
}
body.english, body.english table, p.english, div.english, body.english input, body.english textarea, body.english select {
    /*font-size: 10pt;*/
    /*font-size: 25px;*/
    font-size: 13px;
}
/*
.chinese, body.chinese, body.chinese table, p.chinese, div.chinese, body.chinese input, body.chinese textarea, body.chinese select, body.chinese h2, body.chinese h3 {
    font-family: SimHei, SimSun;
}
*/
body.chinese, body.chinese table, p.chinese, div.chinese, body.chinese input, body.chinese textarea, body.chinese select {
    /*font-size: 11pt;*/
    /*font-size: 30px;*/
    font-size: 15px;
}
h2 {
    font-weight: bold;
    /*text-decoration: underline;*/
    border-bottom: 1px solid black;
}
h3 {
    font-weight: normal;
    color: #CC0000;
}
body.english h2, body.english h3, .large {
    font-size: 16px;
}
body.chinese h2, body.chinese h3, .large {
    font-size: 18px;
}
.copyright {
}
body.english .smaller, body.english .copyright {
    font-size: 11px;
}
body.chinese .smaller, body.chinese .copyright {
    font-size: 13px;
}
div.profile_box_free {
	border: 2px #DDDDAA solid;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}
div.profile_box_big {
	border: 2px #DDDDAA solid;
	width: 454px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	margin-bottom: 5px;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}
table.profile_table {
	width: 95%;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
}
td.profile {
	vertical-align: top;
}
span.profile_head {
	background-color: #DDDDAA;
	font-weight: bold;
	padding-left: 2px;
	padding-right: 6px;
	border: 2px #DDDDAA solid;
}
div.profile_head {
	margin-top: -2px;
}
span.profile_tag {
	white-space: nowrap;
	font-weight: bold;
}
span.profile_item {
	white-space: normal;
}
#titlebar {
    width: 770px;
}
#lang {
    float: right;
}
/*
#logo {
    font-size: 27px;
}
*/
#topmenu {
    margin-left: 15px; /* Andrew changed it from 148 to make it more centered after adding search, 60 worked well when forums were in there*/
    clear: both;
    white-space: nowrap;
}
#topmenu a {
    color: white;
}
#container {
    position: relative;
    margin-top: 5px;
}

#rightcontainer {
    position: absolute;
    top: 0px;
    left: 624px;
    width: 146px;
}

#logocontainer {

}

#chinese-site-name {
margin:0 0 0 0;
padding:0 0 0 0;
font-size:30pt;
color:3e4a5a;
font-family: SimHei, SimSun;
text-decoration:none;
}

#english-site-name {
margin:0 0 0 0;
padding:0 0 0 0;
font-size:16pt;
color:3e4a5a;
text-decoration:none;
}

#intro-blurb {
font-size:8pt;
}

.error {
    color: #FF0000;
    font-weight: bold;
}
tr.tblhead {
    background-color: #337799;
    color: white;
    font-weight: bold;
}
tr.tblhead a {
    color: white;
}
tr.tblhead a.sortcol {
    color: #FFFF00;
}
.tblordindcaret, .tblordindv {
    color: #FFFF00;
    font-weight: normal;
}
.tblordindv {
    font-size: smaller;
}
tr.tblhighlightrow, .highlightbackground {
    background-color: #00CC99;
}
tr.tblevenrow, div#sitedesc, .emphbackground {
    background-color: #DDDDAA;
}
tr.tbloddrow {
}

input.pbutton, a.pbutton, input.sbutton, a.sbutton, input.abutton, a.abutton, input.hbutton, a.hbutton,  input.zbutton, a.zbutton, input.redbutton, input.greenbutton, a.greenbutton, input.bluebutton {
    padding: 5px 10px 5px 10px;
    text-align: center;
    border-width: 1px;
}
input.pbutton, a.pbutton {
    border-color: #99BBFF;
    background-color: #99BBFF;
}
input.pbutton:hover, a.pbutton:hover {
    background-color: #7799DD;
}
input.sbutton, a.sbutton {
    border-color: #FFFF88;
    background-color: #FFFF88;
}
input.sbutton:hover, a.sbutton:hover {
    background-color: #DDDD66;
}
input.abutton, a.abutton {
    border-color: #CDFFDC;
    background-color: #CDFFDC;
}
input.abutton:hover, a.abutton:hover {
    background-color: #8AD9A2;
}
input.hbutton, a.hbutton {
    border-color: #00CC99;
    background-color: #00CC99;
}
input.hbutton:hover, a.hbutton:hover {
    background-color: #00AA77;
}
input.zbutton, a.zbutton {
    border-color: #FF9966;
    background-color: #FF9966;
}
input.zbutton:hover, a.zbutton:hover {
    background-color: #CC6633;
}
input.redbutton {
    border-color: #FF0000;
    background-color: #FF0000;
}
input.redbutton:hover {
    background-color: #CC0000;
}
input.greenbutton, a.greenbutton {
    border-color: #00FF00;
    background-color: #00FF00;
}
input.greenbutton:hover, a.greenbutton:hover {
    background-color: #00CC00;
}
input.bluebutton {
    border-color: #0066FF;
    background-color: #0066FF;
}
input.bluebutton:hover {
    background-color: #0055CC;
}
a.pbutton, a.sbutton, a.hbutton, a.zbutton, a.abutton, a.greenbutton {
    display: block;
    border-style: outset;
    text-decoration: none;
}
a.pbutton:active, a.sbutton:active, a.abutton:active, a.hbutton, a.zbutton:active, a.greenbutton:active {
    border-style: inset;
}

img.photo {
    border: 1px solid black;
}

div#sitedesc {
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid black;
}

#leftbar .rbroundbox, #righttopbar .rbroundbox, #rightbottombar .rbroundbox { 
    background: url(image/leftg.gif) repeat; 
}
#leftbar .rbtop, #righttopbar .rbtop, #rightbottombar .rbtop { 
    background: url(image/leftgt.gif) repeat-x; 
}
#leftbar .rbtop div, #righttopbar .rbtop div, #rightbottombar .rbtop div { 
    background: url(image/lefttl.gif) no-repeat top left; 
}
#leftbar .rbtop div div, #righttopbar .rbtop div div, #rightbottombar .rbtop div div { 
    background: url(image/lefttr.gif) no-repeat top right; 
}
#leftbar .rbbot, #righttopbar .rbbot, #rightbottombar .rbbot { 
    background: url(image/leftgb.gif) repeat-x; 
}
#leftbar .rbbot div, #righttopbar .rbbot div, #rightbottombar .rbbot div { 
    background: url(image/leftbl.gif) no-repeat top left; 
}
#leftbar .rbbot div div, #righttopbar .rbbot div div, #rightbottombar .rbbot div div { 
    background: url(image/leftbr.gif) no-repeat top right; 
}
#leftbar .rbcontentwrap, #righttopbar .rbcontentwrap, #rightbottombar .rbcontentwrap { 
    background: url(image/leftgl.gif) repeat-y; 
}
#leftbar .rbcontent, #righttopbar .rbcontent, #rightbottombar .rbcontent { 
    background: url(image/leftgr.gif) repeat-y right; 
}
#mainbar .rbroundboxwide, #mainbar .rbroundboxnarrow { 
    background: url(image/maing.gif) repeat; 
}
#mainbar .rbtop { 
    background: url(image/maingt.gif) repeat-x; 
}
#mainbar .rbtop div { 
    background: url(image/maintl.gif) no-repeat top left; 
}
#mainbar .rbtop div div { 
    background: url(image/maintr.gif) no-repeat top right; 
}
#mainbar .rbbot { 
    background: url(image/maingb.gif) repeat-x; 
}
#mainbar .rbbot div { 
    background: url(image/mainbl.gif) no-repeat top left; 
}
#mainbar .rbbot div div { 
    background: url(image/mainbr.gif) no-repeat top right; 
}
#mainbar .rbcontentwrap { 
    background: url(image/maingl.gif) repeat-y; 
}
#mainbar .rbcontent  {
    background: url(image/maingr.gif) repeat-y right; 
}

#leftbar .rbtop div, #leftbar .rbtop, #leftbar .rbbot div, #leftbar .rbbot,
#righttopbar .rbtop div, #righttopbar .rbtop, #righttopbar .rbbot div, #righttopbar .rbbot,
#rightbottombar .rbtop div, #rightbottombar .rbtop, #rightbottombar .rbbot div, #rightbottombar .rbbot,
#mainbar .rbtop div, #mainbar .rbtop, #mainbar .rbbot div, #mainbar .rbbot {
	width: 100%;
	height: 9px;
	font-size: 1px;
}
#leftbar .rbcontent, #righttopbar .rbcontent, #rightbottombar .rbcontent, #mainbar .rbcontent { 
    padding: 0px 5px 0px 5px ; margin: 0px;  
}
#leftbar .rbroundbox { 
    position: absolute; 
    left: 0px; top: 0px; 
    width: 146px; 
}
#leftbar .rbcontentinner {
    /*width: 133px;*/
    width: 136px;
    overflow: hidden;
}
#righttopbar .rbroundbox { 
    margin-bottom: 2px;
}
#rightbottombar .rbroundbox { 
}
#mainbar .rbroundboxwide, #mainbar .rbroundboxnarrow { 
    position: absolute;
    top: 0px;
    left: 148px;
}
#mainbar .rbroundboxwide {
    width: 622px;
}
#mainbar .rbroundboxnarrow {
    width: 474px;
}
#mainbar .rbroundboxwide .rbcontentinner {
    width: 609px;
}
#mainbar .rbroundboxnarrow .rbcontentinner {
    width: 464px;
}

.firstcontent {
    margin-top: 0px;
}

input.smalltext {
    background-color: white;
    border: 1px inset #AAAAAA;
    padding: 0px 1px 0px 1px;
    /*font-size: 8pt;*/
}

pre, .monospace {
    font: 10pt "Courier New",Courier,monospace;
}

hr {
    border: 0px;
    border-bottom: 1px solid #888888;
}
