/* =Reset  Borrowed from Wordpress theme shape2.  Credits:www.themeshaper.com.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/

-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */


/* apply a natural box layout model to all elements, but allowing components to change
from http://www.paulirish.com/2012/box-sizing-border-box-ftw/
*/

html {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
 	box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/*-----------------------------------------------*/

	body 	{
		width: 1000px;
		height: 1000px;
		margin-left:auto;
		margin-right:auto;
		margin-top:1em;
		padding:1em;
		font-family:"Open sans", "Gill Sans",Helvetica, sans-serif;
		background-color: rgb(225,225,235);
		color: #669;
		}

	a 	{
		font-size: 0.65em;
		text-decoration: none;
		color: darkblue;
		}

	a:hover{
		color: darkred;
		text-decoration: underline;
		}

	#wrapper{
		width: 100%;
		height:100%;
		}

	#header {
		width: 100%;
		border-top: 1px  solid darkgray;
		border-bottom:1px  solid darkgray;
		}

	#date {
		float: right;
		margin-top: 6em;
		margin-right: 2em;
		font-size: 100%;
		}

/* Menu Styles *****************************************/

	#mainmenu {
		float: left;
		width: 100%;
		height: 3%;
		font-size: 2em ;
		border-bottom: 1px solid darkgray;
		padding-bottom: 1.5em;
		font-weight: bolder;
		}

	#mainmenu li{
		display: inline;
		padding-right: 2em;
		}

	#menuL {
		float: left;
		height: 61%;
		width: 20%;
		padding-left: 1em;
		padding-bottom: 1em;
		border: 1px solid darkgray;
		overflow: auto;
		font-weight: bold;
		}
	#menuL ul{
		list-style:none;
		margin-top: 0.7em;
		}

	#menuL li{
		list-style:none;
		font-size: 1.5em;
		line-height:1em;
		}

	#menuL .caption {
		font-size: 1.2em;
		}
	#menuProc {
		float: left;
		height: 61%;
		width: 20%;
		padding-left: 1em;
		padding-right: 1em;
		padding-bottom: 1em;
		border: 1px solid darkgray;
		overflow: auto;
		font-weight: bold;
		}
	#menuProc li{
		list-style:none;
		font-size: 1.8em;
		line-height: 2em;
		}

	.menusection{
		color:#55A;
		font-size: 1.2em;
		font-weight: bold;
		padding-top: 0.7em;
		}

/*	.menusection a{

		font-size: 1.5em;

		padding-top: 0.7em;
		}
/*this next used with gallery Thumbs******************************/
	.genre {
		font-size: 2em;
		font-weight: bold;
		border-bottom: 1px solid;
		}
/*Main Content Styles**********************************************/
#content {
	margin-top: 1em;
	margin-left: 0px;
	padding: 1em;
	height: 61%;
	width: 80%;
	color:#66a;
	overflow: auto;
	border-style: solid;
	border-width: 2px;
	border-color: rgb(205,205,215);
	}

	#content h1 {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 2em;
		font-weight: bold;
		}

	#content h2{
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 1em;
		border-bottom-style: solid;
		border-bottom-width: 1px;
		}

	#content p {
		font-family: "Open Sans","Gill Sans", Helvetica, sans-serif;
		font-size: 1.3em;
		}

	#content p .red {
		color: red;
		}

	#content li{
		padding-top: 0.5em;
		margin-left: 2em;
		}

	#content li .red {
		color: red;
		}

	#content a {
		font-size: 1em;
	}

	#content .centredImage img {
		display: block;
		margin-left: auto;
		margin-right: auto;
		text-align:center;
		}


	#clear {
		clear: both;
		}

	#quoteofday {
		padding-top: 1em;
		padding-left: 5em;
		padding-bottom: 1em;
		padding-right: 5em;
		color:#88A;
		font-size: 1.3em;
		font-style: oblique;
		font-weight: bold;
		margin-bottom: 0.5em;
		}
/*Footer Styles*************************************/
	#footer{
		height: 4%;
		color: #999;
		font-family: Tahoma;
		font-size: 1em;
		border-top: 1px solid darkgray;
		border-bottom: 1px solid darkgray;
		}

	#footer a{
		color: #999;
		font-family: Tahoma;
		font-size: 1em;
		padding-top:2em;
		}

	#footer ul {
		float: left;
		width:100%;
		list-style-type: none;
		padding-top:1em;
		}
	#footer li {
		display: inline;
		padding-left:2em;
		}
/*Misc Formatting styles**************************/
	.quote {
		color: #779;
		font-size: 1.5em;
		font-style: oblique;
		font-weight: bold;
		}

	.quote1 {
		color: #779;
		font-size: 1.2em;
		font-style: oblique;
		font-weight: bold;
		}

	 .italic {
		 font-style: oblique;
		 }

	.bold {
		font-weight: bold;
		}

	.emphasise {
		color: #88A;
		font-size: 1.2em;
		font-family: Tahoma;
		font-variant: small-caps;
		font-weight: bold ;
		}
/* styles for arranging images on the page ********************/

.pic {
		float: left;
		margin: 5px;
		height: 70px;
		width: 105px;
		font-size: 10px;
		}
.diptych{
	width:100%;
	height:50%;
}
	.dleft{
		width:50%;
		height: 100%;
		text-align: right;
		float:left;
		padding-right:1em;
	}
	.dright{
		width:50%;
		height: 100%;
		text-align: left;
		float: right;
		padding-left:1em;
	}
.triptych{
	width: 100%;
	height: 50%;
}

	.threepics{
		margin-left: auto;
		margin-right: auto;
	}

	.tleft,.tcentre, .tright{
		max-height: 100%;
		max-width: 100%;
		float: left;
		margin-left: 7%;
	}

	.buttonrow{
		height:4%;
		}
/*Animation Control Buttons**********************/
	.buttonleft{
		width: 13%;
		height: 10%;
		margin-left: 30.44%;
		float: left;
	}

	.buttonmiddle{
		width: 13%;
		float:left;
	}

	.buttonright{
		width: 13%;
		float: left;
	}
/*Caption Control*********************************/
	.captionright {
		font-size: 1.2em;
		float: right;
		}

	.captioncentre {
		font-size: 1.2em;
		float: left;
		padding-left: 2em;
		}

	.captionleft {
		display: block;
		height: 1.5em;
		font-size: 1.2em;
		float:left;
		}

	.captionsmall{
		font-size: 1em;
		}

/* Alsett Clearing Method - **********************/
	.clearfix:after {
		content: ".";
		display: block;
		height: 0;
		clear: both;
		visibility: hidden;
		}
	.clearfix {display: inline-block;}
		/* Hides from IE Mac \*/
		* html.clearfix {height: 1%;}
		.clearfix {display: block;}
		/* End Hack */


/******Contact form*******/
form {
    margin: 0 0 0 1em;
}

form p {
    margin: 0.2em 0.4em 0;
    font-size:1em;
}


.formbox {
margin-left: 2em;
}


label {
height:1em;
    font-size: 1.2em;
    color: #036;
    text-align:center;
    display: inline;
}

label .vert {
    font-weight: bold;
    color: #036;
    display: block;
}

.formsent {
font-weight: bold;
color: #036;
}

.warning {
font-weight: bold;
font-size: 1em;
color: rgb(175,0,0);
}

.formerrors {
	width: 20%;
	height: 61%;
	float: right;
	overflow: auto;
	background-color: rgb(225,225,235);
	padding: 1.6em;
	box-shadow: 2px 2px 8px #bbb;
	}

.formerrors .phone_only h1  {
display:none;
}

.formerrors h2 {
font-size: 1.7em;
}

.formerrors h3{
	color: darkred;
	font-size: 2em;
	padding-left: 2.3em
}

.formerrors p{
	font-size: 1.3em;
	padding: 0.3em;
}

.formerrors li{
	font-size: 1em;
	padding-left: 1.5em;
	padding-right: 1.5em;
	padding-top: 1.5em;
	padding-bottom: 0.5em;
}
/*CAPTCHA*********/
#captcha {
	width:80%;
	margin-left:1em;
	border: 2px solid darkred;
	padding-left: 1em;
}
#captchaimg {
margin: 0;
margin-top:0.5em;
border: 1px solid darkgray;
}

#captcha h2 {
	margin-top: 0.6em;
	font-size: 2em;
}

#captcha label{
	font-size: 2em;
	display: inline;
	padding-left: 1em;
}

#captcha input{
	width: 4.5em;
	display: inline;
	font-size: 2em
}

#captcha p .small{
	font-size: 0.3em;
}

.button {
	height: 2em;
	width: 10em;
    border: 1px solid darkgrey;
    background: #eef;
	font-size: 1.5em;
}

.button:hover {
    border: 1px solid darkgrey;
    background: #ccf;
	border: 1px solid black;
}

/***Success Page ****/

.mailOK {
width: 45%;
margin-left:auto;
margin-right: auto;
margin-top:20%;
height: auto;
text-align:center;
border: 1px solid darkgray;
background-color: #eee;
box-shadow:5px 5px 10px #999;
}

/* BEGIN MEDIA QUERIES    */
/*------------------------*/

@media only screen and (max-width: 800px){


#wrapperr{
overflow:visible;
}

#content{
width: 100%;
height: 100%;
float: left;
overflow:visible;
}

#header img {
height:5em;
width: 7.5em;
}

.date {
font-size: 0.9em;
float: right;
margin-top: -1.2em;
padding-right:0.5em;
}


#mainmenu ul li {
font-size: 1em;
position: relative;
background-color: #e8e8e8;
margin: 0em;
box-shadow: 0 0 0 0;
}

#content img{
max-width: 100%;
height:auto;
margin-left: auto;
margin-right:auto;
}
