* {margin: 0; padding: 0; border: 0;}
html {font-size: 100%; font-family: "Times New Roman",Serif;}
body{background: #090e2e;}
div {position: relative;}

/**** Main Containers ****/
div#wrapper {width: 1000px; margin: 0 auto;}

/***** Header *******/
div#header {width: 898px; height: 208px; background: url(images/banner.jpg); margin: 0 auto; border-left: 1px black solid; border-right: 1px black solid;}

/***** Navigation ******/
div#navigation {position: absolute; top: 13px; left: 5px; z-index: 1000;}
div.navbutton,button.navbutton,div.navbutton2 {width: 150px; height: 45px; background: url(images/nav-button-sprite2.png) no-repeat 0 0; cursor: pointer;}
div.navbutton p,button.navbutton p,div.navbutton2 p {display: block; width: 138px; line-height: 37px; font-size: 1.4em; text-align: center;  font-family: "Times New Roman",Serif;}
div.navbutton2 {float: left;}
div#navigation a,button,navbutton p,div#navigation2 a {text-decoration: none; font-weight: bold; text-align: center; color: white;}
div#navigation a:visited,div#navigation2 a:visited {color: white;}
div#navigation div#REALTORS p {font-size: 1.1em; line-height: 25px; padding-bottom: 4px;}
div#navigation div#Mortgage-Calc p {font-size: 1.1em;}
button.navbutton p {font-size: 1.7em;}
div.navbutton:hover,button.navbutton:hover,div.navbutton2:hover {background-position: 0 -55px;}
div.navbutton:focus,button.navbutton:focus,div.navbutton2:focus {background-position: 0 -55px;}
div.navbutton:active,button.navbutton:active,div.navbutton2:active {background-position: 0 -110px;}
div#navigation2 {z-index: 1000; height: 45px; width: 600px; margin: 0 auto; padding: 25px 0 15px 0;}
body#home div#navigation2 {top: 15px; padding: 0;}
div#navigation2 div#Open-Houses {font-size: .9em;}

/***** Footer *****/
div#footer {width: 933px; background: url(images/blue-grad-bg.png) repeat-x bottom left; padding: 15px; margin: 0 auto; text-align: center; color: white; bottom: 0; word-spacing: 5px; font-variant: small-caps;}
div#flaps-footer {width: 963px; background: url(images/flaps-footer.png) no-repeat; position: absolute; top: -74px; left: 0px; height: 74px; z-index: -5000;}
div#footer a {padding: 0 10px; text-decoration: none; font-weight: bold; font-size: 1.6em; color: white;}
div#footer a:visited {}
div#footer a:hover {color: #ea2222;}
div#footer a.nopad {padding: 0; font-size: 1.0em; font-weight: normal; text-decoration: underline;}
div#footer p {margin-bottom: 0; line-height: 1.1em; font-size: .8em; font-family: "Times New Roman",Serif;}

/**** Contact Banner *****/
div#banner {width: 961px; height: 109px; top: -1px; z-index: 500; background: url(images/contact-banner.png) no-repeat; border: black solid 1px; margin: 0 auto;}
div#flaps {width: 963px; height: 73px; background: url(images/flaps.png) no-repeat; z-index: -200px; position: absolute; margin: -1px 18px;}
div#banner2 {width: 961px; height: 74px; z-index: 500; background: url(images/contact-bannerII.png) no-repeat; border: black solid 1px; margin: 0 auto;}

/**** Listings ****/
div.featured {background-color: #931616; border: solid #481515 2px; margin: 0 auto 60px auto; width: 820px; padding: 15px; top: 25px; color: white;}
img.home-right {float: right; border: solid #481515 2px; margin: 0px 0px 3px 8px; max-width: 400px;}
div.featured a {color: white;}

/****** Buttons ******/
div.button#center {margin: 0 auto;}
div.button,button.submit {width: 316px; height: 46px; background: url(images/button316-sprite.png) no-repeat top left; position: relative; cursor: pointer;}
div.button:hover,button.submit:hover,div.button216:hover,button.right-arrow:hover,div.left-arrow:hover {background-position: center left; cursor: pointer;}
div.button:focus,button.submit:focus,div.button216:focus,button.right-arrow:focus,div.left-arrow:focus {background-position: center left;}
div.button:active,button.submit:active,div.button216:active,button.right-arrow:active,div.left-arrow:active {background-position: bottom left;}
div.button a,button.submit p,div.button216 a,button.right-arrow p,div.left-arrow a {text-decoration: none; line-height: 38px; color: white; text-align: center; display: block; vertical-align: middle; font-family: "Times New Roman",Serif; font-weight: normal;}
div.button a,button.submit p,div.button216 a {font-size: 1.6em;}
button.submit p {font-size: 1.8em;}
div#calculator button.submit p {font-size: 1.8em;}
div#calculator button.submit {margin: 0 0 5px 145px;}
div#listings div#arrows {height: 46px; width: 310px;}
div#listings div#arrows button.right-arrow p,div#listings div#arrows div.left-arrow a {font-size: 24px;}
div#listings div#arrows button.right-arrow p {position: absolute; left: 15px; top: 0;}
div#listings div#arrows div.left-arrow a {position: absolute; right: 20px; top: 0;}
div#wrapper div#body div.left-arrow a:hover,div#wrapper div#body div.button216 a:hover,div#wrapper div#body div.button a:hover{color: white;}
div.button,button.submit {width: 316px; height: 46px; background: url(images/button316-sprite.png) no-repeat top left; position: relative; cursor: pointer;}
div.button#center {margin: 0 auto;}
div.button216 {width: 216px; height: 46px; background: url(images/button216-sprite.png) no-repeat top left; position: relative;}
button.right-arrow {margin-left: 10px; float: left;width: 150px; height: 46px; background: url(images/right-arrow-button.png) no-repeat top left; position: relative;}
span.next {vertical-align: middle; line-height: 46px; margin: -9px 0 0 11px; font-size: 1.9em; font-weight: normal; color: white; text-align: left; display: block; font-family: "Times New Roman",Serif;}
body#New-Listings div#body div#arrows button.right-arrow p {line-height: 46px; vertical-align: center;}
div.left-arrow {float: left; width: 150px; height: 46px; background: url(images/left-arrow-button.png) no-repeat top left; position: relative;}
div.refresh {height: 46px; width: 46px; background: url(images/refresh.png); float: left; cursor: pointer;}
div.button-container {height: 46px; margin: 15px auto 0 auto;}

/****** Text ******/
h1 {font-size: 1.4em;}
p {margin-bottom: 12px;}
a {color: #3963ce; text-decoration: underline;}
a:visited {color: #3963ce;}
a:hover {color: #d74444;}
a:focus {color: #d74444;}
p.name {font-weight: bold; font-style: italic; text-align: right;}
ul {padding: 0 0 16px 40px;}
div#quicksearch h1 {width: 100%; text-align: center; line-height: 100px; color: white; font-size: 2.0em;}

/**** Table ****/
table#contact-list {margin: 0px 40px;}
table#contact-list thead {font-weight: bold; font-size: 1.2em;}
table#contact-list td {font-size: 1.1em; padding-bottom: 6px;}

/***** Images *****/
img.inset-left {float: left; margin: 0 8px 1px 0;}
img.inset-right {float: right; margin: 0 0 1px 8px;}
img#bordered {border: 2px solid #481515;}

/******* Quick Search *******/
div#quicksearch {width: 898px; height: 100px; background: url(images/search-bg.png) repeat-x; margin: 0; z-index: 200; border: 1px black solid;}
body#home div#quicksearch,body#New-Listings div#quicksearch {height: 251px; margin: 0 auto;}
div#moving {position: absolute; top: 50px; right: 50px; width: 324px; height: 102px; background: url(images/moving.png) no-repeat; z-index: 2000;}
div#search {position: absolute; top: 175px; right: 55px;}
div#quicksearch-form {font-size: 1em; color: white; text-align: left; padding-left: 125px; width: 400px; top: 15px;}
div#quicksearch-form div {height: 60px; float: left;}
div#quicksearch-form p {margin:0 0 1px 0px; line-height: 1em;}
div#quicksearch-form input {padding-left: 2px; margin-right: 15px; font-size: 1em; border: 1px solid black; font-family: "Times New Roman",Serif; line-height: 1.5em;}
input:focus {background-color: #dfeaff;}

/******* Body ********/
body#home div.interior {padding: 0;}
div#body {width: 898px; background: url(images/body-bg.png) repeat-y; margin: -1px auto 0 auto; border-left: 1px black solid; border-right: 1px black solid;}
div.interior {width: 854px; margin: 0; padding-top: 25px;}
div.interior > h1,div.interior > p,div.interior > ul,div.interior > h2 {margin-left: 40px;}
div.half {float: left; width: 387px; margin-left: 40px; text-align: justify;}

/****** MLS ******/
h1.property-title {font-size: 1.6em; font-weight: bold; color: white;}
h2.address {font-size: 1.2em; color: white; line-height: 1.2em;}
p.details {font-size: 1.1em; color: white; line-height: 1.2em; padding: 8px 0 0 0px;}
p.price {font-size: 1.4em; color: white;}
p.mls {font-size: 1.2em; color: white;}

/**** NON-DYNAMIC PAGES ****/
body#home div.interior div.half p {font-size: 1.2em; line-height: 1.4em;}
body#Testimonials div.interior a {text-decoration: none;}
body#Testimonials div.featured {margin-bottom: 15px;}
body#Testimonials div.featured h2 {margin-bottom: 10px;}
ul.links-list {font-size: 1.2em; margin-top: 25px; list-style: square;}
ul.links-list a {text-decoration: none; line-height: 1.5em;}
body#About-Us div.interior {padding-top: 25px;}
body#Contact div.interior > p {font-size: 1.2em;}

/******* MISC ********/
body#Listings div#body a {text-decoration: none;}
div.clear {clear: both;}
div#top {position: fixed; bottom: 135px; right: 20px; font-size: .7em; color: white; background-color: black; z-index: 10000;}
div#top a.top { padding: 4px 4px 0px 4px; color: white; text-align: center; border: dashed white 1px;}
div#top a.top:visited {text-decoration: none;}
div#top a.top:hover {color: red; text-decoration: none; background-color: white; color: black; border: dashed black 1px;}
input.submit {background-color: white; color: #931616; border: 2px solid #481515; padding: 5px; font-weight: bold; cursor: pointer;}
input.submit:hover {background-color: #931616; color: white; border-color: white;}
div#quicksearch h1 {text-shadow: black 5px 3px 8px;}
a.favorites#favorites {font-weight: bold; color: #481515; padding-top: 20px; display: block;}


/**** DYNAMIC PAGE STYLING ****/
body#New-Listings div#banner2 {margin-top: -1px;}
div#houses {margin-bottom: 45px;}
div#houses div.featured {margin-bottom: 15px;}
div#houses img.house {border: 2px solid #481515; text-align: left; margin: 0 10px 3px 0;}
div#houses a {color: white; font-weight: bold;}
div#houses a:visited {}
div#houses a:hover {color: #b6c2e3;}
div#houses {font-size: 1.1em;}
div#houses div.button216 a {font-weight: normal; font-size: 1.5em;}
div#houses div.featured div.button216 a {}
div#houses div.featured div.button216 a:visited {}
div#houses div.featured div.button216 a:hover {color: white;}
div#realtors {margin: 0; color: white; font-size: 1.1em;}
div#realtors div.featured {float: left; width: 391px; margin: 0 0 15px 15px; min-height: 164px;}
div#realtors div.featured p {line-height: 1.1em;}
div#realtors div.featured img,div#realtor div.featured img {border: 2px solid #481515; float: left; margin: 0 15px 3px 0;}
div#listings {margin: 0 20px; width: 850px;}
body#New-Listings div.featured {margin-bottom: 15px;}
div#listings a {color: white;}
div#listings a:visited {}
div#listings a:hover {color: #b6c2e3;}
div#listingtop h1 {font-size: 1.6em;}
div#listingtop a {color: black; line-height: 1.1em;}
div#calculator p {font-size: 1.2em;}
div#calculator input {padding-left: 2px;}
div#detail h2 {padding: 10px; background-color: #4d0000; border-bottom: 1px solid white; margin-top: 20px; width: 790px;}
div#detail td {vertical-align: top;}