html
{
	height: 100%; margin-bottom: 1px; 
}

body
{
	background: #330000 url('/images/site/bg.gif');
	font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif;
	font-size: 10pt;
	
}

a img
{
	border: none;
}

#mainContainer
{
	width: 918px;
	margin-left: auto;
	margin-right:auto;
}

#header
{
	background: url('/images/site/header-startchinese.png') no-repeat;
	width: 918px;
	height: 109px;
}

#contentContainer
{
	width: 900px;
	background: url('/images/site/body.png') repeat-y;
	padding: 0 9px;
	min-height: 600px;
}

#mainContent
{
	background: #fff;
}

#mainMenu
{
	width: 900px;
	height: 35px;
	background: url('/images/site/menu.png') no-repeat;
	
}

#menuShadow
{
	width: 900px;
	height: 11px;
	background: url('/images/site/menushadow.png') no-repeat;
}

#footer
{
	background: url('/images/site/footer.png') no-repeat;
	width: 918px;
	height: 23px;
	text-align: center;
	font-size: 8pt;
	color: #a55;
}

.floatSpacer
{
	clear: both;
}

#userDetails
{
	
	padding-top: 14px;
	padding-right: 20px;
	color: #fff;
	text-align: right;
	font-size: 9pt;
}

#userDetails a
{
	color: #ddd;
}


/* Menu buttons */
#mainMenu a
{
	margin-top: 4px;
	margin-left: 5px;
	margin-right: 5px;
	width: 88px;
	height: 28px;
	display: block;
}

#mainMenu a span
{
	display: none;
}

#mainMenu a:hover, #mainMenu .selected
{
	background-position: 0 -28px;
}

#btnMainHome
{
	background: url('/images/menu/home.png');
	float: left;
}


#btnMainAbout
{
	background: url('/images/menu/about.png') no-repeat;
	float: left;
}


#btnMainLearn
{
	background: url('/images/menu/learn.png');
	float: left;
}

#btnMainTools
{
	background: url('/images/menu/tools.png');
	float: left;
}


#btnMainTravel
{
	background: url('/images/menu/travel.png');
	float: left;
}


#btnMainCulture
{
	background: url('/images/menu/culture.png');
	float: left;
}

#btnMainStore
{
	background: url('/images/menu/store.png');
	float: left;
}


#btnMainMyZhongwen
{
	background: url('/images/menu/myzhongwen.png');
	float: right;
}


/* Box for side menu */
.box
{
	float: right;
	width: 181px;
	margin-right: 10px;
}

.box .boxBody
{
	background: url('/images/site/box-body.png') repeat-y;
	width: 161px;
	padding: 10px;
	color: #fff;
	font-size: 9pt;
}

.box .boxFooter
{
	background: url('/images/site/box-footer.png') bottom no-repeat;
	width: 181px;
	height: 9px;
	font-size: 2px;
}

.box a
{
	color: #ffa;
}

.box a:hover
{
	color: #fff;
}

/* Form elements */
form
{
	margin: 0;
	padding: 0;
}

.box input
{
	background: #500;
	font-size: 10pt;
	border: 1px solid #000;
	color: #fff;
	padding: 0;
	margin-bottom: 1px;
}

/* Text */
.mainCol
{
	width: 670px;
	margin: 0 0 1em 10px;
	float: left;
}

.mainFull
{
	margin: 0 10px 1em 10px;
	float: left;
	width: 880px;
}

.note
{
	font-size: 8pt;
	color: #840;
}

#contentContainer p
{
	line-height: 1.7em;
	margin: 0.5em 0 1em 0;
}

.link
{
	text-decoration: none;
	color: #730;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px dotted #950;
	padding: 1px;
}

.link:hover
{
	border-bottom: 1px solid #950;
	background: #ffa;
}

h1
{
	color: #700;
	margin: 0.5em 0 0.7em 0;
	font-size: 18pt;
	font-family: serif;
	font-weight: normal;
	border-bottom: 2px solid #900;
}

h2
{
	color: #700;
	margin: 1.5em 0 0.7em 0;
	font-size: 16pt;
	font-family: serif;
	font-weight: normal;
}

.box h3
{
	color: #fff;
	margin: 0em 0 1em 0;
	font-size: 12pt;
	font-family: serif;
	font-weight: normal;
	border-bottom: 1px solid #fff;
}


#popup
{
	border: 1px solid #000;
	background: #ffa;
	position: absolute;
}

#popup .zw
{
	font-size: 22pt;
	display: block;
	background: #ffa;
	padding: 5px;
	font-family: Kai;
}

#popup .py
{
	display: block;
	padding: 0 5px 5px 5px;
	background: #ffa;
}

 #popup .en
 {
 	display: block;
	padding: 5px;
	color: #fff;
	background: #900;
 }
 
#popup .id
{
	display: none;
}
 
#popupMenu
{
	border: 1px solid #000;
	background: #ffa;
	position: absolute;
}

#popupMenu a
{
	display: block;
	padding: 2px;
	font-size: 9pt;
	text-decoration: none;
	color: #000;
}

#popupMenu a:hover
{
	display: block;
	background: #300;
	color: #fff;
}

/* Tables */
td
{
	vertical-align: top;
}

.formattedTable
{
	border: 1px solid #fcc;
	border-collapse: collapse;
}

.formattedTable td
{
	border-bottom: 1px solid #fcc;
	padding: 5px;
}

.formattedTable .altRow td
{
	background: #fee;
}

.formattedTable input
{
	border: 1px solid #fcc;
	font-size: 9pt;
}

/* ERROR */
.error
{
	display: none;
	padding: 0 5px;
	color: #800;
	font-weight: bold;
	background: #faa;
}

.avatar
{
	border: 1px solid #900;
	margin: 3px;
}

#wordAdded
{
	width: 109px;
	height: 48px;
	background: url('/images/site/word-added.png');
	position: absolute;
	top: 78px;
	display: none;
}

.largeText
{
	font-size: 20pt; 
	line-height: 30pt;
}

/* Forum posts */
.post {
	padding: 5px;
	border: 1px solid #efdfdf;
}

.post.even
{
	background: #efdfdf;
}

.post.odd
{
	background: #ffeeee;
}

.post .userDetails
{
	float: left;
	width: 100px;
	border-right: 1px solid #decece;
	text-align: center;
	font-size: 8pt;
	margin-right: 10px;
}

.post .postText
{
	float:left;
	width: 500px;
	font-size: 9pt;
	line-height: 1.5em;
	overflow: hidden;
}

.post .postStamp
{
	color: #a0a0a0;
	margin-bottom: 5px;
}