 #container
{
position:relative;
width: 764px;
margin: 10px auto; /*top space before container starts*/
background-color: #fff; /*container background color (white)*/
color: #000000; /*text color*/
border: 18px solid #9f0404; /*container frame color (red)*/
line-height: 130%;
}

/* ------------- "generic" styles */

body {
	margin: 0; padding: 0;
	background: #999999; color: #000000; /*page background color and then ?? covered elsewhere?*/
	font: small "Lucida Grande", Arial, sans-serif; /*small seems to = about 13*/
}



a:link { color : #9f0404; text-decoration : underline; }
a:visited { color : #9f0404; text-decoration : underline; }


a:active {	
	color: #9f0404;
	background-color: transparent;
	text-decoration: underline;
}

a:hover {
	text-decoration:none;
	background-color: #000000;
	color: #FFFFFF;
}

a img {
	border: none; 
	background-color: transparent;
}


p {
	margin: 0 0 1em;
}

/* ------------- masthead styles */

#masthead {
	margin-bottom: 1.75em; padding-top: 1px;
	background: #9f0404; /* background color behind header image */
}

#homelink {
	display: block;
	margin: 1px 2px 1px; 
	/*background: url(!!curl.gif) 100% 100% no-repeat */
}

#navlinks {
	margin: 0; padding: 0.5em .5em;
	background: #9f0404; color: #FFF; /* color of the navlinks background and then the navlinks text color */
}

#navlinks li {
	display: inline;
	margin-right: 0.1em; padding-right: 0.3em;
	border-right: 2px solid #fff;
	font-weight: bold;
}

#navlinks li.last {
	border-right: 0;
}

#navlinks a {
	color: #FFF;
}

#today {
	margin-top: -1.47em; padding: 0 1em 0 0;
	color: #FFF;
	font-weight: bold;
	text-align: right;
	line-height: 1;
}


/* ------------- main column styles */

#content {
	float: left;
	padding: 0 1em 1em 1em;  /* SECOND NUMBER CONTROLS WIDTH OF MAIN COLUMN */
}

#content h1 {

	margin: 0 0 1.25em -.75em; padding: 0.3em .8em;  /* SECOND NUMBER CONTROLS WIDTH OF BAR LARGER EM MAKES THE BAR SMALLER */
	background: #9f0404; color: #FFF;
	font-size: 1.5em;
}

#content h1 b {
	color: #fff;
}

#content h2 {
	background: #9f0404;
	margin: 0.5em 0; padding: 0.25em;
	color: #FFF;
	font-size: 1.3em;
}

#content h3 {
	display: inline
}

#content h4 {
	display: inline
}

#content img.illus {
	float: left;
	margin: 1em 1em 1em 3em;
}

#content img.illusright {
	float: right;
	margin: 1em 0 1em 1em;
}


#content pre {
	background-color:#f3f3ff;
	color:#000080;
	border:1px dotted #000080;
	overflow:auto;
	padding:3px 5px;
}

code {
	font-size:1em;
	background-color:#f3f3ff;
	color:#000;
}

img.favicon {
	margin:0 4px -2px 0;
	width:16px;
	height:16px;
}

.footnote,
.footnote a {
	font-size:12px;
	line-height:1.3em;
	color:#444F66;
}
.footnote code {
	background-color:transparent;
	font:11px/14px monospace;
	color:#aaa;
}

.date {
	font-size:12px;
	line-height:1.3em;
	color:#fff;
}
/* ------------- content table styles */

#content table {
	width: 100%;
	padding: 0 0 1em 0;
	/* top, right, bottom, left   */
	/*border: 1px solid #000000;*/
}

#content tbody {
	border: none;	
}

#content tbody img {
	max-width:700px;
	max-height:650px;
	} 
	
#content td pre {
	width:700px !important;
	background-color:#f3f3ff;
	color:#000080;
	border:1px dotted #000080;
	overflow:auto;
	padding:3px 5px;
}

#content td {
	/*border-bottom: .5em solid #9900CC; */
	overflow:hidden!important;	/* not sure this is doing anything, is it in the right place? */
	padding: 1em .5em .5em .5em;

	}
	
td p.favicons a,
td p.favicons a:hover {
	border:none;
	background-color:transparent;
	display:inline-block
}

td p.favicons img {
	border:none;
	padding: 1em 0em 0em 0em;
}

tbody td, tbody th {
	background-color: #ffffff;
	border-right: none;
	font-size: 110%;
	padding: 0.4em 0.5em 0.4em 0.5em;
}

tbody tr.color1 th, tbody tr.color1 td{
	background-color: #DBB5FF; /* color of odd table rows */
}

tbody th{	
	font-weight: bold;	
	border-left:1px solid #2293FF
}

table a:link, table a:visited, table a:active {	
	color:#444F66;
	background-color: transparent;
	text-decoration: underline;
}

table a:hover {
	text-decoration:none;
	background-color: #1E90FF;
	color: #FFFFFF;
}

/* ------------- sidebar styles */

#sidebar {
	float: left;
	width: 16.5em;
	margin: 0 0 4em -18em;
}

#sidebar form, #sidebar div h3 {
	background: #9f0404;
}

#sidebar form {
	margin: 0; padding: 0.8em;
}

#sidebar form .text {
	width: 9em;
}

#sidebar div {
	background: #9f0404; color: #FFF; /* color of the frame around the sidebar adlinks and then the color of the text */
	padding: 0 1em 1em;
	margin-top: 0.75em;
}

#sidebar div h3 {
	font-size: 1.25em;
	margin: 0 -0.8em; padding: 0.4em 0.8em;
	text-transform: uppercase;
}

#adbar h4 {
	margin: 0 0 0.5em; padding: 0.5em 0;
	font-weight: bold;
}

#adbar p:first-line {
	font-style: normal;
}

#adbar p {
	text-align:center; /* this didn't validate */
}

#adbar a {
	color: #FFF;
}

#adlinks {
	margin: 0; padding: 0.5em .5em;
	background: #9f0404; color: #FFF; /* background color of adlinks and their text color */
}

#adlinks li {
	list-style-type: disc;
	margin-right: 0.3em; padding-right: 0.5em;
	font-weight: bold;
}


/* #adbar img {
	display: block;
	margin: .3em auto 0; */

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

#footer {
	clear: both;
	padding: 0.5em .5em;
	background: #9f0404;
}

#footer img {
	margin: 0em;
}

#footer p {
	margin: .6em;
	color: #FFFFFF;
}

#footer a {
	color: #FFFFFF;
	text-decoration: underline;
}

/*
#footer {
	color: #fff;
	border-top: 2px solid #000000
	clear: both;
	p-align: center;
	padding: 0 0 4em 3em;
} */


/*SIFR STYLES */
.sIFR-active h3.header {
	visibility:hidden;
	line-height:1em;
}