body {
	color: #222;
	font-size: 13px;
	font-family: arial,helvetica;
	margin: 0px;
	text-align: center;
	background-color: #EFEFEF;
}
#page {
	text-align:center;
}

table, td, p, div {
	color: #222;
	font-size: 13px;
}
table.trend_table,
table.trend_table td,
table.trend_table td a {
	font-size: 12px;
}
a:link, a:visited, a:active {
	color: #333366;
	text-decoration: underline;
}
a:hover {
	color: #336699;
}
.container {
	width: 990px;
	text-align: left;
}

b {
	color: #444;
}

/* top banner */

#top_banner {
	background: #665F6E;
	border-bottom: 3px solid #dee7f7;
	padding: 6px;
	margin-bottom: 20px;
}
.logo {
	font-size: 200%;
	font-weight: bold;
}
.logo a:link, .logo a:visited, .logo a:active {
	text-decoration: none;
}
.logo_first {color: #dee7f7;}
.logo_second {color: #efefef;}

/* main content */

div.main_content {
	background:#fff;
}

td#left_column {
	width: 100%;
	padding: 15px 30px 0 30px;
}
td#right_column {
	border-left: 1px solid #ddd;
	background: #f6f6f6;
	padding: 15px 20px;
}
#rhs_top_rounding,
#rhs_bottom_rounding {
	border-left: 1px solid #ddd;
	background: #f6f6f6;
}

/* text divs */
.extendedtext {
	padding-top: 20px;
	width: 600px;
}
.indenttext {
	margin-left:25px;
}
.helpbox {
	margin-top:10px;
	margin-left: 30px;
	padding: 10px 10px 4px 10px;
	width: 320px;
	height: 190px;
	font-size: 12px;
	color: #686868;
	border: 1px solid #ddd;
}
.helpbox p, .helpbox a {
	font-size: 12px;
	color:#686868;
}
.standardlist {
	margin-top: 6px;
	margin-bottom: 6px;
}
.copyright {
	font-size: 10px;
	padding-top: 20px;
	text-align: left;
}
.copyright a {
	text-decoration: none;
}

/* text areas */
.bottomtextbox {
	margin-top:10px;
	height: 200px;
}

/* section titles */

div.first_section_title {
	text-align: left;
	font-size: 15px;
	font-weight: bold;
	color: #444;
}
div.section_title {
	margin: 24px 0 0 0;
	padding-top: 15px;
	border-top: 2px solid #DDD;
	text-align: left;
	font-size: 15px;
	font-weight: bold;
	color: #444;
}
div.first_section_title div {
	font-size: 13px;
	font-weight: normal;
	color: #222;
}
div.section_title div {
	font-size: 13px;
	font-weight: normal;
	color: #222;
}
div.first_section_title div.errormsg {
	margin-top: 3em;
	margin-bottom: 2em;
	color: red;
}

/* form */

form {
	margin: 0;
}
textarea.search {
	font-family: arial,helvetica;
	font-size:13px;
	width: 230px;
}
input.search {
	font-family: arial,helvetica;
	font-size:13px;
	width: 230px;
	margin-top:2px;
}
div.search_form_separator {
	background:#ccc;
	border-bottom:solid #fff 1px;
	width:230px;
	height:1px;
	clear:both;
	font-size:1px;
	margin:15px 0;
}
b.formlabel {
	font-size: 13px;
}
table.formtable {
	width: 100%;
}
table.formtable td.select {
	text-align: right;
}
table.formtable td.select  select {
	width: 145px;
}
/* tables and charts */

table#results_table {
	text-align: right;
	font-size: 11px;
	margin: 0;
	border-collapse: collapse;
}
table#results_table th {
	margin: 0;
	padding: 5px;
	padding-top: 0;
}
table#results_table th.col_header {
	text-align: center;
	width: 4em;
}
table#results_table th.row_header {
/*	text-align: right;*/
	padding: 5px;
	text-align: right;
	white-space: nowrap;
}
table#results_table th.row_header a {
	white-space: nowrap;
}
table#results_table td {
	margin: 0;
	padding: 3px;
	border: 1px dotted silver;
	width: 4em;
}

#ainews {
	margin-bottom: 30px;
}

#ainews .chart-title {
	margin-top: 20px;
}

.attribute {
	font-weight: bold;
	color: #666;
}

.download_link,
.download_link a {
	font-weight: normal;
	text-align: left;
	padding-top: 0.5em;
	white-space: nowrap;
}

div.embed_link {
	margin: 10px 20px 0 20px;
}
input.embed_link {
	width: 590px;
}

table#results_table td.S5 {background-color: #eee;}
table#results_table td.S4 {background-color: #dfd;}
table#results_table td.S3 {background-color: #bfb;}
table#results_table td.S2 {background-color: #9f9;}
table#results_table td.S1 {background-color: #6f6;}

#searchform {
	/*float: left;*/
}

.gridtext {
	width: 600px;
}

.bottomtextbox {
	margin-top:10px;
}

div.loading_msg {
	margin: 2em 2em 0.5em 0;
}

div.chart-footer {
	margin-top: 10px;
	margin-bottom: 2em;
}

b.hint {
	color: #444;
}

div#charts-hint {
	margin: 10px 30px 30px 0;
	font-size: 12px;
}

div.table-title {
	margin: 0 2em 15px 0;
	text-align: left;
	font-size: 15px;
	font-weight: bold;
	color: #444;
}
div.table-title div {
	font-size: 13px;
	font-weight: normal;
	color: #222;
}

div.chart-title {
	margin: 0 2em 15px 0;
	padding-top: 12px;
	border-top: 2px solid #DDD;
	text-align: left;
	font-size: 15px;
	font-weight: bold;
	color: #444;
}
div.chart-title a {
	font-size: 13px;
	font-weight: normal;
	text-decoration: none;
}
div.chart-title a:hover {
	text-decoration: underline;
}
div.chart-title div {
	font-size: 13px;
	font-weight: normal;
	color: #222;
}

div.relscore {
	margin-top: 25px;
	margin-bottom: 25px;
}

/* Navbar styles */
#gNavDiv {
	clear: both;
	margin-top: 8px;
	}
#gNavDiv .tab {
	float: left;
	width: 140px;
	margin-right: 6px;
	}
/* #gNavDiv .ltab {
	float: left;
	width: 142px;
	margin-right: 6px;
	}
 #gNavDiv .rtab {
	float: right;
	width: 142px;
	}
 */

#gNavDiv .tabContent {
	height: 19px;
	padding: 0px 5px;
	background: #DEE7F7;
	text-align: center;
	font-size: 13px;
	font-weight: bold;
}
#gNavDiv .selected {
	background: #DDD;
}
#gNavDiv .rc {
	background:#DEE7F7
}
#gNavDiv .rcs {
	background: #DDD;
}
#gSubNavDiv {
	clear: both;
	background: #DDD;
	text-align: center;
	padding: 0px 0px;
	height: 8px;
	font-size: 6px;
}
SubNavLinks {
	text-align: left;
	padding: 6px 10px;
}

.phrase {
	font-size: 12px;
}

.sortarrow {
	font-size: 10px;
}

th.checklistitem {
	padding: 2px 4px
}


/* Table Listings */

.results_header {
	padding: 6px 6px 3px 3px;
	border-top: 1px solid #A5B6C6;
	background-color: #dee7f7;
}
.listing {
	margin-top: 20px;
	font-size: 12px;
}
.listing tr {
	vertical-align: top;
}
.listing .item {
	padding-right: 10px;
	padding-bottom: 20px;
}
.listing .saved {
	background-color: #FFFFDE;
	padding: 6px 1px 6px 1px;
	margin-bottom: 10px;
	border-top: 1px solid #A5CF7B;
	border-bottom: 1px solid #A5CF7B;
}
.listing .ticker {
	font-size: 13px;
	margin-right: 4px;
}
.listing .ticker,
.listing .ticker a {
	font-size: 13px;
	text-align:center;
	text-decoration: none;
	color: black;
}
.listing .ticker a:hover {
	text-decoration: underline;
}
.listing .filing {
	font-size: 13px;
	text-align: left;
	font-weight: bold;
	margin-right: 4px;
	white-space: nowrap;
}
.listing .checkbox {
	padding-top: 6px;
}
.listing .date
{
	font-size: 13px;
	margin-right: 4px;
	color: gray;
	white-space: nowrap;
}
.listing .short_date {
	font-size: 13px;
	padding-top: 8px;
	padding-left: 12px;
	padding-right: 20px;
	white-space: nowrap;
}
.listing .title {
	font-size: 14px;
	font-weight:bold;
}
.listing .title a {
	font-size: 14px;
	color: #336699; /* NJH note: use this colour for main page banner titles */
	color: #1E4670;
	text-decoration: none;
}
.listing .title a:hover {
	text-decoration: underline;
}
.listing .title a:visited {
	color: #4271A5;
}
.listing .sourcedate {
	font-size: 13px;
	color: #316500;
}
.listing .sourcedate a {
	font-size: 13px;
	text-decoration: none;
	color: #316500;
}
.listing .sourcedate a:hover {
	text-decoration: underline;
}
.listing .source {
	font-size: 13px;
	color: #316500;
}
.listing .source a {
	font-size: 13px;
	text-decoration: none;
	color: #316500;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
}
.listing .source a:hover {
	text-decoration: underline;
	font-weight: normal;
}
.listing .item_edit_link a {
	font-size: 13px;
	text-decoration: none;
	color: #4271A5;
	color: #1E4670;
}
.listing .cell .item_edit_link a:visited {
	color: #4271A5;
}
.tickertag {
	font-size: 13px;
	color: #316500;
}
.listing .cached a {
	font-size: 13px;
	text-decoration: none;
	color: #4271A5;
	color: #1E4670;
}
.listing div.comment {
	font-size: 13px;
	margin: 2px 15px 4px 0px;
	padding: 5px;
	color: #002DA7;
	background-color: #F7F7F7;
}
.listing .summary {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: black;
}

/* Pagination */
.pagination {
	text-align: left;
	white-space: nowrap;
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 13px;
}

.selected_pagenum {
	font-weight: bold;
}

/* info page */
#leftcoltext_info {
	padding: 0 25px 0 25px;
	background: #fff;
}
#leftcoltext_info b {
	color: #111;
}
div.first_info_title {
	margin: 5px 0 5px 0;
	text-align: left;
	font-size: 20px;
	font-weight: bold;
	color: #333;
}
div.info_title {
	margin: 10px 0 5px 0;
	padding-top: 15px;
	border-top: 2px solid #DDD;
	text-align: left;
	font-size: 20px;
	font-weight: bold;
	color: #333;
}
div.info_separator {
	margin: 15px 0 0 0;
	padding-top: 10px;
	border-top: 2px solid #DDD;
}

ul.titlelist li {
	margin-top: 10px;
}

ul.titlelist li b {
	color: #222;
}
table.contactbox {
	width: 160px;
	height: 40px;
	margin: 10px;
}
span.contactbox {
	font-weight: bold;
	font-size: 16px;
}
.contact .label {
	padding-right: 5px;
}
.contact .input,
.contact .message {
	width: 300px;
}
.contact_form h2,
.confirmation h2 {
	color: #444;
}

/* help page */
.code {
	margin: 15px 0px 15px 30px;
	color: #444;
	font-weight: bold;
}

h2 {
	font-size: 20px;
	color: #444;
}
h3 {
	font-size: 18px;
	color: #444;
}
h4 {
	font-size: 14px;
	color: #444;
}

/* warning message */
#warning_message {
	background: #665F6E;
	color: white;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 10px;
}
#warning_message b {
	color: white;
}
