@charset "utf-8";
body  {
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #960;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 0.9em;
	background-color: #000;
	line-height: 1.3em;
	background-image: url(back_main2011_02.jpg);
	background-repeat:repeat-y;
	background-position: center top;
}
#container {
	position: relative; /* adding position: relative allows you to position the two sidebars relative to this container */
	width: 780px;
	margin: 0 auto;
	text-align: left;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: outset;
	border-left-style: solid;
	border-right-color: #960;
	border-left-color: #960;
} 
p {
	padding-top: 0px;
	margin-top: 0px;
}
.body_image {
	margin: 15px 5px 20px 5px;
	padding: 0px;
	border: thin ridge #CCCCCC;
}
h5,h6 {
	font-weight: bold;
}
h1 {
	font-size: 1.2em;
	font-weight:normal;
	margin-bottom: 0px;
	padding-bottom: 5px;
	color:#960;
	text-decoration: underline;
}
h2 {
	font-size: 1.1em;
	font-weight:normal;
	margin-bottom: 0px;
	padding-bottom: 5px;
	color:#960;
	text-decoration: underline;
}
h3 {
	font-size: 1.1em;
	font-weight:normal;
	margin-bottom: 0px;
	padding-bottom: 5px;
	color:#960;
	text-decoration: underline;
}
a:link {
	text-decoration: none; color:#FFCC33;
}
a:visited {
	text-decoration: none;
	color: #FFCC33;
}
a:hover {
	text-decoration: underline;
	color: #FFFF99;
}
a:active {
	text-decoration: none;
	color: #FFFF00;
}
#container #head_nav {
	vertical-align: bottom;
	float:left;
	width:100%;
	text-align:left;
	padding-top: 0px;
	margin: 20px 0px;
}
#header {
	padding: 0 10px 0 20px;
	height: 200px;
	background-position: right top;
	background-image: url(../spark_logoHazard.jpg);
	background-position:right;
	background-repeat: no-repeat;
} 
#header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0;
}
#sidebar1 {
	position: absolute;
	top: 250px;
	left: 0;
	width: 150px; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 40px 10px 15px 0px;
}
#mainContent {
	margin-top: 0;
	margin-right: 0px;
	margin-bottom: 0;
	margin-left: 200px;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
}
#footer {
	padding: 0 10px 0 20px;
} 
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
#miniflex {
	float: left;
	font-size: small;
	margin: 0;
	padding: 0 5px 0 5px;
	border-bottom: 1px dotted #006699;
	position:relative;
	width: 600px;
}
#miniflex li {
	float: left;
	margin: 0;
	padding: 0;
	display: inline;
	list-style: none;
	position:relative;
	width: auto; 
}
#miniflex a:link, #miniflex a:visited { float: left; font-size: 85%;
line-height: 20px; font-weight: bold; margin: 0 10px 0 10px;
text-decoration: none; color: #006699;
}
#miniflex a.active:link, #miniflex a.active:visited, #miniflex a:hover
{ border-bottom: 4px solid #006699; padding-bottom: 2px; color: #006699;
} #animated-tab { position: absolute; z-index: 1; font-size: 85%;
line-height: 20px; padding-bottom: 2px; border-bottom: 4px solid #0066FF;
}
 #miniflex a:hover{ border-bottom: 4px solid #0099cc; padding-bottom: 2px; color: #006699;
}
#footer #footerContent {
	font-size: 10px;
	background-position: center;
	text-align: center;
	margin: 0px;
	padding: 0px;
}
#comparison td {
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #FFFFFF;
	font-size: 0.9em;
}

/* CSS 3 Classes */
@font-face {
font-family: dominican;
src: url(../Dominican-Small-Caps-Small-Caps.ttf);
}
.text_shadow_class {
font-family: dominican;
text-shadow: 2px 2px 4px #999;
}
.text_shadow_class_Header {
font-family: dominican;
text-shadow: 1px 1px 4px #000;
}

/*To Show that a link is to a .pdf file*/
a[href$="pdf"]:after,
a[href$="doc"]:after {
margin:0 0 0 5px;
font:bold 12px "Lucida Grande";
content: " (PDF)";
}
a[href$=".doc"]:after {content: " (DOC)";}

.heading_colour {
	color: #FFCC33;
}
#container #mainContent blockquote {
	font-style: italic;
	margin-top: 30px;
	margin-right: 0px;
	margin-bottom: 30px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 33px;
	padding-bottom: 0px;
	padding-left: 33px;
}
