#mainContent #agentResults td {
	padding: 0px;
}

#mainContent, 
#mainContent th, 
#mainContent td, 
#mainContent p, 
#mainContent a, 
#mainContent li  {
	font:12px arial,sans-serif;
}

#mainContent td {
	padding: 0px;
}
/**********************/

div.grayborder {
	background-image: url(/images/complicatedstyles/TopGrayBar.gif);	
	background-position: top center;
	background-repeat: no-repeat;
	background-color: #e5e5e5;
	border: 1px #999999 solid;
	border-width: 0px 1px;/**/
	padding-top: 10px;
	width: 514px;
}

div.grayborder span, div.grayborder div {
	padding: 0 5px;
	display: block;
	background-image: url(/images/complicatedstyles/BtmGrayBar.gif);	
	background-repeat: no-repeat;
	background-position: bottom center;
	padding-bottom: 10px;
}

/*******************************************************/
/* text buttons that look like images for search pages */
/*******************************************************/

.hovered {
	cursor: pointer;
}

.buttonrow {
	margin-top: 10px;
	width: 520px;
}

.redButton, 
.grayButton, 
.grayButtonR {
	float: left;
	border-collapse: collapse;
	margin: 0px 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-align: center;
}

.grayButtonR {
}

.redButton a img, 
.grayButtonR a img, 
.grayButton a img {
	border: none;
}


.redButton .q22 a, 
.grayButton .q22 a, 
.grayButtonR .q22 a {
	font-weight: 400;	
	text-decoration: none;
}

.importantbutton .q22 a{
	font-weight: 900;	
}

.grayButton .leftArrow, 
.grayButtonR .rightArrow {
	color: #ffffff;
	width: 21px;
	height: 21px;
	display: block;
}

.grayButton .leftArrow {
	background-image: url(/css/images/pagination/button_sort_prev.gif);
}

.grayButtonR .rightArrow {
	background-image: url(/css/images/pagination/button_sort_next.gif);
}

.grayButton .leftArrow,
.grayButtonR .rightArrow {
	background-repeat: no-repeat;
}

.grayArrow {
	height: 20px;
	width: 20px;
	font-size: 5px;
}

.arrowHolder {
	width: 22px;
}

.buttonrow .statusbar {
	vertical-align: middle;
}

.pagelinks {
	float: left;
	width:auto;
	margin:0px 5px;
	font-size: 11px;
	padding-top: 2px;
}

.pagelinks a {
	font-weight: 700;
	color: #000000;
	text-decoration: none;
	padding: 9px 4px;
			outline: none;
}

.pagelinks .selected {
	color: #ff0000;
}

.thin { 
	margin-top: 2px;
	height: 10px; 
	margin-bottom: -10px;
	border: 0; 
	border-top: 1px solid #666666;
	width: 520px;
}

/* AGENT LAYOUT**************************************/

	#mainContent a {
		color: #3399cc;
	}

	#mainContent .pageLinks {
		line-height: 18px;
	}

	.pageLinks {
    float: left;
    font-size: 11px;
    margin: 0 5px;
    padding-top: 2px;
    width: auto;
	}

	#mainContent .pageLinks a {
		color: #000;
		text-decoration: underline;
		font-size:11px;
		font-weight: bold;
    padding: 9px 4px;
	}
	
	.pagelinks a {
    color: #000000;
    font-weight: 700;
    outline: medium none;
    text-decoration: none;
	}
	

	#mainContent .pageLinks a.navigationSelected {
		color: #fff;
		text-decoration: none;
		font-size:11px;
		font-weight: bold;
	}

	#mainContent .pageLinks a {
		color: #000;
	}

	p {
		font-size:small;
	}
	
	#mainContent .contactDetails h1 {
		font-size:1.1em;
	}


	#mainContent .office a, 
	#mainContent .contactDetails a {
		text-decoration:none;
	}

	#mainContent .office .myStuff a, 
	#mainContent .contactDetails div a {
		text-decoration:underline;
	}

	.officeResults span,
	.contactDetails span {
		font-size: 12px;
	}

	#mainContent .contactDetails h2 {
		font-size:12px;
		color: #000;
		font-size: 1em;
		margin-bottom: 5px;
		margin-left:0px;
	}

	.officeResults h2 {
		margin-bottom: 8px;
	}

	#mainContent #agentResults h1 {
		font-size:18px;
		color: #ee3a43;
		padding:0px;
		margin:0px;
		font-weight: 400;
		font-family:Helvetica;
	}

	h2 {
		font-size: 1em;
		padding:0px;
		margin:0px;
	}

	h3 {
		font-size: .8em;
		font-weight: normal;
		margin-bottom:5px;
	}

/* AGENT LAYOUT**************************************/

	.agentSearchResultsContainer {
		*width: 940px;
	}
	
	#agentResults {
		margin-top: 10px;
		*width: 922px;
	}

	#agentResults .agentInfo .myStuff .myWebsite {
		*padding-top: 0px;
	}

	.agent {
		border-bottom:1px solid #CCCCCC;
		clear:both;
		float:left;
		margin:0 19px 10px;
		padding-bottom:10px;
		width:915px;
		*margin-left:7px;
		*width: 100%;
	}

	.agentInfo {
		float:left;
		width:590px;
		margin: auto 10px 0px auto;
		padding-right: 8px;
		border-right: solid 1px #eee;
	}	

	.awardIcons {
		width: 290px;
		float: right;
		text-align: right;
	}

	/* AGENT IMAGE **************************************/

	.agentImage {
		width: 95px;
		border: solid 1px #fff;
		float:left;
	}

	.agentImage img {
		float:left;
		width:90px;
	}

/* AGENT DETAILS **************************************/

	.contactDetails {
		float:left;
		width: 300px;
	}

	.locationProfile .contactDetails {
		width:500px;
	}
	#agentResults .contactDetails a {
		font-size: 12px;
	}

	.myStuff {
		float: left;
		width: 400px;
		line-height: 20px;
		white-space:nowrap;
	}

	.myContact,
	.myAgents,
	.eNotify,
	.myListings,
	.myWebsite {
		float:left;
		width:auto;
	}

	.myWebsite span,
	.myWebsite img {
		float:left;
		clear:none;
	}

	.myWebsite img {
		padding-left:5px;
	}

/* BROKER DETAILS **************************************/

	.brokerInfo {
		float:left;
		width: 205px;
		*width: 205px;
		font-size: 12px;
	}

	#mainContent #brokerInfo h1 {
		color: #000;
		font-size: 14px; 
		font-weight: bold;
	}

/* TOP NAVIGATION DISPLAY**************************************/

	.agentSearchNav {
		clear:both;
		text-align:left;
		*text-align:center;
	}
		
	.statusBar {
		font-size: .8em;
		float:left;
	}

	td .statusBar {
		text-align: left;
	}
	
	#pnlPagingTop {
		margin: 10px 10px 0px 0px;
		float:right;
		width:auto;
	}

	#pnlPagingTop a.navigationSelected, 
	#pnlPagingBottom a.navigationSelected {
		background-image: url(images/pagination/numberbackground.gif);
		background-repeat:no-repeat;
		background-position: center center;
		color: #fff;
}

	#panBottomNav {
		float:right;
		width: 500px;
	}

	#pnlPagingBottom {
		float:right;
		width:auto;
		margin-right: 10px;
	}

	.pages {
		float:left;
		width:30px;
	}	

	#ctl00_ContentPlaceHolder3_lblNumberOfRealtors {
	*margin-left: 0px;
	}
/* NAVIGATION Buttons **************************************/
	
	.below {
		clear:both;
		color:#999999;
		font-size:11px;
		margin-top:10px;
		margin-bottom: 10px;
		padding-left:15px;
		text-align:left;
	}

	.below .neighbours {
		clear:both;
	}
	.AS_subsearch { 
		margin-bottom:10px;
	}

	.content {
		*width:100%;
	}

	#panBottomNav {
		clear:both;
		float:none;
		width:100%;
	}

	#mainCell #contentTable #interactiveBox .content {
		margin:0px;
	}

	.agentSearchNav .buttonrow .statusbar {
		padding-left: 15px;
	}

	.agentSearchNav .buttonrow #ctl00_ContentPlaceHolder3_panelTopSearchNav{
		margin-top: 10px;	
		margin-right:15px;
	}

	#ctl00_ContentPlaceHolder3_pnlPagingBottom,
	#ctl00_ContentPlaceHolder3_pnlPagingTop {
		float:right;
		margin-right: 10px;
		*margin-right: 5px;
	}

	#ctl00_ContentPlaceHolder3_pnlPagingBottom a,
	#ctl00_ContentPlaceHolder3_pnlPagingTop a{
	}
	
	.buttonrow {
		width:100%;
	}

	.redButton .q22 a {
		color: #3399CC;
		text-decoration: underline;
	}

	.redButton, 
	.grayButton, 
	.grayButtonR {
		text-align:left;
	}

	.grayButton, 
	.grayButtonR {
		padding:0px 5px;	
	}
	
	#mainContent a.navigationSelected 
	{
	    background: transparent url(/css/images/pagination/numberbackground.gif) no-repeat scroll center top;
	    color: white;
	    padding: 1px 8px 4px 8px;
			font-size: 11px;
			font-weight: bold;
			text-decoration: none;
			
	}

/* OFFICE **************************************/

	.officeResults table td {
		*text-align: center;
	}

	.officeResults table td.statusbar {
		*text-align: left;
	}

	#mainContent .agentSearchNav table.buttonrow td.statusbar {
		min-width:150px;
		*width: 150px;
		padding-left: 15px;
	}
	
	.agentSearchNav table.buttonrow td.statusbar span {
		line-height: 20px;
	}

	.office {
		border-bottom: solid 1px #ccc;
		margin:auto;
		padding:5px 10px 10px 5px;
		margin: auto 15px;
		*width:100%;
		*text-align: left;
	}

	.office .officeAddress {
		margin-bottom: 5px;
	}

	.office .officeAddress,
	.office .officeNumbers {
		clear:both;
	}

	.office .locations {
		margin-top: 5px;
	}

	.officeResults .officeBottomNav {
		margin-top: 20px;
		margin-left: 40px;
	}

	#panelBottomSearchNav {
		float: right;
		margin-right: 43px;
		*margin-right: 20px;
	}
	.newSearch, 
	.officeBottomNav a {
		font-size: 13px;
	}

	.officeResults .newSearch {
		text-align:right;
	}

	.officeResults div.locations {
		margin: 5px 0px;
	}

	.contactDetails .contactNumbers {
		margin: 0px 0px 5px 0px;
		font-size:12px;
	}

	.contactDetails .myListings a, 
	.contactDetails .eNotify a, 
	.contactDetails .myAgents a, 
	.contactDetails .myWebsite a {
		font-family: Arial;
		font-size:12px;
		line-height: 21px;
		text-decoration: underline;
	}

	#panOurListings {
		width:200px;
		float:left;
	}

		
	.officeResults .myListings {
		width: 110px;
	}

	.officeResults .myWebsite {
		width: 100px;
	}

	.office .myAgents {
		width: 100px;
	}

	.office .myStuff {
		margin-top:5px;
		padding-bottom:0px;
		float: none;
		width: 100%;
	}

	.office .myListings a,
	.office .myWebsite a,
	.office .myStuff a {
		text-decoration: underline;
	}

	#mainContent .office h1 {
		color: #ee3a43;
		font-weight: 400;
		font-size: 18px;
		font-family: Helvetica;
		margin-bottom: 1px;
		margin-top:0px;
	}

	.office h1 span {
		font-size:16px;
	}
	
	.pointer {
	    cursor: pointer;
	}

	.officeBottomNav {
		float:right;
		margin-right:10px;
		margin-top:15px;
	}


#ctl00_ContentPlaceHolder3_lblNoOffice,
#ctl00_ContentPlaceHolder3_lblNoAgent {
	*width: 400px;
}

