/* ----- OVERALL BASE ----- */
body { font-family: tahoma, verdana, arial, sans-serif; background: white; }
a img { border: none; } /* No borders on linked images */
a:visited { color: #A02; } /* Better colour for visited links */
* { margin: 0; padding: 0; }

/* ----- CONTAINER ----- */

.container {
    position: relative;
    top: 0px;
    margin: auto;

    width: 990px;

    height: expression( this.scrollHeight < 774 ? "775px" : "auto" ); /* sets min-height for IE */
    min-height: 775px;

    border: 3px solid #A02;
    border-bottom: 10px solid #A02;
}

/* ------ HEADER --------- */
.header {
    background: #A02;
    height: 243px;
}

.header .logo {
  position: absolute;
  top: -3px;
  left: 35px;
  width: 184px;
  height: 183px;
}

.header h1 {
  font-family: monaco, tahoma, verdana, arial, sans-serif;
  color: #FFFFFF;
  background-color: #A02; /*#A20A42 is closer, but not web-safe;*/
  text-align: right;
  padding: 25px 10px 0 0;
  margin: 0;
  height: 75px;
}


.flash {
    position: absolute;
    left: 35px;
    top: 73px;
    background: url('/images/anim_background.png') no-repeat left top #A02;
    width: 730px;
    height: 170px;
}

/* ------ CONTENT --------- */

.content {
    margin: 40px 0 40px 225px;
    width: 755px;
    font-size: 10pt;

    /*
    padding: 5px;
    margin: 100px 0 40px 16em;
    width: 510px;
    */
}

.page_index .content .text {
    width: 590px;
    min-height:200px;
    height: expression( this.scrollHeight < 200 ? "200px" : "auto" ); /* sets min-height for IE */
}

.text p {
    margin: 1em 0;
}


/*----- HORIZONTAL NAVIGATION BAR -----*/

.navhor {
    color: #FFFFFF;
    background: /*url('images/navhor_right.png')*/ #A02;
    background-repeat: no-repeat;
    background-position: top right;
    position: absolute;
    top: 243px;
    height: 30px;
    padding: 5px 0 0 0;
    width: 100%;
    font-size: 12pt;

  /*
  left: 193px;
  margin-left:-193px;
  */
}

.navhor ul {
  margin: 0 0 0 220px;
  display: inline;
}

.navhor li {
    display: inline;
    list-style-type: none;
    padding-right: 30px;
}

.navhor a:link {
  color: #fff;
  text-decoration: none;
}

.navhor a:visited {
  color: #fff;
  text-decoration: none;
}

.navhor li a:hover {
  color: #fff;
  text-decoration: none;
}

.navhor li a:active {
  color: #fff;
  text-decoration: none;
}

.navhor .selected {
    font-weight: bold;
}

/* ----- RIGHT BAR ----- */

.right-bar {
    color: white;
    position: absolute;
    top: 280px;
    right: 10px;
    width: 150px;
}

.right-bar .box {
    background: url('/images/bottom_curve.png') #A02 no-repeat bottom;
    font-size: 13pt;
    padding-bottom: 5px;
}

.right-bar .box p {
    padding: 5px 15px 5px 15px;
    margin: 5px 0;
    background: url('/images/top_curve.png') no-repeat top;
}

.box p.featured-photo {
    background-image: none;
    margin: -10px;
}

.box p.featured-photo img {
    width: 100%;
}

.box p.featured-description {
    background-image: none;
    width: 141px;
    font-size: 10pt;
    padding: 0;
    margin-left: 5px;
    text-align: center;
}

.box p.featured-description a {
    color: #FFF;
    text-decoration: none;
}


/* ----- SIDE NAVIGATION BAR ----- */

.left-bar {
    position: absolute;
    top: 243px;
    width: 200px;
    z-index: 1;
    background: #FFF;
}

.nav {
    width: 215px;
    padding-top: 5px;
    border-top-color: #FFFFFF;
    color: #FFFFFF;
    background: url('/images/nav_bottom_curve.png') #A02 no-repeat bottom right;
}

.time {
    text-align: center;
}

.nav .time .number{
    font-size: 25pt;
    margin: 0;
}

.nav .time .greeting{
    margin-top: 0;
    font-size: 10pt;
    margin-bottom: 15px;
}

.nav .bottom-image {
    text-align: center;
    margin:0;
    padding-bottom: 4px;
    height: 79px;
}

.bottom-link {
  margin-top:5px;
  padding-bottom: 10px;
  padding-left: 30px;
  background-image: url('/images/point2.png');
  background-repeat: no-repeat;
  background-position: 0.5em 0.2em;
  /*border-bottom: 1px solid #ccc*/
}

.bottom-link a:link {
  color: #A02;
}

.bottom-link a:visited {
  color: #A02;
}

.bottom-link li a:hover {
  color: #A02;
  text-decoration: none;
}

.bottom-link li a:active {
  text-decoration: none;
  color: #A02;
}

.nav ul {
  padding: 0;
  margin: 0 0 5px 0;

}

.nav li {
  list-style-type: none;
  font-weight: bold;
  color: #FFFFFF;
  padding: 2px 8px;
  cursor: default;
  /*border-bottom: 1px solid #fff;*/

  padding-left: 30px;
  background-image: url('/images/list_point.png');
  background-repeat: no-repeat;
  background-position: 0.5em;

}

.nav a {
  text-decoration: none;
  font-weight: normal;
}

.nav a:link {
  color: #FFFFFF;
}

.nav a:visited {
  color: #FFFFFF;
}

.nav li a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.nav li a:active {
  text-decoration: underline;
}

.nav ul ul li {
  padding-left: 0.8em;

}


.oealogo {
    margin-top:7px;
    margin-left: 5px;
}


/* ----- DATA LIST TABLES ----- */
.tableList {
  background-color: #F3F3F3;
}

.tableList caption {
  font-style: italic;
  font-size: small;
}

.tableList th {
  text-align: left;
  background-color: #CCCCCC;
  padding: 0.1em 0.5em;
}

.tableList td {
  padding: 0.1em 0.5em;
  vertical-align: top;
}

.imagecol {
  width: 100px;
}

.oddRow {
  background-color: #F3F3F3;
}

.evenRow {
  background-color: #CCCCCC;
}


/* ----- FORM LAYOUT ----- */
.fixwidth, .fixform label {
  width: 12em;
  float: left;
}

.emailform input[type=text], .emailform textarea, .page_add_property input[type=text], .page_edit_property input[type=text] { width: 20em; }
.missingField { border: 1px solid #FF0000; } /* Highlight erroneous fields */


/* ------ FOOTER -------- */

.content .footer {
  font-size: 8pt;
  margin-top: 30px;
  text-align: left;
  clear: both;
}

.content .footer .footer-links a:link {
  color: #555;
  text-decoration: none;
}

.content .footer .footer-links a:visited {
  color: #555;
  text-decoration: none;
}

.content .footer .footer-links a:hover {
  color: #000;
  text-decoration: underline;
}

.content .footer .footer-links a:active {
  text-decoration: underline;
}

.content .footer p {
    margin: 0;
}

.content .footer .footer-links {
    background: url('/images/links_curve.png') #e6cccc;
    background-repeat: no-repeat;
    width: 335px;
    margin-left: 120px;
}

.content .footer .footer-links p {
    background: url('/images/links_bottom_curve.png');
    background-repeat: no-repeat;
    background-position: bottom;
    text-align:  center;
    padding: 5px 0;
}

.content .footer .footer-location {
    margin-top: 30px;
    margin-left: 120px;
    text-align: center;
    width: 320px;
}

.content .footer .footer-right {
    float: right;
    margin: 0px 0px 10px 0px;
    /*border-top: 1px solid #ccc;*/
    text-align: right;
}


/* ----- MISCELLANEOUS ELEMENTS ----- */
.miniNote { font-size: xx-small; } /* Advisory info on forms */


.contactCircle { vertical-align: middle; }

.roomString { font-style: italic; margin-top: 0em; }

.page_edit_images form p { margin-top: 0em; }

.imagesBar {
  float: right;
  padding-left: 1em;
}

.imagesBar p {
  margin-top: 0em;
}

.page_stats th {
  text-align: left;
}

.poundLabel
{
  width: 1em;
  float: left;
}

.picicons img
{
  margin: 0 0.5em;
  vertical-align: top;
}

#announcement
{
  margin: 2em 0;
  text-align: right;
}

.house_image, .miniphoto img
{
  border: 1px solid #A02;
}

.house_image {
  margin-right: 1em;
  width: 350px;
}

.house_thumbnail, .miniphoto img
{
  width: 140px;
}

dt
{
  font-weight: bold;
  margin-top: 0.5em;
}

dd
{
  margin-left: 3em;
}

/* ----- INTELLICALC ----- */

.icenquirebutton { float : right; }

.iccontainer { background-color: #A02 !important; }
.icinpspan { color: #A02 !important; }
.icvalue1_help { background-color: #A02 !important; }
.icenquirebutton div b { color: #A02 !important; }
.icstep2back a { color: #A02 !important; }
#icshowmebutton { color: #A02 !important; }
#icupdatebutton { color: #A02 !important; }
#icsubmitbutton { color: #A02 !important; }

/* ----- PRINTOUT CHANGES ----- */
@media print{
  .noprint, .nav, .footer, .left-bar, .navhor, .flash, .header h1 img {
    display: none;
  }

  .content {
    margin: 100px 0 0 0;
    width: 100%;
    padding: 10px;
  }

  .container {
    left: 0;
    margin: 0;
  }

  .page_index .content .text {
    width: 500px;
  }
}