html {
  font-size: 62.5%;
  background-color: #fff;
}

.container {
  position: relative;
}

.top-bar {
  position: absolute;
  height: 287px;
  width: 100%;
  top: 0;
  left: 0;
  border-top: 6px solid #d13b3c;
  background: #7B1B1B;
  background: -moz-linear-gradient(top, rgba(123, 27, 27, 1) 0%, rgba(123, 27, 27, 0.99) 1%, rgba(255, 255, 255, 0.01) 100%);
  background: -webkit-linear-gradient(top, rgba(123, 27, 27, 1) 0%, rgba(123, 27, 27, 0.99) 1%, rgba(255, 255, 255, 0.01) 100%);
  background: linear-gradient(to bottom, rgba(123, 27, 27, 1) 0%, rgba(123, 27, 27, 0.99) 1%, rgba(255, 255, 255, 0.01) 100%);
  z-index: 200;
}

.inner-container {
  width: 100%;
  max-width: 100%;
  background: linear-gradient(to left, #fff 82.6%, #f0f0f0 17.4%);
}

.main-header {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  padding: 99px 0 0 152px;
}


/* Scrolling Banner */

.scrolling-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
  color: #fff;
  background: rgba(35, 35, 35, 0.7);
  cursor: default;
  font-size: 2.5rem;
  z-index: 500;
}


/* House Points heading */

.responsive-heading {
  display: none;
}


/* School Name
==============*/

.school-name {
  font-size: 5rem;
  text-shadow: 1px 1px 9px rgba(0, 0, 0, 0.7);
}

.school-name span {
  font-size: 1.8rem;
  text-shadow: none;
}

.home-link {
  position: absolute;
  top: 64px;
  left: 31px;
}

.content-container {
  position: relative;
  min-height: 360px;
  display: inline-block;
  width: 720px;
  margin-left: 170px;
  padding-bottom: 50px;
}

.login-link a {
  position: absolute;
  top: 4px;
  right: 10px;
  z-index: 101;
  padding: 3px 5px;
  border-radius: 2px;
  line-height: 1.8;
  text-align: right;
  background-color: #e86105;
}

.login-responsive {
  display: none;
}

.page-title {
  font-size: 2vw;
  padding: 2vw 0 0 0;
}

footer {
  position: relative;
  height: 134px;
  background: #eaeaea;
  box-sizing: border-box;
  padding: 16px 50px 60px 50px;
}


/* Google Maps
==============*/

.g-map-wrap {
  position: absolute;
  bottom: 60px;
  right: 50%;
  -webkit-transform: translateX(50%);
  transform: translateX(50%);
  background: #9e2828;
  height: 210px;
  border: 10px solid #fff;
  border-bottom: none;
  width: 28vw;
  z-index: 10;
}

.g-map-wrap::before,
.g-map-wrap::after {
  position: absolute;
  top: -45px;
  content: '';
  display: block;
  height: 35px;
  width: 181px;
}

.g-map-wrap::before {
  background: url(g-shadow-left.png) left top no-repeat;
  left: -25px;
}

.g-map-wrap::after {
  background: url(g-shadow-right.png) left top no-repeat;
  right: -30px;
}


/* Home Text */

.home-text {
  line-height: 1.3;
  color: #fff;
  text-align: center;
}

.home-text p {
  font-size: 1.8rem;
  width: 510px;
  margin: 0 auto 10px auto;
  height: auto;
  overflow: hidden;
}


/* Updates Area
=============== */

.updates-area {
  width: 100%;
}

.updates-area ul {
  max-width: 300px;
  margin: 30px auto 20px;
}

.updates-area h2 a,
.block-heading {
  font-size: 40px;
}

.editable-text-wrap .block-heading {
  height: 41px;
  overflow: hidden;
  max-width: 404px;
  margin: 0 auto 30px;
}


/* School Address
================= */

.school-address {
  font-size: 1.8rem;
}

.one-line {
  display: inline-block;
}

.pipe {
  margin: 0 10px;
}


/* Sub Nav
============*/

.sub-nav {
  width: 17.4%;
  height: 100%;
  text-align: center;
  box-sizing: border-box;
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 1.8rem;
}

.sub-nav-hide .sub-nav {
  display: none;
}

.sub-nav h1 {
  color: #a92e2e;
  font-weight: 700;
  display: block;
  text-align: center;
  padding: 2vw 0 1vw 0;
  font-size: 2vw;
  background: #f0f0f0;
  line-height: 1.3;
}

.sub-nav ul li {
  display: block;
}

.sub-nav ul li a {
  font-size: 1.8rem;
  font-size: 1vw;
  color: #232323;
  transition: background-color 0.2s ease;
  width: 100%;
  display: block;
  padding: 10px 0;
}

.sub-nav ul li:focus a,
.sub-nav ul li:hover a {
  background: #ffa61b;
}


/* Sub Nav Special Pages
======================== */

.sub-nav-special .sub-nav ul li a {
  display: none;
}

.sub-nav-special .sub-nav ul ul li {
  display: block;
}

.sub-nav-special .sub-nav ul ul li a {
  font-size: 2rem;
  color: #232323;
  transition: color 0.2s ease;
  width: 100%;
  display: block;
  padding: 5px 0;
}

.sub-nav-special .sub-nav ul li ul li:focus a,
.sub-nav-special .sub-nav ul li ul li:hover a {
  background: #ffa61b;
}

.sub-nav-special ul li:focus a,
.sub-nav-special ul li:hover a {
  background: none;
}

.kidszone-page .ps_page_slug_kids-zone a,
.calendar-page .ps_page_slug_calendar a,
.news-active .sub-nav .ps_page_slug_latest-news a,
.sub-nav ul .ps_selected_page a {
  background: #ffa61b!important;
  color: #232323!important;
}


/* BOTTOM BAR
=============*/

.bottom-feeds {
  background: linear-gradient(to left, #a92e2e 50%, #912222 50%);
  background: pink;
  font-size: 0;
}

.bottom-feeds > li {
  width: 33%;
  width: calc(100% / 3);
  height: 383px;
  display: inline-block;
  box-sizing: border-box;
  padding-top: 2.6vw;
}

.bottom-feeds > li:nth-child(1) {
  background: #912222;
}

.bottom-feeds > li:nth-child(2) {
  background: #9e2828;
  /* width: 34%; */
}

.bottom-feeds > li:nth-child(3) {
  background: #a92e2e;
}

/* House Points
===============*/

.house-points-trigger {
  position: absolute;
  right: 158px;
  top: 36px;
  display: block;
  width: 169px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background: rgba(52, 0, 0, 0.3);
  color: #fff;
  transition: ease 0.2s background;
  cursor: pointer;
}

.house-points-trigger.house-active {
  background: #ffb43e;
  color: #000;
}

.house-points-trigger:focus,
.house-points-trigger:hover {
  background: rgba(52, 0, 0, 1);
  color: #fff;
}

.house-points-wrap {
  position: absolute;
  right: 82px;
  top: 148px;
  width: 325px;
  height: 284px;
  background: white;
  border-radius: 20px;
  z-index: 210;
  display: none;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

.house-points-wrap::before {
  position: absolute;
  top: -40px;
  right: 50%;
  -webkit-transform: translateX(50%);
  transform: translateX(50%);
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 40px solid #fff;
}


/* House Points
=============== */

.house-points {
  text-align: center;
  box-sizing: border-box;
  padding-top: 25px;
}

.house-points-list {
  position: relative;
  text-align: center;
}


/* Slideshow
============ */

.content-wrap {
  position: relative;
  height: 52vh;
}

.full-width-slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #000;
}

.full-width-slide:before {
  content: '';
  height: 100%;
  width: 100%;
  background: rgba(35, 35, 35, 0.4);
  position: absolute;
  z-index: 2;
}


/* Navigation
============= */

.main-nav {
  position: absolute;
  top: 116px;
  right: 27px;
  z-index: 101;
  width: 1065px;
  height: auto;
  margin: 0 auto;
  outline: none;
}

.main-nav h2 {
  display: none;
}

.main-nav ul {
  padding: 0;
  margin: 0;
  font-size: 0;
}

.main-nav ul li {
  position: relative;
  display: inline-block;
  width: 169px;
  cursor: pointer;
  text-align: center;
}

.main-nav ul li:not(:nth-of-type(6)) {
  margin-right: 10px;
}

.main-nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 1.8rem;
  box-sizing: border-box;
  padding: 12px 0 9px 0;
  background: rgba(52, 0, 0, 0.3);
  transition: ease 0.2s background;
}

.main-nav ul li a::before {
  display: block;
  font-size: 2.6rem;
  color: #ffa61b;
  line-height: 1;
  margin-bottom: 4px;
}

.main-nav ul li:focus a,
.main-nav ul li:hover a {
  background: rgba(52, 0, 0, 1);
}


/* Pop Ups */


/* Styles for ALL pop-up menus added here, styles for individual menus added below */

.main-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  width: 100%;
  right: 0;
  z-index: 102;
  box-sizing: border-box;
  border-top: solid 2px #660000;
  text-align: center;
}

.main-nav ul li ul li a::before {
  display: none;
}

.main-nav ul li.ps_nav-top-level:focus ul,
.main-nav ul li.ps_nav-top-level:hover ul {
  display: block;
}

.main-nav ul li.ps_nav-top-level:focus ul ul,
.main-nav ul li.ps_nav-top-level:hover ul ul {
  display: none;
}

.main-nav li ul li {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  text-indent: 0;
  background: none;
}

.main-nav li ul li:focus,
.main-nav li ul li:hover {
  background-color: #fdd71e;
}


/* To style the links in the pop up menus
   Styles for ALL menus added here, styles for individual menus added below */

.main-nav li ul li a {
  display: block;
  width: auto;
  padding: 4px 7px;
  margin: 0;
  text-decoration: none;
  text-shadow: none;
  color: #fff;
  font-size: 1.5rem;
}


/* To style the hover effects for the links in the popup menus
   Styles for ALL menus added here, styles for individual menus added below */

.main-nav li ul li a:focus,
.main-nav li ul li a:hover {
  color: #ffa61b;
}


/* Footer Links
=============== */

.footer-links {
  position: relative;
  height: 45px;
}

.footer-links ul {
  list-style: none;
}

.footer-left li {
  display: inline-block;
  margin-right: 20px;
}

.footer-left {
  float: left;
}


/* Latest News */

.news-items {
  width: 570px;
}


/* Scroll to top button
======================= */

.scroll-top {
  border: 1px solid #dfdfdf;
  border-bottom: none;
  color: #fff;
  background-color: #a92e2e;
  z-index: 520;
  bottom: 0;
  border-radius: 0;
  margin-right: 0;
  height: 39px;
}

.scroll-top:hover {
  background: #752020;
}


/* General Styling
==================*/

.cp-google-services {
  position: absolute;
  top: 34px;
  right: 17px;
  width: 120px;
  height: 60px;
}

.cp-content-left {
  overflow: visible;
}

.cp-google-services:not(.cp-display) .cp-google-triggers {
  background: #fff;
}


/* G services triggers
====================== */


/* Code below if content appears from right,left ,top or display. */

.cp-content-right .cp-google-triggers,
.cp-content-top .cp-google-triggers,
.cp-display .cp-google-triggers,
.cp-content-left .cp-google-triggers {
  position: relative;
  font-size: 0;
  z-index: 10;
  text-align: right;
}


/* Use code below if content appears from bottom to top */

.cp-content-bottom .cp-google-triggers {
  position: relative;
  top: 70px;
  font-size: 0;
  z-index: 10;
  text-align: right;
}

.cp-google-triggers li {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
  font-size: 3.8rem;
  text-align: center;
  cursor: pointer;
  color: #ffa61b;
  vertical-align: top;
  transition: ease 0.2s background;
}

.cp-google-services.cp-text-hidden .cp-font-icon {
  line-height: 60px;
  font-family: 'Glyphter';
  font-style: normal;
  font-weight: normal;
}

.cp-google-services.cp-text-visible .cp-font-icon {
  line-height: 50px;
}

.cp-search-active li[g-data-content="cp-search"],
.cp-translate-active li[g-data-content="cp-translate"] {
  background: #ffb43e;
  color: #000;
}

.cp-google-triggers li:focus,
.cp-google-triggers li:hover {
  background: rgba(52, 0, 0, 1);
  color: #feb33e;
}

.cp-display.cp-search-active #cp-translate,
.cp-display.cp-translate-active #cp-search {
  display: none;
}


/* Icon text 
============*/

.cp-google-services.cp-text-hidden .cp-icon-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  text-indent: -100%;
  font-size: 0;
}


/* Content Blocks
================== */

.cp-google-content {
  position: absolute;
  width: 100%;
  min-width: 250px;
  background: #fff;
  transition: ease 0.2s transform;
  height: 70px;
  z-index: 120;
  border-radius: 20px;
  text-align: center;
  display: none;
}

.cp-google-content::before {
  position: absolute;
  top: -40px;
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 40px solid #fff;
}

#cp-translate::before {
  right: 18px;
}

#cp-search::before {
  right: 73px;
}


/* Use this if background behind google services is transparent */

@-webkit-keyframes cp-fade-block {
  0% {
    opacity: 0;
    display: none;
  }
  100% {
    opacity: 1;
    display: block;
  }
}

@-moz-keyframes cp-fade-block {
  0% {
    opacity: 0;
    display: none;
  }
  100% {
    opacity: 1;
    display: block;
  }
}

@keyframes cp-fade-block {
  0% {
    opacity: 0;
    display: none;
  }
  100% {
    opacity: 1;
    display: block;
  }
}

.cp-display .cp-google-content {
  top: 113px;
  opacity: 0;
  transition: ease 0.2s opacity;
}

#cp-search {
  right: -3px;
}

#cp-translate {
  right: -9px;
}

.cp-content-right.cp-search-active #cp-translate,
.cp-content-right.cp-translate-active #cp-search {
  display: none;
}

.cp-display.cp-search-active #cp-search,
.cp-display.cp-translate-active #cp-translate {
  -webkit-animation: cp-fade-block 0.2s forwards;
  -moz-animation: cp-fade-block 0.2s forwards;
  animation: cp-fade-block 0.2s forwards;
  display: flex;
}


/* Google Translate
=================== */

#google_translate_element {
  height: 35px;
  display: inline-block;
  margin: auto;
}

.goog-te-gadget-simple {
  width: 168px;
  height: 30px;
  border: 1px solid #531715!important;
  border-radius: 0;
}

.goog-te-gadget-simple span {
  display: inline-block;
  line-height: 2.4;
}

.goog-te-menu-value span:first-child {
  width: 112px;
}

.goog-te-menu-value span + img + span {
  color: #531715!important;
  border-left-color: #531715!important;
}

.goog-te-menu-value > span + img + span {
  height: 21px;
  margin-top: 5px;
  line-height: 1.8;
}

.goog-te-banner-frame {
  position: absolute!important;
  top: -40px!important;
}


/* Google Search
================ */

.google-search {
  margin: auto;
}

.google-search input[type="text"] {
  width: 146px;
  height: 25px;
  padding: 4px 6px!important;
  border: 1px solid #531715!important;
  font-size: 1.4rem;
  line-height: 1.8;
  vertical-align: middle;
  border-radius: 0!important;
}

.google-search input[type="submit"] {
  width: 52px;
  height: 35px;
  font-size: 1.2rem;
  text-align: center;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: #531715;
  padding: 0;
  vertical-align: middle;
  transition: ease 0.2s background;
}

.google-search input:focus[type="submit"],
.google-search input:hover[type="submit"] {
  background: #d48a16;
  color: #000;
}

@media (max-width: 1950px) {
  
  .school-name {
    font-size: 4rem;
  }
  
}

@media (max-width: 1235px) {
  
  .home-link {
    width: 90px;
    height: 125px;
    background-size: 100%;
  }
  
  .main-header {
    padding: 10px 0 0 110px;
  }
  
}

@media (max-width: 1816px) {
  
  .school-name span {
    font-size: 1.6rem;
  }
  
  .main-header {
    padding: 10px 0 0 152px;
  }
  
  .home-link {
    top: 0;
    left: 22px;
  }
  
}

@media (max-width: 1610px) {
  
  .home-text p {
    width: 350px;
    height: 207px;
  }
  
  .school-address {
    font-size: 1.6rem;
  }
  
}

@media (max-width: 1500px) {
  
  .house-points-wrap {
    right: 113px;
    width: 250px;
    height: 200px;
  }
  
  .house-points-list li span {
    line-height: 35px;
  }
  
  .house-points-list li span:last-child {
    height:35px;
    margin-left: 10px;
    width: 38px;
  }
  
  .house-points-list li {
    width: 211px;
    height: 35px;
    margin-bottom: 5px;
    font-size: 1.6rem;
  }
  
}

@media (max-width: 1445px) {
  
  .footer-links {
    font-size: 1.3rem;
  }
  
  footer {
    padding: 16px 25px 60px 25px;
  }
  
}

@media (max-width: 1330px) {
  
  footer {
    padding: 10px 25px 60px 25px;
  }
  
  .school-address {
    width: 330px;
    margin: 0 auto;
  }
  
  .pipe {
    display: none;
  }
  
  .footer-links {
    color: #232323;
    font-size: 1.2rem;
  }
  
  .footer-links ul {
    width: 250px;
  }
  
}

@media (max-width:1280px) {
  
  .editable-text-wrap .block-heading {
    height: 30px;
    max-width: 302px;
    font-size: 3rem;
  }
  
}

@media (max-width: 1200px) {
  
  .inner-container {
    background: linear-gradient(to left, #fff 80%, #f0f0f0 20%);
  }
  
  body {
    font-size: 1.6rem;
  }
  
  .sub-nav {
    width: 20%;
  }
  
  .sub-nav h1 {
    padding: 25px 0 15px 0;
    font-size: 2.6rem;
  }
  
  .sub-nav ul li a {
    font-size: 1.6rem;
  }
  
  .content-container {
    margin-left: 30px;
  }
  
  .page-title {
    font-size: 2.6rem;
    padding: 25px 0 0 0;
  }
  
  .breadcrumbs {
    font-size: 1.6rem;
  }
  
}

@media (max-width: 1180px) {
  
  .updates-area h2 a,
  .block-heading {
    font-size: 3rem;
  }
  
  .bottom-feeds > li:nth-child(3) .block-heading {
    height: 32px;
  }
  
  .home-text p {
    font-size: 1.6rem;
    width: 260px;
    margin: 0 auto;
    height: 202px;
    overflow: hidden;
  }
  
  .updates-area ul {
    max-width: 270px;
  }
  
}

@media (max-width: 1135px) {
  
  .main-nav ul li {
    width: 150px;
  }
  
  .main-nav {
    right: 0;
    width: 100%;
    text-align: center;
  }
  
}

@media (max-width: 1065px) {
  
  .main-header {
    padding: 20px 0 0 98px;
  }
  
  .school-name {
    font-size: 3.8rem;
  }
  
}