/*CSS code from www.fu2k.org - In search of the One True Layout*/

h1, h2 {
	line-height: 2em;
}

/* quang's */
#menu {
	clear:both;
	display:block;
	width:100%;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	text-align:center;
	border-bottom: 1px solid #888888;
	height:40px;
	vertical-align: bottom;
	padding-left: 10px;

	margin-bottom: 10px;
}

#menu ul {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

#menu li {
	float:left;
	list-style:none;
	vertical-align: bottom;
	margin-right: 2px;
}

#menu a {
	display:block;
	font-size:1.1em;
	color:#000000;
	margin: 0px;
	margin-top:12px;
	height:27px;
	line-height: 26px;
	text-decoration:none;
	text-align:center;
	vertical-align: bottom;
	background-color: #EEEEEE;
	border: 1px solid #888888;
	white-space: nowrap;
	padding-left: 10px;
	padding-right: 10px;
	width: 125px;
}

#menu a:hover, #menu a#selected {
	background-color: #CCCCCC;
	margin-top:5px;
	height: 35px;
	line-height: 34px;
	vertical-align: bottom;
	border-bottom: 0px none #000000;
	font-size:1.1em;
	font-weight: bold;
}

body {
	background:#cdcdcd url(../images/layout1/body.gif);
	margin:0;
	padding:0;
	font-family:'vera sans',helvetica,sans-serif;
	font-size:9pt;
	line-height:140%;
}

#wrap1 {
	width:90%;
	margin-left: auto;
	margin-right: auto;
}

/**** quang's tb *****/
#body {
	margin-left: auto;
	margin-right: auto;
}

.center {
	width: auto;
	margin-left: auto;
	margin-right: auto;
}

#fForm th {
  text-align: right;
}

#fForm td {
  background: transparent;
}

#score {
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse;
}

#score th {
	font-weight:bold;
	background: #CCCCCC;
}

#score td, #score th {
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
	border: 1px solid #888888;
}

#score #selected, #score #selected td {
  background: #FFFFAA;
}

#row {
	width: 100%;
	display:block;
	float:left;
	margin-left: auto;
	margin-right: auto;
}

#sems {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	white-space:nowrap;
	text-align:center;
}

#tab {
	clear:both;
	display:block;
	width:auto;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	text-align:center;
	border-bottom: 1px solid #888888;
	height:30px;
	vertical-align: bottom;
	padding-left: 10px;
	margin-bottom: 10px;
}

#tab ul {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

#tab li {
	float: left;
	list-style:none;
	vertical-align: bottom;
	margin-right: 2px;
}

#tab a {
	display:block;
	font-size:0.9em;
	color:#000000;
	margin: 0px;
	margin-top:12px;
	height:17px;
	width: 50px;
	line-height: 16px;
	text-decoration:none;
	text-align:center;
	vertical-align: bottom;
	background-color: #EEEEEE;
	border: 1px solid #888888;
	white-space: nowrap;
	padding-left: 10px;
	padding-right: 10px;
}

.long {
  width: 161px;
}

#tab .long a {
  width: 140px;
}

#tab a:hover, #tab a#selected {
	background-color: #CCCCCC;
	margin-top:5px;
	height: 25px;
	line-height: 24px;
	vertical-align: bottom;
	border-bottom: 0px none #000000;
	font-size:0.9em;
	font-weight: bold;
}

/*
 * login form
 */

.mainform {
  width: auto;
  border: 1px solid #E3E3E3;
  background-color: #F9F9F9;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  padding: 10px 10px 10px 10px;
}

.loginform {
  background: #F9F9F9 url(../images/layout1/login.png) no-repeat;
  background-position: 20px 30px;
  width: 500px;
}


.accountform {
  background: #F9F9F9 url(../images/layout1/account.png) no-repeat;
  background-position: 10px 10px;
  padding-left: 70px;
  padding-right: 70px;
  width: 600px;
}

.help {
  width: 500px;
  pading: 20px 20px 20px 20px;
}

.help li {
  margin-left: 20px;
  font-size: 1.2em;
}

.help .sublist1 li {
  margin-left: 40px;
  font-size: 1.0em;
}

.help .sublist2 li {
  margin-left: 60px;
  font-size: 0.9em;
}

.mainform table {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.mainform table th {
  text-align: right;
}

.mainform .title {
  font-size: 1.5em;
  color: #990000;
  line-height: 2em;
}

.mainform .formcontainer {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 10px 10px 10px;
  background-color: #000000;
  background-color: #F1F1F1;
  border: 1px solid #CCCCCC;
}

.mainform input, .mainform submit, .mainform textarea, .mainform select {
  margin-top: 2px;
  border: 1px solid #AAAAAA;
}

.mainform select {
  padding: 0px;
}

.mainform td {
  width: auto;
  background: transparent;
  padding-left: 7px;
  padding-right: 7px;
}