/* CSS Document for Elizabeth K. Roys Website */
html {margin: 0px; padding: 0px;}

body {font-size:100%;font-family:Arial,Verdana, Helvetica, sans-serif; 
color:#666;
background-color: #CBC8B7;
behavior:url(css/csshover.htc); 
margin: 0px; padding: 0px;
min-height:100%;}
/*content--whitebox*/
div#content
{ 
width:730px; background-color: #F7F6F1;
	background-image:url(../graphics/bg.jpg);
	background-repeat:repeat;
	margin: 2px auto 2px auto; 
	position:relative; 
}

div#text
{ background-color: #F7F6F1;
	background-image:url(../graphics/bg.jpg);
	background-repeat:repeat;
	z-index:1;
}

/*main wrap: whole page*/
#container
{width: 730px;
margin:0px auto 0px auto; font-size:.9em;

}

/*basic link styling*/
a:link {
	color: #333333;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #666666;
}
a:hover {
	text-decoration: underline;
	color: #CC0033;
}
a:active {
	text-decoration: none;
	color: #CC0033;
}







#title {position: absolute; top: 50px;  left: 215px; z-index:3;}
#subtitle {position: absolute; top: 170px; left: 350px;}

/*#content img {z-index: 2;}*/

p.text1 {margin-left: 30px; }

h1{
font:bold 0.9em Verdana,Arial,sans-serif;
color:#6B7150;
}

.inline{display:inline;}

img{border:none; 
} 

div.spacer
{clear: both;}

#nav a {text-decoration:none;}


/* HORIZONTAL MENU:*/
div#listmenu {margin: 0 auto 0 auto; padding: 0px 0px 5px 0px; 
	width:100%; 	/* makes the div full width */
	float:left; /*makes the div enclose the list */
	z-index:6;
	 /* draws line on bottom edge of div */
	font-size: 12px;/* SET FONT-SIZE HERE */
	background-color:#F7F6F1; /* colors the div */
	 color: #333;  /* TEMPORARY - pushes the div away from the top of the browser for clarity in this example*/
	}
	
div#listmenu ul { margin: 5px 5px 5px 15px; padding:0px 5px; /* indents whole menu bar from edge of container */
	}
	
	
div#listmenu li {margin:0 0px 0 3px; width:10.3em;
float:left;	/* causes the list to align horizontally instead of stack */
position:relative; /* positioning context for the absolutely positioned drop-down */
list-style-type:none;	/* removes the bullet off each list item */
background-color:#F7F6F1; /*sets the background of the menu items */
text-align:center; 
	cursor:none; 
	
/* added by leah */	
padding: 0px 4px;
border-top:1px solid gray;
border-bottom:1px solid gray;	/* draws line on top edge of div */
border-left:1px solid gray; /* added by leah */
border-right:1px solid gray; /* creates dividing lines between the li elements */
z-index:7;
	}
	
	
div#listmenu li:first-child {
	border-left:1px solid gray; /*the first vertical line on the menu */
	}
div#listmenu li:hover { 
	background-color:#FFF; /*sets the background of the menu items */
	}
	
div#listmenu a {	
	display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
	padding:0 6px; /*creates space each side of menu item's text */
	text-decoration:none;	 /* removes the underlining of the link */
	color:#666;/* sets the type color */
	}
div#listmenu a:hover {
	color:#CC0033;
	}
/* the horizontal menu ends here */





/* DROPDOWN */
div#listmenu ul li ul {
	margin:0; z-index: 5; /* prevents the TEMP value inheriting from the horiz menu - OK to remove if you remove TEMP above */
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
	width:11em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	left:-9px; /*aligns the drop exactly under the menu */
	}
div#listmenu ul li ul li {
	width:100%; /* makes the list items fill the list container (ul) */
	font-size:  12px;
	border-left:1px solid gray; /*  three sides of each drop-down item */
	border-bottom:1px solid gray;
	border-right:1px solid gray;
	padding:0 0 1px;
	}
div#listmenu ul li ul li:first-child {
	border-top:1px solid gray; /*the top edge of the dropdown */
	}
	
/* make the drop-down display as the menu is rolled over */
div#listmenu ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#listmenu ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */




/* THE HACK ZONE - */
/* hack for IE (all flavors) so the menu has a vertical line on the left */
* html div#listmenu ul {
	float:left; /* makes the ul wrap the li's */
	border-left:0px solid #000; /* adds the rightmost menu vertical line to the ul, WAS 1PX /REMOVED BY ME*/
	margin-left:5px; /* IE doubles the given value above - why? */
	}
	
* html div#listmenu ul li:hover ul {margin-left:-1px;}
/* add a top line to drops and pops in IE browsers - can't read :first-child */
* html  div#listmenu ul li ul {
	border-top:0px solid gray;/* changed to zero*/
	border-left:0px; /* stops the drop inheriting the ul border */
	
	margin-top:16px;
	left: -11px;
	}
/* the Tantek hack to feed IE Win 5.5-5.0 a lower value to get the pop-out to touch the drop-down */
* html  div#listmenu ul li ul li ul { 
  left:9.85em; 
  voice-family: "\"}\""; 
  voice-family:inherit;
  left:10em;
  }
/* and the "be nice to Opera" rule */
html>body div#listmenu ul li ul li ul {
  top:-1px;
  left:10em;
  }
/* an Opera-only hack to fix a redraw problem by invisibly extending the ul */
/* the first-level drop stays open for 100px below the bottom but at least it works */
/* this can be reduced to as little as 22px if you don't have pop-outs */
/* the pop-out menu stays open for 22px below the bottom but at least it works */
	@media all and (min-width: 0px){
   body div#listmenu ul li ul {padding-bottom:70px;}
   body div#listmenu ul li ul li ul {padding-bottom:22px;}
   body div#listmenu ul li ul li ul li ul li:hover {visibility:visible;} /* same effect as display:block in this situation */

   }
/*end Opera hack */

/* finally after feeding values to all others, we deal with MAc5 IE */
/* IE5 Mac can't do drop-downs so we need to present the info in a different way*/
/* we present the drop down choices in a row and never show any second-level drops */
 /* this stylesheet is read by IE5 Mac only - hack omits 'url' and leave no space between @import and ("   */
@import("../css/ie51_menu_hack.css"); 


/*Clear default form value script- By Ada Shimar (ada@chalktv.com)
If you have set the field's Value so that there is default text in the field, 
this clears the field when the user clicks in it
add:  onFocus="clearText(this)"    to each input tag*/
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
} 

/* end of hack zone */
/* END OF LIST-BASED MENU */



/*Bottom nav*/
#nav
{background-color: #F7F6F1;
padding: 4px 0;
margin: 0px auto 0px auto;
font:  0.8em  Arial,Verdana, sans-serif;
position:relative;
}

#nav ul
{margin: 0 0 0 5px;
padding: 0;
list-style-type: none;}

#nav ul li 
{display: inline;
padding: 0 10px;
border-right: 1px solid #000;
}

#nav li a 
{text-decoration: none;
color: #333;
}

#nav li a:hover
{color: #cc0033; text-decoration:underline;}

#nav .current
{color:#666;}

/*footer*/
#footer
{
color:#666; 
text-align:center;
height:23px;
margin:5px auto 0 auto;
padding:0;
position:relative}

#footer p
{
font: 11px Arial, Verdana, sans-serif;
padding:3px 0 0 0;
margin:0;
}

.tag
{
font: .7em Arial, Verdana, sans-serif; 
padding:3px;
margin:3px;
text-align:right; 
}
 /* *** FIXES: FLOAT CONTAINER
 		http://www.csscreator.com/attributes/containedfloat.php *** 		*/ 
		.clearfix:after {
		 content: "."; 
		 display: block; 
		height: 0; 
		 clear: both; 
		 visibility: hidden;
		 }
		.clearfix{display: inline-table;}
		
		/* Hides from IE-mac \*/
		* html .clearfix{height: 1%;}
		.clearfix{display: block;}
		/* End hide from IE-mac */  
