/*  Table of Contents
==============================================================


  Table Of Contents:
  1. General Page Layout Styles
  2. Accessibility Menu Layout Styles
  3. Site brand (Header) Layout Styles
     3a. Site Logo
     3b. Site Tagline
  4. Navigation Layout Styles
     4a. Primary Navigation
     4b. Secondary Navigation
     4c. Pagnation / Breadcrumbs
  5. Page Content Layout Styles
     5a. Feature Content
     5b. Primary Content
     5c. Secondary Content
  6. Legal (Footer) Layout Styles


#sample-declaration {
	display:;
	position:; left:; right:;
	float:;
	clear:;

	width:; height;
	margin:; padding;
	border:;
	color:; background:;

	font:;
	text-decoration:;
	text-align:; vertical-align:;
	list-style:;
	white-space:;

	}

------------------------------------------------------------*/

/*  ## How To Switch Nav-Secondary from Left Side (default) to
Right Side (alt) in Template #3
===============================================================

  To switch the secondary nav menu from the left to the right
  side, see the comments in the following declarations:

  #nav-secondary {}
  #nav-secondary-wrap {}
  #content {}
  #content-feature {}
  #content-primary-wrap {}
  #legal .legal-copyright {}
  #legal .legal-credits {}
  #rew-credit {}

------------------------------------------------------------*/

/*  ## Page
==============================================================

  Used for general page styles and backgounds. It is possible
  to add 2 background images to the XHTML document by adding
  background to both the HTML and BODY tags.

------------------------------------------------------------*/


html {
	}

	body {
		text-align: center;
		background: #626264 url(/img/gbl/bg-body.jpg) 0 0 repeat-x;
		}

		#page {
			width: 792px;
			position: relative;
			margin: 0 auto;
			text-align: left;
			border-top: none; border-bottom: none;
			background: url(/img/gbl/bg-page.jpg) 0 0 repeat-y;
			}

			#page-wrap {
				border-top: none; border-bottom: none;
				margin: 0 6px; padding:0 15px;
				background: #fff;
				}


/*  ## Accessibility Menu (Usualy Hidden)
==============================================================

  These styles control the display the "skip to content" and
  "Skip to Navigation" Links. These links are normaly hidden
  from Web browsers.

------------------------------------------------------------*/

#accessibility {
	display: none;
	}

	#nav-skipto-content {
		}

		#nav-skipto-navigation {
			}


/*  ## Site brand (Header)
==============================================================

  These style control the header styles (Logo, tagline). To
  add a linked logo, use image replacement technique to
  replace the h3's a tag.

------------------------------------------------------------*/

#brand {
	background: #fff url(/img/gbl/bg-brand.gif) 0 0 no-repeat;
	position: relative;
	height:90px;
	margin-bottom:10px;
	border-bottom: 1px solid #6A6B6F;
	}

	#brand-wrap {
		margin:0; padding:0;
		}

		#brand-logo {
			}

			#brand-logo-wrap {
				}
				
				#brand-logo-wrap #header-contact {
	position: absolute;
	right:0px;
	top: 67px;
	font-size: 11px;
	color: #698D49;
				}

				#brand-logo a#font-logo {
					margin:0; padding:0;
					float: left;
					}
				#brand-logo a#MRG-logo {
					float: right;
					width: 115px; height: 76px;
					margin: 7px 14px 0 0; padding:0;
					}
		#brand-tagline {
			}


/*  ## Navigation
==============================================================

  This space is reserved for styles that control the
  navigation of the site. #nav-site is normally the top
  nav, #nav-secondary is often the "side" navigation.

------------------------------------------------------------*/

#nav {
	}

	#nav-wrap {
		}

		#nav-primary {
		    margin-top: 200px;
			margin-bottom: 10px;
			}

			#nav-primary-wrap {
				}

				#nav-primary ul {
					margin: 0; padding: 0;
					list-style: none;
					width: 100%;
					float: left;
					border: 1px solid #B4C79A;
					border-left:none;
					background: url(/img/gbl/bg-nav-primary.jpg) 0 0 repeat-x;
					}

					#nav-primary li {
						margin: 0; padding: 0;
						float: left;
						/* position: relative; requried if using Suckerfish drop-down menus*/
						}

						#nav-primary a {
							float: left;
							text-decoration: none;
							color: #fff;
							padding: 8px 31px 7px;
							text-transform: uppercase;
							border-left: 1px solid #B4C79A;
							font-size: 0.9em;
							background: url(/img/gbl/bg-nav-primary.jpg) 0 0 repeat-x;
							/* position: relative; requried if using Suckerfish drop-down menus*/
							}

						#nav-primary a:hover {
							background-position: 0 -35px;
							color: #000000;
							}

						#nav-primary .current a {
							}


		#nav-secondary {
			float:right;
			/* for Left-Nav, change to float: left; */
			width: 175px;
			}

			#nav-secondary-wrap {
				padding:13px 0 13px 13px;
				/* for Left-Nav, change to padding: 13px 13px 13px 0; */
				}

				#nav-secondary ul {
					margin: 5px 0 1em 0; padding: 0;
					color: #3a332b;
					list-style: none;
					}

					#nav-secondary li {
						margin: 0; padding: 0;
						border-bottom: 1px solid #BFBFBF;
						}

						#nav-secondary li a {
							display: block;
							color: #fff;
							text-decoration: none;
							border-left: 4px solid #9F9F9F;
							padding: 3px 5px;
							background: #6E6F73;
							}

							#nav-secondary li a:hover {
								background: #87AF63;;
								border-left: 4px solid #6E6F73;
								}

			#nav-secondary ul.sub-submenu {
				border-top: 1px solid #63b978;
				border-bottom:none;
				margin-top:0;
				margin-bottom:0;
				}

				#nav-secondary li.sub {
					margin:0; padding:0;
					border:none;
					}

					#nav-secondary ul li.sub a {
						padding-left:15px;background-color:#8F8F8F;border-left:4px solid #BFBFBF;border-top:1px solid #BFBFBF;
						}

						#nav-secondary ul li.sub a:hover {
					        background:#B4CF9B;border-left:4px solid #7F7F7F;
							}


/*  ## Page Content

==============================================================

  This space is reserved for styles that control the layout of
  the content areas of the site. #content-feature is reserved
  for a Flash slideshow or a call-to-action graphic.  This area
  is NOT to be used for styles that control the appearance of
  the content.  Such styles belong in /inc/css/content.css.

------------------------------------------------------------*/

#content {
    position: relative;
	width: 574px;
	float:left;
	/* for Left-Nav, change to float: right; */
	border-right: 1px solid #84AC65;
	/* for Left-Nav, change to border-left: 1px solid #999; */
	}

	#content-wrap {
		}

		#content-feature {
			position: absolute;
			top: -230px;
			left: 0;
			width: 750px;
			height: 180px;
			/* for Left-Nav, change to left:-175px; */
			}

			#content-feature-wrap {
				}

		#content-primary {
			width: 574px;
			float:left;
			/* for Left-Nav, change to float: right; */
			border-right:1px solid #6d6d6d;
			/* for Left-Nav, change to border-left: 1px solid #6d6d6d; */
			}

			#content-primary.extended {
				width:764px;
				background:#fff;
				border:none;
				}

			#content-primary-wrap {
				overflow: hidden;
				/*height: 262px;
				overflow-y: scroll;*/
				padding:15px 15px 15px 0; margin: 0 0 10px 0;
				/* for Left-Nav, change to padding:15px 0 15px 15px; */
				}

		#content-primary a, #content-wide a {
			color:#87AF63;
			text-decoration:underline;
			}

			#content-primary a:hover, #content-wide a:hover {
				color:#9EBA80;
				}

		#content-secondary {
			}

			#content-secondary-wrap {
				}


/*  ## Legal Information (Footer)
==============================================================

  These styles are used for the footer: Copyright notice, etc.

------------------------------------------------------------*/
#legal {
	font-size: 77%;
	background: #fff;
	height:43px;
	}

	#legal-wrap {
		padding:10px 0;
		color: #666;
		border-top: 1px solid #84AC65;
		}

		#legal p {
			margin: 5px 0 0 0; padding: 0;
			}

		#legal a {
			color: #999;
			text-decoration: underline;
			}

			#legal a:hover {
				color: #666;
				}

			#legal .legal-copyright {
				width: 75%;
				text-align: left;
				/* for Left-Nav, change to text-align:right; */
				float: left;
				/* for Left-Nav, change to float:right; */
				}

			#legal .legal-credits {
				width: 25%;
				float: left;
				/* for Left-Nav, change to float: right; */
				}

			#rew-credit {
				float:right;
				/* for Left-Nav, change to float:left; */
				text-indent: -3000px;
				white-space: nowrap;
				width: 94px; height: 23px;
				/* change the following image for best match with background color */
				background: url(http://www.realestatewebmasters.com/img/offsite/rew-flogo-fff.gif) no-repeat;
				/* other possibilities: rew-flogo-ccc.gif, rew-flogo-333.gif or rew-flogo-666.gif */
				padding: 0 0 5px 0; margin: 0;
				overflow: hidden; /* hide extra focus border */
				}

/*  ## Misc. Styles
==============================================================
------------------------------------------------------------*/

.rss-feed-icon {
	/* used for REW Blogs */
	width:14px !important;
	height:24px;
	float:left;
	margin:-4px 0 0 -4px; padding:0 0 4px 0;
	background:none !important;
	}

	.rss-feed-icon a {
		background:none !important;
		border:none !important;
		}

	.rss-feed-icon img {
		border:none !important;
		}

/* GENERIC */

/* Results Paging */

#content .paging {
	margin: 20px 0;
	clear: left;
	}
	#content .paging .current {
		padding: 3px 8px;
		font-weight: bold
		}
	#content .paging a {
		border: 1px solid #eee;
		padding: 2px 7px;
		}
	#content .paging a:hover {
		border-color: #ccc;
		background-color: #eee;
		}
	#content .paging .prev {
		padding-left: 14px;
		/*background: url(/img/ico-prev.gif) no-repeat left center;*/
		}
	#content .paging .next {
		padding-right: 14px;
		background: url(/img/ico-next.gif) no-repeat right center;
		}
.breadcrumbs {
	}

/* Generic Tabbed Navigation */

#content .tabset {
	margin: 0; padding: 0 0 10px 0;
	clear: both;
	font-size: 85%;
	}
	#content .tabset ul {
		margin: 0; padding: 0;
		list-style: none;
		border-bottom: 1px solid #ddd;
		}
		#content .tabset li {
			float: left;
			padding: 5px 10px; margin: 0 2px 0 0;
			list-style: none;
			border: 1px solid #ddd;
			border-bottom: none;
			background: #eee; color: #333;
			position: relative; bottom: -1px;
			}
		#content .tabset ul li.current {
			background: #fff;
			padding-top: 6px;
			}
			#content .tabset ul li a {
				color: #333;
				text-decoration: none;
				}
#content .thumbset ul {
	list-style: none;
	margin: 0; padding: 0;
	}
	#content .thumbset ul li {
		list-style: none;
		margin: 10px 10px 0 0; padding: 0;
		}							/* Agent Roster Page Styles
====================================================
====================================================*/

#agents-container {
	position:relative;
}

#agents-container  ul.nav-alpha {
	clear:both;
	float:left;
	margin:0 0 10px 0;
	padding:0px;
}

		#agents-container ul.nav-alpha li{
			float:left;
			display:inline;
			margin:0 1px;

			padding:2px 3px;
            background:#eee;
		}

#agents-container #agent-search {
	border-top: 1px solid #ddd;
	padding: 5px 0;
	margin: 0 0 20px 0;
}

			#agents-container #agent-search p{
				color:#000;
				background:#f7f7f7;
				padding:10px;
		}

			#agents-container #agent-search form{
				width:100%;
			}


				#agents-container #agent-search ul{
					margin:0; padding:0;
				}

					#agents-container #agent-search ul li{
						list-style:none;
						float:left;
						margin:0 5px 0 0;
						width:160px;
				}

								#agents-container #agent-search label{
									font-size:12px;
									margin: 0 0 0 2px;
								}

								#agents-container #agent-search .btnset{
									float:left;
									margin:8px 0 0;
								}

#agents-container .colset.agents {
	width:100%;
	margin:20px 0;
	padding: 0 0 10px;
	background:#eee;
	border:#ddd solid 1px;
}

		#agents-container .colset.agents.agent-inside {
			background:#f7f7f7;
			border:none;
			border-top:#ddd solid 1px;
}

		#agents-container .colset.agents h2 {
			background:#eee;
			padding: 5px 10px; margin:0 5px;
			border-bottom:1px solid #999;
			display:block;
		}

		#agents-container .colset.agents .col.agent-image{
			height:180px;
			float:left;
		}

				#agents-container .colset.agents .col.agent-image img {
					max-width:112px;
					height:auto;
					float:left;
					margin:10px;
					padding:1px;
					background:#fff;
					border: 1px solid #ccc;
				}


			#agents-container .colset.agents .col.expanded p {
					margin:10px 5px;

				}

		#agents-container .colset.agents ul.agent-info {
			border-top:1px solid #fff;
			background:#ddd;
			border-bottom:1px solid #fff;
			color:#000;
			list-style:none;
			margin:0 5px;
			padding:10px 5px;
			font-size:14px;
		}

				#agents-container .colset.agents.agent-inside ul.agent-info {
						background:#eee;
					}



					#agents-container .colset.agents ul.agent-info li {
						list-style:none;
						display:inline!important;

						padding:0px 5px 0 0;
						font-size:12px;
						line-height:1.7em;
					}

					#agents-container .colset.agents.agent-inside ul.agent-info li {
						display:block!important;
					}


			#agents-container .colset.agents .read-more {
				text-decoration:none;
			}



/* REE Reader Styles =====================================*/

#rss-feed {
	padding:3px;
	position:relative;
	border:1px solid #ddd;
}

	#rss-feed-wrap {
		border:3px solid #ddd;
		background:#eee;
	}

#rss-feed h2 {
	padding:6px 5px 6px 20px;
	margin:0;
}

#rss-feed dl.rssfeed-item {
	padding:0 0 0px 0;
	margin:2px 0 0 0;
}

	#rss-feed dl.rssfeed-item dd{
		padding:5px 10px;
		margin:0 10px 5px;
		font-size:11px;
		border-top:#fff solid 1px;
        background:#f7f7f7;
	}

		#rss-feed dt.title a{
			padding:3px 10px;
			margin:0 10px;
			display:block;
			text-decoration:none;
			border-bottom:#ccc solid 1px;
			font-size:12px;
			background:#e7e7e7;
		}

				#rss-feed a.more {
					padding:3px 0 0 15px;
					margin:5px 0 0 0;
					font-size:11px;
					text-decoration:none;
					background: url(/img/ico/rss-arrow.gif) no-repeat 0 5px;
				}

		#rss-feed .date{
			margin:0 3px 0 0;
			font-size:11px;
			color:#666;
		}


/**/

.agent{
	
	float:left;
	clear:left;
	position:relative;
	width:100%;
	margin-bottom:20px;
	padding-bottom:20px;
	border-bottom:solid 1px #ccc;
	
}

.agent img{
	
	float:left;
	border:solid 2px #000;
	
}

.agent-info{
	
	float:left;
	padding:0 0 0 20px;
	position:relative;
	width:68%;
	font-size:12px;
	line-height:1.5em;
}

.agent-info ul{

	margin:1em 0 1em 15px;
	padding-left:15px;
	
}

.agent-info ul li{
	
	margin-left:0px;
	padding-left:0px;
	
}