
#content_inside_agents{
	width:100%;
	margin:auto;
	background-color:#ffffff;
}

#content_inside_agents_top{
	width:100%;
	height:41px;
	margin:auto;
	background-image:url(../../images/corporate/agent/bg-top.png);
	background-repeat:no-repeat;
	padding-top:30px;
}

#content_inside_agents_top table{
	margin-left:15px;
}

#content_inside_profile_top{
	width:100%;
	height:46px;
	margin:auto;
	padding-top:15px;
}

#search_table{
	color:#999999;
	font-size:12px;
	width:95%;
	margin:auto;
}

#content_inside_agents_body{
	width:100%;
	margin:auto;
	height:auto;
}

	#letters{
		height:59px;
		width:95%;
		background-image:url(../../images/corporate/agent/letters-bg.png);
		background-repeat:repeat-x;
		padding-top:14px;
		margin:auto;
	}
	
	#letters table{
		width:98%;
		margin:auto;
		text-align:center;
	}
		
		.shadow-td {
			-moz-border-radius:3px;
			-webkit-border-radius:3px;
		}
		
		.shadow-td:hover{
			background-color:#ded8c9;
			cursor:pointer;
		}
	
	.agent_box{
		height:auto;
		width:95%;
		margin:15px auto;
		background:url(../../images/corporate/agent/agentbox.jpg) repeat-x bottom;
	}
	
	.no-agent{
		color:#222222;
		text-align:center;
		padding-bottom:35px;	
		height:auto;
		width:95%;
		margin:15px auto;
		background:url(../../images/corporate/agent/agentbox.jpg) repeat-x bottom;
	}
	
			.agent_box_left{
				height:auto;
				width:152px;
				float:left;
				height:139px;
				background:url(../../images/corporate/agent/prof-thumb-bg.png) no-repeat top center;
			}
			
			.agent_box_middle{
				height:auto;
				width:auto;
				float:left;
				font-family:Arial, Helvetica, sans-serif;
				font-size:12px;
				color:#999999;
			}
			
			.agent_box_middle_long{
				height:auto;
				width:62%;
				float:left;
				margin-left:15px;
				margin-right:5px;
				font-family:Arial, Helvetica, sans-serif;
				font-size:12px;
				color:#999999;
			}
			
			.agent_box_middle_long table{
				width:100%;
			}
			
			.agent_box_middle_long a{
				font-family:Arial, Helvetica, sans-serif;
				font-size:12px;
				color:#ba0101;
				text-decoration:none;
			}
			
			.agent_box_middle_long a:hover{
				font-family:Arial, Helvetica, sans-serif;
				font-size:12px;
				color:#940000;
				text-decoration:underline;
			}
			
			.agent_box_right{
				height:100px;
				width:169px;
				float:right;
				padding-top:22px;
			}
			
#profile_box{
	height:auto;
	width:95%;
	margin:15px auto;
	color:#999999;
	font-size:12px;
}
	
		#profile_box_left{
			width:302px;
			height:100%;
			float:left;
		}
		
			#profile_picture_wrapper{
				width:302px;
				height:276px;
				background:url(../../images/prof-pic-bg.png) no-repeat;
			}
			
			#profile_picture_wrapper img{
				margin:8px 0px 0px 10px;	
			}
			
			
		#profile_box_right{
			margin-left:18px !important;
			max-width:475px;
			float:left !important;
		}
			
			a.contact_link{
				text-decoration:none;
				font-size:12px;
				cursor:pointer;	
				color:#ba0101;
			}
			
			a.contact_link:hover{
				text-decoration:underline;
				color:#940000;
			}
			
a.contact-link{
	text-decoration:none;
	font-size:12px;
	cursor:pointer;	
	color:#ba0101;
}
			
a.contact-link:hover{
	text-decoration:underline;
	color:#940000;
}

.phone{
	color:#ba0101;	
}

.agent_name{
	font-family:Arial;
	font-size:24px;
	font-weight:bold;
	color:#ba0101;
}

#content_inside_agents_bottom{
	width:948px;
	height:42px;
	margin:auto;
	background-image:url(../../images/corporate/agent/bg-bottom.png);
	background-repeat:no-repeat;
}
.search_namefield{
	/*
	width:154px;
	height:34px;
	background:none;
	background-image:url(../../images/corporate/agent/search_name_new.png);
	background-repeat:no-repeat;
	border:none;
	padding-left:8px;
	padding-top:1px;
	font-size:13px;
	*/
	color:#999999;
}

label.selected{
	width:auto;
}

.search_list{
	font-size:13px;
	color:#999999;
	list-style-type: none;
	margin-left:0px;
	margin-top:0px;
	min-width:180px;
	position:absolute;
	z-index: 100;
	overflow:auto;
	height:300px;
	border:1px solid #d7d7d7;
	background-color:#ffffff;
	display:none;
}

.search_list li{
	padding-left:5px;
}

.search_list li:hover{
	background-color:#dbdbdb;
	cursor:pointer;
}

.search-list-left{
	background:url(../../images/corporate/agent/search_list_left.png) no-repeat top left;
	width:20px;
	height:37px;
}
.search-list-middle{
	/*
	background:url(../../images/corporate/agent/search_list_bg.png) repeat-x;
	width:auto;
	height:37px;
	*/
}
.search-list-right{
	background:url(../../images/corporate/agent/search_list_right.png) no-repeat top left;
	width:40px;
	height:37px;
}

.trigger_specialty_la, .trigger_specialty_sp, .trigger_location{
	cursor:pointer;	
}

.shadow{
	text-shadow:1px 1px 2px #808080;
	font-size:18px;
	color:#ffffff;
	text-decoration:none;
	cursor:pointer;
}

.shadow:hover{
	color:#ffffff;
}

img.profile-thumbnail{
	margin:9px 0px 0px 10px;
}

.read-more a{
	color:#ba0101;
	text-decoration:none;
	font-weight:bold;
}

.agent-name{
	font-weight:bold;
}

.contact_link{
	text-decoration:none;
	color:#ba0101;
	cursor:pointer;
}

.social-text{float:left;width:auto;font-size:20px;font-weight:bold;color:#ba0101;font-family:Tahoma;margin:5px 0px 0px 10px;}
.social-icon-large{float:left;width:32px;margin-right:5px;}


.avi-modal{background-color: rgba(0,0,0,0.5);z-index:1000;border-radius:7px;-moz-border-radius:7px;-webkit-border-radius:7px}
.avi-modal .avi-modal-wrapper{margin:7px;padding:1px;background-color:#fff;font-size:12px;border:1px solid #333}
.avi-modal .avi-modal-title{padding:0 7px;color:#FFF !important;margin:0;line-height:25px;font-size:14px;font-weight:normal}
.avi-modal .avi-modal-content{color:#333 !important;margin:7px}
.avi-modal .avi-modal-content p{line-height:25px;margin-bottom:4px;text-align:left;clear:both;}
.avi-modal .avi-modal-content a{color:#76B41C}
.avi-modal .avi-modal-content label{display:block;float:left;width:100px}
.avi-modal .avi-modal-content span{display:block;float:left;}
.avi-modal .avi-modal-footer{padding:2px 7px;color:#FFF !important;margin:0;text-align:right;}
.avi-modal .avi-modal-footer button{}
.avi-modal .avi-modal-title,.avi-modal .avi-modal-footer{background:#85A097;color:#fff}

/* Responsive */

.search-list-middle, .search_namefield {
	background: none !important;
	border: solid 1px #333 !important;
	height: auto !important;
}

.search-list-left {
	background: none !important;
}

.search-list-right {
	background: none !important;
}

h1 a {
	font-weight: normal;
	font-style: normal;
	color: #d92d2d;
	font-family: Verdana;
	font-size: 18px;
	text-decoration: none;
}

#agent_main{
	width:100%;
}

	#agent_top{
		width:100%;
		overflow:hidden;
	}
	
		#agent_top_left{
			width:12%;
			float:left;
		}
		
			#agent_top_left h1{
				font-family:Verdana, Geneva, sans-serif;
				font-size:18px;
				color:#929292;
				font-weight: normal;
			}
		
		#agent_top_right{
			width:88%;
			float:right;
			text-align:right;
			font-size:13px;
		}
		
			.agentfields{
				width:142px;
			}
			
	#agent_alph{
		width:100%;
		height:100%;
		overflow:hidden;
		border-top:#7b7b7b dashed 1px;
		border-bottom:#7b7b7b dashed 1px;
		margin-top:10px;
		padding-bottom:20px;
	}
	
		#agent_alph ul{
			width:100%;
			margin-top:17px;
		}
		
			#agent_alph ul li{
				list-style:none;
				float:left;
				margin-right:25px;
			}
			
				#agent_alph ul li a{
					color:#929292;
					text-decoration:none;
				}
				
				#agent_alph ul li a:hover{
					color:#d30d0d;
					text-decoration:none;
				}
				
				/*nav ul     { display: none; }*/
      nav select { display: inline-block; }	
	  
	.agent_info{
		width:100%;
		overflow:hidden;
		margin-top:30px;
	}
	
		.agent_info_left{
			width:15%;
			float:left;
		}
		
			.agent_info_left img{
				border:#929292 solid 1px;
				max-width: 128px;
			}
		
		.agent_info_right{
			width:84%;
			float:right;
		}	  
		
			.agent_info_right h1{
				font-family:Verdana;
				font-size:18px;
				color:#d92d2d;
			}
			
			.agent_info_right .agent_info_right_info_main a img:first-child {
				margin: 0 0 10px 0;
			}
			
			.agent_info_right_bar{
				overflow:hidden;
				padding:5px;
				background-color:#f7f7f7;
				border:#e7e7e7 solid 1px;
				font-family:Verdana;
				font-size:14px;
				color:#777777;
				margin-top:10px;
			}
			
				.realtor_title{
					float:left;
				}
				
				.social{
					float:right;
				}
				
					.social img{
						margin-top:3px;
					}
					
			.agent_info_right_info_main{
				overflow:hidden;
				margin-top:10px;
			}
			
				.agent_info_right_info_left{
					width:80%;
					float:left;
					font-family:Verdana;
					font-size:14px;
					color:#777777;
					text-align:justify;
				}
				
				.agent_info_right_info_right{
					width:16%;
					float:right;
				}
				
			.agent_info_right_info_bot{
				overflow:hidden;
				margin-top:10px;
			}
			
				.a_syncro{
					padding-left:25px;
					background-image:url(../img/agent/syncro.png);
					background-repeat:no-repeat; 
					background-position:left;
					float:left;
					margin-right:20px;
				}
				
					.a_syncro a{
						font-family:Verdana;
						font-size:14px;
						color:#777777;
						text-decoration:none;
					}
					
					.a_syncro a:hover{
						font-family:Verdana;
						font-size:14px;
						color:#ed1b24;
						text-decoration:none;
					}
					
				.a_mail{
					padding-left:25px;
					background-image:url(../img/agent/mail.png);
					background-repeat:no-repeat; 
					background-position:left;
					float:left;
					margin-right:20px;
				}
				
					.a_mail a{
						font-family:Verdana;
						font-size:14px;
						color:#777777;
						text-decoration:none;
					}
					
					.a_mail a:hover{
						font-family:Verdana;
						font-size:14px;
						color:#ed1b24;
						text-decoration:none;
					}
					
				.a_phone{
					padding-left:20px;
					background-image:url(../img/agent/phone.png);
					background-repeat:no-repeat; 
					background-position:left;
					float:left;
					margin-top:2px;
					font-family:Verdana;
					font-size:14px;
					color:#777777;
				}
				
		@media screen and (max-width: 320px) {
			.agent_info_left{
				width:100%;
				text-align:center;
			}
		
			.agent_info_left img{
				border:#929292 solid 1px;
			}
		
		.agent_info_right{
			width:100%;
		}	
		
			.agent_info_right h1{
				text-align:center;
			}
		
		.realtor_title{
			width:100%;
			text-align:center;
		}
		
		.social{
			width:100%;
			text-align:center;
		}
		
		.agent_info_right_info_left{
			width:100%;
		}
		
		.agent_info_right_info_right{
			width:100%;
			margin-top:20px;
		}
		}
		
		@media screen and (max-width: 480px) {
			.agent_info_left{
				width:100%;
				text-align:center;
			}
		
			.agent_info_left img{
				border:#929292 solid 1px;
			}
		
		.agent_info_right{
			width:100%;
		}	
		
			.agent_info_right h1{
				text-align:center;
			}
		
		.realtor_title{
			width:100%;
			text-align:center;
		}
		
		.social{
			width:100%;
			text-align:center;
		}
		
		.agent_info_right_info_left{
			width:100%;
		}
		
		.agent_info_right_info_right{
			width:100%;
			margin-top:20px;
		}
		}
		
		@media screen and (max-width: 640px) {
			.agent_info_left{
				width:100%;
				text-align:center;
			}
		
			.agent_info_left img{
				border:#929292 solid 1px;
			}
		
		.agent_info_right{
			width:100%;
		}
		
			.agent_info_right h1{
				text-align:center;
			}	
		
		.realtor_title{
			width:100%;
			text-align:center;
		}
		
		.social{
			width:100%;
			text-align:center;
		}
		
		.agent_info_right_info_left{
			width:100%;
		}
		
		.agent_info_right_info_right{
			width:100%;
			margin-top:20px;
		}
		}
		
		@media screen and (max-width: 800px) { 
		
		#agent_top_left{
			width:100%;
			float:left;
		}
			
		#agent_top_right{
			width:100%;
			float:right;
			text-align:left;
			font-size:13px;
		}
		
			.agentfields{
				width:110px;
			}
			
		#agent_alph ul li{
				list-style:none;
				float:left;
				margin-right:12px;
			}
			
			.agent_info_right_info_left{
			width:100%;
			}
			
			.agent_info_right_info_right{
				width:100%;
				margin-top:20px;
			}	
		}
		
		@media (min-device-width:769px) and (max-device-width:1024px){
		
		#agent_top_left{
			width:20%;
			float:left;
		}
			
		#agent_top_right{
			width:80%;
			float:right;
			text-align:right;
			font-size:13px;
		}
		
		#agent_alph ul li{
				list-style:none;
				float:left;
				margin-right:21px;
			}
			
		.agent_info_right_info_left{
			width:100%;
			}
			
			.agent_info_right_info_right{
				width:100%;
				margin-top:20px;
			}	
		}
		
		@media screen and (max-width: 1280px) { 
			
		#agent_alph ul li{
				list-style:none;
				float:left;
				margin-right:20px;
			}
			
			.agent_info_right_info_left{
				/*width:100%; */
			}
			
			.agent_info_right_info_right{
				/* width:100%;
				margin-top:20px; */
			}	
		}