﻿

/* ####################   Background and Design ################## */

#container{
	position: relative;
	margin: auto;
	width: 800px;
	
}

body {
	background-image: url(coal1.jpg); /*background-color: #000000;*/;
	margin: 0 px;
	padding: 0 px;
	text-align: center;
	font-family: Verdana;
	font-size: 12px;
	}


#header {width: 800px;}
a.header {
  position: relative;
  width:800px;
  height:119px;
  background-image: url(header.png);
  }



/* ####################   Navigation bar CSS styling   ################## */ 

.mynavbar {
	position: relative;
  width: 800px;
  height: 23px; /* corresponds to 'line-height' of a.navbartitle below */
  margin: 0; border: 0; padding: 0;
  background-color: #113e37; 
}


a.navbartitle {
  display: block; 
  float: left;
  color: white;
  background-image:url(menulinks.png);
  background-color: #113e37; 
  font-family: Verdana, Arial, Geneva,  Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  margin: 0; border: 0; padding: 0;
  line-height: 23px; /* corresponds to 'top' value of .submenu below */
  text-align: center;
  text-decoration:none;
}
a.navbartitle:hover {
  background-color: #cd4606;
}
/* menu title widths */
#t1 { width: 100px; }
#t2 { width: 100px; }
#t3 { width: 100px; }
#t4 { width: 100px; }
#t5 { width: 100px; }
#t6 { width: 100px; }


.submenu {
	position:absolute;
  z-index: 2;
  top: 23px; /* corresponds to line-height of a.navbartitle above */
  padding: 0; margin: 0; 
	width:166px; /* If adjust this, then adjust width of .submenu below a too */
	color: white;
	background-color:  #113e37;
	border: 1px solid #cd4606; /* box around entire sub-menu */
  font-family: Verdana, Arial, Geneva,  Helvetica, sans-serif;
	font-size: 11px;
}
/* Fix IE formatting quirks. */
html .submenu { width: 148px; } /* IE needs narrower than width of .submenu above */
/* End */

/* position of each sub menu */
#Home_submenu {  left: 0px; visibility: hidden;  }
#About_submenu {  left: 100px; visibility: hidden;  }
#Personnel_submenu {  left: 200px; visibility: hidden; }
#Sites_submenu {  left: 300px; visibility: hidden; }
#News_submenu { left: 400px; visibility: hidden; }
#Contact_submenu { left: 500px; visibility: hidden; }
/* Note, each submenu is hidden when the page loads - then made visible when
    the mouse goes over the menu title. Using the 'visibility' property instead
    of using the 'display' property avoided a bug in some versions of Safari. 
    (The bug is pretty where esoteric: The browser ignored the 'hover' property 
    on 'li' objects inside an object whose display property was set to 'none' 
    when the page loaded...) Using the 'visibility' property instead of 'display'
    would normaly take up extra room on the page, but that's avoided here by putting
    the submenu on a second layer: see 'position: absolute' and 'z-index: 2'
    in .submenu definition, higher up this page. */

.submenu a
{
  display: block;
  color: #eee; 
  background-color: #113e37;
  width: 146px; /* This should be width of .submenu above minus right-side padding on next line */
  padding: 5px 0px 4px 10px;
  text-decoration: none;
  background-color: #113e37; 
  border-bottom: #cd4606 solid 1px; 
  border-top: 0; border-left: 0; border-right: 0;
}


ul { position: relative; display: block;}
li { position: relative; display: block;} 

.submenubox { 
  margin: 0; padding: 0; border: 0;
}
.submenubox ul
{
  margin: 0; padding: 0; border: 0;
  list-style-type: none;
}

.submenubox ul li { 
  margin: 0; padding: 0; border: 0;
}

.submenubox ul li a:link {}
.submenubox ul li a:visited {}
.submenubox ul li a:hover
{
  color: #c6e8e2; /* text color for submenu items */
  background-color: #cd4606;
  border-bottom: #cd4606 solid 1px; 
}


/* ####################   Content Area and Footer   ################## */ 

#mainarea {width: 800px;}
a.mainarea {
height: 800px;
background-image: url(page2.png);
clear:both;
padding-top:15px;
}

#footer { width: 800px;}
a.footer{
width:800px;
height:30px;
background-image: url(footer.png);
clear:both;
}

}
