body
{
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	background-image: url('../images/elements/bg_main.gif');
	background-repeat: repeat-x;
	background-color: #ffffff;
	color: #777777;
	font-family: verdana, arial, sans-serif;
	font-size: 100%;
	text-align: center;
	width: 100%;
}

img { border: 0px; }


/*------------------ header ---------------------------*/

#topnav
{
	padding: 7px 0px 10px 0px;
	background-image: url('../images/elements/bg_nav.gif');
	background-position: center bottom;
	background-repeat: no-repeat;
	background-color: #34639f;
	margin-left: auto;
	margin-right: auto;
	width: 744px;
	color: #b8c0da;
	font-size: 70%;
}

#headerarea
{
	padding: 0px;
	background-color: #0a163b;
	margin-left: auto;
	margin-right: auto;
	width: 744px;
	height: 203px;
}

#headerleft
{
	background-image: url('../images/elements/bg_headleft.gif');
	background-repeat: no-repeat;
	padding: 18px 0px 18px 0px;
	width: 300px;
	float: left;
	text-align: left;
	color: #212c64;
}

#headerleft img
{
	padding: 0px 0px 0px 49px;
}

#headerright
{
	background-image: url('../images/elements/bg_headright.gif');
	background-repeat: no-repeat;
	background-position: right top;
	width: 430px;
	float: right;
	text-align: right;
	padding: 144px 0px 0px 0px;
}

#headerright img
{
	padding: 0px 20px 0px 0px;
}

#headerarea a:hover { text-decoration: underline; }

#topnav ul
{
	padding: 0px 15px 0px 0px;
	margin: 0px;
	list-style: none;
	float: right;
	text-align: left;	
}

#topnav ul li
{
	padding: 0px 0px 0px 5px;
	margin: 0px;
	list-style: none;
	float: left;
}

#topnav ul li a 
{ 
	color: #c3c3c3;
	padding: 0px 8px 0px 8px;
}

#topnav a.topnavoff:link, #topnav a.topnavoff:visited, #topnav a.topnavoff:active
{
	text-decoration: none;
	color: #b8c0da;
}

#topnav a.topnavoff:hover
{
	color: #ffffff;
	text-decoration: underline;
}

#topnav a.topnavon:link, #topnav a.topnavon:visited, #topnav a.topnavon:active
{
	text-decoration: none;
	color: #ffffff;
}

#topnav a.topnavon:hover
{
	color: #ffffff;
	text-decoration: underline;
}

/*------------------ feature area -------------------*/

#features
{
	margin-left: auto;
	margin-right: auto;
	width: 744px;
	color: #ffffff;
	text-align: left;
	background-image: url('../images/elements/bg_feature.gif');
	background-repeat: no-repeat;
	background-position: left top;
	padding: 17px 0px 0px 0px;
	font-size: 160%;
}

#features a, #features a:link, #features a:active, #features a:visited, #features a:hover
{ 
	color: #ffffff;
	text-decoration: none;
}

#featurecontent
{
	background-image: url('../images/elements/feature_foot.gif');
	background-repeat: no-repeat;
	padding: 0px 0px 17px 0px;
	background-position: left bottom;
}

#feature_left
{
	float: left;
	width: 371px;
	height: 74px;
	padding-top: 2px;
	padding-bottom: 2px;
	border-right: 1px solid #ffffff;
}

#feature_right
{
	float: left;
	width: 371px;
}

.feature_box
{
	margin: 0 auto 0 auto;
	padding: 0;
	width: 247px;
	height: 74px;
}

/*
 * Override the width of the left box so the text and logo have a 5 px gap 
 * between just like the right hand box.
 */
#feature_left .feature_box
{
	width: 212px;
}

#features .fsmall { font-size: 50%; }

#features .fleft
{
	float: left;
	padding: 24px 0px 0px 20px;
}

#features .fright
{
	float: right;
	padding: 0px 20px 0px 0px;
}


/*------------------ main area -------------------*/

#mainarea
{
	margin-left: auto;
	margin-right: auto;
	width: 744px;
	background-color: #ffffff;
	background-image: url('../images/elements/bg_content.gif');
	background-repeat: repeat-y;
	background-position: left top;
	padding: 20px 0px 20px 0px;
}

/* lhs */

#rhsarea
{
	width: 240px;
	float: right;
	text-align: left;
	font-size: 80%;
	color: #1f1f1f;
}

/* middle content */

#contentarea
{
	width: 475px;
	float: left;
	text-align: left;
	font-size: 70%;
}

#bodycontent { padding: 0px 0px 0px 20px; }

#rhscontent { padding: 0px 20px 0px 0px; }

img.imgright
{
	margin: 0px 5px 5px 0px;
	float: right;
}

.rhs_item
{
	padding: 0px 0px 10px 0px;
}

#rhsarea h3.one
{
	padding: 45px 0px 8px 0px;
	background-image: url('../images/elements/highlight1.jpg');
	background-repeat: no-repeat;
	background-position: right top;
}

#rhsarea h3.two
{
	padding: 45px 0px 8px 0px;
	background-image: url('../images/elements/highlight2.jpg');
	background-repeat: no-repeat;
	background-position: right top;
}

#rhsarea p
{
	padding: 0px 0px 5px 0px;
}

/*----- content stuff ----*/

.newsarticle h1 
{
	font-weight: normal;
	color: #1f1f1f;
	padding: 3px 0px 8px 0px;
	margin: 0px;
	font-size: 170%;
}

.newsarticle img
{
	float: right;
	margin: 0px 0px 8px 8px; 
}

.newsitem
{
	color: #1f1f1f;
	font-size: 80%;
	padding: 0px 0px 10px 0px;
}

.newsitem a, .newsitem a:link, .newsitem a:active, .newsitem a:visited, .newsitem a:hover
{
	color: #1f1f1f;
	text-decoration: none;
}

.newsitem img
{
	float: right;
	margin: 0px 0px 8px 8px; 
}

/*-------------------- footer -----------------------------*/

#footer
{
	text-align: left;
	width: 744px;
	margin-top: 2px;
	margin-left: auto;
	margin-right: auto;
	padding: 8px 0px 8px 0px;
	font-size: 65%;
	color: #b5b5b5;
	background-color: #eff1f2;
}

#footerleft
{
	padding: 0px 0px 0px 8px;
}

#footer a
{
	color: #878a8c;
	text-decoration: none;
}

#footer a:hover { text-decoration: underline; }


/*--------------------------------------------------------------*/
/* extras */

.divclear
{
   	clear: both;
   	display: block;
   	height: 0px;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
	font-size: 0px;
}

a:link, a:active, a:visited, a:hover
{
	color: #3f7ec3;
}

h1 
{
	font-weight: normal;
	color: #1f1f1f;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 8px 0px;
	font-size: 230%;
}

h2 
{
	font-weight: normal;
	color: #1f1f1f;
	padding: 3px 0px 8px 0px;
	margin: 0px;
	font-size: 170%;
}

h3 
{
	font-weight: normal;
	color: #1f1f1f;
	padding: 3px 0px 3px 0px;
	margin: 0px;
	font-size: 120%;
}

p
{
	padding: 6px 0px 8px 0px;
	margin: 0px 0px 0px 0px;
}

form { padding: 0px; margin: 0px; }

.small { font-size: 80%; }
.centered { text-align: center; }
.bold { font-weight: bold; }
.mandatory { color: #fea31c; font-size: 120%; }


/*---------------------	 additional design element by Hong Yang	--------------------------*/
.error, .error_message
{
	color:red;
	font-size:95%;
}


/*--------------------------------------------------------------*/
/* tables stuff */


/* payment progress bar */
.step_on {
	background-color: #e3eaef;
	font-weight: 600;
	font-size: 70%;
}
.step_off {
	background-color: #ffffff;
	font-size: 70%;
}
.step_passed {
	background-color: #e3eaef;
	font-size: 70%;
}

.tableborder {	border: 1px solid #7d7c78; }

input.field, textarea.field, select {border: 1px solid #8ca0ae;}

input.field {width: 140px;height: 18px;}

table
{
	padding: 0px;
	margin: 5px 0px 5px 0px;
}

.collapse
{
	border-collapse: collapse;
}

th
{
	background-color: #e3eaef;
	padding: 5px;
	margin-bottom: 3px;	
	color: #333;
	font-size: 80%;
	border: 1px solid #8ca0ae;
	text-align: left;
}

.table1
{
	border: 1px solid #aebdc7;
	background-color: #fff;
	padding: 5px;
	color: #333;	
	font-size: 75%;
}

.table2
{
	border: 1px solid #8ca0ae;
	background-color: #e3eaef;
	padding: 5px;	
	color: #333;	
	font-size: 75%;		
}


.table3
{
	border: 1px solid #aebdc7;
	padding: 5px;
	color: #333;
	font-size: 80%;
	vertical-align: top	
}

.table4
{
	background-color: #8f927e;
	border: 1px solid #8f927e;
	padding: 3px 5px 3px 5px;
	margin: 0px 0px 3px 0px;
	color: #fff;
	font-size: 90%;	
}

/* =Pagination
----------------------------------------------------- */
#pagination
{
	font-weight: bold;
	color: #666;
	text-align: center;
	padding: 5px 0px 0px 0px;
	font-size: 75%;
}

#pagination a { text-decoration: underline; }

.submitLink {
   background-color: transparent;
   border: none;
   color: #16a7e2;
   cursor: pointer;
   cursor: hand;
   font-family: verdana, Helvetica, sans-serif;
   font-size: 1em;
   padding:0px;
   margin:0;
   text-decoration: underline;
   text-align:center;
   width: 20px;
}

/* =Flash message
----------------------------------------------------- */
#flash_message
{
	margin-left: 20%;
	margin-right: 20%;
	margin-top: 0px;
	margin-bottom: 20px;
	padding:4px;
	position: relative;
	text-align: center;
}

.flash_error
{
	background-color:#FFE8E8;
	border:1px solid red;
	color: black;
}

.flash_info
{
	color: white;
	background-color: #7497EC;
	border:1px solid black;
}
