/*
This layout is based off of andreas01 by Adreas Viklund, but I've had to largely gut it.
Still, credit where it's due.
*******
andreas01 - an open source xhtml/css website layout by Andreas Viklund (http://andreasviklund.com). Made for OSWD.org, free to use as-is for any purpose as long as the proper credits are given for the original design work. For design assistance and support, contact me through my website or through http://oswd.org/email.phtml?user=Andreas
*/

/* Screen layout: */

*, * html, html * {
 padding:0;
 margin:0;
}

/* tag-level rules */
body {
margin: 0 auto;
padding: 0;
font: 76% Verdana,Tahoma,Arial,sans-serif;
background: #f4f4f4 url('../img/gray-diag-stripes.png');
text-align:center;
}
form {
 margin:0;
 padding:0;
}
#extras fieldset{
text-align: center;
 width: 90%;
 margin:0 auto;
}
legend{
color: #232323;
}

#wrap {
background: #f4f4f4;
color: #303030;
margin: 0 auto;
width: 808px;
text-align:left;
}
html>body #wrap{
width: 808px;
}

#header {
clear: both;
margin: 20px 0 0 0;
padding: 0;
height: 148px;
background:  url( '../img/banner-house_579x151.jpg' ) no-repeat 232px 0;
}
html>body #header{
height:150px;
}

#header h1 {
width: 250px;
margin: 0 0 10px 0;
float: left;
}

#frontphoto {
margin: 0;
padding:0;
border: 4px solid #343234;
background: #f4f6f4;
width: 222px;
text-align:center;
height: 140px;
}
html>body #frontphoto {
border: 5px solid #343234;
}

.happy-bar {
  line-height:4px;
  height:7px;
  background: #f4f4f4 url('../img/gray-diag-stripes.png');
  width:100%;
 clear:both;
}

#avmenu {
clear: left;
float: left;
width: 145px;
margin: 0 0 10px 0;
padding: 0 5px 0 0;
font-size: 0.9em;
display:inline;
}

#avmenu ul {	
list-style: none;
width: 150px;
margin: 0 0 20px 0;
padding: 0;
font-size: 1.1em;
}	

#avmenu li {
margin-bottom: 4px;
}

#avmenu li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 3px 10px;
background: #eee;
border-left: 4px solid #ccc;
}
html>body #avmenu li a{
padding-bottom:0;
}	
	
#avmenu li a:hover {
background: #ccc;
color: #cc020c;
border-left: 4px solid #cc020c;
}

.announce {
margin: 10px 0 10px 0;
padding: 10px;
width: 130px;
color: #505050;
line-height: 1.3em;
}

#extras {
float: left;
display: inline;
width: 128px;
margin: 0 5px 10px 5px;
padding: 0;
font-size: 0.9em;
line-height: 1.5em;
text-align: center;
}
html>body #extras{
width:140px;
}

#extras p {
margin: 0 0 1.5em 0;
}
#extras select{
 width:80%;
}

#content {
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
margin: 0 5px;
width:435px;
padding: 10px 10px 0 10px;
line-height: 1.6em;
text-align: left;
float:left;
display:inline;
}
html>body #content{
 width:465px;
}
#content h1{
font-size: 2em;
margin: 0 0 0.23em 0;
}
#content h2 {
font-size: 1.23em;
margin: 0;
}
#content img {
padding: 1px;
background: #ccc;
border: 4px solid #343234;
}

/* slide show stuff */
#slide-box img {
 border:4px solid #323432;
 background: #ccc;
 padding:1px;
}

h3 {
font-size: 1.3em;
margin: 0 0 10px 0;
}

a, a:visited {
text-decoration: none;
color: #cc020c;
}

a:hover {
text-decoration: underline;
}

a img {
border: 0;
}

#footer {
clear: both;
margin: 3px 0 0 0;
padding: 10px 0 20px 0;
width: 100%;
text-align: center;
color: #808080;
font-size: 0.9em;
}

#footer a {
color: #808080;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
}

.left {
margin: 10px 10px 5px 0;
float: left;
display:inline;
}

.right {
margin: 10px 0 5px 10px;
float: right;
display:inline;
}

.textright {
text-align: right;
}

.center {
text-align: center;
}

.small {
font-size: 0.8em;
}

.bold {
font-weight: bold;
}

.hide {
display: none;
}

/* rental listing stuffs */
.mgt-links{
margin: 0 -50px 0 0;
clear:both;
}
html>body .mgt-links {
margin:0;
}
.mgt-links li{
	display:inline;
	float:right;
}
.mgt-links a, .mgt-links a:visited {
font-size:.75em;
display:block;
padding: 0 3px;
border-top:#ccc 2px solid;
border-left:#ccc 1px dotted;
text-decoration:none;
}
.mgt-links a:hover {
border-top:#286ea0 2px solid;
border-left:#286ea0 1px dotted;
text-decoration:none;
}

/* boxes to display rental unit descriptions */

.rental-abstract{
border-top:1px solid #ccc;
border-bottom:1px solid #ccc;
padding: 5px;
margin-bottom:5px;
width:435px;
}
html>body .rental-abstract {
 width:455px;
}
.rental-abstract dl {
	display: block;
	width:93%;
}
.rental-abstract dt{
	display:inline;
	margin-left: 10px;
}
.rental-abstract dd {
	display:inline;
	padding:0;
	margin:0 1em;
}
.altRow{
background:#eee;
}
.off-market{
 border: 1px solid #cc020c;
}
.appBrief {
 border-top: 1px solid #ccc;
 border-bottom: 1px solid #ccc;
 padding:5px;
}
.processed {
 border-top:1px solid #cc020c;
 border-bottom:1px solid #cc020c;
}
.appBrief dt, .appBrief dd{
 display:inline;
}


/* tables */

table {
width: 475px;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-bottom: 1px solid #ccc;
color:#333;
background-color: #fff;
clear:both;
padding: 0;
margin: 0 0 2em 0;
white-space: normal;
}
th {
background-color: #e2e2e2;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
border-right: 1px solid #003d4c;
border-bottom: 1px solid #003d4c;
text-align: center;
padding:1px 4px;
}
table tr td {
border-right: 1px solid #ddd;
padding:4px 4px;
vertical-align:top;
text-align: center;
}
table tr.altRow td {
background: #f4f4f4;
}
#cakeSqlLog td {
text-align: left;
padding: 4px 8px;
background: #fff;
border-bottom: 2px solid #ccc;
}
