/* This is for the new version of the HTML5 editor 2024 - last tweak 24 July 2024 */
/* News blocks now dynamically managed                      Richard Middleton     */

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;
}

.red {color: red;}
.blue {color: blue;}

h1.banner
/* Only used for page heading */
{ Opacity: 1; 
  font-weight: bold;
  font-size: 22pt;
  color: navy;
  margin: 42px 0px 48px 400px;
}

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: blue;
  padding-left: 8px;
  /*margin-bottom:-11px; no longer necessary now default margin on cleared*/
}

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*/

/* to add a date to the news banner */

.newsan
/* positions the news page banner annotation */
{ font-weight: bold;
  font-size: 18pt;
  color: navy;
  position : absolute;
  top : 68px;
  left : 420px;
}

  
/* 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-top: 10px;
}

.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;
  margin-top: 10px;
}

.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;}

news-grid {
  display: grid;
  grid-row-gap: 2px;
  grid-template-columns: repeat(auto-fill, minmax(330px,1fr));
  grid-auto-rows: 10px;
}


news-item {
  display: block;
}

item-signature {
  display: block;
  font-style: italic;
  text-align: right;
}

item-head {
  display: block;
  color: black;
  font-weight: bold;
  font-size: 10pt;
  margin: 0px 0px 10px 0px;
}

.content {
  width: 300px;
  background-color: Cornsilk;
  border-style:solid;
  border-width:1px;
  border-color: #331122;
  border-radius:10px/10px;
  padding:10px 10px 10px 10px;
  box-shadow: 8px 8px 9px #040404;
  margin: 10px 0px 0px 5px;
}

.content p {
  margin: 10px 2px 0px 2px;
  text-indent: 8px;
}

.content hr {
  margin-top: 10px;
}

.newsimage {
  clear: none;
  width: 300px;
  object-fit: cover;
}

.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;
  vertical-align: top;
  font-style: italic;
  padding: 24px 0px 0px 0px;
}

.progcol2 {width: 400px;}

.progcol3 {
  vertical-align: top;
  text-align: center;
  width: 90px;
  padding: 24px 0px 0px 0px;
  font-weight: bold;
  color: black;
}


.progel {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 12pt;
  color: #1B58B8;
  margin: 4px 0px 0px 0px;
}

.listbut {
  float: right;
  width: 24px;
  height: 24px;
  align: bottom;
  margin: 4px 4px 4px 4px;
}

.listbut:hover {
   opacity: 0.2;
}

.maplink {
  text-decoration: none;
  color: blue;
}

.maplink: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;
}

#map-canvas /*duplicated style information in the element can be removed*/
{
        width: 530px;
        height: 400px;
        float: right;
        z-index: 1;
        margin: 16px 0px 0px 32px;
}

/* For pop-up menu */
.extra {
   position: absolute;
   top:100px;
   left : -999px;
   background-color: #FFFFc0;
   border-width: 1px;
   border-style: solid;
   padding: 2px 10px 2px 10px;
   font-size: 12px;
   font-style: italic;
   }

/* For standardised link tables - added in style8 */

.linkb {
  list-style-image: url('images/b1.png');
  list-style-position: outside;
  text-indent: 0px;
  margin-left: 10px; 
  padding-left: 10px;
}

.linkb li {
  margin-top: 4px;
}

.linkb li:hover {
  list-style-image: url('images/b2.png');
  cursor : pointer;
}

.linkb li span{
  color : #000080;
}

.linkb li:hover span{
  color :red;
}

