/* Default Style */
body { margin: 0; padding: 0; text-align: center; font: 11px/20px Verdana, Arial, Helvetica, sans-serif; background: url(img/background.jpg) repeat-x #9CA07F; }
p { margin: 10px 0; }
a { color: #303030; font-weight: bold; text-decoration: none; }
a:hover { text-decoration: underline; }
#pageWrapper { margin: 0 auto; padding: 16px 0; width: 740px; background: #FFF; }
#page { margin: 0 auto; width: 699px; text-align: left; }
#header { float: left; background: #E1E1C6; }
#nav1Wrapper { width: 121px; height: 118px; background: url(img/nav1.background.jpg) #E1E1C6; float: left; text-align: center; }
#nav1 { list-style: none; margin: 0; padding: 0; padding-top: 10px; font-size: 9px; color: #8B8B7C; }
#nav1 li { margin: 0; padding: 2px 0; }
#nav1 a { color: #8B8B7C; }
#nav1 a:hover, #nav1 .active { color: #AC1F3F; text-decoration: none; }
#nav2 { margin: 0; padding: 0; list-style: none; float: left; }
#nav2 li { margin: 0; padding: 0; float: left; }
#separator { background: url(img/14.gif); border-bottom: 1px solid #FFF; }
#footer { margin: 16px 0; padding: 0; list-style: none; text-align: center; text-transform: uppercase; }
#footer li { display: inline; }
#footer, #footer a, #bottom { color: #BABABA; font-size: 9px; font-weight: bold; text-decoration: none; }
#footer a:hover { text-decoration: underline; }
#bottom { background: #EAEAEA; text-align: center; padding: 16px; }
.clearBoth { clear: both; }

/* CakePHP Style */
label { display: block }
.error_message { color: #900; }

/* Content Style */
.content, .subContent { padding: 1px 10px; clear: both; }
.content h2 { margin: 10px 0; font-size: 22px; font-weight: bold; font-family: Garamond, "Times New Roman", Times, serif; text-align: center; letter-spacing: 5px; }

/* Background Style */
.content, .subContent { background: #D5D2C1; }
#home { background: #D6E4E5; }
#sale { background: #C1D5D6; }
#rent { background: #EFEDC6; }
#construction { background: #DBDBDB; }
#buy { background: #D9E4D3; }
#admin { background: #BED2EA; }

/* Module Style */
#modulesWrapper { border-style: solid; border-color: #FFF; border-width: 0 1px 0 1px; }
#modules { border-bottom: 1px solid #FFF; }
.module { border-top: 1px solid #FFF; padding: 1px 10px; }

.module h3 { margin: 10px 0; font-size: 12px; font-weight: bold; }
.module h3 a, .module h3 strong { font-size: 16px; font-family: "Times New Roman", Times, serif; color: #000; text-decoration: none; }
.module h3 a:hover { text-decoration: underline; }
.module h4 { font-size: 11px; font-weight: bold; margin: 10px 0; }
.module .moreLink { text-align: right; font-size: 9px; }
.module .backLink { font-size: 9px; }
.module .moreLink a, .module .backLink a { border: 1px solid #000; background-color: #D8EADE; padding: 2px; text-decoration: none; color: #000; }
.module .moreLink a:hover, .module .backLink a:hover { background-color: #FFF; color: #666; }


/* subContent Styles */
.subContent #modulesWrapper { border-style: solid; border-color: #000; }
.subContent #modules { border-color: #000; }
.subContent .module { border-color: #000; }
#subHeader, #subHeader h3 strong { background-color: #303030; color: #D6D6B0; }
#subHeader h3 { text-align: center; }
#leftModules, #rightModules { float: left; width: 335px; }
#leftModules .module, #rightModules .module { border-top-width: 0; }

#sort label, #sort select, #sort input { margin-right: 10px; float: left; }
label { float: left; width: 100px; text-align: right; }
.required input, .optional input { float: left; width: 250px; }
.required textarea, .optional textarea, .required table, .optional table { float: left; width: 250px; height: 100px; }
.required select, .optional select { float: left; width: 250px; }
.required, .optional, .submit { clear: both; }
form { display: inline; }

#images { margin: 0; padding: 0; list-style: none; }
#images li { margin: 8px; padding: 0; float: left; width: 125px; position: relative; }
#images li.first { width: 267px; }

.propertyImage { margin: 10px 10px 10px 0; float: left; position: relative; }
.tlcorner { width: 10px; height: 10px; background: url('img/other_tl.gif') no-repeat; position: absolute; top: 0; left: 0; z-index: 10; }
.trcorner { width: 10px; height: 10px; background: url('img/other_tr.gif') no-repeat; position: absolute; top: 0; left: 115px; z-index: 10; }
.blcorner { width: 10px; height: 10px; background: url('img/other_bl.gif') no-repeat; position: absolute; top: 84px; left: 0; z-index: 10; }
.brcorner { width: 10px; height: 10px; background: url('img/other_br.gif') no-repeat; position: absolute; top: 84px; left: 115px; z-index: 10; }

.first .trcorner, .first .brcorner { left: 257px; }
.first .blcorner, .first .brcorner { top: 190px; }

#home .tlcorner { background: url('img/home_tl.gif') no-repeat; }
#home .trcorner { background: url('img/home_tr.gif') no-repeat; }
#home .blcorner { background: url('img/home_bl.gif') no-repeat; }
#home .brcorner { background: url('img/home_br.gif') no-repeat; }

#sale .tlcorner { background: url('img/sale_tl.gif') no-repeat; }
#sale .trcorner { background: url('img/sale_tr.gif') no-repeat; }
#sale .blcorner { background: url('img/sale_bl.gif') no-repeat; }
#sale .brcorner { background: url('img/sale_br.gif') no-repeat; }

#rent .tlcorner { background: url('img/rent_tl.gif') no-repeat; }
#rent .trcorner { background: url('img/rent_tr.gif') no-repeat; }
#rent .blcorner { background: url('img/rent_bl.gif') no-repeat; }
#rent .brcorner { background: url('img/rent_br.gif') no-repeat; }

#construction .tlcorner { background: url('img/construction_tl.gif') no-repeat; }
#construction .trcorner { background: url('img/construction_tr.gif') no-repeat; }
#construction .blcorner { background: url('img/construction_bl.gif') no-repeat; }
#construction .brcorner { background: url('img/construction_br.gif') no-repeat; }

#buy .tlcorner { background: url('img/buy_tl.gif') no-repeat; }
#buy .trcorner { background: url('img/buy_tr.gif') no-repeat; }
#buy .blcorner { background: url('img/buy_bl.gif') no-repeat; }
#buy .brcorner { background: url('img/buy_br.gif') no-repeat; }

#home #leftColumn { width: 489px; float: left; }
#home #rightColumn { width: 200px; float: left; line-height: 15px; }
#home { padding-right: 0; }