/* This is for the new version of the HTML5 editor 2016 */

body {
  background-color: White;
  width: 1000px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 8pt;
  margin: 0px 0px 0px 0px;
}

footer {
  clear: both;
  padding-top: 5px;
}

header:after {
  content: "";
  display: table;
  clear: both;
}

.banner
{
	clear: none;
	float : left;
	margin : -16px 50px 10px 8px;
}

header h1
/* Only used for page heading */
{ Opacity: 1; 
  font-weight: bold;
  font-size: 18pt;
  color: navy;
  margin: 48px 0px 24px 380px;
}
h3 {
  font-size: 10pt;
  padding-top: 0px;
  margin-top: 6px;
  color:white;
}

p {
  margin: 0px 0px 0px 0px;
}

a {
  text-decoration: none;
}

a:hover {
  color: red;
}


/* New menu classes */

.cue { /* for inserting the navigation cue */
  color: gray;
  padding: 8px 0px 0px 8px;
}

nav {margin: 0px; z-index: 999; position:relative;} /*Bottom margin was -10px removed as for cue. Position relative added so z-index effective*/

nav ul ul { display: none;}

nav ul li:hover > ul {display: block;}

nav ul {
  /*z-index: 999; not necessary as parent nav now 999*/
  margin: 0px;/*seemed to inherit a 30pt left margin and 10px top and bottom*/
  /*top:-11px; no effect ul is inline element*/   
  background: #1B58B8;
  box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
  padding: 0px 0px;
  list-style: none;
  width: 100%; /*Need this for IE as well as clear both below*/
}

nav ul li {
  float: left; /*If use inline-block IE makes them 100% wide so use float*/
  position: relative;
  height: 28px; /* 30 */
  width: 150px;
}

nav ul:after {content: ""; clear: both; display:block;} /*Need to do this as floating li means ul collapses*/
    
nav ul li:hover {background: DarkBlue;}
        
nav ul li:hover a {color: black;}

nav ul li:hover > a {color: OrangeRed;}
    
nav ul li a {
  display: inline-block;
  width: 100%;
  height:100%;
  line-height:27px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

nav ul ul {
  background: #f9f9f9;
  box-shadow: 8px 8px 16px 0px rgba(0,0,255,0.4);
  position: absolute; 
  top: 100%;
  left: 0%;
}
    
nav ul ul li {
  color : black;
  border-top: 1px solid LightSlateGrey;
  border-bottom: 1px solid Silver;
}
        
nav ul ul li a {
  text-align:left;
  width: 90%; /*width plus padding gives same width as parent a*/
  padding-left: 10%;
}    
            
nav ul ul li a:hover {background: #e0e0ff;}

nav ul ul ul {position: absolute; left: 100%; top:-1px;} /*Top of child li (including border) aligns with top of parent without border*/

/* Specific to index page */

.indexcol1 {
  width: 257px;
  float: left;
  padding-left: 10px;
}

.indexcol2 {
  width: 400px;
  float: left;
}

.contactbox {
  float: left;
  width:220px;
  background-color: Cornsilk;
  border-style:solid;
  border-width:1px;
  border-color: #331122;
  border-radius:15px/10px;
  padding:10px 10px 10px 10px;
  box-shadow: 8px 8px 9px #040404;
  margin: 0px 0px 0px 16px;
}

.contactbox:after {
  content: "";
  display: table;
  clear: both;
}

.contact {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 8pt;
  margin-left: 64px;
}

.mainbox {
  float: left;
  width:375px;
  background-color: Cornsilk;
  border-style:solid;
  border-width:1px;
  border-color: #331122;
  border-radius:15px/10px;
  padding:10px 10px 10px 10px;
  box-shadow: 8px 8px 9px #040404;
}

.mainbox:after {
  content: "";
  display: table;
  clear: both;
}

.textbox
{
	clear: both;
	float: left;
	width:286px;
	background-color : InfoBackground;
	border-style:solid;
	border-width:1px;
	border-color: #331122;
	border-radius:15px/10px;
	padding:10px 10px 10px 10px;
	box-shadow: 8px 8px 9px #040404;
	margin: 0px 20px 0px 16px;
}

.textbox:after
{
	content: "";
	display: table;
	clear: both;
}

.picbox {  
  float:left;
  width:178px;
  height:178px;
  border-style:solid;
  border-width:1px;
  border-color: #331122;
  border-radius:15px/10px;
  padding:10px 10px 10px 10px;
  box-shadow: 8px 8px 9px #040404;
  margin-bottom: 20px;
}

/* News column and box formatting */


h3.newstitle {color: black;}

.newsdiv {
  width: 333px;
  float: left;
}

.newsbox {
  float: right;
  width:300px;
  background-color: Cornsilk;
  border-style:solid;
  border-width:1px;
  border-color: #331122;
  border-radius:15px/10px;
  padding:10px 10px 10px 10px;
  box-shadow: 8px 8px 9px #040404;
  margin-top: 10px;
}

.newsbox:after {
  content: "";
  display: table;
  clear: both;
}

.newsimage {
  clear: none;
  border-radius:10px;
}

.newsimagel {
  clear: none;
  float: left;
  margin: 10px;
}

.newsimager {
  clear: right;
  float: left;
  margin: 10px;
}

.newsimagec {
  text-align: center;
  margin: 5px;
}

.signature {
  font-style: italic;
  text-align: right;
}

.newstitle {
  font-weight: bold;
  margin: 0px 0px 8px 0px;
}


/* Items relating to a program division */


.widepanel {
  float: left;
  width: 632px;
  background-color: Cornsilk;
  border-style:solid;
  border-width:1px;
  border-color: #331122;
  border-radius:15px/10px;
  padding:10px 10px 10px 10px;
  box-shadow: 8px 8px 9px #040404;
  margin-top: 10px;
  margin-left: 10px;
}

.progtitle {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 16pt;
  color: #1B58B8;
  margin: 4px 0px 4px 24px;
}

.progtab {
  width: 600px;
  margin-left: 10px
}

.progcol1 {
  width: 110px;
  font-style: italic;
  padding: 4px 0px 0px 0px;
}

.progcol2 {width: 400px;}

.progcol3 {
  width: 90px;
  text-indent: 10px;
  font-weight: bold;
  color: black;
}

.progcol3x {
  width: 90px;
  text-indent: 10px;
  font-weight: bold;
  color: silver;
}

.progel {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 12pt;
  color: #1B58B8;
  margin: 4px 0px 0px 0px;
}

.listbut {
  float: right;
  margin-left: 4px;
}

.maplink {
  text-decoration: none;
  color: blue;
}

.maplink:hover {color: red;}

.maplinkx {
  text-decoration: none;
  color: #AAAAAA;
}

.maplinkx:hover {color: red;}

.mapname {
  float: left;
  margin-left: 80px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 12pt;
  font-style: italic;
  padding-left: 20px;
  margin-top: 0px;
  margin-bottom: 5px;
  color: black;
}

.display
{
	float : left;
	margin-left : 80px;
}

#myCanvas 
{
  width: 812px;
  height: 372px;
  z-index: 1;
  margin: 16px 0px 0px 100px;
}

#tCanvas 
{
  width: 660px;
  height: 604px;
  z-index: 1;
  margin: -10px 0px 0px 10px;
}

#map
{
  margin-left: 50px;
  width: 300px;
  height: 22px;
  font-size:10pt;
  font-weight: bold;
}

