* {
    margin: 0;
    padding: 0;
    outline: 0;
}

html, body {
    height: 100%;
    margin-bottom: 1px;
    background-color: #FFFFFF;
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.95em;
}

strong, em, b, strong, i {
    font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;
}

h1 {
    top: 32px;
    left: 18px;
    overflow: hidden;
}

h1 span {
    top: 0;
    left: 0;
    display: block;
    background-image: url('/images/common/logo.jpg');
}

h1, h1 span {
    width: 443px;
    height: 81px;
    position: absolute;
}

h2 {
    font-size: 1.8em;
    font-weight: normal;
    margin: 0 0 1em 0;
}

h3 {
    font-size: 1.2em;
    margin: 0 0 0.9em 0;
    color: #053D5E;
}

h4 {
    color: #053D5E;
}

p {
    font-size: 0.9em;
    color: #252525;
    margin: 0 0 1em 0;
    line-height: 1.5em;
}

a img, map, area {
    border: 0;
}

a, a:link, a:active, a:visited {
    color: #AAAD25;
}

a:hover {
    color: #00395A;
}

ul, ol {
    margin: 1em 0;
    padding: 0 0 0 2em;
}

li {
    margin: 0 0 0.5em 0;
    font-size: 0.9em;
    line-height: 1.5em;
}

input, select, textarea {
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
}

label {
    color: #00395A;
    font-weight: bold;
}

label.r {
    float: left;
    width: 300px;
    clear: none;
}

label.r:after {
    content: '';
}

fieldset {
    padding: 20px 40px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    margin-bottom: 10px;
}

fieldset ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

fieldset ul li span {
    clear: both;
    display: block;
    height: 1px;
    line-height: 0px;
}

fieldset ul li {
    padding: 5px 10px;
    margin: 0;
}

fieldset span.f {
    display: block;
    height: 20px;
}

legend {
    padding: 0 5px;
    color: #333333;
}

ul label, ul span.label {
    display: block;
    float: left;
    width: 130px;
    line-height: 100%
    clear: left;
    color: #01395C;
    font-weight: bold;
}

ul label:after, ul span.label:after {
    content: ':';
}

ul input.text, ul textarea {
    float: left;
    width: 366px;
    border: 1px solid #8CAEC7;
    background-color: #F2F2F2;
    overflow: auto;
}

ul input.checkbox {
    float: left;
    margin: 0 0 0 130px;
    position: relative;
    top: 3px;
    margin-right: 10px;
    clear: left;
}

ul input.text:focus, ul textarea:focus {
    border: 1px solid #D7DD57;
}

ul textarea {
    height: 80px;
}

ul li.error, ul li.errorTwo {
    border: 1px solid #FF3E3E;
    background-color: #FFDFDF;
}

ul li.error {
    color: #CC0000;
    border-bottom: 0px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

ul li.errorTwo {
    border-top: 0px;
    margin-bottom: 5px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

ul li.error img {
    position: relative;
    top: 2px;
}

ul li #submit {
    margin: 0 0 0 130px;
}

ul ul {
    list-style: disc;
    padding: 0 0 0 2em;
}

ul ul li {
    font-size: 1em;
}

#top, #header {
    height: 181px;
    background-color: #FFFFFF;
    background-image: url('/images/common/top-background.jpg');
}

#top {
    width: 100%;
}

#header {
    width: 960px;
    height: 140px;
    margin: 0 auto;
    position: relative;
}

#rics {
    position: absolute;
    top: 32px;
    left: 541px;
}

#subNav {
    background-image: url('/images/common/subnav-background.jpg');
    width: 254px;
    height: 25px;
    position: absolute;
    top: 0px;
    right: 30px;
    text-align: center;
    color: #FFF;
    font-size: 0.85em;
    line-height: 21px;
    text-transform: uppercase;
}

#subNav a, #subNav a:link, #subNav a:visited, #subNav a:active, #footer a, #footer a:link, #footer a:visited, #footer a:active {
    color: #FFF;
}

#subNav a:hover, #footer a:hover {
    color: #DCDCDC;
}

#subNav span, #footer span {
    padding: 0 4px;
}

#branch1, #branch2 {
    position: absolute;
    right: 20px;
    color: #003959;
    font-size: 1.25em;
}

#branch1 img, #branch2 img {
    position: relative;
    top: 2px;
}

#branch1 {
    top: 50px;
}

#branch2 {
    top: 75px;
}

#navigation {
    height: 41px;
    list-style: none;
    padding-left: 41px;
    width: 960px;
    margin: 0 auto;
    background-image: url('/images/common/navigation-background.jpg');
    background-position: 40px 0;
    background-repeat: no-repeat;
}

#navigation li {
    float: left;
    height: 41px;
    position: relative;
}

#navigation li span {
    height: 41px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    background-position: top left;
}

#navigation li a:hover span {
    background-position: center center;
}

#navigation li.on a span, #navigation li.on a:hover span {
    background-position: bottom left;
}

#navHome span, #navHome { width: 86px; }
#navHome span { background-image: url('/images/common/nav-home.jpg'); }

#navResidential span, #navResidential { width: 133px; }
#navResidential span { background-image: url('/images/common/nav-residential.jpg'); }

#navCommercial span, #navCommercial { width: 150px; }
#navCommercial span { background-image: url('/images/common/nav-commercial.jpg'); }

#navFinancial span, #navFinancial { width: 121px; }
#navFinancial span { background-image: url('/images/common/nav-financial.jpg'); }

#navSurveys span, #navSurveys { width: 216px; }
#navSurveys span { background-image: url('/images/common/nav-surveys.jpg'); }

#navBranches span, #navBranches { width: 124px; }
#navBranches span { background-image: url('/images/common/nav-branches.jpg'); }

#middle {
    width: 100%;
    background-color: #395B75;
    font-size: 1em;
    background-image: url('/images/common/body-background.jpg');
    background-repeat: repeat-x;
}

#content {
    width: 918px;
    position: relative;
    margin: 0 auto;
    background-color: #F9F9F9;
    border: 1px solid #E4E7E2;
    border-top: 0;
    padding: 45px 20px 20px 20px;
}

#left {
    width: 293px;
    float: left;
}

#left .box {
    background-color: #D1DFE9;
    border: 1px solid #D2D7CE;
    margin-bottom: 20px;
}

#left .box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#left .box ul li {
    height: 32px;
    margin: 0 0 1px 0;
}

#left .box ul li img {
    margin: 0 17px;
    position: relative;
    top: -2px;
}

#left .box ul li a {
    background-image: url('/images/common/left-background.jpg');
    background-position: bottom;
    display: block;
    height: 26px;
    padding-top: 6px;
    margin: 0 1px;
    text-decoration: none;
    color: #FFF;
    font-size: 1.15em;
    font-weight: bold;
}

#left .box ul li a:hover, #left .box ul li.on a {
    background-position: top;
}

#left .box h3 {
    background-image: url('/images/common/left-h3-background.jpg');
    width: 289px;
    height: 32px;
    font-weight: normal;
    font-size: 1.3em;
    line-height: 30px;
    text-indent: 40px;
    margin: 1px;
    position: relative;
    color: #FFF;
}

#left .box h3 span {
    width: 39px;
    height: 37px;
    display: block;
    position: absolute;
    top: -5px;
    left: -10px;
    background-image: url('/images/common/menu-background.jpg');
}

#left .box #search {
    border: 0;
    padding: 40px 0;
}

#left .box #commercial {
    margin-left: 10px;
}

#right {
    width: 605px;
    float: right;
}

#br, #bl {
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    bottom: -1px;
    line-height: 1px;
    font-size: 1px;
}

#br {
    background-image: url('/images/common/content-br.jpg');
   right: -1px;
}

#bl {
    background-image: url('/images/common/content-bl.jpg');
    left: -1px;
}

#bottom, #footer  {
    background-color: #395B75;
    background-image: url('/images/common/bottom-background.jpg');
    background-position: bottom left;
    background-repeat: repeat-x;
    height: 60px;
}

#footer {
    width: 960px;
    margin: 0 auto;
}

#footer p {
    color: #FFFFFF;
    font-size: 0.85em;
    line-height: 45px;
}

#footer .right {
    float: right;
    margin: 0 20px 0 0;
}

#footer .left {
    float: left;
    margin: 0 0 0 20px;
}

/**************/
/*    HOME    */
/**************/

#homeBox {
    height: 242px;
    margin-bottom: 20px;
    border-top: 6px solid #345F7F;
    float: left;
}

#tab1, #tab2 {
    width: 144px;
    height: 28px;
    border-top: 6px solid #7595AC;
    float: left;
    margin-top: 6px;
    border-bottom: 1px solid #5989AB;
    border-right: 1px solid #5989AB;
    background-color: #B9CEDD;
}

#tab1 {
    border-left: 1px solid #5989AB;
    border-right: 0;
}

#tab2 {
    width: 146px;
}

#tab1 a, #tab2 a {
    width: 100%;
    height: 28px;
    display: block;
}

#tab1 a, #tab2 a {
    text-align: center;
    color: #345F7F;
    text-decoration: none;
    font-size: 1.1em;
    text-transform: uppercase;
    line-height: 26px;
}

#tab1.on a, #tab2.on a {
    color: #FFFFFF;
    padding-top: 6px;
}

#tab1.on, #tab2.on {
    border: 1px solid #5989AB;
    border-top: 6px solid #345F7F;
    border-bottom: 0;
    height: 35px;
    background-color: #8CAEC7;
    margin-top: 0;
}


#tab1 a:hover, #tab2 a:hover {
    background-color: #CADAE6;
    color: #345F7F;
}

#tab1.on a:hover, #tab2.on a:hover {
    background-color: #8CAEC7;
    color: #FFFFFF;
}

#tab2 {
    float: right;
}

#homeSearch fieldset {
    border: 0;
    -webkit-border-radius: 0px !important;
    border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    background-image: url('/images/pages/test.jpg');
    padding: 0;
    background-color: #8CAEC7;
    clear: both;
    height: 177px;
    padding-top: 25px;
}

#homeSearch {
    width: 293px;
    float: right;
    height: 248px;

    background-image: url('/images/pages/home-search-bottom.jpg');
    background-position: 0 243px;
    background-repeat: no-repeat;
}

#search label {
    float: left;
    font-size: 0.9em;
}

#search input.radio {
    float: left;
    height: 13px;
    width: 13px;
}

#search legend {
    display: none;
}

#search input.radio {
    margin-left: 16px;
    margin-right: 4px;
}

#search #lettings {
    margin-left: 50px;
}

#search #sales {
    margin-left: 40px;
}

#search span.spacer {
    display: block;
    height: 15px;
    clear: both;
}

#search #residential, #search #commercial {
    margin-bottom: 0px;
}

#left #search #residential {
    margin-left: 40px;
}

#search select {
    width: 211px;
    margin-left: 40px;
    margin-top: 10px;
}

#search select#minimumprice, #search select#maximumprice {
    width: 97px;
    float: left;
    margin-left: 40px;
}

#search select#maximumprice {
    float: right;
    margin-right: 40px;
    margin-left: 0;
}

#buttonSearch {
    float: left;
    margin-left: 40px;
    margin-top: 20px;
}

#buttonMap {
    float: right;
    margin-right: 40px;
    margin-top: 20px;
}

div.feature, div.featureMiddle {
    width: 255px;
    background-color: #E4E7E2;
    border: 1px solid #D2D7CE;
    float: left;
    padding: 18px 18px 6px 18px;
}

div.featureMiddle {
    margin: 0 19px 0 20px;
}

div.featureMiddle img, div.feature img {
    display: block;
}

div.featureMiddle h3, div.feature h3 {
    height: 32px;
    width: 254px;
    font-size: 1.5em;
    line-height: 30px;
    text-align: center;
    margin: 1px 0 0 0;
    color: #FFFFFF;
    font-family: Georgia, Palatino, 'Palatino Linotype', Times, Times New Roman, serif;
    background-image: url('/images/common/price-background.jpg');
}

div.featureMiddle div, div.feature div {
    width: 254px;
    position: relative;
}

div.featureMiddle span, div.feature span {
    width: 136px;
    height: 63px;
    position: absolute;
    top: 0;
    left: 0;
}

div.feature .area, div.featureMiddle .area {
    font-size: 1.3em;
    color: #01395C;
    margin: 0.4em 0 0.2em 0;;
}

div.feature .area a, div.featureMiddle .area a {
    color: #01395C;
    text-decoration: none;
}

div.feature .area a:hover, div.featureMiddle .area a:hover {
    text-decoration: underline;
}

div.featureMiddle p, div.feature p {
    text-align: center;
    font-size: 0.85em;
}


/*****************/
/*    RESULTS    */
/*****************/

.resultBox h3 {
    float: left;
    color: #01395C;
    margin-bottom: 20px;
}

.resultBox h3 a, .resultBox h3 a:link, .resultBox h3 a:active, .resultBox h3 a:visited {
    color: #01395C;
    text-decoration: none;
}

.resultBox h3 a:hover {
    text-decoration: underline;
}

.resultBox h4 {
    float: right;
    text-align: right;
    color: #BDBF2B;
    position: relative;
    top: -6px;
    font-size: 1.8em;
}

.resultBox .image {
    width: 214px;
    padding: 1px;
    background-color: #E4E7E2;
    border: 1px solid #D2D7CE;
    clear: left;
    float: left;
    position: relative;
}

.resultBox .image span {
    width: 136px;
    height: 63px;
    display: block;
    position: absolute;
    top: 1px;
    left: 1px;
}

.resultBox .image img {
    display: block;
}

.resultBox .description {
    float: right;
    width: 366px;
    font-size: 0.9em;
}

.resultBox .description strong {
    font-size: 1em;
}

.resultBox .description .price {
    font-size: 0.8em;
    text-align: center;
    margin-left: 236px;
    width: 135px;
    color: #BDBF2B;
    margin-bottom: 0;
    position: relative;
    top: -10px;
}

.resultBox .description a, .resultBox .description a:link, .resultBox .description a:active,  .resultBox .description a:visited {
    color: #01395C;
}

#resultsTotal {
    margin: 0;
    float: right;
}

.pages {
    float: left;
    margin: 0;
    font-size: 0.8em;
    line-height: 30px;
}

.pages a {
    border: 1px solid #CDDAE2;
    padding: 2px 5px;
    text-decoration: none;
    color: #00395A;
}

.pages a.on {
    background-color: #DADC57;
    border: 1px solid #BDC12B;
}

.pages a:hover {
    background-color: #D1DFE9;
}

/*********************/
/*    RESI/COMMER    */
/*********************/

#key img {
    position: relative;
    top: 2px;
}

#key {
    position: absolute;
    top: 11px; 
    left: 7px;
}

#instructions {
    position: absolute;
    top: 11px;
    right: 7px;
    text-align: right;
}

#masterMap .mapPop {
    width: 300px;
    height: 300px;
    background-color: green;
}

#masterMap .mapPop .left {
    float: left;
    width: 100px;
}

#masterMap .mapPop .right {
    float: left;
    width: 250px;
}


/******************/
/*    PROPERTY    */
/******************/

#property #right h3 {
    float: left;
    color: #01395C;
}

#property #right h3 a, #property #right h3 a:link, #property #right h3 a:active, #property #right h3 a:visited {
    color: #01395C;
    text-decoration: none;
}

#property #right h3 a:hover {
    text-decoration: underline;
}

#property #right h4, #print h4 {
    float: right;
    text-align: right;
    color: #BDBF2B;
    position: relative;
    top: -6px;
    margin: 0;
    font-size: 1.8em;
}

#property #description h4, #print #description h4 {
    float: none;
    text-transform: uppercase;
    font-size: 1.2em;
    color: #01395C;
    margin: 1.5em 0 0.5em 0;
    text-align: left;
}

#property #right h5 {
    font-size: 0.9em;
    color: 999999;
    margin: 0 0 0.5em 0;
}

#propertyBox {
    width: 606px;
    border: 1px solid #D2D7CE;
    border-top: 6px solid #D2D7CE;
    background-color: #E4E7E2;
    margin-bottom: 20px;
}

#propertyBox #image span {
    width: 136px;
    height: 63px;
    position: absolute;
    top: 1px;
    left: 1px;
}

#controls {
    font-size: 0.9em;
    text-align: center;
    margin: 15px 0 18px 0;
    clear: both;
}

#locality {
    float: right;
    width: 200px;
    margin: 0 0 20px 20px;
}

#controls a {
    background-repeat: no-repeat;
    padding: 0 0 0 20px;
    margin: 0 0 0 13px;
}

#controls a.email {
    margin: 0;
    background-image: url('/images/icons/email_go.png');
}

#controls a.print {
    background-image: url('/images/icons/printer.png');
}

#controls a.viewing {
    background-image: url('/images/icons/clock.png');
}

#controls a.epc {
    background-image: url('/images/icons/epc_chart.png');
}

#controls a.map {
    background-image: url('/images/icons/map.png');
}

#controls a.floorplan {
    background-image: url('/images/icons/floorplan.png');
}

#image {
    margin: 10px 0 15px 10px;
    float: left;
    height: 266px;
    overflow: hidden;
    position: relative;
}

#image img {
    border: 1px solid #D2D7CE;
}

#thumbs {
    float: right;
    margin: 10px 10px 15px 0;
    width: 220px;
    height: 267px;
    overflow: auto;
}

#thumbs .thumb {
    float: left;
    margin: 0 10px 10px 0;
    height: 67px;
    overflow: hidden;
    width: 89px;
}

#thumbs img {
    border: 1px solid #D2D7CE;
    display: block;
}

.mapPop img {
    float: left;
    margin: 0 10px 10px 0;
}

.mapPop p {
    float: left;
}

/***********************/
/*    ACCESSIBILITY    */
/***********************/

.accessibility {
    width: 33%;
    float: left;
    text-align: center;
    margin: 15px 0 25px 0;
}

/******************/
/*    BRANCHES    */
/******************/

#mainMap {
    position: relative;
    width: 600px;
    height: 400px;
    margin-bottom: 1em;
    padding-top: 40px;
    border: 1px solid #D2D7CE;
    background-color: #D1DFE9;
}

#masterMap {
    position: relative;
    border: 1px solid #D2D7CE;
    margin: 5px;
    display: block;
    height: 388px;
    background-color: #F9F9F9;
}


#dewsbury, #wakefield, #map {
    width: 600px;
    height: 300px;
    margin-bottom: 1em;
    border: 1px solid #D2D7CE;
    background-color: #D1DFE9;
}

#map {
    clear: both;
}

#map1, #map2 {
    border: 1px solid #D2D7CE;
    margin: 5px;
    display: block;
    height: 288px;
    background-color: #F9F9F9;
}

#branches .mapPop {
    font-size: 0.85em;
}

#branches .left img, #branches .right img {
    margin: 0 5px 0 0;
    padding: 0;
    position: relative;
    top: 3px;
    line-height: 100%;
}

#branches .right {
    float: right;
    clear: right;
    display: inline;
    overflow: visible;
}
#branches .left {
    float: left;
    clear: left;
    display: inline;
    overflow: visible;
}

/***************/
/*    ABOUT    */
/***************/


#about .telephone, #about .email{
    padding: 0 0 0 24px;
    background-repeat: no-repeat;
    line-height: 16px;
}

#about .telephone {
    background-image: url('/images/icons/telephone.png');
    margin-bottom: 0.5em;
}

#about .email {
    background-image: url('/images/icons/email.png');
}

/*****************/
/*    FINANCE    */
/*****************/

#financial .adBox {
    border: 2px solid #D1DFE9;
    width: 340px;
    padding: 15px;
    float: left;
}

#financial .advertCode {
    margin: 0;
    font-size: 0.7em;
}

/*****************/
/*    GENERIC    */
/*****************/

p.error { 
    color: #FF3E3E;
    border: 1px solid #FF3E3E;
    background-color: #FFDFDF;
    padding: 3px 5px 5px 5px;
    line-height: 18px;
}

p.warning {
    color: #FF3E3E;
    border: 1px solid #FF3E3E;
    background-color: #FFDFDF;
    padding: 3px 5px 5px 5px;
}

p.error, p.warning {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-top-radius: 4px;
    color: #CC0000;
}

p.warning img, p.error img {
    position: relative;
    top: 3px;
}

span.clear {
    clear: both;
    line-height: 0px;
    height: 0px;
    display: block;
}

span.contact {
    background-image: url('/images/icons/email_go.png');
    background-repeat: no-repeat;
    padding: 0 0 0 20px;
}

.none {
    display: none;
}

span.hr, div.hr {
    line-height: 1px;
    font-size: 1px;
    height: 0px;
    margin: 15px 0;
    border-top: 1px dotted #DADC57;
    display: block;
}

span.hr hr, div.hr hr {
    display: none;
}

img.left {
    border: 1px solid #D2D7CE;
    padding: 1px;
    float: left;
    margin: 0 20px 20px 0;
}

img.center {
    border: 1px solid #D2D7CE;
    padding: 1px;
}

img.right {
    border: 1px solid #D2D7CE;
    padding: 1px;
    float: right;
    margin: 0 0 20px 20px;
}

#emailafriend {
    padding: 20px;
}

#emailafriend h4 {
    margin: 0 0 1em 0;
}

#emailafriend input.text, #emailafriend textarea {
    width: 230px;
}