
/* Hide if Flash */

/*.flashInstalled #middle h1,
.flashInstalled .flash,
.flashInstalled #topimg,
.flashInstalled #topimg2 {
	visibility: hidden;
}*/

.flashInstalled #box h2 { background: url(/_img/layup/arrow_3.gif) no-repeat 158px 8px;}
.flashInstalled  .qlinks h2{ background-position: 105px 8px !important}


.qlinks {
	background: #bcbcbc;
	border-bottom: solid 1px #fff;
}
.qlinks h2{
	background-position: 105px 8px !important
}

/* Tags */
body {
	font: 62.5%/133% Georgia, "Times New Roman", Times, serif;
	margin:33px 0 0 0;
	padding: 0;
	background-color: #ffffff;
}
a {
	color: #080952;
	text-decoration: underline;
}
a:hover,
a:focus {
	text-decoration: none;
}
a img {
	border: none;
}
p {
	padding: 0 0 10px 0;
	margin: 0;
}
h1,h2,h3 {
	font-size: 1.5em;
	font-weight: normal;
	color: #12166b;
	padding: 0;
	margin: 0 0 10px;
}
h2 {
	font-size: 1.3em;
	margin-top: 10px;
}
h3 {
	font-size: 1.1em;
	font-weight: bold;
}
hr {
	background:none;
	border: none;
	border-bottom: 1px solid #ccc;
	height: 1px;
}
form, 
fieldset {
	border: none;
	margin: 0;
	line-height:80%;
	font-size:80%;
	padding: 0;
}
button {
	font-size: 1px;
	border: 0;
	margin: 0;
	padding: 0;
	text-indent: -9000px;
	cursor: pointer;
	width: 70px;
	height: 18px;
	background: url(/_img/layup/submit.gif);
} 
legend {
	display: none;
}

/* Structure */

#contents{
	margin: 0 auto;
	width: 1002px;
	text-align: left;
	background: #fff;
	overflow: hidden;
	border: 1px solid #fff;
}
#main {
	float:left;
	width: 784px;
	padding:0 0 88px 0;
}

#middle {
	float:left;
	padding:0 0 0 13px;
	margin:16px 0 0 0;
	font-size:16px;
	width:771px;
	line-height:140%;
}
.home #middle {
	float:left;
	padding:0 0 0 0;
	line-height:300%;
	width:785px;

}
#middle li{
	margin-bottom: 5px; 
}
#topbar {
	float:left;
	width:1002px;
	background:#ffffff url(/_img/layup/header_bg.gif) repeat-y top right;
	padding:0;
}
#topbar h1{
	margin: 0;
	width:1002px;
	height: 102px;
	background:#FFFFFF;
	float: left;
}
#topbar h1 a{
	text-indent: -9000px;
	background:#ffffff url(/_img/layup/hayfin_logo.jpg) no-repeat;
	margin: 0;
	width:182px;
	height: 102px;
	float: left;
}
#topbar h2 {
	float: left;
	color:#ffffff;
	padding:0 0 0 228px;
	width:774px;
	margin:9px 0 0 0;
	/*padding:1px 0 1px 0;*/
	padding-bottom:9px;
	font-size:18px;
}
#topbar h2.hidden
{
	visibility:hidden;
}
.home #header {
	/*height: 470px;*/
	height: 342px;
}
.home #box {
	height: 420px;
}
#middle h3 {
	float:left;
	font-size:16px;
	color:#345fac;
	font-weight:bold;
	padding:0;
	margin:0 0 0px 0;
	width:100%;
}
#middle .fullwidth {
	float:left;
	width:771px;
	background:#ff0000;
}
#middle .newslisting {
	float:left;
	width:100%;
	padding:0 0 15px 0;
	border-bottom:1px solid #345fac;
}
#middle .newslisting h2{
	float:left;
	width:100%;
	margin:0;
	padding:0;
}
#middle .newslisting h2 a{
	float:left;
	width:100%;
	color:#345fac;
	text-decoration:none;
	font-size:18px;
	font-weight:bold;
}
#middle .newslisting a{
	float:left;
	width:auto;
	color:#1b76bc;
	text-decoration:none;
	font-size:18px;
	font-weight:normal;
}
#middle .newslisting span,
#middle .newslisting p{
	float:left;
	width:100%;
	color:#000000;
	font-size:18px;
	padding:0;
	margin:0;
}
.home #middle h3 {
	float:left;
	font-size:22px;
	color:#000000;
	font-weight:normal;
	clear:both;
	padding:0 0 0 13px;
	margin:0 0 8px 0;
	line-height:118%;
	width:100%;
}
.home #middle h3.headrlne {
	font-size:32px;
}
#middle p {
	float:left;
	width:100%;
	margin:0 0 8px 0;
	padding:0;
	font-size:16px;
	color:#464749;
	line-height:140%;
}
#middle ul {
	float:left;
	width:100%;
	margin:0 0 10px 0;
	padding:0;
	list-style-type:none;
}
#middle ul li{
	float:left;
	width:100%;
	margin:0;
	padding:0 0 0 10px;
	background: url(/_img/layup/bullets.gif) no-repeat left center;
}
.home #middle a {
	float:left;
	width:320px;
}
#cnt
{
	float:left;
	width:1002px;
}
.team #cnt
{
	background:url(/_img/layup/team_bg.gif) repeat-y right top;
}
.team #middle
{
	width:550px;
}
.team #main
{
	width:566px;
}
.team #middle p
{
	width:540px;
}
.team #cnt img
{
	float:left;
	padding:20px 0 0 0;
	background:#FFFFFF;
}
.team #middle h2
{
	color:#345fac;
	font-size:18px;
	margin:0 0 10px 0;
	padding:0;
}
.home #middle p.spacer {
	float:left;
	width:100%;
	padding:0 0 0 0;
	margin:0;
	background:none;
}
.home #middle p {
	float:left;
	width:447px;
	padding:9px 0px 9px 17px;
	margin:11px 0 0 0;
	background:#e5e5e5;
	font-size:18px;
	color:#464749;
	line-height:134%;

}
.home #middle img
{
	float:left;
	margin:11px 0px 0 0;
}
.home #middle a img {
	float:left;
	border:0px;
	padding:0 10px 0 0;
}
#header {
	height: 244px;
	/*border-top: 1px solid #fff;*/
}
#box {
	width: 0px;
	height: 0px;
	padding: 25px;
	background: url(/_img/layup/box_bg.gif);
	float: left;
	color: #fff;
	display:none;
}
#box a,
#box a:hover,
#box a:focus {
	text-decoration: none;
	color: #fff;
	
}
#box p {
	margin: 0;
	padding: 0;
	font-size: 1.7em;
	line-height: 1.2;
	font-style: italic;
}

#box .title {	
	font-style: normal;
	float: right;
	margin-top: 20px;
	font-size: 10px;
}
#topimg {
	width: 1002px;
	height: 342px;
	float: left;
}
#topimg2 {
	width: 784px;
	float: left;
	padding:0 0 0 218px;
	background:  url(/_img/layup/blue_box.jpg) no-repeat left top;
}
#topimg2 img {
	float: left;
}
.printlogo {
	display: none;
}


#leftside {
	width: 218px;
	float: left;
}
#leftside ul {
	margin:0;
	padding:9px 0 0 0;
	float:left;
	width:218px;
	list-style-type:none;
}
#leftside li {
	float:left;
	clear:both;
	margin:0 0 1px 0;
	line-height:120%;
	padding:0;
}

#leftside li a,
#leftside li a:link,
#leftside li a:active,
#leftside li a:visited
{
	float:left;
	width:213px;
	color: #000000;
	padding:6px 0 5px 5px;
	text-decoration:none;
	font-size:18px;
	font-family:Georgia, "Times New Roman", Times, serif;
}

#leftside li ul {
	float:left;
	margin: 0;
	padding:3px 0 0 0;
}
#leftside li ul li{
	float:left;
	margin: 0 0 1px 0;
	padding:0;
}

#leftside li li a,
#leftside li li a:link,
#leftside li li a:active,
#leftside li li a:visited
{
	float:left;
	width:195px;
	font-size:14px;
	padding:4px 0 7px 23px;
}
#leftside ul li a:hover
{
	background-color:#345fac;
	color:#ffffff;
}
#leftside ul li li a:hover
{
	background-color:#dae5f1;
	color:#000000;
}
#leftside ul li a.on {
	background-color:#345fac;
	color:#ffffff;
}
#leftside ul li li a.on {
	background-color:#dae5f1;
	color:#000000;
}
#leftside h2 {
	color: #161616;
	padding: 0 0 0 23px;
	width: 164px;
}
#leftside div { 
	padding-top:  23px;
}

.qlinks {
	background: #bcbcbc;
	border-bottom: solid 1px #fff;
}

.imgholder{
	float: right;
	width: 161px;
	margin: 0;
	padding: 34px 0 0 0;
}
.imgholder li{
	display: block;
	list-style: none;
	margin: 0;
	padding: 0 0 12px;
}
.imgholder img{ 
	margin: 9px 0 0 9px;
}
#footer{
	float:left;
	background:#c8c8c8;
	padding:8px 10px 10px 10px;
	width:982px;
	margin:10px 0 0 0;
}
#footer ul{
	float:left;
	margin:0;
	list-style-type:none;
	padding:0;
}
#footer li
{
	float:left;
	margin:0;
	padding:0 8px 0 0;
}
#footer a,
#footer a:link,
#footer a:active,
#footer a:visited
{
	float:left;
	padding:0 0 0 16px;
	color:#424242;
	font-size:11px;
	text-decoration:none;
	background: url(/_img/layup/footer_bg.gif) no-repeat 0 1px;	
}
#footer p
{
	float:left;
	padding:0 0 0 36px;
	color:#424242;
	font-size:11px;
}
#footer .last {
	float: right;
}
#footer .no a { 
	border-right: none;	
}
#footer .last a { 
	border-right: none;	
	color: #dfdfdf;
}
#footer a:hover,
#footer a:focus {
	text-decoration: underline;
}
.triangle {
	width: 25px;
	height: 35px;
	background:url(/_img/layup/triangle.gif) no-repeat;
	position: absolute;
	margin: -36px 0 0 191px;
}

.docs {
	margin: 0 0 0 20px;
	padding: 0;
}
.docs li{
	clear: left;
	list-style: none;
}
.docs a{
	padding: 5px 0 5px 22px;
	background: url(/_img/layup/docs.gif) no-repeat 0 -82px ;
	float: left;
}
.docs span{
	float: left;
	padding: 5px 0 5px 22px;
	color: #999;
}

.xls { background-position: 0 4px !important;}
.pdf { background-position: 0 -125px !important;}
.doc { background-position: 0 -39px !important;}


#sitemap,
#sitemap ul{
	margin: 0;
	padding: 0 0 0 20px;
	list-style: none;
}
#sitemap  a {
	display: block;
	text-decoration: none;
	font-weight: bold;
	color: #666;
	padding: 2px 0 2px 18px;
}
#sitemap  a:hover { 
	color: #000;
}
#sitemap ul a {
	color: #53107f;
}
#sitemap ul a {
	font-weight: normal;
}
#sitemap li {
	border-left: 1px solid #CDCDCD;
	background: url(/_img/layup/sitemapli.gif) no-repeat 0 .5em;
}


/* Forms */

.formarea{
	text-align: right;
	vertical-align: top;
	width: 450px;
	border: none;
}
#contents .formarea p {
	margin: 10px 0;
	padding: 0;
	font-size:140%;
	line-height:120%;
}
.formarea p label {
	float: left;
}
.formarea select{
	padding: 0;
	width: 174px;
}
.textform {
	background: #fff !important;
}
.textformfocus {
	background: #e5e5e5 !important;
}
.textform, 
.textformfocus {
	color: #666;
	padding: 2px 3px 3px 3px;
	width: 168px;
	border: 1px solid #cfcfcf;
	font: .9em Verdana, Arial, Helvetica, sans-serif;
	vertical-align: top;
}

/* Ajax & Error Checking */

.formerror .textform, 
.formerror .textformfocus {
	border: solid 1px #d11010;
	color: #d11010;
}
.formerror .textformfocus {
	background: #ffeeed !important;
}
.formerror label:after {
	color: #d11010;
	content: " *";
}
.formerror label {
	color: #000;
}
.error {
	color: #d11010;
	padding: 10px 0 !important;
	text-align: left !important;
}
#waiting {
	position: absolute;
	background-color:#fff;
	width: 536px;
	margin-left: -1px;
	opacity: 0.9;
	text-align: center;
}

/* Extras */

.clear{
	clear: both;
}
.hidden {
	position: absolute; 
	left: -9999px; 
}
.hand {
	cursor: pointer;
}
.textleft {
	text-align: left !important;
}
.textcenter {
	text-align: center !important;
}
.textright {
	text-align: right !important;
}
.right {
	float: right;
}
.left {
	float: left;
}
.highlight {
	color: #080952;
	font-weight: bold;
	font-size:12px;
}
#googlemap {
	width: 480px;
	height: 300px;
	position: absolute;
	margin:0 0 0 290px;
}
#googlemap2{
	width: 480px;
	height: 300px;
	position: absolute;
	margin: 317px 0 0 290px;
}
.contactSec{
	float:left;
	width:220px;
	position:absolute;
	top:418px;
}
.spacing{
	height:550px;
}
