/* -------------------------------------------------------------- 
   Global Styles  
-------------------------------------------------------------- */

body {
	background:#7b8065 url('../img/body_bg.jpg') no-repeat center top;
	font-family:arial;
	font-size:9.5pt;
}

	#container {
		background:#fff url('../img/container_bg.jpg') no-repeat left top;
		margin:44px auto 0;
		padding-top:10px;
		width:960px;
	}
	
		#header {
			background: url('../img/header_bg.gif') no-repeat left top;
			height:102px;
			margin:0 10px 10px;
			position:relative;
			width:940px;
			z-index:10;
		}
		
			#logo {
				height:113px;
				left:6px;
				position:absolute;
				top:-10px; 
				width:137px;
			}
			
			
			#main_nav { xposition:absolute; width:940px; height:29px; xtop:-60px; xtop:1px; xright:0px; list-style:none; font-size:11px; text-transform:uppercase; margin:0 auto; }
			#main_nav li { float:right; height:29px; padding-left:3px; padding-top:7px; }
			#main_nav li a { text-decoration:none; color:#ffffff;  }
			#main_nav li a img { border:none 0; }
			#main_nav li.Multi { font-size:10px; text-transform:capitalize; padding-top:0px !important; margin-top:7px }
			#main_nav li.Single { padding-top:16px; }
            #main_nav li.Dual { font-size:10px; text-transform:capitalize; }			
			
			
			#sub_nav {
				bottom:42px;
				xleft:254px;
				left:190px;
				position:absolute;
			}
			
				#sub_nav li {
					border-right:1px solid #fff;
					float:left;
					height:14px;
					position:relative;
				}
				
				#sub_nav li.list {
					border-right:0;
				}
				
					#sub_nav li a {
						background-position:left top;
						background-repeat:no-repeat;
						display:block;
						float:left;
						height:14px;
						margin:0 13px;
						text-indent:-9999em;
					}
					
					#sub_nav li.search a {
						background-image:url('../img/nav/search.png');
						width:95px;
					}
					
					#sub_nav li.alert a {
						background-image:url('../img/nav/alert.png');
						width:98px;
					}
					/*
					#sub_nav li.office_agent a {
						background-image:url('../img/nav/find.gif');
						width:122px;
					}*/
					
					#sub_nav li.office_agent a {
						background-image:url('../img/nav/contact2.gif');
						width:64px;
					}
					
					#sub_nav li.about a {
						background-image:url('../img/nav/about.gif');
						width:53px;
					}
					
					#sub_nav li.OurServices a {
						background-image:url('../img/nav/ourservices2.gif');
						width:76px;
					}
					#sub_nav li.Resources a {
						background-image:url('../img/nav/resources2.gif');
						width:63px;
					}
					
					#sub_nav li.careers a {
						background-image:url('../img/nav/careers.gif');
						width:46px;
					}
					
					#sub_nav li.list a {
						background-image:url('../img/nav/list.gif');
						width:70px;
					}
					
					/* Nav dropdown, handled by superfish */
					
					#sub_nav li ul {
						background-color:#264912;
						display:none;
						left:10px;
						position:absolute;
						text-transform:uppercase;
						top:20px;
						width:175px;
						z-index:100;
					}
					
					#sub_nav li.list ul {
						left:auto;
						right:10px;
					}
					
						#sub_nav li ul li {
							border:0;
							float:none;
							height:auto;
						}
						
							#header #sub_nav li ul li a {
								color:#fff;
								background-image:none !important;
								float:none;
								font-size:0.9em;
								font-weight:bold;
								height:auto;
								margin:0;
								padding:5px 8px;
								text-indent:0;
								width:auto;
							}
							
							#header #sub_nav li ul li a:hover {
								background-color:#13230a;
							}
					
		#content {
			margin:10px;
		}
		
			#content a {
				color:#425834;
				text-decoration:underline;
			}
			
			#inner_marquee1, #ctl00_mainContent_inner_marquee1 {
				background:url('../img/RBI_inner_marquee.JPG') no-repeat center;
				height:166px;
			}
			
			#main_content {
				color:#0d2a2d;
				margin-top:15px;
			}
			
				#main_content h1, #main_content h2, #main_content h3 {
					color:#264812;
					margin:1em 0;
				}
				
				#main_content h1 {
					font-size:1.8em;
					margin-top:0;
				}
				
				#main_content h2 {
					font-size:1.4em;
				}
				
				#main_content h3 {
					font-size:1.2em;
				}
			
		#footer {
			background:#7b8065 url('../img/footer_bg.gif') no-repeat center top;
			color:#fff;
			padding:14px 0 16px;
		}
		
			#footer .column {
				border-right:1px solid #959984;
				float:left;
				height:100px;
				padding:5px 18px;
			}
			
			#footer .column.first {
				padding-left:12px;
			}
			
			#footer .column.last {
				border:0;
				padding-right:0;
			}
			
				#footer .column a {
					color:#fff;
				}
				
				#footer .column ul {
					font-weight:bold;
				}
				
				#footer .column ul ul {
					font-size:0.9em;
					font-weight:normal;
					list-style-type:disc;
					margin-left:13px;
				}
				
			#footer #afterword {
				background:url('../img/footer_hr.gif') no-repeat center top;
				margin:43px 0 0;
				padding-top:21px;
				text-align:center;
			}
			
			#footer .affiliations {
				padding-top:10px;
			}
			
				#footer .affiliations li {
					display:inline;
				}
				
					#footer .affiliations li img {
						padding:0 5px;
						vertical-align:top;
					}
					
/* -------------------------------------------------------------- 
   Home Page Styles  
-------------------------------------------------------------- */


/*---------------------------Qucik Search---------------------------*/

	form.area_search {
		background:url('../img/quick_search_bg.gif') no-repeat left top;
		height:311px;
		position:absolute;
		margin-left:14px;
		width:229px;
		z-index:5;
	}
	
		form.area_search fieldset {
			padding:75px 0 0 23px;
		}
	
			form.area_search div.input {
				margin-bottom:4px;
			}
		
				form.area_search form input {
					font-size:0.9em;
					padding:2px 0;
					width:180px;
				}
				
				form.area_search form select {
					font-size:0.9em;
					width:185px;
				}
				
				form.area_search select.q_price_min,  form.area_search select.q_price_max {
					width:83px;
				}
				
			form.area_search p {
				text-align:center;
				width:185px;
			}
			
				form.area_search p a {
					color:#000;
					font-size:0.95em;
					text-decoration:underline;
				}




#quick_search1
{
	z-index:2;
}




#quick_search {
	/*background:url('/img/Marquee1.gif') no-repeat left top;*/
	height:325px;
	position:relative;
	width:940px;
	z-index:1;
}

	/* Wanted the home page to have a top-level header */
	#quick_search h1 {
		height:0;
		text-indent:-9999em;
	}
	
	
	#quick_search form {
		background:url('../img/quick_search_bg.gif') no-repeat left top;
		height:311px;
		right:8px;
		position:absolute;
		top:8px;
		width:229px;
	}
	
		#quick_search fieldset {
			padding:75px 0 0 23px;
		}
	
			#quick_search div.input {
				margin-bottom:4px;
			}
		
				#quick_search form input {
					font-size:0.9em;
					padding:2px 0;
					width:180px;
				}
				
				#quick_search form select {
					font-size:0.9em;
					width:185px;
				}
				
				#quick_search select.q_price_min,  #quick_search select.q_price_max {
					width:83px;
				}
				
			#quick_search p {
				text-align:center;
				width:185px;
			}
			
				#quick_search p a {
					color:#000;
					font-size:0.95em;
					text-decoration:underline;
				}
				
#home_modules {
	padding-top:14px;
}

	#home_modules .module {
		background-position:left top;
		background-repeat:no-repeat;
		float:left;
		height:280px;
		margin-right:17px;
		width:222px;
	}
	
	#home_modules .module.find_home {
		background-image:url('../img/teases/FindYourHome.jpg');
	}
	
	#home_modules .module.open_houses {
		background-image:url('../img/teases/RBI_BreakinNews.jpg');
		xbackground-image:url('../img/teases/newlisting.jpg');
		width:223px;
	}
	
	#home_modules .module.services {
		background-image:url('../img/teases/oldrepublic.jpg');
		xbackground-image:url('../img/teases/topagents.jpg');
		/* position:relative;
		xwidth:223px;*/
	}
	
		#home_modules .module.services .prev, #home_modules .module.services .next {
			cursor:pointer;
		}
			div.hpscrollable { 
			    position:relative; 
			    overflow:hidden;
			    width: 222px;
			    height:280px;     
			} 
			
			div.hpscrollable div.items {     
			    /* this cannot be too large */ 
			    width:20000em;     
			    position:absolute;         
			} 

			div.hpscrollable div.items div { 
			    float:left; 
				height:180px;
				width:220px;
			}
			
			#content .module.services .prev, #content .module.services .next {
				bottom:5px;
				color:#fff;
				display:block;
				left:8px;
				position:absolute;
			}
			
			#content .module.services .next {
				left:auto;
				right:8px;
			}
	
	#home_modules .module.community_events {
		background-image:url('../img/teases/oldrepublic.jpg');
		margin-right:0;	
	}
	
		#home_modules .module h2 {
			font-family:Times New Roman;
			font-size:1.7em;
			padding:0px 0 0 20px;
		}
		
		#home_modules p, #home_modules ul {
			font-size:0.9em;
			padding:0 20px;
		}
		
		#home_modules p.go {
			text-align:right;
		}
		


/* -------------------------------------------------------------- 
   Hack Styles  
-------------------------------------------------------------- */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}

.hide {
    display:none;
}

.pointer
{
	cursor:pointer;
}
.SystemMessage
{
	color:Red;
}
