html, body {
	margin: 0;
	padding: 0;
	background-color: #617387;
	min-height: 100%;
	height: 100%;
}
html, body, p, td {
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 12px; 
	line-height: 1.3em;
	color: #444;
}
a, a:visited {
	color: #617387;
	text-decoration: underline;
}
a:hover {
	color: #ED2828;
	text-decoration: underline;
}
img { border: none; }
hr { 
	border: dotted 1px #617387;
	border-width: 1px 0 0 0;
	margin: 5px 20px;
	height: 1px;
}
* html hr { border-style: solid; }
#wrapper {
	min-height: 100%;
	background: #FFF url(logo_bg.gif) top left repeat-x;
	width: 760px;
	margin: 0 auto;
	border-left: solid 5px #526376;
	border-right: solid 5px #526376;
}
* html #wrapper { height: 100%; }

/* header */
#logo {
	display: block;
	width: 250px;
	height: 120px;
	background: url(logo.gif) top left no-repeat;
}
#logo span { display: none; }

#logo-buttons {
	float: right;
	margin-top: 8px;
	margin-right: 10px;
}
* html #logo-buttons {
	margin-right: 5px;
}

/* buttons */
.button {
	display: block;
	height: 25px;
	background-position: top left;
}
.button:hover {
	background-position: bottom left;
}
#content .button { margin: 0 auto; }
.button span { display: none; }
.button-login {
	width: 104px;
	background-image: url(btn_login.gif);
}
.button-login2 {
	width: 65px;
	background-image: url(btn_login2.gif);
}
.button-logout {
	width: 74px;
	background-image: url(btn_logout.gif);
}
.button-register {
	width: 84px;
	background-image: url(btn_register.gif);
}
.button-send-message {
	width: 124px;
	background-image: url(btn_send_message.gif);
}
.button-submit {
	width: 75px;
	background-image: url(btn_submit.gif);
}
.button-send-newpass {
	width: 163px;
	background-image: url(btn_send_newpass.gif);
}
.button-reg-complete {
	width: 169px;
	background-image: url(btn_reg_complete.gif);
}
.button-change {
	width: 80px;
	background-image: url(btn_change.gif);
}
.button-update {
	width: 76px;
	background-image: url(btn_update.gif);
}
.button-order {
	width: 67px;
	background-image: url(btn_order.gif);
}
.button-purchase {
	width: 90px;
	background-image: url(btn_purchase.gif);
}
.button-confirm-order {
	width: 120px;
	background-image: url(btn_confirm_order.gif);
}
.button-download {
	width: 93px;
	background-image: url(btn_download.gif);
}
.button-renew {
	width: 127px;
	background-image: url(btn_renew.gif);
}

/* navbar */
.navbar {
	float: left;
	margin-left: 20px;
	margin-top: 10px;
}
* html .navbar { height: 1%; margin-left: 10px; }
.navbar ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	margin-bottom: 15px;
}
.navbar li {
	margin: 0;
	padding: 0;
	padding-top: 1px;
	background: url(nav_separator.gif) top left repeat-x;
}
.navbar li.first { background-image: none; }
.navbar li a {
	display: block;
	white-space: nowrap;
	height: 21px;
	padding-top: 5px;
	width: 160px;
	padding-left: 28px;
}
.navbar li a, .navbar li a:visited {
	text-decoration: none;
	background: url(nav_item.gif) top left no-repeat;
}
.navbar li.first a, .navbar li.first a:visited { background-image: url(nav_item_top.gif); }
.navbar li.current a, .navbar li.current a:visited {
	background-position: 0 -27px;
}
.navbar li a:hover, .navbar li.current a:hover, .navbar li.first a:hover {
	text-decoration: none;
	background-position: 0 -54px;
}


/* content */
#content {
	margin: 0 20px 10px 240px;
}
* html #content { height: 1%; margin-left: 237px; }
p {
	margin: 10px 0;
	padding: 0;
}
h1, h2, h3 {
	color: #617387;
	font-size: 20px;
}
h2, h3 { font-size: 14px; }
h3 { font-weight: normal; }
#content ul {
	margin-top: 5px;
	margin-bottom: 5px;
}
#content li {
	color: #9AABBF;
	margin-top: 4px;
}
#content li span {
	color: #444;
}

div.error {
	border: solid 1px #ED2828;
	margin: 10px 0;
	padding: 10px;
	background-color: #F8F8F8;
	text-align: center;
}


/* forms */
form { 
	margin: 0;
	padding: 0;
}
label, .label {
	display: block;
	margin: 3px 0;
}
label.inline { display: inline; }
label:hover, .label:hover {
	color: #000;
}
label.last { margin-bottom: 0; }

dl, div.dt { 
	margin: 0; 
	padding: 0; 
	border: solid 1px #FFF; 
}
div.dt { padding: 2px 5px; }
dl.dt-large {
	clear: both;
}
dl.error, div.dt.error {
	border-color: #ED2828; 
	background-color: #FAFAFA;
	color: #000;
}
dl:hover, dl.error:hover, div.dt:hover { 
	border-color: #A9B8CA; 
	background-color: #F4F4F4;
	color: #000;
}
dl.error dt { color: #617387; font-weight: bold; }
dl.error:hover dt { color: #617387; font-weight: bold; }
dt {
	display: block;
	width: 170px; 
	float: left; 
	text-align: right;
	padding: 2px 0;
	padding-left: 5px;
}
.dt-large dt { width: 270px; }
dd { 
	display: block;
	margin-left: 180px; 
	margin-top: 0; 
	padding: 2px 0;
	padding-right: 5px;
}
.dt-large dd { margin-left: 280px; }
div.input, div.submit { margin: 5px 0; }
input.text, textarea, input.mainoption, input.liteoption, select, input.file {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	border: solid 1px #CCC;
	background-color: #F0F0F0;
	color: #666;
}
optgroup { background-color: #CCC; color: #444; }
option, optgroup option { background-color: #FFF; color: #444; }
input.mainoption { font-weight: bold; color: #444; }
input.text, textarea { width: 100%; }
input.file { width: 300px; }
input.text-num { width: 50px; }
input.text-num-large { width: 75px; }
input.text-num-tiny { width: 25px; }
textarea { height: 100px; }

input.text:hover, textarea:hover, input.mainoption:hover, input.liteoption:hover {
	border-color: #617387;
	color: #444;
	background-color: #F4F4F4;
}
input.text:focus, textarea:focus, input.mainoption:focus, input.liteoption:focus {
	border-color: #5289C6;
	color: #222;
	background-color: #FAFAFA;
}

* html input.text, * html textarea { width: 96%; }
* html input.text-num { width: 50px; }
* html input.text-num-tiny { width: 25px; }
* html input.text, * html textarea, * html input.mainoption, * html input.liteoption {
	border-color: #AAA;
	color: #444;
	background-color: #F8F8F8;
}
* html input.mainoption { color: #000; }

.verify-image {
	margin: 5px 0 10px 0;
	border: solid 1px #617387;
}
dd .verify-image { 
	margin: 0 0 5px 0; 
	border: solid 1px #CCC;
}
dd .verify-image:hover {
	border-color: #617387;
}
* html dd .verify-image {
	border-color: #AAA;
}
* html input.ie6 { margin-left: 3px; }
.form-note { 
	text-align: left;
	padding: 3px 10px;
}
.form-link {
	text-align: left;
	padding: 3px 0;
	padding-left: 187px;
}
.form-submit { 
	text-align: center; 
	padding-top: 3px;
}
.form-line2 { padding-top: 8px; }
* html .form-line2 { padding-top: 10px; }
.input-line2 { margin-top: 6px; }


/* copyright */
#copyright {
	clear: both;
	margin: 20px 20px 0 240px;
	text-align: center;
	font-size: 10px;
	color: #999;
}
#copyright a, #copyright a:visited { color: #888; text-decoration: none; }
#copyright a:hover { color: #ED2828; text-decoration: underline; }
br.clear { 
	height: 1px;
	font-size: 1px;
	line-height: 1px;
}