/*  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:
  
  #page {}
  #nav-secondary {}
  #nav-secondary li {}
  #nav-secondary ul li.sub a {}
  #content-feature {}
  #content-primary {}
  #legal .legal-copyright {}
  #legal .legal-credits {}
  #rew-credit {}
  
  *Also, the /nav-include.ini file needs to be modified to use
  /img/gbl/nav-header01-alt.jpg and /img/gbl/nav-header02-alt.jpg.

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


/*  ## 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 {
		background: #F0F1E1 url(/img/gbl/bg-body.jpg) 0 0 repeat-x;
		text-align: center;
		}

		#page {
			width: 960px;
			position: relative;
			background: #fff url(/img/gbl/bg-page-alt.jpg) 0 0 repeat-y;
			/* for Left-Nav, change to /bg-page.jpg */
			margin: 0 auto;
			text-align: left;
			border: 3px solid #989890;
			}

			#page-wrap {
				}


/*  ## 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:110px;
	}

	#brand-wrap {
		padding: 8px 0 0 10px;
		}

		#brand-logo {
			}

			#brand-logo h3 {
				margin: 0; padding: 0;
				text-indent: -999em;
				}

				#brand-logo h3 a {
					}

		#brand-tagline {
			text-indent: -999em;
			}

			#brand-tagline p {
				margin: 0; padding: 0;
				}


/*  ## 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 {
			background: #F0F0E4 url(/img/gbl/bg-nav-primary.jpg) 0 0 repeat-x;
			border-top: 1px solid #989890;
			border-bottom: 1px solid #989890;
			}

			#nav-primary-wrap {
				}

				#nav-primary ul {
					margin: 0; padding: 0;
					list-style: none;
					}

					#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: #091E93; 
							background: #F0F1E1 url(/img/gbl/bg-nav-primary.jpg) 0 0 repeat-x;
							padding: 12px 56px 11px;
							border-right: 1px solid #989890;
							text-transform: uppercase;
							font-size: 0.9em;
							/* position: relative; requried if using Suckerfish drop-down menus*/
							}

							#nav-primary a:hover {
								background-position: 0 -40px;
								color: #fff;
								}
	
							#nav-primary .current a {
								}

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

			#nav-secondary-wrap {
				margin:0; padding:0;
				border-bottom:none;
				}

				#nav-secondary ul {
					margin: 0; padding: 0;
					list-style: none;
					}

					#nav-secondary li {
						margin: 0; padding: 0;
						text-align:right;
						/* for Left-Nav, change to text-align:left; */
						}

						#nav-secondary li a {
							color: #000;
							display: block;
							text-decoration: none;
							padding: 6px 10px 5px;
							border-bottom: 1px solid #DAD9C5;
							}
							
							#nav-secondary a:hover {
								background: #CBCEDD;
								}
								

			#nav-secondary ul.sub-submenu {
				}
				
				#nav-secondary li.sub {
					margin:0; padding:0;
					border:none;
					}
					
					#nav-secondary ul li.sub a {
						padding-right:20px;
						/* for Left-Nav, change to padding-left:20px; */
						background: #BFC0A1;
						}
						
						#nav-secondary ul li.sub a:hover {
							background: #b3b7cb;
							}


/*  ## 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 {
	}

	#content-wrap {
		}

		#content-feature {
			height: 200px;
			width:765px;
			/* for Left-Nav, add float:right; */
			}

			#content-feature-wrap {
				}

		#content-primary {
			width: 765px;
			float:left;
			/* for Left-Nav, change to float: right; */
			}			
			#content-primary.extended {
				width: 960px;
				background: #fff;
				}

			#content-primary-wrap {
				padding: 25px;
				}
			
		#content-primary a, #content-wide a {
			color:#666;
			text-decoration:underline;
			}
			
			#content-primary a:hover, #content-wide a:hover {
				color:#000;
				}			

		#content-secondary {
			}

			#content-secondary-wrap {
				}


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

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

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

#legal {
	font-size: 77%;
	background: #fff;
	}

	#legal-wrap {
		padding: 10px; 
		color: #666;
		border-top: 2px solid #999;
		}

		#legal p {
			margin: 0; padding: 0;
			}
			
		#legal a {
			color: #666;
			text-decoration:underline;
			}
			
			#legal a:hover {
				color: #000;
				}
			
			#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 */
				margin: 0; padding:0;
				overflow: hidden; /* hide extra focus border */
				}
				

/*  ## Misc. Styles
==============================================================
------------------------------------------------------------*/
				
.rss-feed-icon {
	/* used for REW Blogs */
	width:14px !important;
	height:24px;
	float:left;
	margin:0; padding: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;
			}						