/*
	overall layout
*/

#container {
width: 950px;
margin-left: auto;
margin-right: auto;
padding-left: 10px;
padding-right: 10px;
text-align: left;
background: #ffffff;
}

/*
	header
*/

#top {
height: 90px;
}

.logo {
margin-top: 15px;
margin-left: 10px;
}

#top  ul {
/* list-style has already been declared as 'none' in global.css */
margin-top: 60px;
}

#top li {
float: left;
}

#top li a {
font-size: 11px;
color: #555555;
text-decoration: none;
text-align: center;
padding-left: 5px;
padding-right: 5px;
border-right: 1px solid #b0b0b0;
}

#top li a:hover {
text-decoration: underline;
}

#top li.last a {
border-right: none;
}

/*
	2nd Nav
*/

#nav-2 {
background: url('../images/theme/black/nav_bar.gif') top left no-repeat; /* Change this */
height: 39px;
width: 950px;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
}

#mainLinks-2 {
height: 39px;
margin-left: 1em;
}

#mainLinks-2 ul {
padding: 0;
margin: 0;
}

#mainLinks-2 li {
float: left;
}

#mainLinks-2 li a:active, #mainLinks-2 li a:link, #mainLinks-2 li a:visited {
float: left;
height: 39px;
line-height: 39px;
color: #ffffff;
text-align: center;
font-size: 78%;
font-weight: bold;
padding-right: 0.7em;
padding-left: 0.7em;
text-decoration: none;
}

#mainLinks-2 li a:hover{
background: url('../images/theme/black/nav_rollover.gif') top left repeat-x; /* Change this */
text-decoration: underline;
}

/*
	marquee
*/

#marquee {
background: #fcffdc;
border: 1px solid #e7ecb4;
margin-top: 5px;
}

#marquee marquee {
font-size: 12px;
font-weight: bold;
color: #444444;
cursor: default;
padding-left: 10px;
padding-right: 10px;
padding-top: 7px;
padding-bottom: 7px;
}

/*
	agent's info
*/

#agent {
margin-top: 10px;
background: url('../images/common/agentinfo.gif') top left no-repeat;
width: 950px;
height: 145px;
}

img.agentphoto {
border: 1px solid #ffffff;
margin-top: 8px;
margin-left: 10px;
}

.agentinfo {
margin-top: 10px;
margin-left: 15px;
}

#agent h3 {
color: #ffffff;
}

#agent h5 {
color: #dbdbdb;
}

#agent span {
font-size: 11px;
color: #ffffff;
position: relative;
top: 0;
left: 5px;
margin-right: 15px;
}

#agent p {
font-size: 11px;
color: #ffffff;
padding: 8px;
}

.agenticons {
position: relative;
top: 4px;
left: 0;
}

#agent a {
color: #ffffff;
text-decoration: underline;
}

#agent a:hover {
text-decoration: none;
}

.addThis {
position: relative;
top: 10px;
left: 0;
}

.agentnotes {
margin-top: 13px;
margin-right: 15px;
background: url('../images/common/notebg.jpg') top left no-repeat;
width: 321px;
height: 121px;
}

/*
	contents
*/

#wrapper {
margin-top: 10px;
padding-bottom: 10px;
}

#wrapper h2 {
color: #636363;
}

.time {
position: relative;
top: 9px;
left: 0;
}

.title {
height: 28px;
border-bottom: 1px solid #e8e8e9;
}

/*
	main
*/

#content {
width: 950px;
margin-top: 10px;
}

.main {
width: 770px;
}

.sidebar {
width: 160px;
border-left: 1px solid #e8e8e8;
padding-left: 8px;
padding-bottom: 10px;
}

.slideshow-img {
text-align: center;
height: 110px;
}

.slideshow-img ul {
margin-left: 4px;
}

.main-content {
padding: 5px;
min-height: 300px;
}

.main-content p {
padding-bottom: 10px;
}

.main-content  h3 {
font-size: 18px;
color: #636363;
margin-top: 5px;
margin-bottom: 5px;
}

.main-content table {
vertical-align: middle;
}

.main-content tr td {
font-size: 12px;
padding: 4px;
vertical-align: middle;
}

.main-content th a {
font-size: 11px;
color: #333333;
}

.main-content th {
background: #ebebeb;
vertical-align: middle;
}

.result-table {
margin-top: 5px;
}

.result-table th, .result-table tr td {
border: 1px solid #cdcdcd;
padding: 4px;
line-height: 1.6em;
font-size: 11px;
}

.result-table img {
position: relative;
top: 3px;
left: 0;
}

/*
	search
*/

#search {
height: 85px;
border: 1px solid #e8e7e7;
background: #f8f7f7;
padding: 8px;
margin-bottom: 5px;
}

#search p {
padding-bottom: 4px;
}

#category-sort {
width: 350px;
}

#listing-search {
width: 355px;
}

#category-sort label {
font-size: 12px;
position: relative;
top: 0;
left: 0;
cursor: pointer;
cursor: hand;
}

.pos-radio {
position: relative;
top: 5px;
}

.pos-submit {
position: relative;
top: 5px;
}

input.keywords-color {
color: #797979;
font-style: italic;
}

/*
	set
*/

.row {
overflow: auto;
min-height: 100%;
height: auto !important;
height: 100%;
padding-bottom: 10px;
border-bottom: 15px solid #efeded;
}

.set {
width: 200px;
text-align: center;
float: left;
margin-left: 40px;
}

.set tr td {
font-size: 12px;
padding-top: 5px;
vertical-align: middle;
}

.setImg {
background: #f8f6f7;
border: 1px solid #e8e6e7;
padding: 25px;
height: 113px;
width: 148px;
}

.setImg:hover {
border: 1px solid #c0c0c0;
}

.setImg img {
border: 1px solid #ffffff;
}

.setImg-gv {
background: #cde2f0;
border: 1px solid #7caccb;
padding: 25px;
height: 113px;
width: 148px;
}

.setImg-gv:hover {
border: 1px solid #4d7e9d;
}

.setImg-gv img {
border: 1px solid #ffffff;
}

.addTo {
margin-top: 5px;
margin-bottom: 10px;
padding-bottom: 10px;
text-align: center;
}

.addTo a {
font-size: 11px;
}

.addTo img {
position: relative;
top: 3px;
left: 0;
}

/*
	psearch
*/

.psearch-box {
height: 195px;
}

.psearch {
background: #f8f6f7;
border: 1px solid #e8e6e7;
padding: 10px;
height: 166px;
width: 158px;
margin-left: 8px;
}

.psearch:hover {
border: 1px solid #bdbdbd;
}

.psearch img {
border: 1px solid #ffffff;
}

/*
	pagination
*/

.pagination {
padding-top: 10px;
padding-bottom: 20px;
text-align: center;
clear: both;
}

.pagination a {
text-decoration: none;
}

.previous-next {
padding: 3px 7px 3px 7px;
border: 1px solid #777777;
background: #e7e7e7;
color: #555557;
font-weight: bold;
font-size: 11px;
cursor: hand;
cursor: pointer;
}

.previous-next:hover {
border: 1px solid #c3c3c3;
color: #777777;
text-decoration: underline;
}

.pageNum{
padding: 3px 7px 3px 7px;
border: 1px solid #e7b288;
background: #faf7ee;
color: #767877;
font-weight: bold;
font-size: 11px;
}

.pageNum:hover  {
border: 1px solid #f1ceb2;
background: #fef7e4;
color: #333333;
font-weight: bold;
text-decoration: underline;
}

.pageNum-current  {
padding: 3px 7px 3px 7px;
border: 1px solid #f1ceb2;
background: #f8eed2;
color: #000000;
font-weight: bold;
text-decoration: underline;
}

/*
	sitemap
*/

#site-map-right,
#site-map-left {
margin-left: 5em;
}

#site-map-right ul, 
#site-map-left ul{
padding: 0;
margin-bottom: 1.4em;
margin-left: 1.3em;
}

#site-map-right li,
#site-map-left li{
margin-top: 0.7em;
}

#site-map-right li a:active,#site-map-right li a:link,#site-map-right li a:visited,
#site-map-left li a:active,#site-map-left li a:link,#site-map-left li a:visited {
font-size: 78%;
color: #333333;
text-decoration: none;
display: block;
width: 190px;
border-bottom: 1px dotted #c0c0c0;
background: url('../images/icons/arrow-right.gif') left no-repeat;
padding-left: 1.3em;
}

#site-map-right li a:hover,
#site-map-left li a:hover {
text-decoration: none;
border-bottom: 1px dotted #ffffff;
font-weight: bold;
}

.sm_title {
color: #333333;
}

.site-map-left {
border: 1px solid;
margin-top: 10px;
margin-bottom: 10px;
border-bottom: 1px dotted #9d9d9d;
}

/*
	result page
*/

.result-top {
position: relative;
bottom: 4px;
left: 5px;
}

/*
	facebox
*/

#facebox .b {
  background:url('../images/facebox/b.png');
}

#facebox .tl {
  background:url('../images/facebox/tl.png');
}

#facebox .tr {
  background:url('../images/facebox/tr.png');
}

#facebox .bl {
  background:url('../images/facebox/bl.png');
}

#facebox .br {
  background:url('../images/facebox/br.png');
}

#facebox {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  margin: auto;
  border-collapse: collapse;
}

#facebox .body {
  padding: 10px;
  background: #fff;
  width: 370px;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
}

#facebox .footer {
  border-top: 1px solid #DDDDDD;
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

/*
	services
*/

#three-img img {
margin-left: 25px;
}

.services-form  tr td {
vertical-align: top;
padding: 5px;
font-size: 12px;
}

.txt {
width: 200px;
}

.notCurrent {
filter: alpha(opacity=50);
-moz-opacity: 0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
zoom: 1; /* IE is stupid */
}

/*
	shortlisted list
*/

.shortlisted-table th, .shortlisted-table tr td {
border: 1px solid #cdcdcd;
padding: 4px;
line-height: 1.6em;
font-size: 11px;
}

.shortlisted-table thead {
background: #efefef;
}

/*
	footer
*/

#footer {
border-top: 1px solid #d5d5d5;
padding-top: 15px;
padding-bottom: 10px;
text-align: center;
}

#footer p {
line-height: 1.4em;
font-size: 11px;
color: #888888;
padding-bottom: 10px;
}

#footer span {
padding: 3px 6px 3px 6px;
background: #f3f3f3;
border: 1px solid #e1e1e1;
font-size: 10px;
font-weight: bold;
color: #585858;
cursor: default;
}

#footer .hits {
color: #c8c9c7;
}

.grey {
color: #808080;
}

.clearfooter {
clear: both;
height: 10px;
}

.error {
    color: #FF0000;
}