/* Navigation */

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	text-decoration: none;
	color: #fff;
	background:#cc0000 none repeat scroll 0%;
	text-align: center;
	padding: 10px 0;
	display: none;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}


@media screen and (max-width : 640px){
	/*Make dropdown links appear inline*/
	.navigation ul {
		list-style-type:none;
		position: static;
		display: none;
		margin: 0;
		padding: 0;
	}
	/*Create vertical spacing*/
	.navigation li {
		padding: 8px 0 8px 20px;
		background:#cc0000 none repeat scroll 0%;
	}
	/*Make all menu links full width*/
	.navigation ul li a {
		width: 100%;
		color: #fff;
		text-decoration: none;
	}
	.navigation ul li:hover {
		background:#ff6666;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
	.navigation ul.subnav {
		position: relative;
		left: 0;
		display:block;
	}
	.navigation ul.subnav li {
		background: none;
		margin-top: 5px;
	}
	.navigation ul.subnav li a.hide {
		display:block;
	}
	
#sthoverbuttons {
	display: none !important;
}

.finalpic {
	display:none;
}

}

@media screen and (min-width : 641px){

.navigation {
	list-style:none;
	background:#cc0000 none repeat scroll 0%;
	display: -webkit-box;
	border-bottom: 4px solid #ddd;
	overflow: hidden;
	margin-bottom: 0 !important;
}

.navigation ul {
	margin: 0 auto;
	padding: 0;
}

.navigation ul#menu {
	width: 1000px;
}

.navigation li {
	display: block;
	float: left;
	font-size: 16px;
	margin: 0;	
	margin-left: -1px;
	position: relative;
}

.navigation a {		
	color: #fff;
	text-decoration: none;
	padding-top: 9px;
	padding-bottom: 12px;
	padding-left: 26px;
	padding-right: 26px;
	display: block;
}

.navigation a:hover {
	text-decoration: none;
}

.navigation li:hover a { /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background: #ff6666;
}

}


/* Brand head */

.headcontact h4 {
	-webkit-margin-before: 0;
}

.headcontact p {
	line-height: 0.5rem;
	position: relative;
	bottom: 2px;
}

.headcontact .headborder {
	border-left: 2px solid #336699;
	padding-left: 20px;
}

.homelogo {
	text-align: center;
	margin: 35px 0 45px 0 !important;
}

.logocentre {
	margin: 35px 0;
}



/* Homepage styles */

.videobox {
	background: #333;
	height: 340px;
}

.signupbox {
	padding-top: 5px !important;
}

.bettlogo {
	text-align: center;
	padding-bottom: 20px;
}

.blog-homep img {
	width: 100%;
}



/* Page styles */

a {
	color: #cc0000;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.featurebox p {
	color: #eee;
}

.featurebox a {
	color: #fff;
}

p {
	color: #555;
	line-height: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
	color: #3399cc;
	-webkit-margin-before: 0;
}

h1 {
	line-height: 2.6rem;
	margin-top:0;
	border-bottom: 1px solid #ccc;
	padding-bottom: 30px;
}

h2 {
	line-height: 2.2rem;
}

h1, h2 {
	font-weight: 300;
}

h3, h4 {
	font-weight: 400;
	line-height: 1.8rem;
}

.tighter {
	margin-bottom: 0;
}

.tighttop {
	margin-top: 0;
}

.featurebox {
	background: #336699; /* Old browsers */
	background: -moz-linear-gradient(top, #336699 0%, #3993cc 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#336699), color-stop(100%,#3993cc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #336699 0%,#3993cc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #336699 0%,#3993cc 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #336699 0%,#3993cc 100%); /* IE10+ */
	background: linear-gradient(to bottom, #336699 0%,#3993cc 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#336699', endColorstr='#3993cc',GradientType=0 ); /* IE6-9 */
	overflow: hidden;
}

.featurehead {
	color: #fff;
}

.tophead {
	-webkit-margin-before: 0;
}

.posthead {
	-webkit-margin-after: 0;
}

.centred {
	text-align: center;
}

.breakline {
	border-top: 1px solid #ccc;
}

.redline {
	border-top: 3px solid #cc0000;
}

.nomargin {
	margin-bottom: 0 !important;
}

.lightertext {
	color: #aaa;
}

.rhc-image {
	margin-bottom: 20px;
}

p.postdate {
	-webkit-margin-before: 0;
	font-size: 14px;
	line-height: 32px;
}

p.footnote {
	font-size: 14px;
	padding-top: 20px;
	border-top: 1px solid #ccc;
}

.columns ul {
	list-style-image: url('/img/bullet.gif');
	padding-left: 20px;
}

.columns ul li, .columns ol li {
	line-height: 1.5rem;
	margin-bottom: 10px;
	padding-left: 10px;
}

ul.sublist {
	list-style: initial;
}

ul.sublist li {
	margin-bottom: 0;
	margin-top: 5px;
}

figcaption {
	margin-top: 10px;
}



/* Carousel */

span#prev {
	cursor: pointer;
	position: absolute;
	z-index: 1000;
	bottom: 20px;
	float: left;
}

span#next {
	cursor: pointer;
	position: absolute;
	z-index: 1000;
	bottom: 20px;
	right: 20px;
	float: right;
}

.aboutslides {
	min-height: 400px;
}

.cpdhead {
	color: white;
	float: left;
	margin-right: 3% !important;
}

.cpdslides .cpdquotes {
	float:left !important;
}

.cpdslides blockquote:before, .cpdslides blockquote:after {
	color: white;
}

.cpdslides blockquote {
	margin-top: 0;
}

#custom-caption {
	color: white;
	position: absolute;
	right: 15px;
}



/* Quote */

blockquote {
  quotes: "\201C""\201D";
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
}

blockquote:before {
  color: #3399cc;
  font-family: Arial, sans-serif;
  content: "\201C";
  font-size: 7em;
  line-height: 0.1em;
  position: relative;
  left: -50px;
  top: 50px;
  display:block;
}

blockquote:after {
  color: #3399cc;
  font-family: Arial, sans-serif;
  content: "\201D";
  font-size: 7em;
  line-height: 0.1em;
  display: block;
  position: relative;
  float: right;
  right: -40px;
  bottom: -30px;
}

blockquote p {
  display: inline;
  font-size: 1.3rem;
  line-height: 1.8rem;
}

.centredquote {
	max-width: 600px;
}

blockquote.aboutquotes:before, blockquote.aboutquotes:after {
	color: white;
}

.voices blockquote {
	max-width: 80%;
	margin-left: 10%;
}

.voiceswide blockquote {
	width: 90%;
	margin-left: 5%;
}

.voices img {
	margin: 15px;
}

.voices {
	line-height: 1.5rem;
}

.voices h3 {
	margin-top: 1.2rem;
}

p.researchquote {
	margin-left: 20px;
}

.aboutquotes {
	color: white;
	max-width: 400px;
	margin-top: 5px;
}



/* Blog pages */

.blogentry {
}

.blogentryline {
	padding-top: 20px;
	margin-top: 40px;
	padding-bottom: 40px;
	margin-bottom: 20px;	
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
}

.entrylist {
	margin-bottom: 8px;
}

.blogdate {
	margin-bottom: 8px;
}

ul.tagslist li {
	margin-bottom: 2px;
}

.blogrhc {
	margin-bottom: 20px;
}


/* Tables */

tr {
	margin-bottom: 10px;
	vertical-align: top;
	line-height: 1.4rem;
}

th {
	border: 1px solid #ccc;
	padding: 10px;
	background-color:#3399cc;
	color: white;
}

td {
	border: 1px solid #ccc;
	padding: 10px;
}

table.programme {
}

table.programme td {
	width: 33.3333%;
	font-size: 14px;
	line-height: 1.2rem;
}

table.factfile {
	color: white;
	margin-bottom: 20px;
}

table.factfile td {
	border:0;
	padding: 5px;
	font-size: 14px;
}

table.factfile td.a {
	width: 60%;
}

table.factfile td.b {
	width: 40%;
}

.centring {
	text-align: center;
	color: #3a9e3a;
}

.smallhead {
	font-size: 90%;
}



/* Contact page */

.contact-field {
	width: 100%;
	border: 1px solid #ccc;
	padding: 5px;
}

.contact-field-line {
	width: 100%;
	padding: 5px;
}


/* Footer styles */

.footer {
	background: #3399cc;
	padding-bottom: 20px;
}

.footer p {
	color: #fff;
}

.footer a {
	color: #fff;
	text-decoration: underline;
}


/* Aweber styles */

.privacyPolicy{font-size:12px; float: right; padding-top: 20px !important;}
.af-body .af-textWrap{text-align:left;}
.af-body input.image{border:none!important;}
.af-body input.submit,.af-body input.image,.af-form .af-element input.button{float:none!important;}
.af-body input.text{width:100%;float:none;padding:5px!important;}
.af-body.af-standards input.submit{padding:4px 12px;}
.af-clear{clear:both;}
.af-element label{text-align:left;display:block;float:left;margin-bottom:5px;}
.af-element{padding:5px 0;}
.af-form-wrapper{text-indent:0;}
.af-form{text-align:left;margin:auto;}
.af-header,.af-footer{margin-bottom:0;margin-top:0;padding:10px;}
.af-quirksMode .af-element{padding-left:0!important;padding-right:0!important;}
.lbl-right .af-element label{text-align:right;}
.headcontact{margin:0;}
.buttonContainer {display:flex;}
.buttonContainer input {background-color:#fb6d6d;color:white;padding:5px 10px;border:none;}
.privacyPolicy {margin-left:10px;}
