/*To change colour scheme for site need to change attributes as follows
color in h1
background color in div.heading
border and background, if required, in div.headingcontainer*/
/*Need following code to prevent text resizing with container width in iPhone*/
body 	{
    	-webkit-text-size-adjust:100%; 
    	-moz-text-size-adjust:100%; 
    	-ms-text-size-adjust:100%;	}
    	
/* This resets the browser defaults - taken out as maybe conflicts with above 
html, body{
	margin:0px; 
	padding:0px;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;	} */
	

h1 {	font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size:16pt;
	font-weight:bold;
	margin-top:0px;
        margin-bottom:0px;
	text-align:left;
	color:rgb(7,107,0);	}

h2 {	font-family:Verdana, Geneva, sans-serif;
	font-size:12pt;
	font-weight:normal;
	margin-top: 0.3em;
    	margin-bottom: 0;
	margin-left: .5em;
        text-align:left;
	color:white;	}

h3 {	font-family:Verdana, Geneva, sans-serif;
	font-size:14pt;
	font-weight:normal;
	font-style:normal;
	text-align:center;
	color:gray;	}

h4 {	font-family:Verdana, Geneva, sans-serif;
	font-size:9pt;
	font-weight:bold;
	margin-top:0px;
    	margin-bottom:0px;
	text-align:center;
	color:white;
	background-color:transparent;	}

h5 {	font-family:Verdana, Geneva, sans-serif;
	font-size:8pt;
	font-weight:bold;
	font-style:normal;
	margin-top:0px;
    	margin-bottom:0px;
	text-align:center;
	color:white;	}

h6 {	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 20pt;
	font-weight: normal;
	margin-top: 0px;
        margin-bottom: 0px;
	text-align: center;
	color:white;	}
	
p {    	font-family:Verdana, Geneva, sans-serif;
    	font-size:14.5px;
    	font-weight:normal;
    	line-height: 135%;
    	color: black;
    	background-color:white;
    	text-align:left;    	}
    	
p.bold {  font-weight: bold; }

p.single { line-height: normal; }

p.centre { text-align: center; width: auto; }

p.justify { text-align: justify; }

p.font5px {font-size: 12px; color: red;}

div.indent {
	  border: none;
	  margin-top: 0px;
	  margin-bottom: 0px;
	  margin-right: 0px;
	  margin-left: 40px;
	  background-color: white;	}

	
/*Make fixed home button match menu style on home page*/
a {	
	color: rgb(71,3,124);
	text-decoration: underline;	}
	
a.white {	
	color: white;
	text-decoration: underline;
	font-style: italic; }
	
/*Hover state for links*/
a:hover {
	background: darkgrey; }

/*This styles to submit button to match the menu button and links*/
	
.gobutton{
	width:90px;
	height: 40px;
	text-align: left;
	cursor:pointer; 		/*forces the cursor to change to a hand when the button is hovered*/
	padding:5px 25px; 		/*add some padding to the inside of the button*/
	background:#2f3036; 		/*the colour of the button*/
	border:2px solid white; 	/*required or the default border for the browser will appear*/
	color:#fff; 			/*style the text*/
	font-size:.9em; }		/*style the text*/
		
input:hover,focus {
	background-color :#19c589; }	/*change background colour*/
    	
form 	{display:inline;}

/*iframe {
    	float: right;	}
*/

a.homebutton {
	margin-left:3px;
	display:block;
	width:auto;
	height: auto;
	text-align: center;
	line-height: 30px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #fff;
	background: grey;
	text-decoration: none;
	border:	1px solid lightgrey;	}
	
div.pagewidth {width= 500px;}

div.mastercontainer  {
	margin: auto; padding: 0px; max-width: 1100px; width: 100%; border-style: none;}
	
div.heading {
    	float: left;
   	margin-top: 5px;
   	margin-bottom:2px;
   	margin-right: 5px;
    	padding: 5px;
    	width: 100%;
    	min-height: 40px;
    	border: none;
   	background-color: rgb(7,107,0) !important;	} /*blue - the !important forces iOS mobile Safari to use color - also Android? it probably only needs to be in this code as home page forces change for whole site? */

div.headingcontainer {
	padding: 10px;
	float: left;
	width: 100%;
	min-height: 50px;
	border:	10px solid rgb(255,238,0);
	background-color: rgb(7,107,0);	}

div.headingcontainerdeep {
	padding: 0px;
	right-margin: 0px;
	bottom-margin: 0px;
	float: left;
	width: 100%;
	border:	5px solid #0000FF;
	background-color:#0000FF;	} /*the !important forces iOS mobile Safari to use color - also Android? was removed and put in div.heading as a test - see above */

div.menucontainer {
 	padding: 0px;
 	margin-top: 5px;
    	margin-bottom: 5px;
	float: left;
	width: 100%;
	min-height:40px;	
	background-color:lightgrey;
	border-style: none;	}
	
div.homebuttoncontainer {
	padding: 0px,0px,0px,0px;
	float: left;
	width: 80px;
	height: 30px;
	 }

div.contentcontainer {
	float: left;
	margin: 0px;
	padding: 10px;
	width: auto;
	height: auto;
	border-style: none;	}

/*This contains one-third the width of the content container creating three columns on desktop and squeezes to one on mobile*/
div.content {
 	float: left;
 	margin-right:5px;
 	margin-top: 5px;
    	margin-left: 5px;
    	margin-bottom:0px;
    	padding: 10px;
    	max-width: 360px ;	
    	width: auto;
    	height:  auto;
    	border-style: solid;
    	border-color: grey;
    	border-width: 1px 0px 0px 0px;	}
    	

div.contentmedium {
 	float: left;
 	margin-right:5px;
 	margin-top: 5px;
    	margin-left: 5px;
    	margin-bottom:0px;
    	padding: 10px;
    	max-width: 430px;
    	width: auto;
    	height:  auto;
    	border-style: solid;
    	border-color: grey;
    	border-width: 1px 0px 0px 0px;	}

div.contentwide {
 	float: left;
 	margin-top: 5px;
 	margin-left: 5px;
 	margin-right: 5px;
 	margin-bottom: 0px;
    	height: auto;
     	max-width: 430px;
     	width: 100%;
    	border-style: solid;
    	border-color: grey;
    	border-width: 1px 0px 0px 0px;
    	padding: 8px;	}
	
div.contentextrawide {
 	float: left;
 	margin-top: 5px;
 	margin-left: 10px;
 	height: auto;
       	width: 100%;
     	border-style: solid;
    	border-color: grey;
    	border-width: 1px 0px 0px 0px;
    	padding: 10px;	}
	
div.footercontainer {
 	padding: 0px;
	float: left;
	width: 100%;
	min-height:40px;
	border:	1px solid rgb(71,3,124); }

div.imgframe1 {
    	float: right;
    	width: 60%;
    	margin-right:0px;
	margin-top: 15px;
	margin-left: 0px;
	margin-bottom:0px;
    	padding: 2px;
    	border: 1px solid white;
    	text-align: center;	}
	
div.imgframe2 {
	float: right;
	width: 40%;
	margin-right:0px;
	margin-top: 5px;
	margin-left: 5px;
	margin-bottom:5px;
	padding: 2px;
	border: 1px solid white;
	text-align: center;	}

div.imgframe3 {
	float: right;
	width: 10%;
	margin-right:0px;
	margin-top: 5px;
	margin-left: 5px;
	margin-bottom:5px;
	padding: 2px;
	border: 1px solid white;
	text-align: center;	}

div.imgframe4 {
    	float: left;
    	width: 90%;
    	margin-right:0px;
	margin-top: 5px;
	margin-left: 5px;
	margin-bottom:5px;
    	padding: 2px;
    	border: 1px solid white;
    	text-align: center;	}
    	
div.imgframe5 {
	float: left;
	width: 60%;
	margin-right:0px;
	margin-top: 15px;
	margin-left: 0px;
	margin-bottom:0px;
	padding: 2px;
	border: 1px solid white;
	text-align: center;	}

.newline {
	       clear: right;	}
	
div.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;     }
div.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 80%;
	height: 100%;    }

/*This container gives a video as much space as possible, particularly on a smartphone*/
div.contentvideo {
 	float: left;
 	max-width: 630px;
    	height: auto;
    	border-style: solid;
	border-color: white;
    	border-width: 0px 0px 20px 0px;    	}
    	
div.tab { margin-left: 40px; }

div.indent40 {text-indent: -40px; }
