@charset "UTF-8";
/* CSS Document */

#home
{
  display: block;
  width: 102px;
  height: 35px;
  background: url("images/nav/home.png") no-repeat 0 0;
}

#home:hover
{ 
  background-position: 0 -35px;
}

#home span
{
  position: absolute;
  top: -999em;
}

#about
{
  display: block;
  width: 95px;
  height: 35px;
  background: url("images/nav/about.png") no-repeat 0 0;
}

#about:hover
{ 
  background-position: 0 -35px;
}

#about span
{
  position: absolute;
  top: -999em;
}

#gallery
{
  display: block;
  width: 83px;
  height: 35px;
  background: url("images/nav/gallery.png") no-repeat 0 0;
}

#gallery:hover
{ 
  background-position: 0 -35px;
}

#gallery span
{
  position: absolute;
  top: -999em;
}

#clients
{
  display: block;
  width: 83px;
  height: 35px;
  background: url("images/nav/clients.png") no-repeat 0 0;
}

#clients:hover
{ 
  background-position: 0 -35px;
}

#clients span
{
  position: absolute;
  top: -999em;
}

#realtors
{
  display: block;
  width: 89px;
  height: 35px;
  background: url("images/nav/realtors.png") no-repeat 0 0;
}

#realtors:hover
{ 
  background-position: 0 -35px;
}

#realtors span
{
  position: absolute;
  top: -999em;
}
#testimonials
{
  display: block;
  width: 120px;
  height: 35px;
  background: url("images/nav/testimonials.png") no-repeat 0 0;
}

#testimonials:hover
{ 
  background-position: 0 -35px;
}

#testimonials span
{
  position: absolute;
  top: -999em;
}
#contact
{
  display: block;
  width: 139px;
  height: 35px;
  background: url("images/nav/contact.png") no-repeat 0 0;
}

#contact:hover
{ 
  background-position: 0 -35px;
}

#contact span
{
  position: absolute;
  top: -999em;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{
	margin:0;
	padding:0;
}


/*------------------------------------*\
	NAV
\*------------------------------------*/
#gnav{
	list-style:none;
	margin-bottom:10px;
	/* Clear floats */
		background:#e8edf4;
	border-bottom: solid 1px #7483bd;
	float:left;
	width:698px;
	/* Bring the nav above everything else--uncomment if needed.
	position:relative;*/
	z-index:9999;
	
}
#gnav li{
	float:left;
	
	position:relative;
	width:140px;
	
}
#gnav a{
	display:block;
	padding-left:10px;
	padding-top:4px;
	color:#396bad;
	background:#e8edf4;
	text-decoration:none;
	border-bottom: solid 1px #7483bd;
}
#gnav a:hover{
	color:#396bad;
	background:#e8edf4;
	text-decoration:underline;
}

/*--- DROPDOWN ---*/
#gnav ul{
	background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background:#e8edf4; /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style:none;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	
}
#gnav ul li{
	padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
	border-left: solid 1px #7483bd;
	border-right: solid 1px #7483bd;
	margin-left:-1px;

	
}
#gnav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
	
}
#gnav li:hover ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
}
#gnav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background:#e8edf4;
	text-decoration:none;
}
#gnav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;
}
#gnav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background:#e2e8e9;
}
