/* layoutstyles.css */

/* Universal style rule */
*{
  margin: 0;
  padding: 0;
  /* Temporary borders */
   /* border: dashed .01em #f00; */
}

body {
  background-color: #117b6f;
  font-family: Arial, Helvetica, sans-serif;
}

#wrapper{
  width: 50em;
  background-color: #b0fff0;
  /* Put 20px margin above the wrapper */
  /* Set right and left to auto for centering */
  margin: 20px auto;
  position:relative;
} 

/********** Major layout divisions **********/
#branding{
  /* For absolutely-positioned hyperlinks */
  position:relative;
	
} 


				/* table rules copied from howick site jan 21 2011 */
			/* table rules copied from howick site jan 21 2011 */
		/* table rules copied from howick site jan 21 2011 */
table{
	width: 900px;
	/*  border: solid 3px #000; */
	text-align: center;
	margin: auto;   /* centeres the table */
	border-collapse: collapse; /* gets rid of the double border between cells */
}







td{
	
	border: solid 2px #2e8b57; /* sea green */
	font-size: 1em;	
	font-weight:600;
	padding: 1px;
	color: #fff;
	vertical-align: top;
	
}

table a,
table a:link,
table a:visited{
  text-decoration:underline;
  font-family:Verdana, Geneva, Arial, Sans-Serif;
  font-size: 1em;		/* Font size  */
  color:#fff;			/* text colour white */
  /* background:#000; */ 
  
 	

}

table a:hover{
  color:#00ffff; 	/* lime green */
  border:dotted 1px #f00;	/* red dotted border */
	text-decoration: none;	/* undrline on hover */
	padding: .5px;
}

			/* table rules copied from howick site jan 21 2011 */
		/* table rules copied from howick site jan 21 2011 */
	/* table rules copied from howick site jan 21 2011 */







/* Fixes the mysterious image gap */
#branding img{
  display:block;
}



/********** Navbar division styles **********/
#navbar{
  background:#aaa url(navbak.jpg) repeat-x center; 
  height:1.6em; 
  /* For absolutely-positioned navbar */
  position:absolute;
  top:13.1em; /* Same as branding div height */
  width:50em;
  
}

/* Remove bullets from ul in the navbar */
#navbar ul{
  list-style-type:none;
}

/* List items in the navbar */
#navbar li{
  float:left;
  /* Required for drop-down menus */
  position:relative;
}

/* Applies to navbar links, unvisited and visited */
#navbar a,
#navbar a:link,
#navbar a:visited{
  text-decoration:none;
  font-family:Verdana, Geneva, Arial, Sans-Serif;
  font-size:80%;
  color:#000;
  background:#aaa url(navbak.jpg) repeat-x center; 
  display:block;
  height:2em;
  width:9em;
  border-right: solid 1px #ddd; 
  line-height:2em;
  text-align:center;
  outline-style:none;
}

/* Navbar hover, active, and current page links */
#navbar a:hover,
#navbar a:active,
#navbar li.selected a:link,
#navbar li.selected a:visited{
  background:#ddd url(navhover.jpg) repeat-x center;
  color:#000;
}

/* Drop-down menu styles */
/* Applies to drop-down menus in navbar */
#navbar li ul{
  position:absolute;
  z-index:100;
  visibility:hidden;
  border:solid 2px #aaa;
  border-right: solid 3px #999;
  border-bottom: solid 3px #999;
}

/* Make drop-down visible on navbar hover */
#navbar li:hover ul,
#navbar li a:hover ul{ /* IE6 hack */
  visibility:visible;
  top:1.55em; 
  left:0; 
}


/* Applies to links on the drop-down menu */
#navbar li:hover ul li a,
#navbar li a:hover ul li a{ /* IE6 hack */
  background:#ccc; /* Removes background image */
  color:#000;
  text-align:left;
  display:block;
  width:20em; 	/* width changed from 30 to 20 */  /* at hover link expands to  12em */
  padding:0 0 0 1em;
  height:auto; 
}

/* Hover on drop-down menu links */
#navbar li:hover ul li a:hover,
#navbar li a:hover ul li a:hover{ /* IE6 hack */
  background: #aaa; 
  color:#000;
}

/* IE6 hack applies to its table drop-down */
#navbar table {
  margin:-1px; 
  border-collapse:collapse; 
  position:absolute;
  top:0.5em;
  left:0;
  z-index:100;
}

/********** Content division styles **********/
#content{
  
  background-color:#b0fff0;
  color:#000;
  padding:2em 10px 10px 20px;
	top:17em;
}

/* Applies to paragraphs in the content division */
#content p{
  line-height:1.5em;
}



/* Styles h1, h2, and h3 style rules in the content division */
#content h1, #content h2, #content h3{
  font-family: Charcoal, Impact, sans-serif;
  color:#000;
  font-weight:normal;
  font-style:italic;
  font-variant:small-caps;
  letter-spacing:0.08em;
}

/* Size h1 headings in the content division */
#content h1{
  font-size:2em;
}

/* Size h2 headings in the content division */
#content h2{
  font-size:1.5em;
}
/* Size h3 headings in the content division */
#content h3{
  font-size:1.25em;
  /* font-style:normal; */
}

/********** Footer division styles **********/
#footer{
  /* To be determined */
}


