@charset "utf-8";
body {              /* start by setting up the default font, the background color and text color */
	font-family: serif;
	text-align: center; 
	color: #000000;
	background-color: #FFFFFF;
	margin: 0;  /* clear the margins to begin with */
	padding: 0;

}
ul#main-nav { /* This took me forever to work out */
	font-family: serif;
	margin:0;
	padding:0;
	float:left;
	width:100%;
	text-transform: uppercase;
}
ul#main-nav li {
margin:0;
padding:0;
list-style:none;
float:left;
margin:0;
width:8em;
}
ul#main-nav li a {
	text-decoration:none;
	display:block;
	padding:0.3em 0.6em;
	color:white;
	background:black;
	border-left-width: 2px;
	border-left-style: solid;
	border-top-color: #000033;
	border-right-color: #000033;
	border-bottom-color: #000033;
	border-left-color: #000033;
}
ul#main-nav li a:hover, ul#main-nav li a:focus {
background:#369;
border-left:2px solid yellow;
}
ul#main-nav li ul {
padding:0;
margin:0;
display:none;
background:#036;
}
ul#main-nav li:hover ul {
display:block; 
background:#000066;
position:absolute;
z-index:10000;
}
ul#main-nav li ul li {
float:none;
}
ul#main-nav li ul li a {
font-size:0.9em;
}
#content {
	clear:left; /* This makes sure that we are no longing floating */
	width: 80%;
	text-align: left;
	background-color: #FFFFFF;
	margin-right: 100px;
	margin-left: auto;
	position: relative;
	top: 65px;
	font-family: serif;
	font-size: medium;
	font-style: normal;
	color: #000000;
	padding-top: 45;
	padding-right: 5;
	padding-bottom: 5;
	padding-left: 5;
}
#content #about {     /* This is the extra text area on the left of main content div, it is not used in all pages but is built into the template in case it's needed */
	font-family: serif;
	font-size: medium;
	color: #000000;
	width: 35%;
	float: left;
	z-index: 1; /* This ensures that if there's a conflict, this text box will "float" on top of other layers */
	margin-top: 15%;
	margin-right: 3px;
	margin-bottom: 3px;
	margin-left: -8%; /* This value allow this text box to float left outside of the main content div */
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 2px;
	padding-left: 8px;
	position: absolute;
	border:thin;
	border:medium none #333333;
}
#footer {
	width: 80%;
	background: #FFFFFF;
	background-color: #FFFFFF;
	float: none;
	margin-top: 10;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 5;
	padding-right: 10px;
	padding-bottom: 5;
	padding-left: 5px;
	top: 50px;
	position: relative; /* This makes sure that the footer always ends up after the content div */
	font-size: medium;
	clear: both;
} 
.caption {
	font-size: small;
	font-style: italic;
}
a {
	font-weight: bold;
	color: #2D328E;
	text-decoration: none;
}
/* Added for accessibility */
a:hover { 
text-decoration:underline;
}
a:visited {
color:purple;
}

/* all A tags whose HREF attribute ends in .pdf */
a[href$='.pdf'] { 
	padding-right: 18px;
	background: transparent url(icon_pdf.gif) no-repeat center right;
}

/* all A tags whose REL attribute equals pdf */
a[rel='pdf'] { 
	padding-right: 18px;
	background: transparent url(icon_pdf.gif) no-repeat center right;
}

/*  all A tags whose REL attributes has the letters pdf somewhere mixed in*/
a[rel*='pdf'] { 
	padding-right: 18px;
	background: transparent url(icon_pdf.gif) no-repeat center right;
}

/* all A tags whose REL attribute contains the value pdf, seperated from other values with a space */
a[rel~='pdf'] { 
	padding-right: 18px;
	background: transparent url(icon_pdf.gif) no-repeat center right;
}

/* all A tags whose HREF attribute starts with mailto: */
a[href ^="mailto:"] {
	padding-right: 18px;
    background: transparent url(icon_mailto.gif) no-repeat center right;
   
}
