@charset "UTF-8";
/* CSS Document */

/* =General
-----------------------------------------------------------------------------*/
* {margin: 0;padding: 0;} /* Remove padding and margin */
body  {
	background: #222629;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	
}

/* =Links
-----------------------------------------------------------------------------*/
a:link, a:visited {color: #F7F6C1;}
a:hover, a:active {color: #59ABDF;}

/* =Typography
-----------------------------------------------------------------------------*/
body {font: .8em Verdana, Arial, Helvetica, sans-serif; line-height: 1.8em; color: #FFFFFF; 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 */
h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, fieldset, table, li {margin: 1em 0;} /* Put it back on certain elements */
.centertext {text-align: center;}
nav ul { font-family: Georgia, "Times New Roman", Times, serif; font-size: 120%; color: #FFFFFF;}
#mainContent li {margin-left: 15px;}

/* =Headings
-----------------------------------------------------------------------------*/
.homepage #mainContent h1, .template2 #mainContent h1  {font: Georgia, "Times New Roman", Times, serif;}
.template #mainContent h1.about, .template2 #mainContent h1.about {font: Georgia, "Times New Roman", Times, serif; color: #bf3e40;}
.template #mainContent h1.homealliance, .template2 #mainContent h1.homealliance {font: Georgia, "Times New Roman", Times, serif; color: #98d867;}
.template #mainContent h1.fair, .template2 #mainContent h1.fair {font: Georgia, "Times New Roman", Times, serif; color: #6bb8ea;}
.template #mainContent h1.news, .template2 #mainContent h1.news {font: Georgia, "Times New Roman", Times, serif; color: #478596;}
.template #mainContent h1.services, .template2 #mainContent h1.services {font: Georgia, "Times New Roman", Times, serif; color: #046aaf;}
.template #mainContent h1.contactus, .template2 #mainContent h1.contactus {font: Georgia, "Times New Roman", Times, serif; color: #e7e59f;}

/* = Layout and Template Styles
-----------------------------------------------------------------------------*/
.homepage #container, .template #container, .template2 #container { 
	width: 1000px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; }/* this overrides the text-align: center on the body element. */
.homepage #sidebar1, .template2 #sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 250px;} /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
.homepage #sidebar1 #bgshape, .template2 #sidebar1 #bgshape  { width: 250px; background: #1d2124 url(../images/sidebar_top.gif) no-repeat top center; }
.homepage #sidebar1 #padding, .template2 #sidebar1 #padding  {padding: 30px 10px 15px 20px;}
.homepage #sidebar1 #bgshape_end, .template2 #sidebar1 #bgshape_end { width: 250px; height: 34px; margin: 0px 0px 1px 0px; background: url(../images/sidebar_bottom.gif) no-repeat; }
.homepage #mainContent, .template2 #mainContent  { 
	margin: 5px 0 0 270px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 20px 20px 0 20px; } /* remember that padding is the space inside the div box and margin is the space outside the div box */ 

.template #container {background: #1d2124;}	
.template #mainContent {padding: 0 10px 5px 10px;}
.template #templateHeader {background: #222629 url(../images/templateheader.gif) no-repeat top center; height: 35px; display: block; }
	
#columnContainer {width: 740px; text-align: center;}
#columnContainer .column {display: block; float: left; width: 240px; margin: 3px;}
	
.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;}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both; height:0; font-size: 1px;line-height: 0px;}

/* =Header
-----------------------------------------------------------------------------*/
.homepage #header, .template #header, .template2 #header { padding: 0; margin-bottom: 10px; background: #222629;} /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */

/* =Main Nav
-----------------------------------------------------------------------------*/
#nav {width: 1000px; height: 90px; margin: 0; padding: 0; clear: both; text-align: center;}
#nav ul {width: auto;}
#nav li {list-style-type: none; display: inline;}
#nav li a {text-decoration: none; color: #FFFFFF; padding-top: 20px;}
#nav li a:link { color: #FFFFFF;}

#nav ul li a:link.about, #nav ul li a:visited.about  {width: 188px; height: 90px; display: block; float: left; background: url(../images/about.jpg) no-repeat;}
#nav ul li a:hover.about {width: 188px; height: 90px; display: block; float: left; background: url(../images/aboutover.jpg) no-repeat; cursor: default;}
#nav ul li a:link.homeall, #nav ul li a:visited.homeall  {width: 205px; height: 90px; display: block; float: left; background: url(../images/homealliance.jpg) no-repeat;}
#nav ul li a:hover.homeall {width: 205px; height: 90px; display: block; float: left; background: url(../images/homeallianceover.jpg) no-repeat;}
#nav ul li a:link.homefair, #nav ul li a:visited.homefair {width: 205px; height: 90px; display: block; float: left; background: url(../images/homebuyerfairs.jpg) no-repeat;}
#nav ul li a:hover.homefair {width: 205px; height: 90px; display: block; float: left; background: url(../images/homebuyerfairsover.jpg) no-repeat;}
/*#nav ul li a:link.news, #nav ul li a:visited.news  {width: 171px; height: 90px; display: block; float: left; background: url(../images/news_events.jpg) no-repeat;}
#nav ul li a:hover.news {width: 171px; height: 90px; display: block; float: left; background: url(../images/news_eventsover.jpg) no-repeat;}  */
#nav ul li a:link.services, #nav ul li a:visited.services {width: 205px; height: 90px; display: block; float: left; background: url(../images/services.jpg) no-repeat;}
#nav ul li a:hover.services {width: 205px; height: 90px; display: block; float: left; background: url(../images/servicesover.jpg) no-repeat;}
#nav ul li a:link.contact, #nav ul li a:visited.contact {width: 197px; height: 90px; display: block; float: left; background: url(../images/contactus.jpg) no-repeat;}
#nav ul li a:hover.contact {width: 197px; height: 90px; display: block; float: left; background: url(../images/contactusover.jpg) no-repeat;}

/* =Sub Nav
-----------------------------------------------------------------------------*/
#subnav {width: 1000px; margin: auto;}
.fontsize {float: left; width: 330px; height: 34px; display: block; font-size: 80%;}
.homelink {float: left; width: 40px; margin: 0 0 0 130px; display: block;}
.homelink img {width: 34px; margin: 0 auto; display: block;}
.facebook {float: left; width: 40px; margin: 0 175px 0 0; display: block;}
.facebook img {width: 34px; margin: 0 auto; display: block;}

.search   {float: left; width: 280px; height: 34px; display: block; text-align: right; margin-top: 2px;}


/* =Footer
-----------------------------------------------------------------------------*/
.homepage #footer, .template #footer, .template2 #footer { 
	height: 100px;
	padding: 0; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background: url(../images/footer.gif) no-repeat;
	text-align: center;
	font-size: 90%;} 
.homepage #footer p, .template #footer p, .template2 #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: 40px 0 20px 0;} /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
.homepage #footer img, .template #footer img, .template2 #footer img {
	bottom: -1px;
	right: 145px;
	float: right;
	clear: both;
	position: relative;
	display: block;
}
	
/* =Forms
-----------------------------------------------------------------------------*/
/* Removes fieldset borders. even on Opea 7 */
.search fieldset {border: 1px solid transparent;}
.search input {background-color:  #1d2124; color: #ffffff; height: 20px; margin-bottom: -7px;}

#formContainer {width: 100%; background: #1D2124;}
#formContainer form {
  margin: 0;
  padding: 0;
  font-size: 100%;
  width: 90%;
}

#formContainer form fieldset {
  /* clear: both; */
  font-size: 100%;
  border-color: #FFF;
  border-width: 1px 0 0 0;
  border-style: solid none none none;
  padding: 10px;
  margin: 0 0 0 0;
}

#formContainer form fieldset legend {
  font-size: 150%;
  font-weight: normal;
  color: #FFF;
  margin: 0 0 0 0;
  padding: 0 5px;
}

#formContainer label {
  font-size: 100%;
}

#formContainer label u {
  font-style: normal;
  text-decoration: underline;
}

#formContainer input, select, textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  color: #000;
}

#formContainer textarea {
  overflow: auto;
}

#formContainer form div {
  clear: left;
  display: block;
  width: 854px;
  zoom: 1;
  margin: 5px 0 0 0;
  padding: 1px 3px;
}

#formContainer form fieldset div.notes {
  float: right;
  width: 158px;
  height: auto;
  margin: 0 0 10px 10px;
  padding: 5px;
  border: 1px solid #EEEEEE;
  background-color: #222629;
  color: #EEEEEE;
  font-size: 88%;
}

#formContainer form fieldset div.notes h4 {
  background-image: url(../images/icon_info.gif);
  background-repeat: no-repeat;
  background-position: top left;
  padding: 1px 0 1px 21px;
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: #EEEEEE;
  color: #FFFFFF;
  font-size: 100%;
}

#formContainer form fieldset div.notes p {
  margin: 0em 0em 1.2em .7em;
  color: #EEEEEE;
}

#formContainer form fieldset div.notes p.last {
  margin: 0 0 0 .7em;
}

#formContainer form div fieldset {
  clear: none;
  border-width: 1px;
  border-style: solid;
  border-color: #EEEEEE;
  margin: 0 0 0 145px;
  padding: 0 5px 5px 5px;
  width: 497px;
	}
#formContainer form div fieldset legend {
  font-size: 100%;
  padding: 0 3px 0 9px;
	}
#formContainer form div.required fieldset legend {
  font-weight: bold;
	}
#formContainer form div label {
  display: block;
  float: left;
  width: 230px;
  padding: 3px 5px;
  margin: 0 0 5px 0;
  text-align: right;
	}
#formContainer form div.optional label, label.optional {
  font-weight: normal;
	}
#formContainer form div.required label, label.required {
  font-weight: bold;
	}
#formContainer form div label.labelCheckbox, form div label.labelRadio {
  float: none;
  display: block;
  width: 300px;
  zoom: 1;
  padding: 0;
  margin: 0 0 5px 142px;
  text-align: left;
	}
#formContainer form div fieldset label.labelCheckbox, form div fieldset label.labelRadio {
  margin: 0 0 5px 0;
  width: 300px;
	}
#formContainer form div img {
  border: 1px solid #EEEEEE;
	}
#formContainer p.error {
  background-color: #ff0000;
  background-image: url(../../redesign/assets/images/icon_error.gif);
  background-repeat: no-repeat;
  background-position: 3px 3px;
  color: #ffffff;
  padding: 3px 3px 5px 27px;
  border: 1px solid #000000;
  margin: auto 100px;
	}
#formContainer form div.error {
  background-color: #ffffe1;
  background-image: url(../../redesign/assets/images/required_bg.gif);
  background-repeat: no-repeat;
  background-position: top left;
  color: #EEEEEE;
  border: 1px solid #ff0000;
	}
#formContainer form div.error p.error {
  background-image: url(../../redesign/assets/images/icon_error.gif);
  background-position: top left;
  background-color: transparent;
  border-style: none;
  font-size: 88%;
  font-weight: bold;
  margin: 0 0 0 118px;
  width: 400px;
  color: #ff0000;
	}
#formContainer form div select, #formContainer form div textarea {
  width: 300px;
  padding: 1px 3px;
  margin: 0 0 0 0;
	}
#formContainer form div input.inputText, #formContainer form div input.inputPassword {
  width: 400px;
  padding: 1px 3px;
  margin: 0 0 0 0;
	}
#formContainer form div input.inputFile {
  width: 411px;
	}
#formContainer form div select.selectOne, form div select.selectMultiple {
  width: 411px;
  padding: 1px 3px;
	}
#formContainer form div input.inputCheckbox, #formContainer form div input.inputRadio, #formContainer input.inputCheckbox, #formContainer input.inputRadio {
  display: inline;
  height: auto;
  width: auto;
  background-color: transparent;
  border-width: 0;
  padding: 0;
  margin: 0 0 0 240px;
	}
#formContainer form div.submit {
  width: 214px;
  padding: 0 0 0 240px;
	}
#formContainer form div.submit div {
  display: inline;
  float: left;
  text-align: left;
  width: auto;
  padding: 0;
  margin: 0;
	}
#formContainer form div input.inputSubmit, #formContainer form div input.inputButton, #formContainer input.inputSubmit, #formContainer input.inputButton {
  background-color: #cccccc;
  color: #000000;
  width: auto;
  padding: 0 6px;
  margin: 0;
	}
#formContainer form div.submit div input.inputSubmit, #formContainer form div.submit div input.inputButton {
  float: right;
  margin: 0 0 0 5px;
	}
#formContainer form div small {
  display: block;
  margin: 0 0 5px 242px;
  padding: 1px 3px;
  font-size: 88%;
  zoom: 1;
	}
#formContainer label img {
  behavior: url(../../redesign/assets/scripts/label_img.htc);
	}
#formContainer form fieldset legend {
  line-height: 150%;
	}
#formContainer form input, form select, form textarea {
  background-color: #ffffff;
	}
#formContainer form textarea.expanding {
  overflow: auto;
  overflow-x: auto;
  overflow-y: visible;
	}
#formContainer div.optional label:before {
  content: '';
	}
#formContainer div.required label:before {
  content: '';
	}
#formContainer form div label.labelCheckbox, #formContainer form div label.labelRadio, #formContainer label.labelCheckbox, #formContainer label.labelRadio {
  display: block;
  width: 300px;
  zoom: 1;
  padding: 4px 0 0 18px;
  text-indent: -18px;
  line-height: 120%;
	}
#formContainer form div label.labelCheckbox input.inputCheckbox, #formContainer form div label.labelRadio input.inputRadio, #formContainer label.labelCheckbox input.inputCheckbox, #formContainer label.labelRadio input.inputRadio {
  margin: 0;
	}
#formContainer form div fieldset input.inputText, #formContainer form div fieldset input.inputPassword, #formContainer form div fieldset input.inputFile, #formContainer form div fieldset textarea.inputTextarea {
  width: 160px;
  margin: 0 0 0 18px;
  margin: expression(setCntr(), '0px 0 0 -124px');
	}
#formContainer form div label.compact {
  display: inline;
  width: auto;
  padding: 4px 10px 0 0;
  text-indent: 0;
  margin: 0 0 0 0;
	}
#formContainer form div.wide label {
  float: none;
  display: block;
	}

form div label.wide {
  width: 448px;
	}
#formContainer form div.wide input.inputText, #formContainer form div.wide input.inputPassword, #formContainer form div.wide input.inputFile, #formContainer form div.wide select, #formContainer form div.wide textarea {
  width: 544px;
  margin: 0;
	}
#formContainer form div.notes p, #formContainer form div small {
  line-height: 125%;
	}
#formContainer form div.wide small {
  margin: 0 0 5px 0;
	}

/* =Tables
-----------------------------------------------------------------------------*/

/*  =Sifr font replacement
-----------------------------------------------------------------------------*/
  .sIFR-flash {
    visibility: visible !important;
    margin: 0;
    padding: 0;
  }
  
  .sIFR-replaced, .sIFR-ignore { visibility: visible !important;}
  
  .sIFR-alternate {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    display: block;
    overflow: hidden;
  }
  
  .sIFR-replaced div.sIFR-fixfocus {
    margin: 0pt; 
    padding: 0pt; 
    overflow: auto; 
    letter-spacing: 0px; 
    float: none;
  }

/*
Place CSS rules for to-be-replaced elements here. Prefix by .sIFR-active
so they only apply if sIFR is active. Make sure to limit the CSS to the screen
media type, in order not to have the printed text come out weird.
*/

.sIFR-active #nav ul li a {font-size: 18px; visibility: hidden; font-family:  Georgia, "Times New Roman", Times, serif; text-align: center; font-weight: bold;}
.sIFR-active .homepage #mainContent h1 {font-size: 140%; visibility: hidden; font-family:  Georgia, "Times New Roman", Times, serif; text-align: left; clear: none;}
.sIFR-active .template #mainContent h1, .sIFR-active .template2 #mainContent h1 {font-size: 180%; visibility: hidden; font-family:  Georgia, "Times New Roman", Times, serif; text-align: left; clear: none;}
