/* SITE CORE STYLES
=================== */

@font-face {
  font-family: "Flaticon";
  src: url("./Flaticon.eot");
  src: url("./Flaticon.eot?#iefix") format("embedded-opentype"),
       url("./Flaticon.woff") format("woff"),
       url("./Flaticon.ttf") format("truetype"),
       url("./Flaticon.svg#Flaticon") format("svg");
  font-weight: normal;
  font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: "Flaticon";
    src: url("./Flaticon.svg#Flaticon") format("svg");
  }
}

[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
  font-family: Flaticon;
  font-style: normal;
}

.flaticon-google-translate:before { content: "\f100"; }
.flaticon-high-volume:before { content: "\f101"; }
.flaticon-locked-padlock:before { content: "\f102"; }
.flaticon-search:before { content: "\f103"; }


html {}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5em;
  color: #6d1818;
}


/* Typography
 ============ */

h1,
.xxlarge {
  font-size: 2.6rem;
}

h2,
.xlarge {
  font-size: 2.2rem;
}

/* This is for block titles and the cookie info table headings */
h2,
.ps_cookie-title {
  color: #922925;
}

h3,
.large {
  font-size: 2.0rem;
}

h4,
.medium {
  font-size: 1.6rem;
}

h5,
.small {
  font-size: 1.2rem;
}

h6,
.xsmall {
  font-size: 1.1rem;
}


/* Text Highlight Colour
======================== */
/* These selection rule sets have to be separate. */

::-moz-selection {
  color: #fff;
  background-color: #982626;
}

::selection {
  color: #fff;
  background-color: #982626;
}


/* Link Colours
 ============== */

a {
  color: #6d1818;
}

a:focus,
a:hover,
a:active {
  color: #c50202;
}

/* Home link within the header */
.home-link {
  display: block;
  position: relative;
  z-index: 105;
  text-indent: -9999px;
}

/* Class Pages
==============*/
.class-pages {
  position: relative;
  margin: 0 auto;
  text-align: center;
  }

.class-pages li {
  display: inline-block;
  background: #fff;
}

.class-pages li a {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    border: 3px solid #6d1818;
    border-radius: 100%;
    background: #fff;
    padding: 0px 20px;
    background-size: 200% 200%!important;
    background-position: left bottom;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.class-pages li a:focus,
.class-pages li a:hover {
  background: #6d1818;
  background: linear-gradient(to bottom, #6d1818 50%, #fff 50%);
  color: #fff;
}

.class-pages-page .home-text {

background-color: #982626;

color: #fff;

border: 20px solid #982626;
}

.class-pages-page .home-text h1 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 300;
  border-bottom: 1px solid #fff;
}

/* CLASS PAGE NAVIGATION LINKS
==============================*/

.class-page-nav {
  z-index: 1;
  list-style-type: none;
}

.class-page-nav li a {display: none;}

.class-page-nav li ul li {
  display: inline-block;
  padding-right: 10px;
}

.class-page-nav li ul li:nth-child(3) {
  padding-right: 0px;
}

.class-page-nav li ul li a {
    display: inline-block;
    border: 2px solid #811111;
    width: 95px;
    border-radius: 100%;
    text-align: center;
    height: 70px;
    font-weight: bold;
    padding-top: 20px;
}

.class-page-nav li ul li a {
    display: block;
    font-weight: bold;
    border: 3px solid #6d1818;
    border-radius: 100%;
    background-size: 200% 200%!important;
    background-position: left bottom;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.class-page-nav li a:focus,
.class-page-nav li a:hover {
  background: #6d1818;
  background: linear-gradient(to bottom, #6d1818 50%, #fff 50%);
  color: #fff;
}

/* Quick-links
==============*/

.quicklinks {
  height: 60px;
  background: #fff;
  z-index: 1;
}

.quicklinks li {
  display: block;
  width: 62px;
  height: 60px;
  text-align: center;
  cursor: pointer;
  padding: 0 5px;
  transition: ease all 0.2s;
  color: #6d1818;
}

.ofsted {
  background: url(ofsted-link.jpg) center no-repeat;
  }

.quicklinks li.ofsted {
  width: 70px;
}

.facebook {
  background: url(facebook-link.png) center no-repeat;
  }

.twitter {
  background: url(twitter-link.png) center no-repeat;
  }

.quicklinks li {
  display: inline-block;
}

.quicklinks li a {
  color: #6d1818;
  height: 60px;
  display: block;
  width: 40px;
  margin-left: -4px;
  opacity: 1;
}


.quicklinks li:nth-child(1):hover,
.quicklinks li:nth-child(2):hover,
.quicklinks li:nth-child(3):hover {
  opacity: 0.5;
}


/* Top Navigation Bar
===================== */

.login-link a {
  color: #fff;
}

.login-link a:focus,
.login-link a:hover,
.login-link a:active {
  color: #fdd71e;
}


/* Website Struture
=================== */

.inner-container {
  position: relative;
}


/* Policy & PrimarySite Link
============================ */

.footer-links {
  padding-bottom: 5px;
  font-size: 1.4rem;
  color: #6d1818;
}

.footer-links ul {
  list-style-type: none;
}

.footer-left li {
  margin-right: 20px;
}


/* School Address
================= */

.school-address {
  color: #6d1818;
  list-style: none;
  font-size: 1.6rem;
}

.school-address-line {
  display: inline-block;
}

.school-address-phone,
.school-address-email {
  display: block;
}

/* Utility Styles
================= */

.text-right {
  float: right;
  text-align: right;
}

.text-center {
  display: block;
  text-align: center;
}

.text-bold {
  font-weight: bold;
}

.text-hide {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
}


/* Page Title
============= */

.page-title {
  position: relative;
  font-weight: bold;
  line-height: 1.3;
  color: #6d1818;
  font-size: 2.2rem;
}


/* Breadcrumbs
============== */

.breadcrumbs {
  margin: 5px 0 20px;
}

.breadcrumbs > li:before {
  color: #6d1818;
  content: '>>';
}

.breadcrumbs li a {
  /* Add a color here to override the default link colour */
}

.breadcrumbs li a:focus,
.breadcrumbs li a:hover {
  /* Add a color here to override the default link colour */
}


/* News Styles
============== */

.ps_activity-date-info {
  color: #6d1818;
}

.ps_form-search input[type="text"] {
  border-color: #6d1818;
  border-radius: 0px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.8);
  color: #6d1818;
}

.ps_form-search input[type="submit"] {
  color: #6d1818;
}

.ps_form-search input[type="submit"]:focus,
.ps_form-search input[type="submit"]:hover {
  color: #c50202;
}

.ps_icon-item h3 {
  line-height: 1;
}

/* Calendar Styles
================== */

/* Diary Detail */
.ps_event {background: rgba(255,255,255,0.8);}

.ps_calendar {
  background-color: #fff;
}

.ps_calendar-month {
  background-color: #6d1818;
}

.ps_event-title a {
  color: #6d1818;
}

.ps_event-title a:hover {
  color: #c50202;
}

.ps_event-desc {
  color: #6d1818;
}


/* Kids' Zone Styles
==================== */

.kidszone {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  list-style-type: none;
}

.kidszone ul {
  text-align: center;
}

.kidszone li {
  display: inline-block;
  position: relative;
  width: 150px;
  min-height: 150px;
  margin: 10px 10px;
  text-align: center;
  font-weight: bold;
  word-wrap: break-word;
  cursor: pointer;
}

.kidszone li:focus span,
.kidszone li:hover span {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.lt-ie10 .kidszone li:focus span,
.lt-ie10 .kidszone li:hover span {
  margin-top: -4px;
}

.kidszone a {
  display: block;
  position: relative;
  padding: 155px 0 0 0;
  font-size: 1.8rem;
  font-weight: bold;
  background-position: left top;
  background-repeat: no-repeat;
}

.kidszone span {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: url(kids-zone.png) no-repeat;
  transition: 0.3s;
  -webkit-transform: scale(0.8) rotate(0.01deg);
  transform: scale(0.8) rotate(0.01deg);
}

.kidszone .english-icon {
  background-position: left top;
}

.kidszone .maths-icon {
  background-position: -150px top;
}

.kidszone .science-icon {
  background-position: -300px top;
}

.kidszone .history-icon {
  background-position: -450px top;
}

.kidszone .games-icon {
  background-position: left bottom;
}

.kidszone .ks1links-icon {
  background-position: -150px bottom;
}

.kidszone .ks2links-icon {
  background-position: -300px bottom;
}

.kidszone .brainbuilders-icon {
  background-position: -450px bottom;
}

/* For the Kidszone Iframe */
.kidszone-content {
  position: relative;
  top: 0;
  left: 0;
  width: 605px;
  border-radius: 15px;
  margin: 0 auto;
}

.kidszone-iframe {
  border: 3px solid #0b72d9;
  border-radius: 15px;
  background-color: #0b72d9;
}


/* Button / Contact Form Styles
============================= */

.ps-contact-form-error {
  color: #b94a48;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ps_form-blocks .ps_form-btn,
.ps_prev,
.ps_next {
  box-shadow: 0px 3px 0px #972726; /* If you want to remove this style, put box-shadow: none; instead of completely removing it to override styles from the CMS */
  color: #fff;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.2);
  background: #6d1818;
}

.ps_prev:focus,
.ps_prev:hover,
.ps_next:focus,
.ps_next:hover,
.ps_form-blocks .ps_form-btn:focus,
.ps_form-blocks .ps_form-btn:hover {
  color: #fff;
  background-color: #c50202;
}


/* Cookie Notice Styles
======================= */

.cookie-corner,
.cookie-notice-header {
  background: #6d1818;
}

.cookie-icon-star {
  fill: #fff;
}

.cookie-icon-letter {
  fill: #717171;
}

.cookie-notice-header {
  border-color: #6d1818;
  color: #fff;
}


/* AWARDS
=========== */
.awards-links {
text-align:center;
}

.awards-links ul {
  display:  block;
  width: 100%;
  height:  100%;
}

.awards-links li {
  display: inline-block;
  width: 8%;
  background-size: contain;
}

.awards-links li a {
 text-indent:-9999px; 
  display:block;
  width: 100%;
  height: 100%;
}

.graphical-links:focus,
.graphical-links:hover {
  opacity: 0.5;
}

.gold-link {
  width: 72px;
  height: 72px;
  top: 0px;
  text-indent: -9999px;
  background: url(plat-link.png) center no-repeat;
}

.q-link {
  width: 71px;
  height: 71px;
  background: url(q-link.jpg) center no-repeat;
}

.arts-link {
  width: 71px;
  height: 71px;
  background: url(arts-link.jpg) center no-repeat;
}

.stars-link {
  width: 111px;
  height: 71px;

  background: url(stars-link.jpg) center no-repeat;
}

.council-link {
  width: 111px;
  height: 71px;
  background: url(council-link.jpg) center no-repeat;
}

.science-link {
  width: 111px;
  height: 71px;
  background: url(science-link.jpg) center no-repeat;
}

.sing-link {
  width: 111px;
  height: 71px;
  background: url(sing-link.jpg) center no-repeat;
}

.food-link {
  width: 111px;
  height: 71px;
  background: url(food-link.jpg) center no-repeat;
}

.sustrans-link {
  width: 111px;
  height: 71px;
  background: url(sustrans-link.jpg) center no-repeat;
}

.music-link {
  width: 81px;
  height: 71px;
  background: url(music.png) center no-repeat;
  margin: 0 10px;
}

.diversity-link {
  width: 104px;
  height: 50px;
  top: 17px;
  text-indent: -9999px;
  background: url(diversity.jpg) center no-repeat;
}

.eco-schools-link {
	height: 71px;
  width: 51px;
  background: url(eco-schools.png) center no-repeat;
}

.footer-policies {
  position: relative;
}

.footer-policies-button {
  padding: 0;
  border: none;
  font: inherit;
  background: none;
}

.footer-policies-button-link-arrow {
  width: 1rem;
  height: 1rem;
  margin-left: 0.2rem;
  fill: currentColor;
  pointer-events: none;
}

.footer-policies-list {
  display: none;
  position: absolute;
  bottom: calc(100% + 1.4rem);
  left: 0;
  /* Hopefully this will make it go underneath nav pop-ups but on top of most other things —
     including picture block slideshows. */
  z-index: 101;
  width: 23rem;
  box-sizing: border-box;
  box-shadow: hsla(0, 0%, 0%, 0.2) 0 0.1rem 0.6rem, hsla(0, 0%, 0%, 0.2) 0 0.1rem 0.4rem;
  background: #fff;
}

.footer-policies-list::before,
.footer-policies-list::after {
  display: block;
  position: absolute;
  content: '';
  top: 100%;
  width: 0;
  height: 0;
  border: solid transparent;
  border-bottom: none;
}

.footer-policies-list::before {
  left: 0.9rem;
  border-top-color: hsla(0, 0%, 0%, 0.2);
  border-width: 1.3rem;
  margin-top: 0.1rem;
}

@supports (filter: blur(0.2rem)) {
  .footer-policies-list::before {
    margin-top: 0.3rem;
    filter: blur(0.2rem);
  }
}

.footer-policies-list::after {
  left: 1rem;
  border-top-color: #fff;
  border-width: 1.2rem;
}

@media (max-width: 980px) {
  .footer-policies-list,
  .footer-policies-list::before,
  .footer-policies-list::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.footer-policies-list-item,
.footer-policies-list-item-link {
  display: block !important;
}

.footer-policies-list-item {
  margin: 0 !important;
}

.footer-policies-list-item-link {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 2rem;
  margin: 0;
  color: #000 !important;
}

.footer-policies-list-item-link:focus,
.footer-policies-list-item-link:hover {
  text-decoration: underline !important;
  color: #000 !important;
}

.accessibility-statement .statement-text,
.accessibility-statement .statement-list {
  padding-bottom: 1rem;
}

.accessibility-statement .statement-list {
  padding-left: 2rem;
  list-style: outside;
}
