/* apply a natural box layout model to all elements, but allowing components to change */
html {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #333;
}
/* Stop phone number from looking rubbish in iPhones */
a[href^=tel] {
	color: inherit;
	text-decoration: none;
}
/*ensure all text is same font */
body, .pure-g [class*="pure-u"] {
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
	font-weight: 300;
    line-height: 1.6em;
}
p {
	margin-top: 0px;
}
*, *:before, *:after {
	box-sizing: inherit;
}
/* To allow padding within divs */
.pure-g > div {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/* Ensure images will scale properly and responsively */
img {
	max-width: 100%;
	height: auto;
	display: block;
	width: auto; /* For IE8 */
}
/* Apply class to images that require text-align center */
img.centre, .centrephotos img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
h1, h2, h3, h4, h5 {
	margin-top: 0px;
}
#header {
	z-index: 200;
}
#headercontainer {
	position: relative;
	z-index: 100;
}
.homecontentcontainer {
	text-align:left; 
	padding: 0px 80px !important;
}
#topnavsticky, #navcont, .contentcontainer, #footer, #scrollingCatsCont, #homeimages, #topsocial, #copyrightbar, .testimonials, .section-title {
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding: 15px;
}
/* top bar */
#topsocial {
	padding: 0px 15px;
}
.mini-contacts, .social-icons {
	line-height: 1em;
}
.mini-contacts a:link, .mini-contacts a:visited {
	color: #fff;
	text-decoration:none;
}
#topsocialcont, #copyrightbarcont {
	background-color: #b52b46;
	color: #FFF;
}
#copyrightbar {
	font-size: 12px;
}
#topsocialcont ul {
	padding-left: 0px;
}
.mini-contacts li {
	color: #ffffff;
	display: inline-block;
	font-size: 12px;
	list-style: outside none none;
	margin-right: 30px;
}
.mini-contacts li:last-child {
	margin-right: 0px;
}
.mini-contacts .address, .mini-contacts .email, .mini-contacts .phone, .mini-contacts .brochure {
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
}
.mini-contacts .address {
	background-image: url(../images/icons/address.png);
}
.mini-contacts .email {
	background-image: url(../images/icons/email.png);
}
.mini-contacts .phone {
	background-image: url(../images/icons/phone.png);
}
.mini-contacts .brochure {
	background-image: url(../images/icons/note-with-padding.png);
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
padding: 6px 10px 6px 30px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#588b8f+32,0d3e43+100 */
background: #588b8f; /* Old browsers */
background-image: url(../images/icons/note-with-padding.png), -moz-linear-gradient(top, #588b8f 32%, #0d3e43 100%); /* FF3.6-15 */
background-image: url(../images/icons/note-with-padding.png), -webkit-linear-gradient(top, #588b8f 32%,#0d3e43 100%); /* Chrome10-25,Safari5.1-6 */
background-image: url(../images/icons/note-with-padding.png), linear-gradient(to bottom, #588b8f 32%,#0d3e43 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#588b8f', endColorstr='#0d3e43',GradientType=0 ); /* IE6-9 */
background-repeat: no-repeat;
background-position: left center;
}
#topsocialcont ul {
    padding-left: 0;
	margin: 7px 0px;
}
ul.social-icons li {
	display: inline-block;
	position: relative;
	vertical-align: top;
	overflow: hidden;
	float: right;
	margin: 1px 5px;
}
ul li {
	list-style-position: outside;
}
/* End of top bar */

/* Link transitions */
#footer a:link, #topsocial a:link, .footbox a, .owl-theme .owl-dots .owl-dot span, .footbox img {
	-o-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-khtml-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear;
	/* Stop flickering in Chrome */
	-webkit-backface-visibility: hidden;
}
.mainphoto img {
	width: 100%;
}
.floatleft {
	float:left;
	margin: 0px 20px 20px 0px;
}
.headline {
	font-weight: normal;
	font-size: 30px;
	margin-top: 0px;
}
.subheadingone {
	font-weight: normal;
	font-size: 30px;
	margin-top: 0px;
}
.subheadingtwo {
	font-weight: normal;
	font-size: 24px;
	margin-top: 0px;
}
#headertop {
	background-color: #e6e6e6;
}
#header {
}
#topnavsticky {
	padding-top: 10px;
	padding-bottom: 10px;
}
#topnavcont {
	background-color: #e6e6e6;
	border-bottom: 1px solid #FFF;
}
#navcont {
	min-height: 15px;
	padding-bottom: 0px;
	padding-top: 10px;
	padding-right: 0px;
}
#mainContent {
	padding: 15px 0px 15px 0px;
}
.fullwidthcont {
	background-color: #EFEFEF;
}
#contentleft {
	padding-right: 25px;
}
#contentright {
	padding-left: 10px;
}
.blockfeatcont {
	padding: 0px;
}
.blockfeatcontcat {
	padding: 0px;
}
.blockfeature {
	display: block;
	float: left;
	position: relative;
	margin-left: 15px;
	margin-top: -160px;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 10px;
	font-size: 28px;
	line-height: 40px;
	color: #fff;
	font-weight: bold;
}
#featuresbar {
	background-color: #444;
}
.section-title {
    overflow: hidden;
    position: relative;
}
h2.section-title {
	font-weight: 300;
	text-align:center;
	color: #fff;
	font-family: Roboto;
    font-size: 30px;
	margin-bottom: 5px;
}
h2.section-title span {
  background-color: #135e65;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}
h2.section-title:before {
  background: #fff;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
    top: 50%;
  width: 100%;
}
h2.section-title:before {
  left: 0;
}
/* Grid of pictures where the left and right must be flush to the container's sides */
.picture {
	padding-top: 10px;
	padding-bottom: 10px;
}
.boxrow {
	max-width: 1110px;
	margin-right: auto;
	margin-left: auto;
	padding: 5px;
}
.box a:link, .box a:visited {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: 700;
}
.box p {
	margin-top: 10px;
}
.boxrow .box {
	text-align: center;
	border: 15px solid #FFFFFF;
}
.boxrowpad {
	max-width: 1040px;
	margin-right: auto;
	margin-left: auto;
	padding: 0px;
}
.boxrowpad .box {
	padding: 20px 40px;
	text-align: center;
}
/* End of flush grid pics */

.contentcontainer a:link, .contentcontainer a:visited {
	color: #5e5e5e;
}
.contentcontainer a:hover {
	color: #b52b46;
}
#footercont {
	background-color: #e6e6e6;
	color: #5e5e5e;
	font-size: 16px;
}
#footer a:link, #footer a:visited {
	color: #5e5e5e;
	font-weight: 300;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
	color: #b52b46;
}
.footericons {
	text-align: right;
}
.footbox img {
	display: inline;
	padding-left: 10px;
	opacity: 0.4;
	filter: alpha(opacity=40); /* For IE8 and earlier */
}
.footbox img:hover {
	opacity: 1.0;
	filter: alpha(opacity=100); /* For IE8 and earlier */
}
.footbox ul {
	padding-left: 0px;
}
.footbox li {
	margin-left: 0px;
	padding-left: 0px;
	list-style-type: none;
	font-weight: 300;
}
.footerheading {
	font-size: 14px;
    font-weight: 500;
	color: #000;
}
a:link.btn, a:visited.btn, a:link.btn2, a:visited.btn2, input[type=submit] {
	background-color: #b52b46;
	padding: 10px;
	color: #FFFFFF;
	text-decoration: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: none;
}
a:hover.btn, a:hover.btn2 {
	background-color: #135e65;
}
a:link.btn2, a:visited.btn2 {
	padding: 2px 5px;
	font-size: 14px;
	margin-top: 15px;
}

/* Responsive Google map */
.google-maps {
	position: relative;
	padding-bottom: 75%; /* This is the aspect ratio */
	height: 0;
	overflow: hidden;
}
.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}
/* End google map */

/* Accordion */
.accordion {
	overflow: hidden;
}
.accordion-section {
	padding-bottom: 15px;
}
.accordion-section-content {
	display: none;
}
/* End of accordian styles */

/* Cookie bar */
#cookiebarcont {
	z-index: 1000;
	position: fixed;
	width: 100%;
	bottom: 0px;
}
#cookiebar {
	padding: 10px;
	background-color: #000;
	color: #FFF;
	font-size: 14px;
	text-align: center;
	position: fixed;
	bottom: 0px;
	width: 100%;
}
#cookiebar a:link, #cookiebar a:visited {
	color: #FFF;
}
.backgroundone, .backgroundtwo, .backgroundthree, .backgroundfour {
	padding-top: 30px;
	padding-bottom: 30px;
}
.backgroundone {
	background-color: #e8d66d;
	text-align: center;
	border-top: 1px solid #FFFFFF;
}
.backgroundone h2, .backgroundtwo h2, .backgroundfour h1 {
	color: #262626;
	font-size: 36px;
	font-weight: 400;
	line-height: 1.3em;
}
.backgroundone h4 {
	color: #262626;
	font-size: 18px;
	font-weight: normal;
	font-weight: 300;
}
.backgroundone h3 {
	color: #b52a45;
	font-family: "Raleway";
	font-size: 22px;
	font-weight: normal;
}
.backgroundtwo {
	background-color: #FFF;
	text-align: center;
}
.backgroundthree {
	background-color: #135e65;
	text-align: center;
}
.backgroundthree p.testimonialheading {
	color: #FFF;
	font-size: 32px;
	font-weight: normal;
}
.backgroundfour {
	background-color: #FFF;
	padding: 0px;
}
.backgroundfourbg {
	z-index: 3;
    background:rgb(255,255,255);
    background: transparent\9;
    background:rgba(255,255,255,0.6);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff,endColorstr=#99ffffff);

}
.testimonialscont {
	background-color: #135e65;
}
.backgroundfourbg:nth-child(n) {
    filter: none;
}
.backgroundfour h1 {
	margin-bottom: 0px;
	padding: 10px;
}
/* Home page video */
.homevideo {
	
	margin-top: -200px;
	position: relative;
}
video {
	width: 100%;
	max-height: 100%;
	display: block;
}
.video-overlay {
	background-repeat: repeat;
	bottom: 0;
	left: 0;
	opacity: 0.5;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	background-image: url(../images/black-medium-checks.png);
}
.homevideomessages {
	position: absolute;
	bottom: 10px;
	text-align: center;
	width: 100%;
	color: #FFF;
	font-family: "Raleway",sans-serif;
    font-size: 68px;
    font-weight: 700;
    line-height: 1.1em;
    margin-bottom: 0;
}
.homelargephoto {
	display: none;
}
span.yellow {
	color: #F8B637;
}
.homeheadings {
	font-weight: 400;
	font-family: "Raleway",sans-serif;
	font-size: 32px;
}
.homeheadingtwo {
	font-weight: 300;
	font-family: "Raleway", sans-serif;
	font-size: 38px;
	color: #000;
	text-transform: none !important;
}
h2.homeheadingsthree {
	font-weight: 300; 
	font-size: 42px; 
	line-height: 1.6em;
}
/* End of home page video */

/* Home page boxes */
.content-boxes {
	font-size: 0;
	padding: 30px 0px;
}
.content-boxes a:link, .content-boxes a:visited {
	color: #FFF;
	text-decoration: none;
	font-size:24px;
}
.content-boxes > ul {
	margin-left: 0px;
	padding-left: 0px;
}
.content-boxes > ul > li {
	position: relative;
	display: inline-block;
	overflow: hidden;
	padding: 60px 15px;
	width: 25%;
	border: 1px solid #fff;
	background-color: #b52b46;
	color: #fff;
	vertical-align: top;
	text-align: center;
}

.content-boxes h2 {
	margin-bottom: 0;
	color: #fff;
	text-transform: uppercase;
	font-weight: 300;
	line-height: 1.2em;
	font-size: 26px;
}
.content-boxes h3 {
	color: #000;
	text-transform: uppercase;
	font-size: 32px;
	font-weight: 400;
}

.content-boxes .hover-box {
	position: absolute;
	top: -100%;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #135e65;
	color: #fff;
	font-size: 14px;
	-webkit-transition: top .20s ease;
	transition: top .20s ease;
}

.content-boxes li:hover > .hover-box,
.touch .content-boxes li.active > .hover-box {
	top: 0;
}

.content-boxes .extra-content {
	position: absolute;
	left: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	bottom: -100%;
	-webkit-transition: bottom .20s ease, opacity .15s ease;
	transition: bottom .20s ease, opacity .15s ease;
}

.content-boxes li:hover > .extra-content,
.touch .content-boxes li.active > .extra-content {
	bottom: 0;
	opacity: 1;
	-webkit-transition-delay: .15s;
	transition-delay: .15s;
}

.content-boxes .extra-table {
	display: table;
	overflow: hidden;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	text-align: center;
}

.content-boxes .extra-inner {
	display: table-cell;
	padding: 0 30px;
	width: 100%;
	height: 100%;
	font-size: 14px;
	vertical-align: middle;
}
.extra-inner p {
	line-height: 1.5em;
}
/* End of home page boxes */

/* Scrolling testimonials */
.quote-text {
	color: #FFF;
	font-size: 18px;
	line-height: 1.4em;
}

.item blockquote {
	text-align: left;
	font-style: italic;
}
.item blockquote ::before {
    color: #acacac;
    content: open-quote;
  font-size: 70px;
  line-height: 32px;
  margin-right: 0.25em;
  vertical-align: -30px;
}
.item blockquote ::after {
    color: #acacac;
    content: close-quote;
  font-size: 70px;
  line-height: 32px;
    margin-right: 0.25em;
  vertical-align: -30px;
}
.videoheadline .item ::before, .videoheadline .item ::after {
	display: none;
}
.item cite {
	display: block;
	font-size: 22px !important;
	color: #fff;
	text-align: right;
}
/* End of testimonials */

/* Page side navigation */
#sidenav {
display: inline-block;
    vertical-align: middle;
}
#sidenav ul {
	padding-left: 0px;
	line-height: 1.4em;
	list-style-type:square;
}
#sidenav li {
	border-top: 1px solid #e6e6e6;
    list-style: outside none none;
    padding: 8px 0;
}
#sidenav a:link, #sidenav a:visited {
	font-weight: 300;
	text-decoration: none;
	display: block;
}
#sidenav h3 {
	color: #b52b46;
	font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}
.staffdetails h3 {
	font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
	margin-bottom: 0px;
}
.pagetext h1 {
	font-size: 54px;
    font-weight: 100;
    line-height: 1.2em;
    margin-bottom: 10;
}

.subheading {
	font-size:22px;
	color: #b52b46;
}
.videothumb {
	text-align: center;
	padding: 10px;
	line-height: 1.3em !important;
}
.videothumb img {
	margin-bottom: 5px;
}
.jcarousel h4 img {
	display: inline-block;
	vertical-align: bottom;	
	margin-right: 5px;
}
.headmasterphoto {
	float: right;
	margin: 0px 0px 15px 15px;
	font-size:14px;
	font-style:italic;
	text-align: center;
}
.headmasterphoto img {
	margin-bottom: 5px;
}
.chaplainphoto {
	max-width: 180px;
}
.photodiary {
	padding: 0px 0px 10px 0px;
	border-bottom: 1px solid #e6e6e6;
	margin-bottom: 20px;
}
.photodiarymainimage {
	margin: 10px 0px;
}
.photodiarythumb {
	display: inline;
	margin-right: 10px;
}
img.wisepay {
	opacity: 1 !important;
}
.lecternlist {
	border-bottom: 1px #e6e6e6 solid;
	padding: 10px 0px;
}
.lecternlist:last-child {
	border-bottom: none;
}
.lecternimage {
	padding: 0px 10px;
}
h3.lecternheading {
	color: #b52b46;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Styling for some tables in the CMS */
.pagetext table.generictable {
	width: 100%;
}
.pagetext table.generictable td {
	padding: 5px;
}
.pagetext table.generictable p {
	margin-bottom: 0px;
}
.pagetext table.generictable tr:first-child td {
	background-color: #efe2e4;
	font-weight: bold;
}
/* Scroller announcement box resize div and centre */ 
.announcementcont {
	position: relative;
    padding-bottom: 66.66%;
	height: 0;
}
.announcementscoller {
	width: 360px;
    height: 240px;
    background: #efefef;
    color: #333;
    text-align: center;
    max-width: 100%;
    position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 8px;
	font-size:18px;
	font-weight: bold;
	display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1em;
}

/* Press releases and Newsletters list */
.teaser {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: #ddd solid 1px;
}
.teaser img {
	padding-right: 10px;
	width: 100%;
	max-width: 200px;
}
.teaser a:link, .teaser a:visited {
	color: #b52b46;
    font-size: 18px;
    font-weight: 500;
}
/* End */

.staffdetails {
	margin-bottom: 15px;
}
.staffdetails div {
	padding-right: 10px;
}
.galleryphotodiv {
	padding: 5px;
}

.greenText {
	color: #093;
}
.redText {
	color: #F00;
}
.blueText {
	color: #009;
}
.orangeText {
	color: #F90;
}
.purpleText {
	color: #93C;
}
.yellowText {
	color: #E6E600;
}

/* Term dates table */
.termdatestable td {
	padding: 5px;
	vertical-align: top;
	color: #000;
	border:1px solid #CCC;
	border-collapse: collapse;
}
td.termstitle {
	color: #000;
}
.termsyellow {
	background-color: #EFE298;
	text-align: center
}
.termsgreen {
	background-color: #84AFB3;
	text-align: center
}
.termsred {
	background-color: #DE7287;
	text-align: center
}
.mobiletermdates {
	display: none;
}
.error {
	color: #f00;
	font-size: 13px;
	font-weight: bold;
	margin-left: 5px;
}
.pdfcover {
	text-align: center;
	padding: 0px 20px 10px 20px;
}
.pdfcover .btn {
	display:inline-block;
	margin-top: 5px;
}
a:link.brochuretext, a:visited.brochuretext {
	font-size: 20px;
	text-decoration:none;
	color: #b52b46;
}

.ofstedpartner {
	float: left;
	margin: 0px 10px 10px 0px;
}
.homeheadmasterpic {
	padding-right: 10px;
}

.textphotos {
	float: right;
	padding-left: 10px;
}
.simsimages img {
	width: 100%;
	max-width: 480px;
}
.simstable tr:nth-child(even) {
    background-color: #e6e6e6;
}
.simstable tr:nth-child(odd) {
	background-color: #F5F5F5;
}
.simstable, .simstable td {
	vertical-align: middle;
	padding: 15px;
}
.simstable p {
	margin-bottom: 0px;
}
.simstable img {
	max-width: 200px;
}