/* Page Structure
================= */
.inner-container {
  width: 100%;
  max-width:  100%;
  background: none;
  padding-bottom: 0;
}

.main-header {
  margin: 0;
}

.content-container {
  padding: 0;
  background: none;
  margin: 0 auto;
}

.content-container:: after {
  display: none;
}

.footer-links {
  padding-top: 0;
}


/* Home Navigation
================== */
/* Copy over additional Navigation CSS from style.css if nav popups are
   different on the homepage  */

.main-nav li {
  position: absolute;
}

.main-nav .home-btn {
  display: none;
}

/* Home Text */
.welcome-wrap {
  position: absolute;
  height: 402px;
  left: 50px;
  top: 61px;
}

.welcome-wrap h2 {
  font-size: 4.8rem;
  text-shadow: 0px 0px 8px #000;
  font-weight:  normal;
  font-family: 'Questrial', sans-serif;
}

.welcome-wrap h1 {
  font-size: 6rem;
  text-shadow: 0px 0px 8px #000;
  line-height: 1;
  margin-bottom: 19px;
  font-weight: normal;
  font-family: 'Questrial', sans-serif;
}

.welcome-wrap h3 {  
  font-size: 3rem;  
  text-shadow: 0px 0px 8px #000;
}

.home-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 885px;
  height: 182px;
  overflow: hidden;
  font-size: 3rem;
  line-height: 1.2;
  text-align: left;
  color: #fff;
  text-shadow: 0px 0px 4px #000;
}

/* Slideshow
============ */

.home-slideshow {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.home-slideshow::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.1);
  z-index: 2;
}


/* Content Bar
===============*/

.content-bar {
  display: block;
  position: fixed;
  width: 100%;
  height:  100px;
  bottom: 80px;
  background: rgba(13,38,115,0.7);
  z-index: 1;
}

.cp-revealing-content {
  position: relative;
  margin: 0 auto;
  display: block;
  text-align: center;
  height: 100%;
  font-size: 0;
}

.cp-content-trigers {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.cp-content-wrap {
  position: relative;
  display: inline-block;
  height: 100%;
  width: 215px;
}

.cp-content-trigger {
  height: 100%;
  width: 100%;
  font-size: 1.7rem;
  box-sizing: border-box;
  padding: 13px 0 0 0;
}

.cp-font-icon {
  margin-bottom: 5px;
  display: block;
  line-height: 1;
}

.cp-screen-reader {
  display: block;
  font-family: 'Questrial', sans-serif;
  font-size: 2.2rem;
}

.cp-content-wrap .cp-content-block {
  position: absolute;
  bottom: 100px;
  left: -215px;
  width: 645px;
  height: 150px;
}

.cp-content-wrap:nth-child(7) .cp-content-block {
  right: 0;
  left: auto;
}


/* Awards */

.cp-content-wrap:nth-child(1) .cp-content-block {  
  height: 150px;  
  width: 870px;  
  left: 0;
}

.cp-awards-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0 auto;
}  

.cp-awards-move {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  background: url(awards.png) center no-repeat #fff
}

/* Updates Area
=============== */

.updates-area {
  position: absolute;
  width: 100%;
  height: 100%;
  color: #004d0d;
}

.updates-area li a::before {
  content: '';
  display: block;
  margin: 22px auto 5px auto;
  width: 50px;
  height: 40px;
  font-size: 4.4rem;
  color: #091c54;
}

.read-more a {
  position: absolute;
  top: 117px;
  width: 100%;
}


.cp-content-wrap:nth-child(2) .cp-content-block,
.cp-content-wrap:nth-child(3) .cp-content-block,
.cp-content-wrap:nth-child(4) .cp-content-block  {
  height: 150px;
  width: 645px;
  left: -215px;
}

.latest-news li a::before {
  content: '\0046';
}

.newsletters li a::before {
  content: '\0048';
}

.calendar-dates li a::before {
  content: '\0043';
}
.noticeboard {
  top: 0;
  left: 0;
}

/* House Points
=============== */

.house-points,
.attendance {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 0;
}

.house-points-list,
.attendance-list {
  position: relative;
  text-align: center;
  height: 100%;
}

.house-points-list li,
.attendance-list li {
    width: 25%;
    top: 50%;
    -website-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* Attendance
==============*/

.cp-content-wrap:nth-child(6) .cp-content-block {  
  width: 400px;  
  left: -100px;
}

.attendance-list li {
  width: 50%;
}

/* Content Links
=================*/

.content-link {
  display: block;
  position: absolute;
  width: 52px;
  height: 50px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 20px;
  z-index: 5;
}

.twitter-link {
  left: auto;
  right: 20px;
}

@media (max-width: 1670px) {
  .cp-content-wrap {
    width: 150px;
  }

  .cp-screen-reader {
    font-size: 1.65rem;
  }

  .cp-content-wrap .cp-content-block {    
    left: -150px;    
    width: 450px;
  }

  .cp-content-wrap:nth-child(2) .cp-content-block,
  .cp-content-wrap:nth-child(3) .cp-content-block,
  .cp-content-wrap:nth-child(4) .cp-content-block  {
    height: 150px;
    width: 450px;
    left: -150px;
  }

  .cp-content-wrap:nth-child(6) .cp-content-block {   
    width: 340px;    
    left: -100px;
  }

  .updates-area li {
    width: 140px;
  }

  .ps_activity_compact-date, .ps_date {
    font-size: 1.2rem;
  }
}

@media (max-width: 1215px) {
  .cp-content-wrap {
    width: 136px;
  }

  .cp-screen-reader {
    font-size: 1.4rem;
  }

  .cp-content-wrap .cp-content-block {
    left: -162px;
  }

  .cp-content-wrap:nth-child(1) .cp-content-block {    
    width: 812px;
  }

  .cp-content-wrap:nth-child(2) .cp-content-block,
  .cp-content-wrap:nth-child(3) .cp-content-block,
  .cp-content-wrap:nth-child(4) .cp-content-block  {
    left: -165px;
  }

  .cp-content-wrap:nth-child(6) .cp-content-block {    
    left: -100px;
  }
  
  .scrolling-banner {
    bottom: 50px;
  }

  footer {
    height: 50px;
  }
}

@media (max-height: 875px) {
  .welcome-wrap {   
    top: 10px;    
    height: 289px;
  }

  .welcome-wrap h2 {
    font-size: 4rem;
  }

  .welcome-wrap h1 {
    font-size: 5rem;
    margin-bottom: 10px;
  }

  .welcome-wrap h3 {
    font-size: 2.4rem;
  }

  .home-text {
    font-size: 2.4rem;
    height: 114px;
  }
}

@media (max-height: 660px) {

  .welcome-wrap {
    top: 0;
    height: 214px;
  }
  
  .welcome-wrap h2 {
    font-size: 3.4rem;
  }

  .welcome-wrap h1 {
    font-size: 4rem;
    margin-bottom: 10px;
  }

  .welcome-wrap h3 {
    font-size: 2rem;
  }

  .home-text {
    font-size: 1.8rem;
    height: 63px;
  }  
}