/* SiGWL CSoL css */
img {
	max-width: 100%;
	height: auto;
}
details, figcaption, banner, page, content, footer, menu, navbar, section { 	
    display: block;				/* set html5 elements to block */
}
/* Main page construction */
body {
	background: #FAEBD7;		/* border colour*/
}
#page {							/* containing div for everything except border and footer */
	width: 980px;
	margin: 0 auto;
}
#banner {
	height:8.5em;				/* size, colour and corners of banner bar */
	background: #FFFFFF;
	padding-top: 1em;
	text-align: center; 
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
#navbar {						/* distance fron top of page to navigation bar */
	position: relative;
	height: 4.8em;
}
#navbar-links {					/* navigation bar links*/
	width: 100%;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;						
	background: #000066;		/* navigation bar background colour */
	border-radius: 8px;					
}
#navbar-links li {				
	margin: 0.6em 0 0.6em 0;
	font-family: Arial, Helvetica, sans-serif;
	list-style: none;
	float: left;
	position: relative;
}
#navbar-links a {				/* navigation bar height is dependent on font size and padding in this section */
	margin: 10px;
	font-size: 1.0em;	
	color: #FFFFFF;				/* link text colour - normal */
	display: block;
	padding: 6px 12px;			/* link text padding top and bottom, then link text padding right and left */
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
#navbar-links a:hover {
	color: #000066;				/* link text colour - hover */
	background: #C2C2C2;
	border-radius: 8px;
}
/* Everything within the white page */
#content {						
	background: #FFFFFF;
	margin: 0 auto;
	width: 980px;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.flex-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	flex-direction: row;
}
.flex-container > div {
	margin: 10px;
	padding: 20px;  
}
.imageflex {
	height: 50vh;
}
.imageright {
	float: right;
	max-width: 15em;
	height: 22em;
	margin: 0em 1.5em 0em 2.8em;
}
.imagecenter {
	max-width: 5em;
	height: 7em;
	margin: 0 0 0 0;
}
.centerimage {
	height:14em;				
	width: 25%;
	margin: auto;
	padding-top: 1em;
	text-align: center; 
}
.lettercenter {
	height:30em;				/* HRH letter */
	width: 80%;
	margin: auto;
	padding-top: 1em;
	text-align: center; 
}
.bigimagecenter {
	max-width: 9em;
	height: 8em;
	margin: 0 0 0 0;
}
.imageleft {
	float: left;
	max-width: 16em;
	height: 22em;
	margin: 0.8em 2.8em 0em 1.5em;
}
.sigwlimageleftrow1 {
	float: left;	
	max-width: 15em;
	height: 12em;
	margin: 0em 1.5em 0em 4em;
}
.sigwlimagerightrow1 {
	float: right;
	max-width: 15em;
	height: 12em;	
	margin: 0em 4em 0em 1.5em;
}
.sigwlimageleftrow2 {
	float: left;	
	max-width: 15em;
	height: 12em;
	margin: 1em 1.5em 0em 4em;
}
.sigwlimagecenterrow2 {
	max-width: 15em;
	height:10.8em;	
	margin: 0em 0em 0em 2.5em;
}
.sigwlimagerightrow2 {
	float: right;
	max-width: 15em;
	height:12em;	
	margin: 1em 4em 0em 1.5em;
}
.nobleleft {
	float: left;	
	max-width: 8em;
	height: 9em;
	margin: 0 1em 0 3em;
}
.nobleright {
	float: right;
	max-width: 8em;
	height: 9em;	
	margin: 0 3em 0 1em;
}
.biglonglogo {
	height: 4.5em;
	margin: 0 0 0 0;
}
.longlogo {
	height: 4em;
	margin: 0 0 2em 0;
}
.talllogo {
	height: 7em;
}
/* Text Formatting */
h1 {
	margin: 10px 0px 0px 0px;
	font-size: 3em;
	line-height: 2.5em;			/* positions text vertically in banner */
	text-align: center;
	font-family: "Times New Roman", Times, serif;
	color: #363636;				/* text colour */
}
h2 {
	padding: 20px 0px 0px 0px;
	margin: 10px 10px 0px 10px;
	font-size: 2.5em;
	text-align: center; 
	color: #363636;      		/* text colour */      		
	font-family: "Times New Roman", Times, serif;
}
h3 {
	padding: 20px 0px 0px 0px;
	margin: 10px 10px 0px 10px;
	font-size: 2.0em;
	text-align: center; 
	color: #ff0000;      		/* News Flash Heading */      		
	font-family: "Times New Roman", Times, serif;
}
h4 {
	padding: 10px 0px 10px 0px;
	margin: 10px 10px 20px 10px;
	font-size: 1.5em;
	text-align: center; 
	color: #ffffff;      		/* Box Heading */      		
	font-family: "Times New Roman", Times, serif;
}
h5 {
	font-size: 1.2em;
	text-align: center; 
	padding: 0.5em 0 0 0;
	color: #ffffff;
}
p {
	margin: 0 3em 0 3em;
	padding: 15px;
	font-size: 0.9em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: justify; 
	color: #000066;            	/* text colour */
}
p.first {
	padding: 0;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center; 
	color: #000066;            	/* text colour */
}
p.second {
	padding: 15px;
	font-size: 1.1em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: justify;
	color: #FF0000;           	/* text colour */
}
p.third {
	padding: 15px;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center;
	font-weight: bold;	
	color: #FF0000;            	/* text colour */
}
p.fourth {
	padding: 15px;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center; 
	font-weight: bold;	
	color: #FF0000;            	/* text colour */
}
p.caption {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 0.7em;
	font-weight: bold;	
	text-align:right;
	padding-right: 3em;
	color: #565656;
}
p.sigwlcaption {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 0.7em;
	font-weight: bold;	
	text-align:center;
	padding-right: 3em;
	color: #565656;
}
p.table-caption {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 0.7em;
	font-weight: bold;	
	text-align:center;
	color: #565656;
}
p.dpa {  						/* Data Protection Statement formatting */
	padding: 15px;
	font-size: .75em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: justify; 
	color: #000066;            	/* text colour */
}
p.count { 						/* Hit Counter formatting */
	padding: 15px;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center;
	font-weight: bold;	
	color: #000066;             	/* text colour */
	}
hr {							/* Horizontal line */
	height: 1px;
	background-color: #0d268c;	/* line colour */
}
#flyer {
	height:35em;				/* size, colour and corners of banner bar */
	background: #000066;
	width: 80%;
	margin: auto;
	padding-top: 1em;
	text-align: center; 
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
.flyerp1 {
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center;
	font-weight: bold;	
	color: #FFFFFF;            	/* text colour */
}
.flyerp2 {
	font-size: 1.4em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center;
	font-weight: bold;	
	color: #FFFFFF;            	/* text colour */
}
.flyerp3 {
	font-size: 0.8em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center;
	font-weight: bold;	
	color: #FFFFFF;            	/* text colour */
}
.flyerbutton {
	padding: 0.1em;
	font-size: 1em;
	font-weight: bold;		
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center;
	border-radius: 8px;
	color: #000066;       	
	background:#FFFFFF;  
	border:0 none;
	border: 7px solid #FFFFFF;
}
.flyerbutton:hover {
	color: #000066;
	background: #C2C2C2;
}
/* Tables */
.table1 {						/* 2 button wide table layout */						
	border: 0;
	width: 100%; 
}
.table1 td {
	line-height: 21px;
	font-size: 0.9em;
	font-family: Arial, Helvetica, sans-serif;  
	padding-top: 0.5em;
	padding-left: 5px;
	padding-bottom: 0.5em;
	color: #0000b3;				/* border colour */
	text-align: center;
	border-style:none solid solid none;
	background: linear-gradient(-90deg, #0000b3, #151174);	/* background gradient colours */
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
.table1 td a {               	/* layout of buttons in tables */
	display: block; 
	height:100%; 
	width:100%;
	color: #FFFFFF;
	font-size: 1.2em;
	text-decoration: none;
}
.table1 td a:hover {
	color: #000066;				/* link text colour - hover */
	background: #C2C2C2;
	border-radius: 8px;
}
.table1 tr td.col1 {
	width:22.5%;
    visibility:hidden;
}
.table1 tr td.col2 {
	width:16%;
}
.table1 tr td.col3 {
	width:22.5%;	
    visibility:hidden;
}
.table1 tr td.col4 {
	width:16%;
}
.table1 tr td.col5 {
	width:22.5%;
    visibility:hidden;
}
.table2 {						/* 3 button wide table layout */						
	border: 0;
	width: 100%; 
}
.table2 td {
	line-height: 21px;
	font-size: 0.9em;
	font-family: Arial, Helvetica, sans-serif;  
	padding-top: 0.5em;
	padding-left: 5px;
	padding-bottom: 0.5em;
	color: #0000b3;				/* border colour */
	text-align: center;
	border-style:none solid solid none;
	background: linear-gradient(-90deg, #0000b3, #151174);	/* background gradient colours */
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
.table2 td a {               	/* layout of buttons in tables */
	display: block; 
	height:100%; 
	width:100%;
	color: #FFFFFF;
	font-size: 1.2em;
	text-decoration: none;
}
.table2 td a:hover {
	color: #000066;				/* link text and background colour - hover */
	background: #C2C2C2;
	border-radius: 8px;
}
.table2 tr td.col1 {
	width:13%;
    visibility:hidden;
}
.table2 tr td.col2 {
	width:16%;
}
.table2 tr td.col3 {
	width:13%;	
    visibility:hidden;
}
.table2 tr td.col4 {
	width:16%;
}
.table2 tr td.col5 {
	width:13%;	
    visibility:hidden;
}
.table2 tr td.col6 {
	width:16%;
}
.table2 tr td.col7 {
	width:13%;
    visibility:hidden;
}
.table3 td {
	line-height: 21px;
	font-size: 0.8em;
	font-family: Arial, Helvetica, sans-serif;  
	color: #000066;    
	text-align: center;
}
.table3 {						/* 3 button wide table layout */						
	border: 0;
	width: 100%; 
}
.table3 tr td.col1 {		/* SiGWL images */
	padding: 0em 0em 0em 3em;
	width:33%;
}
.table3 tr td.col2 {		/* SiGWL images */

	width:33%;
}
.table3 tr td.col3 {		/* SiGWL images */
	padding: 0em 3em 0em 0em;
	width:33%;
}
.tablebutton {						/* Contact page Button style */						
	border: 0;
	width: 100%; 
}
.tablebutton td {
	line-height: 21px;
	font-size: 0.9em;
	font-family: Arial, Helvetica, sans-serif;  
	padding-top: 0.5em;
	padding-left: 5px;
	padding-bottom: 0.5em;
	text-align: center;
}
.tablebutton tr td.col1 {
	width:40%;
    visibility:hidden;
}
.tablebutton tr td.col2 {
	width:20%;	
}
.tablebutton tr td.col3 {
	width:40%;
	visibility:hidden;
}
.buttonformat {
	padding: 0.1em;
	font-size: 1.2em;
	border-radius: 8px;	
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center;
	color: #FFFFFF;       	
	background:#000066; 
	border:0 none;
	border: 7px solid #000060;
}
.buttonformat:hover {
	color: #000066;
	background: #C2C2C2;
}
.login-container {
	margin: 0;
}
.login-box {
	background-color: white;
	max-width: 17em;
	margin: 0 auto;
	position: relative;
	top: 1em;
	padding-bottom: 1em;
	border-radius: 5px;
	box-shadow: 0 5px 50px #000066;
	text-align: center;
}
.login-box .box-header {
	background-color: #000066;
	height: 2.5em;
	margin-top: 0;
	border-radius: 5px 5px 0 0;
	margin-bottom: 20px;
}
.login-box label {
	font-weight: bold;
	font-size: .8em;
	color: #888;
	letter-spacing: 1px;
	line-height: 2em;
}
.login-box input {
	margin-bottom: 2em;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 2px;
	font-size: .9em;
	color: #888;
}
.login-box input {
  background-color: #f9f4ed;
  width: 80%;
}
.login-box input:focus {
	outline: none;
	border-color: #665851;
	color: #665851;
}
.login-box input[type="text"]{
  width: 80%;
}
.login-box input[type="password"]{
  width: 73%;
}
.login-box button {
	margin-top: 0px;
	border: 0;
	border-radius: 2px;
	color: white;
	padding: 10px;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 0.9em;
	letter-spacing: 1px;
	background-color: #000066;
	cursor:pointer;
	outline: none;
	font-family: "Times New Roman", Times, serif;
}
.login-box button:hover {
	color: #000066;
	background: #C2C2C2;

}
.error-message{
	padding-top: 2em;
	font-size: 2em;
	font-weight: bold;
	text-align: center; 
	color: red;
}
/* Contact Form */
input[type=text], select, textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
	font-size: 0.9em;
	color: #000066;
	font-family: Arial, Helvetica, sans-serif; 
	border: 1px solid #000066;	
}
input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
input[type=submit]:hover {
    background-color: #45a049;
}
.contact-container {
	font-size: 0.9em;
	color: #000066;
	font-family: Arial, Helvetica, sans-serif; 
	margin: 0 4em 0 4em;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 2em 4em 2em 4em;
}
/* End of White Page */

/* Footer below white Page */
#footer {
	clear: both;
	height: 1.0em;
	margin: 0 auto;
	padding: 0px 0px 0px 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.7em;
	text-align: center;
}
p.foot{
	padding: 10px;
	font-size: 1.1em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center; 
	color: #363636;           		
}

