body { margin:0; padding:0; }

a, a:link, a:visited { color:#003478; text-decoration:none; }
a:hover, a:active { color:#003; text-decoration:underline; }

/* IMAGES */
img, a img { border:0; }

/* PNG-24 HACK */
img.png24 { behavior:url('../images/pngfix.htc') }

/* HEADLINES */
h1,h2,h3,h4,h5,h6 { font-weight:bold; margin:0 0 0.2em; }
h1 { font-size:2.4em; }
h2 { font-size:2.0em; }
h3 { font-size:1.8em; }
h4 { font-size:1.6em; }
h5 { font-size:1.4em; }
h6 { font-size:1.2em; }
hr { width:100%; height:1px; margin:20px 0; border:0; color:#000; background-color:#000; }

/* TEXT ELEMENTS */
p { margin:0 0 1em; }
em { font-style:normal; background-color:#ff0; }
b, strong { font-weight:bold; }
i { font-style:italic; }
small { font-size:0.8em; }

/* TABLES (still need cellspacing="0") */
table, tr, th, td { vertical-align:top; }
table.midcells tr, table tr.midcells { vertical-align:middle; }
table.padded tr th, table.padded tr td, th.padded, td.padded { padding:0.2em; }

/* DATA TABLES */
table.data { width:100%; border-collapse:collapse; }
table.data tr th { text-align:left; border-bottom:1px solid #000; background-color:#333; color:#ccc; font-weight:bold; }
table.data tr th a { color:#fff; }
table.data tr  { vertical-align:top; }
table.data tr th, table.data tr td { padding:0.3em; }
table.data tr.odd td { background-color:#eee; }
table.data tr.even td { background-color:#ccc; }
table.padded td { padding:1px; }

/* LISTS */
ul, ol { margin:0 0 1em; }
ul.bulleted { margin-left:1.5em; list-style:disc; }
ol.numeric { margin-left:1em; list-style:decimal; }

/* FORMS */
form div { margin-bottom:0.5em; }
form p { margin-bottom:1em; }
input[type=text], input[type=password], select, textarea {  padding:0.25em 1em 0em 0.25em; border:1px solid #999; padding:2px; }
input[type=submit] {}
input[type=button] {}
fieldset { border:1px solid #999; margin:1em 0; padding:0.75em; }
fieldset legend { color:#999; padding:0 0.5em; }
label { float:left; width:10em; text-align:right; margin-right:1em; display:block; }
.form_indented { padding-left:11em; }

/* NOTICE/ERRORS */
#notice, #error, #errorExplanation { margin:1em 0;  padding:0.5em; font-size:1.2em; color:#000; z-index:99; }
#notice { border:1px solid #0f0; background-color:#cfc; }
#error, #errorExplanation { border:1px solid #f00;  background-color:#fcc; }
#notice a.confirm, #error a.confirm { float:right; }

/* UTILITIES */
.clear, .clear_both { clear:both; }
.clear_left { clear:left; }
.clear_right { clear:right; }
.float_left { float:left; }
.float_right { float:right; }
.text_center { text-align:center; }
.text_left { text-align:left; }
.text_right { text-align:right; }
.no_display { display:none; }
.hidden { visibility:hidden; }
.reverse { unicode-bidi:bidi-override; direction:rtl; }  

/* DEBUG */
.debug { border:1px solid #0c3; }
.debugbg { background-color:#cfc; color:#000; }

/* COMMON STYLES */
.underlined { border-bottom:1px #000 solid; }

/* ADMIN CODE HELP */
#codehelp {
	clear: both;
	float: right;
	width: 450px;
	margin: 10px 0;
	border: 1px solid #666;
	background-color: #eee;
	padding: 10px;
	color: #333;
	font-size: 10px;
}
span.code { color: #f00; }
