/* Normalises margin, padding */
body, div, dl, dt, dd, ul, ol, li, hi, h2, h3, h4, h5, h6, pre, form, fieldset, legend,
input, p, blockquote, caption, th, td
{ margin: 0; padding: 0; }

/* Normalises heading font sizes */
h1, h2, h3, h4, h5, h6
{ font-size: 100%; }

/* Removes list-style for lists */
ul, ol
{
	list-style: none;
}

/* Normalises table borders */
table
{
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #000099;
}

/* Removes border from fieldset and img */
fieldset, img
{ border: 0; }

/* Left-aligns text in caption and th */
caption, th
{ text-align: left; }

/* Removes quotation marks from q */
q:before, q:after
{ content: ''; }


body {
	font: 1em Verdana, Arial, Helvetica, sans-serif;
	color: #000000;
}
#wrapper {						/* Adds margin and border to page */
	border: 1px solid #C5030B;
	position: relative;
	margin: 2em;
}

/* Start Header */
#header {
	background: #FFFFFF;
}
#header #headerimg {			/* Floats header image to right */
	float: right;
	margin-top: 5px;
	margin-right: 5px;
}
/* End Header */

/* Start top navigation */
#topnav {
	font-size: 80%;
	color: #FFFFFF;
	font-weight: bold;
	height: 1.75em;
	padding-top: 0.4em;
	background: #C5030B;
}
#topnav span {
	margin-left: 1em;
}

/* Start top navigation links */
#topnav a:link {
	color: #FFFFFF;
}
#topnav a:visited {
	color: #FFFFFF;
}
#topnav a:hover, #topnav a:active {
	color: #FFCCCC;
}
/* Endtop navigation links */

#topnav ul {			/* Floats navigation to right */
	float: right;
	margin-right: 1em;
}
#topnav li {			/* Displays navigation horizontally */
	display: inline;
	margin-left: 1.5em;
}
/* End top navigation */

/* Start left navigation */
#leftnav {								/* Level 1 navigation */
	position: absolute;
	left: 0px;
	top: 134px;
	width: 18em;
	font-size: 70%;
}
#leftnav h2 {
	color: #C60912;
	margin-top: 2em;
	margin-left: 1em;
}

#leftnav ul {
	margin-top: 1.3em;
}
#leftnav li {
	list-style: none;
}
#leftnav a:link, #leftnav a:visited {
	color: #FFFFFF;
	font-weight: bold;
	padding: 8px 4px;
	background: #535353;
	display: block;
	width: 18em;
	text-decoration: none;
	border-bottom: 1px solid #2d2d2d;
	border-left: 8px solid #2d2d2d;
}
#leftnav a:hover, #leftnav a:active {
	color: #424242;
	background: #d5d5d5;
}
#homepage #leftnav #homelink, #visitorspage #leftnav #visitorslink,				/* Current page menu formatting */
#memberspage #leftnav #memberslink, #volunteerspage #leftnav #volunteerslink, #faqspage #leftnav #faqslink,
#contactpage #leftnav #contactlink, #aboutpage #leftnav #aboutlink, #linkspage #leftnav #linkslink,
#sitemappage #leftnav #sitemaplink, #sponsorspage #leftnav #sponsorslink, #servicespage #leftnav #serviceslink,
#sitemappage #leftnav #sitemaplink {
	color: #424242;
	background: #d5d5d5;
}
/* #leftnav #cslogin {
	padding-bottom: 1em;
} */
#leftnav #cslogin a:link, #leftnav #cslogin a:visited {
	background: none;
	color: #0066CC;
	border: none;
	text-decoration: underline;
	margin-left: 0;
}
/* End left navigation */

/* Start main content */
#content {
	margin-left: 15em;
	padding-right: 1em;
}
#content h1 {
	font-size: 110%;
	font-weight: bold;
	color: #8a0206;
}
h1+p {
	font-weight: bold;
}
#content h1 span {
	font-size: 70%;
}
#content h2 {
	font-size: 90%;
	font-weight: bold;
	margin-left: .5em;
	color: #8a0206;
	margin-top: 1em;
}
#content h3 {
	font-size: 80%;
	margin-left: 1em;
	color: #c50308;
	margin-top: 1em;
}
#content h4 {
	color: #c50308;
	font-size: 80%;
	margin-left: 1em;
}
#content p {
	font-size: 80%;
	line-height: 120%;
	margin: 0.5em 1em 1em;
}
#content ul {
	font-size: 80%;
	margin-left: 3em;
	line-height: 120%;
	margin-bottom: 2em;
	margin-top: 0.5em;
}
#content ul li {
	margin-top: 1em;
	padding-left: 1.2em;
	background: url(../images/bullet.gif) no-repeat 0px 6px;
}
#content ul ul {
	font-size: 100%;
	margin-left: 1em;
}
#content li li {
	clear: left;
}
#content ol li {
	list-style: decimal;
	font-size: 80%;
	margin-left: 2.5em;
	margin-top: 1em;
}
#content ol ol {
	font-size: 80%;
	margin-left: 4em;
}
#content ol li li {
	font-size: 120%;
	margin-left: 0px;
}
#content .i li {
	list-style: lower-roman;
}
#content li li img {
	float: left;
}
#content .nomargin li {
	margin-top: 0em;
}
/* Start submenu box */
#content #submenu {
	text-align: center;
	font-size: 70%;
	margin-left: 0px;
}
#content #submenu li {
	list-style: none;
	background: url(none);
	display: inline;
}
#content #submenu a:link, #content #submenu a:link {
	background: url(none);
}
/* end submenu box */

#content table {
	border: 1px solid #02538a;
	width: 90%;
	margin-left: 1em;
	font-size: 80%;
	margin-top: 1em;
}
#content table caption {
	font-size: 90%;
	font-weight: bold;
	text-align: center;
	padding-bottom: .25em;
}
#content th {
	background: #0377c5;
	font-size: 80%;
	color: #FFFFFF;
	text-align: left;
	padding: 0.15em 0.15em 0.15em .3em;
	width: 50%;
	border: 1px solid #02538a;
}
#content td {
	padding: 0.15em 0.15em 0.15em .3em;
	border: 1px solid #0377c5;
	font-size: 90%;
}
#content #timetable #date {
	width: 16%;
}
#content #timetable #subject {
	width: 84%;
}
#content #timetable td {
	font-weight: bold;
	vertical-align: top;
}
#content #timetable td span {
	font-style: italic;
	font-weight: normal;
}
#content dl {
	font-size: 80%;
	margin-left: 1em;
}
#content dt {
	font-weight: bold;
	color: #043A85;
}
#content dd {
	margin-left: 1em;
	margin-bottom: 1em;
	font-size: 90%;
	margin-top: .25em;
}
#content #locmap {
	font-size: 70%;
	text-align: center;
	margin-left: 1em;
}
#content #location {
	margin-top: 1em;
	border: 1px solid #666666;
}
#content #supporters li {
	list-style: none;
	background: url(none);
	clear: left;
	margin-left: -2em;
}
#content #supporters a:link, #content #supporters a:visited {
	border-style: none;
	color: #043A85;
	margin-left: 1.5em;
	text-decoration: underline;
}
#content #supporters a:hover, #content #supporters a:active {
	color: #EC131B;
}
#content #supporters li img {
	border-style: none;
	text-decoration: none;
	margin-left: 2em;
	margin-top: .5em;
}

/* Start Main link formatting */
#content a:link {
	color: #043A85;
}
#content a:visited {
	color: #0066FF;
}
#content a:hover, #leftnav a:active {
	color: #EC131B;
}
/* End Main link formatting */

#content address {
	font-size: 80%;
	font-style: normal;
	font-weight: bold;
	margin-left: 4em;
	line-height: 130%;
	margin-top: 1em;
}
#content form {
	margin-top: 2em;
	margin-left: 1em;
	margin-right: 1em;
	border: 1px solid #043A85;
}
#content .top {
	text-align: right;
	font-size: 70%;
	background: url(../images/up-arrow.gif) no-repeat right 3px;
	padding-right: 1.25em;
}
#content .nobullet li {
	background: url(none);
}
.req2 {
	color: #c50308;
	font-weight: bold;
	font-size: 90%;
}
#admincontent {
	margin-left: 1em;
}
#admincontent th {
	background: #0377c5;
	font-size: 80%;
	color: #FFFFFF;
	text-align: left;
	padding: 0.15em 0.15em 0.15em .3em;
	width: 50%;
	border: 1px solid #02538a;
}
#admincontent #nametd {
	font-size: 70%;
	padding-left: 1em;
}
/* End Main content formatting */

/* Start Footer formatting */
#footer {
	background: #c0e6ff;
	text-align: center;
	font-size: 65%;
	color: #0377c5;
	border-top: 1px solid #0377c5;
	margin-top: 3em;
	padding: 1em;
}
#footer p {
	margin-bottom: 1em;
}
#footer #tvejcnlogo1 {
	display: inline;
}
#footer ul {
	margin-left: 2em;
}
#footer li {
	margin-top: 0.5em;
	display: inline;
}
/* Start Footer link formatting */
#footer a:link, #footer a:visited {
	color: #02538a;
	border-right: 1px solid #02538a;
	margin-right: 1em;
	padding-right: 1em;
}
#footer a:hover, #leftnav a:active {
	color: #c50308;
}
#footer #contactlink2 {
	border-style: none;
}



/* Other formatting */
.center {
	text-align: center;
}
.highlight {
	text-align: center;
	font-weight: bold;
	color: #0377c5;
}
.backtotop {
	text-align: right;
	border-bottom: 1px solid #009999;
	padding-bottom: 0.15em;
	background: #BFFFFF url(../images/up-arrow.gif) no-repeat right;
	margin-bottom: 0.75em;
	padding-top: 0.15em;
	padding-right: 0.5em;
}
.backtotop a:link, .backtotop a:visited {
	font-size: 85%;
}

/* floats */
.floatleft {
	float: left;
}
.floatright {
	float: right;
	margin-left: 1em;
	margin-top: 0.15em;
}
.clearright {
	clear: right;
}
#boxright {
	float: right;
	width: 50%;
	font-weight: bold;
	margin-left: 1em;
}
#boxright h3 {
	color: #006b00;
	font-size: 85%;
	margin-left: 0em;
	padding-left: 0em;
}
#boxright p {
	font-size: 75%;
	margin-left: 1em;
}


.clear {
	clear: both;
}
