/*  ------------------------------------------------------------------------
	Main Page - Featured Agent
	------------------------------------------------------------------------ */
#featured-agent{
	position:relative;
	top:0;left:0;
	height:288px;
	color:#5F87BB;
	background:#FAEBC8 url("../images/bg-fagent.jpg") left top no-repeat;
	z-index:7975;
}
	/* Picture */
	#featured-agent-photo{
		float:left;
		position:relative;
		width:480px;
		height:288px;
		z-index:7976;
	}
	
		#featured-agent-photo.loading{
			background:transparent url("../images/ajax-loader.gif") no-repeat center center;
		}
		
		#featured-agent-photo img{
			position:absolute;
			top:2px;left:0;
			width:554px;
			max-width:554px;
			height:284px;
			max-height:284px;
			z-index:7977;
		}
	/* Quote */
	#featured-agent q{
		display:block;
		position:absolute;
		top:28px;right:70px;
		float:right;
		padding:50px 0 0 50px;
		width:416px;
		height:107px;
		font-weight:500;
		font-stretch:expanded;
		font-family: "HelveticaNeueMediumExtended", "HelveticaNeue-Medium-Extended", "Helvetica Neue Medium Extended", "HelveticaNeueMedium", "HelveticaNeue-Medium", "Helvetica Neue Medium", "HelveticaNeue", "Helvetica Neue", 'TeXGyreHerosRegular', "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
		font-size:26px;
		line-height:36px;
		z-index:7978;
	}
		#featured-agent q strong.n1etm{
			font-size:30px;
			text-transform:uppercase;
			z-index:7979;
		}
			#featured-agent q:before,
			#featured-agent q:after{
				position:relative;
				top:10px;
				color:#C1A975;
				font-weight:600;
				font-stretch:normal;
				font-family: "HelveticaNeueBold", "HelveticaNeue-Bold", "Helvetica Neue Bold", "HelveticaNeue", "Helvetica Neue", 'TeXGyreHerosBold', "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
				font-size:250%;
				vertical-align:bottom;
				z-index:7980;
			}
		#featured-agent q .text{
			width:466px;
			height:157px;
			background:transparent url("../images/text-fagentquote.jpg") left top no-repeat;
		}

	/* Panel */
	#featured-agent-panel{
		position:absolute;
		top:288px;left:14px;
		width:468px;
		height:208px;
		background:#4B453C url("../images/bg-featured.png") left top no-repeat;
		z-index:7981;
	}
		#featured-agent-panel .title{
			margin:5px 16px 4px 16px;
			color:#F6D9A3;
			font-size:11px;
			font-weight:bold;
			text-transform:uppercase;
		}
		
		#featured-agent-panel a,
		#featured-agent-panel a:link{color:#a3caf6;}
		#featured-agent-panel a:visited{color:#BBB;}
		#featured-agent-panel a:active,
		#featured-agent-panel a:focus,
		#featured-agent-panel a:hover{color:#B69B67;}

		/* Profile */
		#featured-agent-card{
			width:468px;
			height:140px;
			background:transparent url("../images/separator-fagentpanel.png") center bottom no-repeat;
			z-index:7982;
			overflow:hidden;
		}
			/* (hCard) */
			#featured-agent-info{
				float:left;
				margin-left:30px;
				width:220px;
				color:#FFF;
				font-size:13px;
				z-index:7983;
			}
				#featured-agent-info a.agentName,
				#featured-agent-info .agentName{
					display:block;
					margin-bottom:5px;
					color:#FFF;
					font-size:22px;
					line-height:22px;
					text-decoration:none;
					white-space:nowrap;
				}
				#featured-agent-info .officeName{
					display:block;
					margin-left:2px;
					color:#A3CAF6;
					line-height:20px;
					/* text-decoration:underline; JWS removed */
				}
					#featured-agent-info .agentName .firstName{}
					#featured-agent-info .agentName .lastName{}

				#featured-agent-info .agentAddress{
					display:block;
					margin-left:2px;
					line-height:20px;
				}
					#featured-agent-info .agentCity{
						display:inline;
						text-transform:capitalize;
					}
					#featured-agent-info .agentState{
						display:inline;
						text-transform:uppercase;
					}
				#featured-agent-info .agentUrl{
					position:relative;
					display:block;
					margin:5px 0 0 2px;
					width:76px;
					height:26px;
					color:#FFF;
					background-color:#4773AB;
					font-weight:400;
					font-stretch:normal;
					font-family: "HelveticaNeue", "Helvetica Neue", "HelveticaNeueRoman", "HelveticaNeue-Roman", "Helvetica Neue Roman", 'TeXGyreHerosRegular', "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
					font-size:10px;
					line-height:26px;
					text-transform:uppercase;
					text-decoration:none;
					text-align:center;
				}
					/* Text-only hover */
					#featured-agent-info .agentUrl:focus,
					#featured-agent-info .agentUrl:active,
					#featured-agent-info .agentUrl:hover{
						color:#A3CAF6;
						background-color:transparent;
						text-decoration:underline;
					}
					#featured-agent-info .agentUrl .button{
						width:76px;
						height:26px;
						background-image:url("../images/button-moreinfo.png");
					}
			/* Stats */
			#featured-agent-card .stats{
				position:absolute;
				top:58px;right:10px;
				float:right;
				width:204px;
				height:62px;
				font-family:"Trebuchet MS", "Trebuchet", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", "Tahoma", "Geneva", sans-serif;
				z-index:7984;
			}
			#featured-agent-card .stats ul,
			#featured-agent-card .stats ul li{margin:0;padding:0;list-style:none;}
			#featured-agent-card .stats ul{}
				#featured-agent-card .stats ul li{
					float:left;
					margin:0 2px 2px 0;
					width:99px;
					height:29px;
					background-color:#B69B67;
					background-image:url("../images/sprite-fagentstats.png");
				}
					#featured-agent-card .stats ul li#propertiesSold{background-position:0 0;}
					#featured-agent-card .stats ul li#millionSales{background-position:-102px 0;}
					#featured-agent-card .stats ul li#yearsExperience{background-position:0 -31px;}
					#featured-agent-card .stats ul li#numAssistants{background-position:-102px -31px;}
						#featured-agent-card .stats ul li dl dt{
							display:block;
							position:relative;
							float:right;
							padding-top:4px;
							width:64px;
							color:#F6D9A3;
							font-size:10px;
							line-height:10px;
							text-transform:uppercase;
						}
							#featured-agent-card .stats ul li dl dt sup{color:#FFF;vertical-align:top;}
							#featured-agent-card .stats ul li#numAssistants dl dt{padding:0;line-height:28px;}
							#featured-agent-card .stats ul li dl dt .text{
								width:64px;
								height:29px;
								background-image:url("../images/sprite-fagentstats.png");
							}
							#featured-agent-card .stats ul li#propertiesSold dl dt .text{background-position:-35px 0;}
							#featured-agent-card .stats ul li#millionSales dl dt .text{background-position:-137px 0;}
							#featured-agent-card .stats ul li#yearsExperience dl dt .text{background-position:-35px -31px;}
							#featured-agent-card .stats ul li#numAssistants dl dt .text{background-position:-137px -31px;}

						#featured-agent-card .stats ul li dl dd{
							display:block;
							float:left;
                            padding-left:3px;
							width:28px;
							color:#000;
							font-size:18px;   /* was 22px */
							line-height:32px;
							text-align:right;
						}
			/* (stats disclaimer) */
			#featured-agent-card .disclaimer{
				position:absolute;
				top:122px;right:30px;
				color:#f9e4b6;
				font-size:10px;
			}
			#featured-agent-card .disclaimer span{
				font-weight:bold;
				color:#fff;
			}
		/* Menu */
		#diamond-mlink{
			position:absolute;
			bottom:50px;right:15px;
			display:block;
			font-size:10px;
			line-height:10px;
			z-index:7985;
			cursor:pointer;
		}
		#featured-agent-menu{
			position:absolute;
			top:140px;left:0;
			width:468px;
			height:105px;
			z-index:7985;
			overflow:hidden;
		}
			#featured-agent-menu .title{
				margin-bottom:8px;
				font-weight:normal;
			}
			#featured-agent-menu ul,
			#featured-agent-menu ul li{list-style:none;}
			#featured-agent-menu ul{
				margin:0 0 0 15px;
				z-index:7986;
			}
				#featured-agent-menu ul li{
					float:left;
					margin:0 8px;
				}
					#featured-agent-menu ul li a{
						display:block;
						position:relative;
						color:#554F44;
						background-color:#FFF;
						background-repeat:no-repeat;
						font-size:10px;
						line-height:14px;
						text-align:center;
						z-index:7987;
					}
						#featured-agent-menu ul li a img{
							margin:1px 0 0 1px;							
							z-index:7988;
						}
						#featured-agent-menu ul li a .button{
							background-repeat:no-repeat;
							z-index:7989;
						}
							/* Agent */
							#featured-agent-menu ul li a,
							#featured-agent-menu ul li a .button{
								width:45px;
								height:52px;
								background-image:url("../images/border-fagentoption.png");
							}
							#featured-agent-menu ul li a img{
								width:42px;
								height:50px;
							}
							/* Current Agent */
							#featured-agent-menu ul li.current a,
							#featured-agent-menu ul li.current a .button{
								width:49px;
								height:66px;
								background-image:url("../images/border-fagentcurrent.png")
							}
							#featured-agent-menu ul li.current a img{
								width:47px;
								height:56px;
							}

/* Test Autocomplete Styles */
.ui-autocomplete{
	display:block;
	position:absolute;
	top:0;left:0;
	margin-left:1px;
	padding:5px 5px 8px 5px;
	background:#FFF;
	color:black;
	border:1px solid #999;
	width:342px; /* 245px */
	height:220px;
	overflow-x:hidden;
	overflow-y:scroll;
}
	.ui-autocomplete,
	.ui-autocomplete *{list-style:none;}
	.ui-autocomplete li{
		padding:2px 5px;
	}
	.ui-autocomplete li a{
		padding-left:25px;
		font-weight:bold;
		cursor:pointer;
	}
	.ui-autocomplete-category{
		padding:4px 5px;
		color:#555;
		font-weight:bold;
	}
