﻿/* list menu */



/* the horizontal menu starts here */
table div#listmenu{
	width:100%; /* makes the div full width */
	float:left; /*makes the div enclose the list */
	/* border-top:1px solid #069;	 /*draws line on top edge of div */
	/* border-bottom:1px solid #069;	 /* draws line on bottom edge of div */
	font-size:.8em;	 /* SET FONT-SIZE HERE */
	/*background-color:#09c; /* colors the div */
	margin-top:75px; /* TEMPORARY - pushes the div away from the top of the browser for clarity in this example*/
	z-index:1;
	}
div#listmenu ul {
			width:100%;
			margin-left:auto;
			margin-right:auto;/* indents ul from edge of container */
	}
div#listmenu li {
	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:#fff; /*sets the background of the menu items */
	border-right:1px solid #069; /* creates dividing lines between the li elements */
	color: #000
	}
div#listmenu li:first-child {
	border-left:1px solid #069; /*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:#069;	/* sets the type color */
	}
div#listmenu a:hover {
	color:#F33;
	}
/* the horizontal menu ends here */

/* the drop-down starts here */
div#listmenu ul li ul {
	margin:0; /* 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:10em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	left:-1px; /*aligns the drop exactly under the menu */
	}
div#listmenu ul li ul li {
	width:100%; /* makes the list items fill the list container (ul) */
	border-left:1px solid #069; /*  three sides of each drop-down item */
	border-bottom:1px solid #069;
	border-right:1px solid #069;
	padding:0 0 1px;
	}
div#listmenu ul li ul li:first-child {
	border-top:1px solid #069; /*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 */

/* pop-out starts here */
body div#listmenu ul li ul li ul  {
	visibility:hidden; /* same effect as display:none in this situation */
	top:-1px;
	left:10em;
	}
div#listmenu ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* second level popouts start here*/
div#listmenu ul li ul li:hover ul li ul {visibility:hidden;}
div#listmenu ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* third level popouts start here*/
div#listmenu ul li ul li ul li:hover ul li ul {visibility:hidden;}
div#listmenu ul li ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* 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:1px solid #000; /* adds the rightmost menu vertical line to the ul */
	margin-left:15px; /* IE doubles the given value above - why? */
	}
/* add a top line to drops and pops in IE browsers - can't read :first-child */
* html  div#listmenu ul li ul {
	border-top:1px solid #069;
	border-left:0px; /* stops the drop inheriting the ul border */
	}
/* 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 {
  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:200px;}
   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 */
/* end of hack zone */
/* END OF LIST-BASED MENU */

/* 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("ie51_menu_hack.css");
/*behavior:url(css/csshover.htc);*/
/* END OF DROP DOWN MENUS */

body
			{
			font:1em verdana, arial, sans-serif;
			background: #eff;
			}

*
			{
			margin: 0;
			padding: 0;
			}

h1
			{
			margin-top: 0;
			padding-top: 0;
			font-size: 24pt;
			font-family: papyrus;
			}

h2
			{
			margin-top: 0;
			padding-top: 0;
			font-size: 24pt;
			font-family: papyrus;
			text-align: center;
			}

h3
			{
			margin-top: 0;
			padding-top: 0;
			font-size: 18pt;
			font-family: papyrus;
			text-align: center;
			}

.center
			{
			text-align:center;
			}

#header
		{
		color: white;
		text-align: center;
		margin-top: 0;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 10px;
		padding-top: 0;
		padding-left: auto;
		padding-right: auto;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 135px;
		background: url("images/crana_header.gif") center top no-repeat;
		background-color: #09c;
		z-index: 100;
		}

div#main
		{
		position: absolute;
		height: 100%;
		top: 155px;
		left: 165px;
		right: 165px;
		z-index: 0;
		}

div#main table
			{
			margin-left:auto;
			margin-right:auto;
			}

div#main table td
			{
			padding:5px;
/*border:1px solid #000;*/
			vertical-align:top;
			text-align:center;
			}

div#main table td span
			{
			font-weight:bold;
			text-decoration:underline;
			}

div#footer
			{
			font-size: .5em;
			text-align: justify;
			padding-bottom:10px;
			position:fixed;
			left:165px;
			right:165px;
			bottom:0;
			background-color:#fff;
			}

div#footer p
			{
			font-size:.5ems;
			}


/* anchor styles */

div#main a
			{
			color: inherit;
			}

div#main a:hover
			{
			color: red;
			}

div#main a:active
			{
			color: red;
			}


div#footer a
			{
			color: inherit;
			}

div#footer a:hover
			{
			color: red;
			}

div#footer a:active
			{
			color: red;
			}

/* end anchor styles */