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

body {
background-image: url(/template/default/images/tile_bg.gif);
background-repeat: repeat-x;
background-color: #94abc0;
}

#shadow {
position: relative;
width: 800px;
background-image: url(/template/default/images/shadow.png);
background-repeat: no-repeat;
margin: 0px auto;
}

#container {
position: relative;
width: 768px;
margin: 0px auto;
}

#header {
position: relative;
width: 768px;
height: 190px;
background-image: url(/template/default/images/header.jpg);
background-repeat: no-repeat;
}

#logo {
position: absolute;
width: 175px;
height: 125px;
left: 35px;
top: 30px;
overflow: hidden;
}

#logo a {
display: block;
width: 175px;
height: 125px;
padding: 125px 0px 0px;
}

#royal_lepage {
position: absolute;
width: 125px;
height: 75px;
left: 609px;
top: 47px;
overflow: hidden;
}

#royal_lepage a {
display: block;
width: 125px;
height: 75px;
padding: 75px 0px 0px;
}

#nav_container {
position: relative;
width: 100%;
height: 30px;
background-image: url(/template/default/images/bg_nav.jpg);
background-repeat: no-repeat;
margin: 0px;
overflow: hidden;
}

#footer {
position: relative;
width: 768px;
height: 49px;
background-image: url(/template/default/images/footer.jpg);
background-repeat: no-repeat;
margin: 0px auto;
}

/* CONTENT */
#content {
position: relative;
width: 768px;
padding: 20px 0px;
/*
background-image: url(/template/default/images/tile_content.gif);
background-repeat: repeat-x;
background-position: top;
*/
background-color: #498397; /* #24566b; */
}

#left {
position: relative;
float: left;
width: 190px;
padding: 0px;
}

#middle {
position: relative;
float: left;
width: 388px;
margin: 0px 0px 20px;
padding: 0px;
}

.no_sidebar #middle {
float: none;
width: 558px;
margin: 0px auto 20px;
}

.no_right #middle,
#full {
position: relative;
float: left;
width: 558px;
margin: 0px 0px 20px;
padding: 0px;
}

#text {
padding: 20px 30px;
margin: 0px;
background-color:#fff;
}

.text_header {
position: relative;
width: 388px;
height: 15px;
background-image: url(/template/default/images/text_header.gif);
background-repeat: no-repeat;
}

/* CONTENT HEADERS */

#buyers_header,
#sellers_header,
#moving_header,
#listings_header,
#mortgages_header,
#calc_header,
#contact_header {
position: relative;
width: 558px;
height: 110px;
background-repeat: no-repeat;
}

#buyers_header {
background-image: url(/template/shared/images/header_buyers.jpg);
}

#listings_header {
background-image: url(/template/shared/images/header_listings.jpg);
}

#sellers_header {
background-image: url(/template/shared/images/header_sellers.jpg);
}

#moving_header {
background-image: url(/template/shared/images/header_moving.jpg);
}

#mortgages_header,
#calc_header {
background-image: url(/template/shared/images/header_mortgages.jpg);
}

#contact_header {
background-image: url(/template/shared/images/header_contact.jpg);
}


#text_footer {
position: relative;
width: 388px;
height: 16px;
background-image: url(/template/default/images/text_footer.gif);
background-repeat: no-repeat;
}

.no_right .text_header,
.no_sidebar .text_header {
position: relative;
width: 558px;
height: 15px;
background-image: url(/template/default/images/full_header.gif);
background-repeat: no-repeat;
}

.no_right #text_footer,
.no_sidebar #text_footer {
position: relative;
width: 558px;
height: 16px;
background-image: url(/template/default/images/full_footer.gif);
background-repeat: no-repeat;
}

#right {
position: relative;
float: left;
width: 190px;
padding: 0px;
}

/* BOX */
.box {
position: relative;
width: 150px;
margin: 0px 0px 10px 20px;
padding: 0px;
}

/* Feature Listing */
.featured_listing {
position: relative;
display: block;
padding: 8px 0px;
margin: 2px 0px;
}

.featured_image {
position: relative;
float: left;
width: 90px;
}

.featured_listing img {
width: 90px;
padding: 0px;
margin: 0px;
}

.flag,
#text #listing_image .flag {
position: absolute;
z-index: 1;
width: 50px;
height: 25px;
}

#listing_image_text {
position: absolute;
z-index: 2;
width: 480px;
height: 45px;
bottom: 0px;
background-image: url(/template/shared/images/bg_image_text.png);
padding: 5px 10px 0px;
}

#listing_image_text h1,
#listing_image_text h2 {
color: #fff;
margin: 0px;
padding: 0px;
}

.featured_text {
float: left;
width: 220px;
padding: 0px 0px 5px 5px;
}

.listing_text {
float: left;
width: 400px;
padding: 0px 0px 5px 5px;
}

/* Listing Thumbs */
#listing {
position: relative;
width: 500px;
margin: 0px 0px 10px; 
}

#listing_image {
position: relative;
width: 500px;
}

#listing_image a {
display: block;
}

#text #listing_image img {
width: 500px;
padding: 0px;
}

#listing_thumbs {
position: relative;
margin: 0px;
padding: 10px 0px;
list-style-type: none;
}

.thumb {
display: block;
margin: 3px;
overflow: hidden;
float: left;
text-align: center;
background-color: #fff;
}

.thumb a {
display: block;
width: 70px;
height: 70px;
overflow: hidden;
border: 2px solid #fff;
}

.thumb a:hover {
border: 2px solid #24566b;
}

.thumb a,
.thumb a span {
font-size: 10px;
color: #58595b;
text-decoration: none;
font-weight: normal;
}

.thumb a span {
display: block;
}

.thumb a:hover,
.thumb a:hover span {
color: #252160;
text-decoration: none;
}

.thumb img {
float: left;
border: none;
height: 95px;
}

/* CREDIT */
#credit {
position: absolute;
top: 12px;
right: 35px;
overflow: hidden;
}

#credit,
#credit a {
width: 110px;
height: 27px;
}

#credit a {
display: block;
padding: 27px 0px 0px;
background-image: url(/template/default/images/korkoladesign_white.png);
background-repeat: no-repeat;
}

.clear {
clear: both;
}
