/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
	background: #666;
	font: 62.5% Arial, Helvetica, sans-serif;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/****************************************
			LAYOUT STYLES
****************************************/

#wrapper {
	background: #666;
	width: 990px;
	margin: 0 auto;
	color: #333;
}

#header {
	background: url(../images/header.jpg) no-repeat;
	height: 165px;
	width: 990px;
	position: relative;
}

#cont_bottom {
	background: url(../images/bottom.jpg) no-repeat;
	height: 24px;
	width: 990px;
}

#cont_middle {
	background: url(../images/middle.jpg) repeat-y top;
	width: 990px;
}

#footer {
	background: url(../images/footer.jpg) no-repeat;
	height: 80px;
	width: 990px;
	margin: 0 auto;
	color: #fff;
	font: 11px/80px Arial, Helvetica, sans-serif;
}

#footer a, #footer a:visited {
	color: #fff;
}

#footer a:hover {
	color: #212121;
	text-decoration: none;
}

.footer_left {
	padding-left: 30px;
	float: left;
}

.footer_right {
	padding-right: 30px;
	float: right;
}

a, a:visited {
	color: #5E7AB5;
	text-decoration: none;
}

a:hover {
	color: #5E7AB5;
	text-decoration: underline;
}

/****************************************
			STYLED ELEMENTS
****************************************/

#logo {
	background: url(../images/logo.jpg) no-repeat;
	position: absolute;
	top: 25px;
	left: 25px;
	height: 135px;
	width: 278px;
}

#search {
	background: #eee;
	position: absolute;
	top: 26px;
	right: 30px;
	height: 25px;
	width: 300px;
	z-index: 11999;
}

#search div {
	font: 1.2em Arial, Helvetica, sans-serif;
	padding: 4px;
}

input.text {
	width: 140px;
	margin-right: 5px;
}

#search div input {
	float: right;
	height: 14px;
}

#newsletter {
	background: #666;
	position: absolute;
	top: 61px;
	right: 30px;
	height: 95px;
	width:  300px;
}

#loginbox {
	width: 280px;
	height: 20px;
	padding-top: 4px;
	margin: 0 10px;
}

#loginbox input {
	width: 100px;
	display: inline;
	margin-right: 5px;
}

#loginbox .submit {
	width: 40px;
}

#nav {
	font: 1.2em Arial, Helvetica, sans-serif;
	background: #3b5b9e;
	margin: 0 15px;
	width: 960px;
	height: 30px;
}

#nav ul li {
	float: left;
}

#nav ul li a, #nav ul li a:visited {
	display: block;
	text-decoration: none; 
	color: #fff;  
	height: 30px; 
	color: #fff; 
	border-right: 1px solid #2f487c; 
	border-left: 1px solid #537dd6;
	padding: 0 30px; 
	line-height: 30px;
	float: left;
}

#nav ul li:hover a, #nav ul li a:hover {
	color:#fff;
	background: #2f487c;
}

#main {
	width: 930px;
	margin-left: 30px;
}

h1 {
	font: bold 1.8em Arial, Helvetica, sans-serif;
	color: #5E7AB5;
}

h2 {
	font: bold 1.6em Arial, Helvetica, sans-serif;
	margin-bottom: 6px;
	color: #000;
}

h3 {
	font: 1.4em Arial, Helvetica, sans-serif;
	color: #BF0000;
	margin: 0 0 5px 0;
}

h3.blue {
	font: 1.4em Arial, Helvetica, sans-serif;
	color: #3b5b9e;
}

h3.white {
	padding: 10px 0 0 10px;
	font: bold 1.4em Arial, Helvetica, sans-serif;
	color: #fff;
}


#left_column {
	width: 300px;
	margin-right: 15px;
	float: left;
	padding: 10px 0;
}

#middle_column {
	width: 300px;
	margin-right: 15px;
	float: left;
	padding: 10px 0;
}

#right_column {
	width: 300px;
	float: left;
	padding: 10px 0;
}

#sub_content {
	float: left;
	width: 615px;
	margin-right: 15px;
	padding: 10px 0;
}

#sub_content p {
	font-size: 1.2em;
	line-height: 1.8em;
	margin: 5px 0;
}

.gray_box {
	background: url(../images/gbox.png) no-repeat;
	width: 280px;
	padding: 10px;
}

.gray_box div {
	margin-top: 5px;
}

.gray_box p {
	font: 12px/14px Arial, Helvetica, sans-serif;
	margin-bottom: 10px;
}

.gray_box_bottom {
	background: url(../images/gbox_bot.png) no-repeat;
	height: 8px;
	width: 280px;
	padding: 0 10px;
	margin-bottom: 15px;
}

.img_right {
	float:right;
	margin: 0 0 5px 8px;
	border: 4px solid #666;
}

.img_left {
	float: left;
	margin: 0 8px 5px 0;
	border: 4px solid #666;
}

.clearer {
	clear:both;
}

.right {
	float: right;
}

p.white {
	padding: 4px 10px 0;
	font: 1.2em "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #fff;
}

ul.sub_menu {
	font-size: 1.2em;
	border-top: 1px solid #ddd;
}

ul.sub_menu li a, ul.sub_menu li a:visited {
	display: block;
	height: 30px;
	line-height: 30px;
	color: #3b5b9e;
	text-decoration: none;
	text-indent: 10px;
	border-bottom: 1px solid #ddd;
}

ul.sub_menu li a:hover {
	color: #222;
	background: #ddd;
}


.edit_input_sm {
	color: #666;
}

/************* FORM *************/

div.form-container {
	margin: 0;
	padding: 7px;
	width: 600px;
}

p.legend { margin-bottom: 1em; }

p.legend em {
	color: #0099FF;
	font-style: normal;
}

div.form-container h3 {
	color: #66CC33;
	line-height: 30px;
	font-family: Arial, Helvetica, sans-serif;
	height: 30px;
	margin-top: 15px;
}

div.form-container form p { margin: 0; }

div.form-container form p.note {
	padding-left: 120px;
	font-size: 10px;
	color: #ccc;
}

div.form-container form fieldset {
	margin: 10px 0;
	padding: 10px;
	border: #ddd 1px solid;
}

div.form-container form legend {
	font-weight: bold;
	color: #003370;
}

div.form-container form fieldset div { padding: 0.25em 0; }

div.form-container label, 
div.form-container span.label {
	margin-right: 10px;
	padding-right: 10px;
	width: 120px;
	display: block;
	float: left;
	text-align: right;
	position: relative;
}

div.form-container label.error, 
div.form-container span.error { color: #C00; }

div.form-container label em, 
div.form-container span.label em {
	position: absolute;
	right: 0;
	font-size: 100%;
	font-style: normal;
	color: #0099ff;
}

div.form-container input.error {
	border-color: #0099ff;
	background-color: #f5f5f5;
}

div.form-container input:focus,
div.form-container input.error:focus, 
div.form-container textarea:focus {
	background-color: #f5f5f5;
	border-color: #ccc;
}

div.form-container div.controlset label, 
div.form-container div.controlset input {
	display: inline;
	float: none;
}

div.form-container input {
	width: 220px;
}

div.form-container div#checkboxes input {
	width: auto;
}

div.form-container select {
	margin: 4px 0;
}

div.form-container div.controlset div { margin-left: 65px; }

div.form-container div.buttonrow input {
	margin: 0 0 0 120px;
	width: auto;
}

.code-image {
	margin-left: 93px;
}

div.code-input {
	margin-left: 46px;
}


/* AJAX SEARCH */
        #ajaxSearch_form {
            color: #444;
            width: auto;
        }
        #ajaxSearch_input {
            width: auto;
            display: inline;
            height: 17px;
            border: 1px solid #ddd;
            border-left-color: #c3c3c3;
            border-top-color: #7c7c7c;
            background: #fff url(images/input-bg.gif) repeat-x top left;
            margin: 0 3px 0 0;
            padding: 3px 0 0;
            vertical-align: top;
        }
        #ajaxSearch_submit {
            display: inline;
            height: 22px;
            line-height: 22px;
        }
        #ajaxSearch_output {
            border: 1px solid #444;
            padding: 10px;
            background: #fff;
            display: block;
            height: auto;
            vertical-align: top;
        }
        .ajaxSearch_paging {
    
        }
        .AS_ajax_result {
            color: #444;
            margin-bottom: 3px;
        }
        .AS_ajax_resultLink {
            text-decoration: underline;
        }
        .AS_ajax_resultDescription{
            color: #555;
        }
        .AS_ajax_more {
            color: #555;
        }

.bold_black {
	font-weight: bold;
	color: #000;
}

.bold_blue {
	font-weight: bold;
	color: #003370;
}

/*
.AS_ajax_result {
	font: 12px Arial, Helvetica, sans-serif;
	width: 300px;
	z-index: 12000;
}
    .AS_ajax_resultLink {
		color: #003370;
	}
    .AS_ajax_resultDescription {
		color: #666;
	}
    .AS_ajax_extract {
		color: #CC0000;
	}
    .AS_ajax_hightlight1 {
		color: #990000;
	}
	.AS_ajax_hightlight2 {
		color: #CC6600;
	}
	.AS_ajax_hightlight3 {
		color: #FFCC00;
	}
    .AS_ajax_more {
		width: 600px;
	}
    .AS_ajax_resultsIntroFailure {
		color: #0066FF;
	}
	
	#ajaxSearch_output {
		width: 300px;
		height:300px;
		z-index: 12000;
	}