* {
    margin:0;
    padding:0;
}

/** General Style Info **/
body {
    height: 100%;
    background: #272264;
    color: #fff;
    font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
    font-size:90%;
    margin: 0;
}
a {
    color: #272262;
    text-decoration: underline;
    font-weight: bold;
}
a:hover {
    color: #a4c659;
    text-decoration:none;
}
a img {
    border:none;
}
h1, h2, h3, h4 {
    font-weight: normal;
    margin-bottom:0.5em;
}
h1 {
    background:#fff;
    color: #003d4c;
    font-size: 100%;
}
h2 {
    background:#fff;
    color: #272262;
    font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
    font-size: 190%;
}
h3 {
    color: #272262;
    font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
    font-size: 1.25em;
}
h4 {
    color: #342f6d;
    font-weight: normal;
}

h3 + p {
 margin-top: -.75em;
}

ul, li, ol {
    margin: 0 12px;
}

#home_property_search {
 background: url('/img/home-property-search-gradiant.png') repeat-x top left;
 padding-left: 10px;
}

#home_property_search h2 {
 background: none;
}

.mls_disclaimer {
 font-size: .6em;
 color: #999;
 margin-top: 3em;
}

.mls_agent_office_disclaimer {
 color: #999;
 margin-top: 3em;
}

/** Layout **/
#container {
    text-align: left;
}

#wrapper {
 background: #fff;
 border-radius: 0 0 8px 8px;
 width: 960px;
 float: left;
 margin-top: 2em;
}

#header-info {
 position: absolute;
 right: 10px;
 top: 17px;
}

#header h1 {
    line-height:20px;
    background: #003d4c url('../img/cake.icon.png') no-repeat left;
    color: #fff;
    padding: 0px 30px;
}
#header h1 a {
    color: #fff;
    background: #003d4c;
    font-weight: normal;
    text-decoration: none;
}
#header h1 a:hover {
    color: #fff;
    background: #003d4c;
    text-decoration: underline;
}
#content{
    clear: both;
    color: #333;
    padding: 2.5em 0 40px 0;
    overflow: auto;
}

#home #content {
 padding-top: 0;
}

#footer {
    clear: both;
    padding: 6px 0;
    text-align: right;
    position: relative;
}

#footer #copyright {
 position: absolute;
 bottom: 0;
 left: 320px;
}

/** random **/
#closings h2 {
 font-weight: bold;
 border-bottom: 2px solid #272262;
}

dl.closings dd.img {
 float: left;
 margin-right: 10px;
}

dl.closings {
 clear: both;
 min-height: 80px;
}

div.closings dl.closings img{
 width: 290px;
 height: 290px;
 border: 1px solid #aaa;
 padding: 3px;
}

dl.closings dd.img img {
 width: 100px;
 height: 100px;
}

#content #news {
 background: #ddd;
 padding: 0 10px;
 width: 280px;
}

#news h2 {
 font-weight: bold;
 background-color: transparent;
 margin: .5em 0;
}

dl.news, dl.closings {
 width: 100%;
 margin-bottom: 1.5em;
}

dl.closings {
 width: 290px;
 float: left;
 clear: none;
 margin: 10px 10px;
 padding: 0;
 max-height: 382px;
}

dl.news dt, dl.closings dt {
 width: 100%;
 padding: 0;
 font-size: .9em;
 line-height: 1.4em;
}

dl.news dt a {
 text-decoration: none;
}

dl.news dd, dl.closings dd {
 margin: 0;
 font-size: .8em;
 line-height: 1.5em;
}

#logo {
 position: relative;
 width: 400px;
 top: 10px;
 left: 9px;
}

#slogan {
 position: absolute;
 top: 20px;
 left: 300px;
}

#header {
 height: 100px;
 position: relative;
 margin: 0;
 padding: 0;
 width: 960px;
}

#header #phone {
 position: absolute;
 top: 54px;
 right: 10px;
 color: #333;
 font-size: 1.5em;
 font-weight: bold;
 font-family: arial, verdana, sans;
}

#header #phone span {
 font-weight: normal;
 font-size: 14px;
 font-style: italic;
}

.addthis_toolbox {
 position: absolute;
 top: 10px;
 right: 10px;
 width: 75px;
}

#adminMenu {
 color: #fff;
 text-decoration: none;
 position: absolute;
 top: -23px;
 right: 0;
}

#adminMenu:hover {
 text-decoration: underline;
}

#menu {
 position: absolute;
 bottom: -33px;
 right: 10px;
 z-index: 10;
  background: #84509c url('/img/menu-gradient.png') repeat-x top left;
 height: 23px;
 width: 780px;
 margin: 0;
 padding: 5px 20px 5px 0;
}

#menu:before {
 content:url('/img/menu-tab.png');
 position: relative;
 top: -5px;
 left: -34px;
}

#menu li {
 list-style-type: none;
 padding: 0 15px 0 15px;
 margin: 0;
 float: right;
 position: relative;
}

#menu li ul {
 position: absolute;
 display: none;
 left: -11px;
 background: #272264;
 padding: 5px;
}

#menu ul li {
 padding: 0;
}

#menu ul a {
 font-weight: normal;
 color: #fff;
}

#menu li:hover ul {
 display: block;
}

#menu li:first-child {
 background: none;
 padding: 0 0 0 15px;
 border: none;
}

#menu li ul li:first-child {
 padding: 5px 0;
 border-bottom: 1px dashed #8b87be;
}

#menu li:last-child {
 padding: 0 15px 0 0;
}

#menu li li {
 width: 14em;
 float: none;
 font-size: .8em;
 background-image: none;
 padding: 5px 0;
 border-bottom: 1px dashed #8b87be;
}

#menu li li:last-child {
 padding: 0;
 border-bottom: none;
}

#menu a {
 font-weight: normal;
 color: #fff;
 font-size: .8em;
 letter-spacing: 1px;
 font-family: verdana, arial, sans;
 text-decoration: none;
}

#menu li ul li a {
 font-size: 1em;
}

#menu a:hover {
 color: #c3bfef;
}

#footer p {
 color: #777;
}

/** containers **/
div.form,
div.index,
div.view {
    float:right;
    width:76%;
    border-left:1px solid #666;
    padding:10px 2%;
}
div.actions {
    float:left;
    width:16%;
    padding:10px 1.5%;
}
div.actions h3 {
    padding-top:0;
    color:#777;
}


/** Tables **/
table {
    background: #fff;
    border-right:0;
    clear: both;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
}
th {
    border:0;
    border-bottom:2px solid #555;
    text-align: left;
    padding:4px;
}
th a {
    display: block;
    padding: 2px 4px;
    text-decoration: none;
}
th a.asc:after {
    content: ' ⇣';
}
th a.desc:after {
    content: ' ⇡';
}
table tr td {
    background: #fff;
    padding: 6px;
    text-align: left;
    vertical-align: top;
    border-bottom:1px solid #ddd;
}
table tr:nth-child(2n) td {
    background: #f5f5f5;
}
table .altrow td {
    background: #f5f5f5;
}
td.actions {
    text-align: center;
    white-space: nowrap;
}
table td.actions a {
    margin: 0px 6px;
    padding:2px 5px;
}
.cake-sql-log table {
    background: #f4f4f4;
}
.cake-sql-log td {
    padding: 4px 8px;
    text-align: left;
    font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
    color:#fff;
}

/** Paging **/
div.paging {
    background:#fff;
    color: #ccc;
    margin-top: 1em;
    clear:both;
}
div.paging span.disabled {
    color: #ddd;
    display: inline;
}
div.paging span.current {
    color: #c73e14;
}
div.paging span a {
}

/** Scaffold View **/
dl {
    line-height: 2em;
    margin: 0em 0em;
    width: 60%;
}
dl .altrow {
 border: 1px solid purple;
 border-width: 1px 0 1px 0;
}

.listing dl dd.altrow {
 border: 0;
}

@-moz-document url-prefix() {
    dl.full dd {
	position: relative;
	top: -1px;
    }
    dl.full dt:first-child {
	height: 29px;
    }
}

.ie10 dl.full dd {
 position: relative;
 top: -1px;
}

.ie10 dl.full dt:first-child {
 height: 29px;
}

.ie10 #content {
 overflow: hidden;
}

dt {
    font-weight: bold;
    padding-left: 4px;
    vertical-align: top;
    width: 14em;
}
dd {
    margin-left: 14.25em;
    margin-top: -30px;
    vertical-align: top;
}

dl.full {
 width: 100%;
}

/** Forms **/
form {
    clear: both;
    margin-right: 20px;
    padding: 0;
    width: 95%;
}
fieldset {
    border: 1px solid #ccc;
    margin-bottom: 1em;
    padding: 16px 20px;
}
fieldset legend {
    background:#fff;
    color: #e32;
    font-size: 160%;
    font-weight: bold;
}
fieldset fieldset {
    margin-top: 0px;
    margin-bottom: 20px;
    padding: 16px 10px;
}
fieldset fieldset legend {
    font-size: 120%;
    font-weight: normal;
}
fieldset fieldset div {
    clear: left;
    margin: 0 20px;
}
form div {
    clear: both;
    margin-bottom: .5em;
    vertical-align: text-top;
}
form .input {
    color: #444;
}
form .required {
    font-weight: bold;
}
form .required label:after {
    color: #e32;
    content: '*';
    display:inline;
}
form div.submit {
    border: 0;
    clear: both;
    margin-top: 10px;
}
label {
    display: block;
    font-size: .8em;
    margin-bottom:3px;
}
input, textarea {
    clear: both;
    font-size: 1em;
    font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
    padding: 1%;
    width:98%;
}
select {
    clear: both;
    font-size: 120%;
    vertical-align: text-bottom;
}
select[multiple=multiple] {
    width: 100%;
}
option {
    font-size: 120%;
    padding: 0 3px;
}
input[type=checkbox] {
    clear: left;
    float: left;
    margin: 0px 6px 7px 2px;
    width: auto;
}
div.checkbox label {
    display: inline;
}
input[type=radio] {
    float:left;
    width:auto;
    margin: 0 3px 7px 0;
}
div.radio label {
    margin: 0 0 6px 20px;
}
input[type=submit] {
    display: inline;
    font-size: 110%;
    width: auto;
}
form .submit input[type=submit] {
    background:#006837;
    background: -webkit-gradient(linear, left top, left bottom, from(#272264), to(#240042));
    background-image: -moz-linear-gradient(top, #006837, #267f55);
    border-color: #555;
    color: #fff;
    /* text-shadow: #8cee7c 0px 1px 0px; */
}
form .submit input[type=submit]:hover {
    background:#caa45b;
    background: -webkit-gradient(linear, left top, left bottom, from(#267f55), to(#006837));
    background-image: -moz-linear-gradient(top, #267f55, #006837);
}

/** Notices and Errors **/
div.message {
    clear: both;
    color: #fff;
    font-size: 140%;
    font-weight: bold;
    margin: 0 0 1em 0;
    background: #c73e14;
    padding: 5px;
}
div.error-message {
    clear: both;
    color: #fff;
    font-weight: bold;
    background: #c73e14;
}
p.error {
    background-color: #e32;
    color: #fff;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
p.error em {
    color: #000;
    font-weight: normal;
    line-height: 140%;
}
.notice {
    background: #ffcc00;
    color: #000;
    display: block;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
.success {
    background: green;
    color: #fff;
}

/**  Actions  **/
ul.actions {
 list-style-type: none;
}

div.actions ul {
    margin: 0;
    padding: 0;
}
div.actions li {
    margin:0 0 0.5em 0;
    list-style-type: none;
    white-space: nowrap;
    padding: 0;
}
div.actions ul li a {
    font-weight: normal;
    display: block;
    clear: both;
}
div.actions ul li a:hover {
    text-decoration: underline;
}

input[type=submit],
div.actions ul li a,
td.actions a {
    font-weight:normal;
    padding: 4px 8px;
    background:#e6e49f;
    background: -webkit-gradient(linear, left top, left bottom, from(#f1f1d4), to(#e6e49f));
    background-image: -moz-linear-gradient(top, #f1f1d4, #e6e49f);
    color:#333;
    border:1px solid #aaac62;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border-radius:8px;
    text-decoration:none;
    text-shadow: #ddd 0px 1px 0px;
    min-width: 0;
}
input[type=submit]:hover,
div.actions ul li a:hover,
td.actions a:hover {
    background: #f0f09a;
    background: -webkit-gradient(linear, left top, left bottom, from(#f7f7e1), to(#eeeca9));
}

/** Related **/
div.related {
    clear: both;
    display: block;
}

/** Debugging **/
pre {
    color: #000;
    background: #f0f0f0;
    padding: 1em;
}
pre.cake-debug {
    background: #ffcc00;
    font-size: 120%;
    line-height: 140%;
    margin-top: 1em;
    overflow: auto;
    position: relative;
}
div.cake-stack-trace {
    background: #fff;
    color: #333;
    margin: 0px;
    padding: 6px;
    font-size: 120%;
    line-height: 140%;
    overflow: auto;
    position: relative;
}
div.cake-code-dump pre {
    position: relative;
    overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
    color: #000;
    background-color: #F0F0F0;
    margin: 0px;
    padding: 1em;
    overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
    clear: both;
    font-size: 12px;
    line-height: 15px;
    margin: 4px 2px;
    padding: 4px;
    overflow: auto;
}
div.cake-code-dump span.code-highlight {
    background-color: #ff0;
    padding: 4px;
}
div.code-coverage-results div.code-line {
    padding-left:5px;
    display:block;
    margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
    background:#ecc;
}
div.code-coverage-results div.covered span.content {
    background:#cec;
}
div.code-coverage-results div.ignored span.content {
    color:#aaa;
}
div.code-coverage-results span.line-num {
    color:#666;
    display:block;
    float:left;
    width:20px;
    text-align:right;
    margin-right:5px;
}
div.code-coverage-results span.line-num strong {
    color:#666;
}
div.code-coverage-results div.start {
    border:1px solid #aaa;
    border-width:1px 1px 0px 1px;
    margin-top:30px;
    padding-top:5px;
}
div.code-coverage-results div.end {
    border:1px solid #aaa;
    border-width:0px 1px 1px 1px;
    margin-bottom:30px;
    padding-bottom:5px;
}
div.code-coverage-results div.realstart {
    margin-top:0px;
}
div.code-coverage-results p.note {
    color:#bbb;
    padding:5px;
    margin:5px 0 10px;
    font-size:10px;
}
div.code-coverage-results span.result-bad {
    color: #a00;
}
div.code-coverage-results span.result-ok {
    color: #fa0;
}
div.code-coverage-results span.result-good {
    color: #0a0;
}

/** Elements **/
#url-rewriting-warning {
    display: none;
}

#listings dl {
 border-bottom: 1px solid #ddd;
 margin-top: 1em;
 padding-bottom: 2.5em;
 position: relative;
 width: 290px;
 min-height: 26em;
 /* max-height: 29em; */
 margin-right: 20px;
 float: left;
}

#listings dl dt {
 width: 100%;
}

#listings dd {
 margin: 0;
 padding: 0;
 display: block;
 line-height: 1.25em;
}

#listings dd strong {
 color: #444;
}

#listings .image img {
 width: 288px;
 height: 288px;
}

#listings .description {
 text-indent: 0;
 margin: 2.5em 0 1em 110px;
 font-size: .85em;
}

#listings .image {
 border: 1px solid #999;
}

#listings dl dd.actions {
 position: absolute;
 bottom: 5px;
 right: 5px;
 text-indent: 0;
}

.bx-pager .pager-link {
 color: transparent;
}

.bx-next {
 position: absolute;
 right: 0;
}

.hover:hover * {
 background-color: #dbffe2;
}

.new:hover, .existing > div:hover {
 background-color: #dbffe2;
}

td.actions a.button {
 border-radius: 0;
 background: none;
 border: 0;
 margin: 0;
 padding: 0 5px;
}

dl.attachments {
 margin: 0 0 1.5em 0;
 overflow: hidden;
}

dl.attachments dt {
 margin: 0;
 padding: 0;
 font-weight: normal;
 font-size: 1.4em;
 color: #e32;
}

dl.attachments dd {
 margin: 0;
 text-indent: 25px;
}

dl.attachments .pdf {
 background: url('/img/icons/page_white_acrobat.png') no-repeat 0 50%;
}

dl.attachments .doc, dl.attachments .docx {
 background: url('/img/icons/page_white_word.png') no-repeat 0 50%;
}

dl.attachments .xls, dl.attachments .xlsx {
 background: url('/img/icons/page_white_excel.png') no-repeat 0 50%;
}

#slider2 {
 margin: 0;
}

#slider2 li {
 margin: 0;
 padding: 0;
 text-indent: 0;
}

#listings_element {
 position: relative;
}

#listings_element div img {
 /* height: 271px; */
 width: 218px;
 border: 1px solid #ccc;
}

#listings_element h4 {
 position: absolute;
 bottom: -43px;
 left: 3.5em;
 color: #333;
}

#listings_element dl {
 width: 100%;
 line-height: 1.5em;
 font-size: .75em;
}

#listings_element dd {
 margin-left: 0;
 margin-top: 0;
}

#recent_posts {
 border-top: 1px solid #ddd;
 padding-top: 1em;
}

#recent_posts dl {
 margin-bottom: 1.5em;
 width: 100%;
 border-bottom: 1px solid #ddd;
}

#recent_posts dl:last-child {
 border-bottom: none;
}

#recent_posts dt {
 width: 100%;
 font-size: 1.1em;
 font-weight: normal;
 margin: 0; padding: 0;
 color: #004423;
 font-style: italic;
}

#recent_posts a {
 text-decoration: none;
}

#recent_posts dd {
 margin: 0;
}

#recent_posts dd.post_date {
 font-style: italic;
 font-size: .9em;
 margin-top: -.9em;
 color: #999;
}

#footer dl {
 float: left;
 text-align: center;
 width: 33%;
 line-height: 1.5em;
 color: #ccc;
 font-size: .9em;
}

#footer dl dt {
 width: 100%;
}

#footer dl dd {
 margin-left: 0;
 margin-top: 0;
}

#unitComposition label {
 width: 10em;
 display: inline;
 margin-right: 1em;
}

#unitComposition input {
 width: 2em;
}

#signature {
 position: absolute;
 bottom: -10px;
 left: 10px;
}

#thumbs li {
 line-height: 4.75em;
}

#thumbs li img {
 border: 1px solid #999;
}

#footer {
 padding-bottom: 2em;
}

#footer ul {
 list-style-type: none;
 margin: 0;
 padding: 0;
}

#footer li {
 float: left;
 margin: 0 1.5em 0 0;
 padding: 0;
}

#lacsg a {
 color: #777;
 font-weight: normal;
 font-size: .8em;
 text-decoration: none;
 position: relative;
 top: 1em;
}

#lacsg a:hover {
 color: #555;
}

#flashMessage {
 padding: 5px 10px;
 position: relative;
 top: 2.2em;
 z-index: 9999;
}

.right {
 float: right;
}

.left {
 float: left;
}

.clear {
 clear: both;
}

.home-slider:hover .bx-next, .home-slider:hover .bx-prev {
 display: block;
}

.home-slider .bx-next, .home-slider .bx-prev {
 display: none;
 bottom: 1em;
}

#listings_element + br + #resources {
 margin-top: 3em;
}

/* FF specific */
@-moz-document url-prefix() {
 #listings_element + br + #resources {
  margin-top: 5em;
 }
}

#resources h5 {
 color: #0a2864;
 margin: 0;
 font-family: 'Gill Sans','lucida grande', helvetica, arial, sans-serif;
 border-bottom: 1px solid #0a2864;
}

#resources ul {
 margin: 10px 0 0 0;
 list-style-type: none;
}

#resources li {
 margin: 0;
 line-height: 1.75em;
}

#resources li a {
 text-decoration: none;
 font-weight: normal;
 /* border-bottom: 1px solid green; */
}

#resources li a:hover {
 text-decoration: underline;
}

/* BUTTONS */

.actions a, .actions button {
    display:block;
    float:left;
    margin:0 5px 0 0;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;
    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding: 3px; /* Links */
}
.actions button {
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.actions button[type] {
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type] {
    padding:4px 10px 3px 7px; /* IE7 */
}
.actions button img, .actions a img {
    margin:0 3px 2px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

/* STANDARD */

button:hover, .actions a:hover {
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.actions a:active {
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* POSITIVE */

button.positive, .actions a.positive {
    color:#529214;
}
.actions a.positive:hover, button.positive:hover {
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.actions a.positive:active {
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

.actions a.negative, button.negative {
    color:#d12f19;
}
.actions a.negative:hover, button.negative:hover {
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.actions a.negative:active {
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}
