/* New FoSR 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: #dee7f4;		/* 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: #738cf2;
	padding-top: 0em;
	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);
}
.bannertable {
	width: 100%;
	height: 7em;
}
.newbanner tr td.col1 {
	width:15%;
	vertical-align: top;
}
.newbanner tr td.col2 {
	width:70%;
	vertical-align: top;
}
.newbanner tr td.col3 {
	width:15%;
	vertical-align: top;
}
.newbanner-img1 {
	max-width: 8em;
	height: 5.5em;
	padding: 1.3em 0em 0em 1em;
}
.newbanner-img2 {
	max-width: 38em;
	height: 4.5em;
	padding: 2em 0em 0em 1em;
}
.newbanner-img3 {
	max-width: 10.5em;
	height: 5.5em;
	padding: 1.5em 1em 0 0;
}
#navbar {						/* distance from top of page to navigation bar */
	position: relative;
	height: 4.7em;
	width: 100%;
	margin: 0;
	padding: 0;
}
#navbar-links {					/* navigation bar links*/
	width: 100%;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;						
	background: #738cf2;		/* navigation bar background colour */
	/* rounded corner */
	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: #2532BA;				/* link text colour - normal */
	display: block;
	padding: 6px 25px;			/* 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);
}
figcaption {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 11px;
	text-align: center;
	color: #565656;	
}
.quaiche-imagetable {
	max-width: 15em;
	height: 15em;
	margin: 0em 0em 0em 0em;
}
.helnsbrtable {
	float: right;	
	max-width: 14em;
	height: 10em;
	margin: 0em 3em 0em 2em;
}
.centeredImage {
    text-align:center;
    margin-top:0px;
    margin-bottom:0px;
    padding:0px;
}
.centeredLogo {
		height: 7em;
		max-width: 16em;
		margin: auto;
}
/* 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: 0px 0px 0px 0px;
	margin: 10px 10px 0px 10px;
	font-size: 2.5em;
	text-align: center; 
	color: #738cf2;      		/* text colour */      		
	font-family: "Times New Roman", Times, serif;
}
h3 {
	font-size: 1.4em;
	padding: 0px 0px 0px 0px;
	text-align: center; 
	color: #738cf2;
}
p {
	margin: 0 2em 0 2em;
	padding: 15px;
	font-size: 0.9em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: justify; 
	color: #0d268c;             	/* text colour */
}
p.first {
	padding: 0;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center; 
	color: #738cf2;            		/* FSR blue text */
}
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-weight: bold;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center;
	color: #FF0000;            	/* text colour */
}
p.hitcount {
	    font-size: 1em;
		text-align: center;
	}
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.gotowebsite {
	font-size: 1em;
	line-height: 1.8;
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center; 
	padding: 15px;
	color: #738cf2;            	/* text colour */
}
hr {							/* Horizontal line */
	height: 1px;
	background-color: #0d268c;	/* line colour */
}
/* Tables */
.quache-table1 {						/* Quaiche Winner Stats and Photo on right*/						
	width: 100%; 
	margin: auto;
}
.quache-table1 tr td.col1 {
	padding-left: 3em;
	line-height: 18px;
	width:70%;
	vertical-align: top;
	margin-left: 0;
}
.quache-table1 tr td.col2 {
	text-align: right;
	padding-right: 3em;
	width:30%;
}
.winnerlist {
		margin: 0 auto;
		font-size: 12px;
		border: 1px solid #CCC; 
		font-family: Arial, Helvetica, sans-serif;
	} 
.winnerlist td {
		padding: 4px;
		margin: 3px;
		font-size: 1.2em;
		color: #0d268c;
		text-align: center;
		border: 1px solid #CCC;
	}
.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: 1em;
	padding-left: 5px;
	padding-bottom: 0.5em;
	color: #738cf2;				/* border colour */
	text-align: center;
	border-style:none solid solid none;
	background: linear-gradient(-90deg, #9daef2, #738cf2);	/* 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: #738cf2;				/* border colour */
	text-align: center;
	border-style:none solid solid none;
	background: linear-gradient(-90deg, #9daef2, #738cf2);	/* 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: #000066;
	font-size: 1.2em;
	text-decoration: none;
}
.table2 td a:hover {
	color: #FFFFFF;				/* link text colour - hover */
	background: #747474;
	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;
}
.table4 {						/* 3 button wide table layout */						
	border: 0;
	width: 100%; 
}
.table4 tr td.col1 {
	padding: 0em 0em 0em 3em;
	width:33%;
}
.table4 tr td.col2 {
	padding: 0em 0em 0em 5em;
	width:33%;
}
.table4 tr td.col3 {
	padding: 0em 0em 0em 2em;
	width:33%;	
}
.tablebutton {						/* Contact page Button style */						
	border: 0;
	width: 100%; 
}
.tablebutton td {
	padding: 0.3em;
	font-size: 1.2em;
	border-radius: 8px;	
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center;
	color: #000066;       	
	background: #738cf2; 
	border: 6px solid #738cf2;
}
.tablebutton tr td.col1 {
	width:40%;
    visibility:hidden;
}
.tablebutton tr td.col2 {
	width:20%;	
}
.tablebutton tr td.col3 {
	width:40%;
	visibility:hidden;
}
/* Submit Button Formatting */
.buttonformat {
	padding: 0.3em;
	font-size: 1.1em;
	border-radius: 8px;	
	font-family: Arial, Helvetica, sans-serif; 
	text-align: center;
	color: #000066;       	
	background: #738cf2; 
	border: 6px solid #738cf2;
}
 .buttonformat:hover {
	color: #FFFFFF;
	background: #747474;
}
/* Login box */
.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 #738cf2;
	text-align: center;
}
.login-box .box-header {
	background-color: #738cf2;
	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 {
	width: 10em;
	margin-bottom: 2em;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 2px;
	font-size: .9em;
	color: #888;
}
.login-box .input:focus {
	outline: none;
	border-color: #665851;
	color: #665851;
}
.login-box button {
	margin-top: 0px;
	border: 0;
	border-radius: 2px;
	color: #FFFFFF;
	padding: 10px;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 0.9em;
	letter-spacing: 1px;
	background-color: #738cf2;
	cursor:pointer;
	outline: none;
	font-family: "Times New Roman", Times, serif;
}
.login-box button:hover {
	color: #738cf2;
	background: #C2C2C2;
}
.login-box input {
  background-color: #f9f4ed;
  width: 80%;
}
/* Contact Form */
.login-container {
	margin: 0;
}
.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;
}
.contact-container input[type=text], select, textarea {
	background-color: #fcf5ed;
    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; 
}
.contact-container input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.contact-container input[type=submit]:hover {
    background-color: #45a049;
}
#pre-footer {                  						/* thank you text at bottom of white page */
	text-align: center; 
	position:relative; 
	bottom:50px; 
	height:0px;
}
/* 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;           		
}

