/*
 E3E301 - light green
 AAAA00 - dark green
*/
body {
    background: #E0DECF;
    color: #000;
    font: small/1.5 Verdana, sans-serif;
    margin: 0;
    padding: 0;
}
/* = headings */
h1,h2,h3,h4,h5,h6 {
    color: #F5B706;
    margin: 0;
}
h1 {
    font-size: 160%;
    margin-bottom: 0.5em;
}
h2 { font-size: 130%; }
h3 { font-size: 120%; }
h4 { font-size: 100%; }
h4 span { font-size: 80%; }

img { border: none; }
p { margin: 0 0 1em; }

a {
	/*border-bottom: 1px dotted #a3a3a3;*/
	color: #a3a3a3;
	text-decoration: none;
}
a:hover {
    color: #F5B706;
}

/* =float-container */
.float-container {
	overflow: hidden;
}
.float-container img {
	float: left;
	margin: 5px 5px 0 0;
	width: auto;
}

/* =clearfix */
.clearfix {
	overflow: hidden;
}

/* =boxes http://www.cssplay.co.uk/boxes/snazzy.html */

.xtop, .xbottom {display:block; background:transparent; font-size:1px;}
.xb1, .xb2, .xb3, .xb4 {display:block; overflow:hidden;}
.xb1, .xb2, .xb3 {height:1px;}
.xb2, .xb3, .xb4 {background:#000; border-left:1px solid #5D4E22; border-right:1px solid #5D4E22;}
.xb1 {margin:0 5px; background:#5D4E22;}
.xb2 {margin:0 3px; border-width:0 2px;}
.xb3 {margin:0 2px;}
.xb4 {height:2px; margin:0 1px;}
.box-content {display:block; background:#000; border:0 solid #5D4E22; border-width:0 1px;}
.box {
    background: transparent;
	margin-bottom: 1em;
    padding: 0 0 14px 0;
	width: 160px;
}
.box h4, .box ul, .box p, .box form {
    background: #000;
	margin: 0 10px;
	padding: 0;
}
.box ul {
	list-style: none;
}

.box form {
	padding-left: 0;
	margin-left: 0;
}
.box form p {
    padding: 0 0 0.5em 0;
}
.box form .text {
    width: 100px;
}
.box .more {
    padding-top: 2em;
    list-style: none;
    text-align: right;
}
.box a, .box-nav a, .box-agent a {
    border: none;
    color: #e1e1e1;
    font-weight: bold;
    text-decoration: none;
}
.box-agent a {
	color: #f5b706;
}
.box a:hover, .box-nav a:hover, .box-agent a:hover {
    color: #F5B706;
    text-decoration: underline;
}
.box-agent {
    background: #2A2A2A;
    border: 1px solid #454545;
    margin: 1em 0;
    padding: 5px;
}
.box-agent img {
    border: #626262;
    float: left;
    margin: 0 10px 5px 0;
}
.box-agent p {
    margin-bottom: 0.5em;
}

.box-homepage {
    background: transparent;
	float: left;
	margin: 0 15px 0 0;
	width: 160px;
}
.box-homepage p, .box-homepage img {
	margin: 0 5px;
}
.box-homepage img {
	display: block;
	margin: 0 auto 0.5em;
}
.alt img {
	float: left;
	margin: 0 5px 5px 5px;
}
.box-homepage .box-content {
	min-height: 120px;
}

.img p {
    margin-left: 60px;
}

/* =form-table */
table.form-table {
	border-collapse: collapse;
    margin-top: 1em;
}
table.form-table th, 
table.form-table td {
    padding: 8px;
}
table.form-table th {
	padding-top: 12px;
	text-align: right;
    vertical-align: top;
	width: 120px;
}
table.form-table td p.note {
	font-size: 90%;
}
table.form-table em {
    color: red;
}
table.form-table .input-text {
    width: 210px;
}

/* =messages */
.error,
.notice, 
.success    { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
.error      { background: #FBE3E4; color: #D12F19; border-color: #D12F19; }
.notice     { background: #FFF6BF; color: #817134; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #529214; border-color: #C6D880; }
.error a    { color: #D12F19; }
.notice a   { color: #817134; }
.success a  { color: #529214; }

/* =file-list */
#file-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
#file-list li {
	margin: 3px 0;
	padding: 10px 0;
}
#file-list a {
	background-position: 0 50%;
	background-repeat: no-repeat;
	padding: 12px 0 12px 34px;
}
#file-list .file-pdf {
	background-image: url(../images/file-icons/pdf.gif);
}
#file-list .file-doc {
	background-image: url(../images/file-icons/doc.gif);
}
#file-list .file-xls {
	background-image: url(../images/file-icons/xls.gif);
}
#file-list .file-ppt {
	background-image: url(../images/file-icons/ppt.gif);
}
#file-list .file-mp3 {
	background-image: url(../images/file-icons/mp3.gif);
}
#file-list .file-flv {
	background-image: url(../images/file-icons/flv.gif);
}

#wrapper {
    font-size: 80%;
    margin: 35px auto 12px;
	padding: 0;
    width: 945px;
}
#container {
    background: #000 url(../images/bg-black.jpg) bottom left no-repeat;
    color: #fff;
    float: left;
    margin: 0;
	padding: 0;
    width: 100%;
}

/* =header-home */
#header-home {
    background: url(../images/bg-header.gif) top left no-repeat;
    padding: 12px 32px;
	position: relative;
}

#logo {
	float: left;
	text-align: center;
	width: 136px;
}
#logo #office-phone {
	font-size: 140%;
}
#logo p {
	margin: 0 0 0.5em;
}

#login {
	float: left;
	font-size: 90%;
	margin: 0 30px;
	width: 200px;
}
#login h4 {
	color: #fff;
	float: left;
	font-size: 110%;
	position: relative;
	top: 0.75em;
	width: 80px;
}
#login ul {
	float: right;
	margin: 0 0 0 15px;
	padding: 0 0 0 15px;
	width: 90px;
}
#login form {
	clear: both;
}
#login .text {
    width: 160px;
}

/* =nav-homepage */
#nav-homepage {
	font-size: 90%;
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0px;
	top: 15px;
}
#nav-homepage li {
	float: left;
	line-height: normal;
	margin: 0 10px 0 0;
	padding: 0;
	text-align: center;
	width: 60px;
}
#nav-homepage li span {
	background-image: url(../images/navigation-home.gif);
	background-repeat: no-repeat;
	cursor: pointer;
	display: block;
	height: 100%;
	position: absolute;
	right: -50%;
	width: 100%;
}
#nav-homepage li a {
	float: left;
	font-weight: bold;
	height: 25px;
	position: relative;
	text-decoration: none;
	width: 30px;
}
#nav-homepage li p {
	clear: left;
}
#nav-homepage li p.alt {
	color: #D18C00;
}

.sprite-agent-bw { background-position: 0 -30px; } 
.sprite-agent-fullsize { background-position: 0 -85px; } 
.sprite-coins-bw { background-position: 0 -140px; } 
.sprite-coins-fullsize { background-position: 0 -195px; } 
.sprite-globe-bw { background-position: 0 -250px; } 
.sprite-globe-fullsize { background-position: 0 -305px; } 
.sprite-housebasket-bw { background-position: 0 -360px; } 
.sprite-housebasket { background-position: 0 -415px; } 
.sprite-housecheck-bw { background-position: 0 -470px; } 
.sprite-housecheck-fullsize { background-position: 0 -525px; } 
.sprite-houseonmoney-bw { background-position: 0 -580px; } 
.sprite-houseonmoney { background-position: 0 -635px; } 
.sprite-letterout-bw { background-position: 0 -690px; } 
.sprite-letterout-fullsize { background-position: 0 -745px; } 


#sprite-agent a span { background-position: 0 -30px; }
#sprite-agent a:hover span { background-position: 0 -85px; }
#sprite-buying a span { background-position: 0 -360px; }
#sprite-buying a:hover span { background-position: 0 -415px; }
#sprite-selling a span { background-position: 0 -140px; }
#sprite-selling a:hover span { background-position: 0 -195px; }
#sprite-contact a span { background-position: 0 -690px; }
#sprite-contact a:hover span { background-position: 0 -745px; }
#sprite-openhouses a span { background-position: 0 -470px; }
#sprite-openhouses a:hover span { background-position: 0 -525px; }
#sprite-community a span { background-position: 0 -250px; }
#sprite-community a:hover span { background-position: 0 -305px; }
#sprite-mortgages a span { background-position: 0 -580px; }
#sprite-mortgages a:hover span { background-position: 0 -635px; }

/* =header */
#header {
    background: #000 url(../images/bg-header.gif) top left no-repeat;
    border-bottom: 1px solid #3D3D3D;
    padding: 12px 32px;
    position: relative;
}
#header #contact-info {
	color: #EFAD00;
	left: 225px;
	margin: 0;
	position: absolute;
	top: 30px;
}
#header #contact-info p {
	margin: 0;
}
#header #contact-info #agent-name, #header #contact-info #office-phone {
	font-size: 30px;
}
#header form {
    margin: 0;
    position: absolute;
    right: 18px;
	top: 80px;
}
#header form input {
    vertical-align: middle;
}
#header #q {
    background: #504F4F;
    border: 1px solid #919090;
    color: #E1E1E1;
}
#header a { border: none; }
#main {
    float: right;
    margin-top: 26px;
    width: 730px;
}
#content {
    float: left;
    padding: 0 10px 10px;
    width: 415px;
}
body.home #content {
	clear: left;
	float: none;
	margin: 0 22px;
	width: auto;
}

#map, #quick-search, #find-agent {
	float: left;
}
#quick-search, #find-agent {
	background: #f3cf01 url(../images/orange-gradient-vert.jpg) repeat-x top left;
	border: 1px solid #F1CC01;
	color: #000;
	font-size: 90%;
	padding: 4px;
	margin-top: -75px;
}
#quick-search div.inner{
	margin: 0 auto;
	width: 230px;
}
#quick-search {
	margin-left: 10px;
	margin-right: 10px;
	width: 250px;
}
#quick-search h2 {
	color: #000;
	margin-bottom: 0.5em;
	text-align: center;
	text-transform: uppercase;
}
#quick-search ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#quick-search li {
	float: left;
	width: 49%;
}
#quick-search table {
	clear: both;
	margin-top: 1em;
}
#quick-search td {
	padding-right: 4px;
	text-align: center;
}

#quick-search .long {
	width: 70px;
}
#quick-search .short {
	width: 30px;
}
#quick-search-buttons {
	text-align: center;
}

#find-agent {
	width: 130px;
}
#find-agent h2 {
	color: #000;
	margin-bottom: 0.5em;
	text-align: center;
	text-transform: uppercase;
}
#find-agent ul {
	list-style: none;
	margin: 0 0 1em 2em;
	padding: 0;
}
#find-agent p {
	margin-left: 1.5em;
}
#find-agent #agent-name {
	width: 100px;
}

#blocks {
	clear: left;
	padding: 1.5em 0;
}
#blocks img {
	float: left;
	margin-right: 12px;
	padding: 1px;
}
#blocks img.last {
	margin-right: 0;
}
#blocks a:hover img {
	background: #CF8C00;
}

#latest-news-heading {
	clear: left;
}

#latest-news {
	margin-top: 2em;
}
#latest-news h4 {
	font-size: 130%;
}
#latest-news a {
	color: #D19800;
}
#latest-news p {
	margin-bottom: 4em;
}

#peripheral-content {
    float: right;
    margin: 0 0 5px 5px;
    width: 150px;
}
#media {
    /*border-left: 1px solid #3d3d3d;*/
    float: right;
    padding: 0 10px;
    width: 274px;
}
#media h2 { font-size: 160%; }
#media a { border: none; }

/* =carousel */
#carousel ul, #carousel li {
	list-style: none;
	margin: 0;
	padding: 0;
}
#carousel li {
	width: 265px;
}

#carousel img {
    border: 2px solid #444343;
}
#carousel-nav {
    overflow: hidden;
    margin-top: 0.5em;
}
#carousel-prev {
    float: left;
}
#carousel-next {
    float: right;
}
#carousel-caption {
    margin: 0 30px;
    position: relative;
    top: -1.4em;
}

#menu {
    float: left;
    margin-top: 26px;
    padding-left: 32px;
    width: 183px;
}

#nav li {
	padding-bottom: 5px;
}
#nav li a {
	background-position: 0 50%;
	background-repeat: no-repeat;
	padding: 3px 0 3px 20px;
}
#nav-home {
	background-image: url(../images/nav-icons/house.png);
}
#nav-chat {
	background-image: url(../images/nav-icons/chat.png);
}
#nav-agents {
	background-image: url(../images/nav-icons/agent.png);
}
#nav-search {
	background-image: url(../images/nav-icons/magmap.png);
}
#nav-buying {
	background-image: url(../images/nav-icons/housebasket.png);
}
#nav-selling {
	background-image: url(../images/nav-icons/coins.png);
}
#nav-mortgages {
	background-image: url(../images/nav-icons/houseonmoney.png);
}
#nav-community {
	background-image: url(../images/nav-icons/globe.png);
}
#nav-about {
	background-image: url(../images/nav-icons/question.png);
}
#nav-contact {
	background-image: url(../images/nav-icons/letterout.png);
}

/* =breadcrumbs */
#breadcrumbs {
	margin: 0 0 2em;
	padding: 0;
}
#breadcrumbs ul,
#breadcrumbs li {
	background: none;
	display: inline;
	margin: 0;
	padding: 0;
}
#breadcrumbs ul li {
	background: url(../images/arrow-right.gif) no-repeat 2px center;
	padding-left: 20px;
}
#footer {
    text-align: center;
    margin-top: 50px;
}
