@charset "UTF-8";
/*Main site*/

html{
	overflow-y: scroll;
}

body {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 100%;
	background-color: white;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	margin-bottom: 5px;
	line-height: 1.35;
}

.wrapper {
	width: 100%;
	background-color: white;
}

header {
	margin-top: 0%;
	margin-right: auto;
	margin-bottom: 0%;
	margin-left: auto;
	width: 100%;
}

footer {
	margin-right: auto;
	margin-left: auto;
	width: 100%;
	background-color: #f5f5f5;
	clear: both;
	overflow: hidden;
}

.content {
	padding-right: 5%;
	padding-left: 5%;
}

.content p {
	width: 100%;	
}

.dtd{
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
}

nav ul{
	font-family: Georgia, "Times New Roman", Times, serif;
	list-style-type: none;
	padding: 0px;
	overflow: hidden;
	width: 100%;
	background-color: #f5f5f5;
	margin-top: 0px;
	
}

nav#headnav ul li{
	float: left;
	width: 25%;
	margin: 0px;
}

nav#headnav ul a:link, nav#headnav ul a:visited{
	display: block;
	width: 100%;
	font-weight: bold;
	color: black;
	text-align: center;
	text-decoration: none;
	padding-top: 4px;
	padding-right: 0px;
	padding-bottom: 4px;
	padding-left: 0px;
}

nav#headnav ul a:hover, nav#headnav ul a:active{
	background-color: black;
	color: #f5f5f5;
}


nav#footnav{
	margin-top: 0.5em;
}


nav#footnav ul{
	font-size: 0.75em;
	margin-left: 2%;
	margin-right: 2%;
}


nav#footnav ul li{
	float: left;
	width: 33%;
	margin: 0px;
	text-align: center;
	color: #888;
}

nav#footnav ul a{
	color: #888;	
	text-decoration: underline;
}

.hideSmall{
	display: none;	
}

h1, h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
}

h1{
	font-size: 1.75em;
	text-align: center;
}

h2{
	font-size: 1.375em;
}

aside h2 { 
	font-size: 1.1em; 
	margin-top: 0.5em;
}

.leftFig { float: left; }

.centredDiv {
	 margin: 0 auto;
}

.centredFig {
	margin: 0 auto;
	padding: 1px;
	overflow: auto;
}

.newline { clear: left; }

.hidden { visibility: hidden; }

.gone { display: none !important; }

.thumb {
	float: left;
	border: 1px solid #e1e1e1;
	margin-top: 5px;
	margin-right: 20px;
	margin-bottom: 5px;
	display: inline-block;
}

.figLeft, .figRight { margin-bottom: 20px; }

.lead {
	font-weight: normal;
	font-style: italic;
}

.plist {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

ol.afterp, ul.afterp {
	margin-top: 1px;
	padding-top: 0px;
}
.rightFig {
	float: right;
	margin-left: 20px;
}

a:link{color: #06C;}

a:visited{color: #144F8A;}

html:not(ios) a:hover{color: #3B89D6;}

.longLink:link, .longLink:visited, .longLink:hover {
	color: black;
	text-decoration: none;
}

.titleLink:link, .titleLink:visited, .titleLink:hover .titleLink:active{
	color: black;
	text-decoration: underline;
}

.leftFig, .rightFig {
	margin-top: 8px;
	margin-bottom: 9px;
}

.leftThumb { float: left; }

.thumbTitle {
	font-weight: bold;
	margin-bottom: 0px;
	margin-top: 3px;
	padding-top: 5px;
}
.thumbTitle ~ p{
	margin-top: 4px;
	padding-top: 0px;
	padding-bottom: 5px;
	margin-bottom: 1px;
}

.subhead {
	text-align: center;
	margin-top: 0px;
	padding-top: 0px;
}

.subheaded {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

.cleared { clear: both; }

aside {
	margin-top: 1px;
	margin-right: 2%;
	margin-left: 2%;
	padding-top: 1px;
	padding-right: 2%;
	padding-left: 2%;
	border: 1px solid #e1e1e1;
	background-color: #f5f5f5;
	overflow: auto;
}


.noTop {
	margin-top: 0px;
	padding-top: 0px;
}

aside .leftFig { margin-right: 20px; }

.warning { color: red; }

.commentPara {
	margin-bottom: 0px;
	padding-bottom: 0px;
	margin-top: 50px;
	font-style: italic;
}

.thumbDiv p {
	margin-right: 5px;
	margin-left: 5px;
}


@media all and (max-width: 599px){
	nav#headnav ul li{
		width: 100%;
		float: none;
		text-align: center;
		border-bottom: 1px solid #E1E1E1;
		padding-top: 0.35em;
		padding-bottom: 0.35em;
	}
	
	nav#headnav ul:first-child{
		border-top: 1px solid #E1E1E1;
	}
	
	nav#headnav ul a:hover, nav#headnav ul a:active{
		background-color: #f5f5f5;
		color: black;
	}
	
	.hideSmall{
		display: inline;	
	}

}

@media all and (max-width: 799px){
	
	nav#footnav ul li{
		width: 100%;
		float: none;
		text-align: center;
	}
	
	nav#footnav{
		margin-top: 0.25em;
		margin-bottom: 0.25em;
	}
	
	nav#footnav ul{
		margin-bottom: 0px;
		margin-left: 0px;
		margin-right: 0px;
	}
	
	.touch nav#footnav ul{
		line-height: 1.5em;
	}
	
	.touch nav#footnav ul{
		font-size: 0.9em;
	}
	
}

@media all and (min-width: 375px){
	.touch.ios nav#footnav ul{
		font-size: 1em;
	}
}


@media all and (min-width: 700px){
	
	h1{
		font-size: 2.25em;
		text-align: center;
	}
	
	h2{
		font-size: 1.5em;
	}
	
	.hideSmall{
		display: inline;	
	}
	
}


@media all and (min-width: 960px){

	.wrapper {
		width: 960px;
		margin-right: auto;
		margin-left: auto;
		background-color: white;
	}
	
	header {
		margin-top: 0px;
		margin-right: auto;
		margin-bottom: 0px;
		margin-left: auto;
		width: 960px;
	}
	
	footer {
		width: 960px;
		background-color: #f5f5f5;
		clear: both;
		overflow:hidden;
	}
	
	.content {
		padding-right: 20px;
		padding-left: 20px;
	}

}

@media all and (min-width: 965px){
/*	.wrapper {
		border: 1px solid #bbbbbb;
	}*/
	#cookie-bar {
		border: 1px solid black;
	}
	body.iFrameBody .wrapper {
		border: none;
	}	
}

html.no-touch #touchInstruct{
	display: none;	
}

.strike { text-decoration: line-through; }

.tooltip{pointer-events: none;}

aside p { font-size: 0.875em; }

.noBreak { white-space: nowrap; }

body.iFrameBody{
	margin: 0px;	
}

.twit{ text-decoration: none;}

/*Blog*/

.content, .titling {
	padding-right: 5%;
	padding-left: 5%;
}

@media all and (min-width: 960px){
	
	.content, .titling {
		padding-right: 20px;
		padding-left: 20px;
	}

}

.iphone select, .iphone textarea, .iphone input{
    font-size: 16px;
    background: #eee;
 }


.content p, .titling p{
	width: 100%;	
}

p.entry-meta{
	font-size: 10pt;	
}

#nav-above {
	padding: 24px 0;
	padding: 1.714285714rem 0;
}
#nav-above {
	display: none;
}
.paged #nav-above {
	display: block;
}
.nav-previous{
	float: left;
	width: 33%;
	min-height: 18px;
	height: 1.125 rem;
}
.nav-next{
	float: right;
	text-align: right;
	width: 33%;
	min-height: 18px;
	height: 1.125 rem;
}
.nav-posts{
	float: right;
	text-align: center;
	width: 34%;
	min-height: 18px;
}

#primary .nav-previous, #primary .nav-next{
	width: 49%	
}

.nav-single + .comments-area,
#comment-nav-above {
	margin: 48px 0;
	margin: 3.428571429rem 0;
}

article {
	border-bottom: 4px double #e1e1e1;
	margin-bottom: 32px;
	margin-bottom: 2rem;
}

.nav-single{
	overflow: auto;
}

/* Comment form */
#respond {
	margin-top: 48px;
	margin-top: 3.428571429rem;
}
#respond h3#reply-title {
	font-size: 16px;
	font-size: 1.142857143rem;
	line-height: 1.5;
}
#respond h3#reply-title #cancel-comment-reply-link {
	margin-left: 10px;
	margin-left: 0.714285714rem;
	font-weight: normal;
	font-size: 12px;
	font-size: 0.857142857rem;
}
#respond form {
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
#respond form p {
	margin: 11px 0;
	margin: 0.785714286rem 0;
}
#respond form p.logged-in-as {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
#respond form label {
	display: block;
	line-height: 1.714285714;
}
#respond form input[type="text"],
#respond form textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	padding: 10px;
	padding: 0.714285714rem;
	width: 100%;
}
#respond form p.form-allowed-tags {
	margin: 0;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #5e5e5e;
}
.required {
	color: red;
}

/* Buttons */
.menu-toggle,
input[type="submit"],
input[type="button"],
input[type="reset"],
article.post-password-required input[type=submit],
.bypostauthor cite span {
	padding: 6px 10px;
	padding: 0.428571429rem 0.714285714rem;
	font-size: 11px;
	font-size: 0.6875rem;
	line-height: 1.428571429;
	font-weight: normal;
	color: black;
	background-color: #e1e1e1;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f5f5f5, #e1e1e1);
	background-image: -ms-linear-gradient(top, #f5f5f5, #e1e1e1);
	background-image: -webkit-linear-gradient(top, #f5f5f5, #e1e1e1);
	background-image: -o-linear-gradient(top, #f5f5f5, #e1e1e1);
	background-image: linear-gradient(top, #f5f5f5, #e1e1e1);
	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
}
.menu-toggle,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	cursor: pointer;
}
button[disabled],
input[disabled] {
	cursor: default;
}
.menu-toggle:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
article.post-password-required input[type=submit]:hover {
	color: #5e5e5e;
	background-color: #ebebeb;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: linear-gradient(top, #f9f9f9, #ebebeb);
}
.menu-toggle:active,
.menu-toggle.toggled-on,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
	color: #757575;
	background-color: #e1e1e1;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: linear-gradient(top, #ebebeb, #e1e1e1);
	box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
	border-color: transparent;
}
.bypostauthor cite span {
	color: #fff;
	background-color: #21759b;
	background-image: none;
	border: 1px solid #1f6f93;
	border-radius: 2px;
	box-shadow: none;
	padding: 0;
}

article img{
	max-width: 100%;
	height: auto;

}

img.border{
	border: 1px solid #e1e1e1;
}

img.centre{
	display: block;
	margin-left: auto;
	margin-right: auto; 	
}

img.centre+img.centre{
	margin-top: 1em;	
}

.form-submit{text-align: right;}

#tertiary aside#text-4{
	margin-top: 1.7em;	
	margin-bottom: 1.1em;		
}

#tertiary .widget_rss_links{
	margin-bottom: 1em;
}

@media all and (min-width: 700px){
	#primary{
		width: 70%;
		float: left;
	}

	#widgetDiv{
		width: 25%;
		float: right;
		border-left: 1px solid #e1e1e1;
		padding-left: 10px;
	}
	
	#primary, #widgetDiv{
		margin-bottom: 32px;	
		margin-bottom: 2rem;	
	}
	
	#tertiary .widget_categories, #tertiary .widget_archive{
		display: none;
	}
	
}

.widget-area aside label{
	display: none;
}

@media all and (max-width: 699px){
	#primary{
		overflow: auto;	
	}
	#secondary aside{
		display: none;
	}
	
	#tertiary{
		clear: both;
		margin-top: 0px;
	}
/*	#tertiary aside:first-child{
		display: none;
	}*/
}

#secondary aside, #tertiary aside{
	background: #FFF;
	border: none;
}

#secondary aside h3, #tertiary aside h3{
	margin-bottom: 4px;
	margin-bottom: 0.25rem;
}

#secondary aside p, #secondary aside ul, #tertiary aside p, #tertiary aside ul{
	margin-top: 4px;
	margin-top: 0.25rem;
}

#secondary aside ul, #tertiary aside ul{
	margin-left: 0px;
	padding-left: 1rem;
}
	
#secondary aside li, #tertiary aside li{
	padding: 0px;
	margin: 0px;
}

h2.entry-title a:link{color: #000;}
h2.entry-title a:hover, a:hover.titleLink{text-shadow: 0 0 2px #ddd;}
h2.entry-title a:visited{color: #000;}

#cookie-bar {background:#111111; line-height:24px; color:#eeeeee; text-align:center; padding:3px 0; max-width:960px; margin-left:auto; margin-right:auto}
#cookie-bar.fixed {position:fixed; top:0; left:0; width:100%;}
#cookie-bar p {margin:0; padding:5px;}
#cookie-bar a {color:white; display:inline-block; border-radius:3px; text-decoration:none; padding:0 6px; margin-left:8px;}
#cookie-bar .cb-enable {background:#007700;}
#cookie-bar .cb-enable:hover {background:#009900;}
#cookie-bar .cb-disable {background:#990000;}
#cookie-bar .cb-disable:hover {background:#bb0000;}
#cookie-bar .cb-policy {background:#0033bb;}
#cookie-bar .cb-policy:hover {background:#0055dd;}