.page-title,
.breadcrumbs,
.main-nav .home-btn {
  display: none;
}

.scrolling-banner {
  position: relative;
  display: block;
  height: 50px;
  width: 100%;
  background: #D31314;
  line-height: 50px;
  color: #fff;
  z-index: 101;
}

/* Hide the home link - Not required on the homepage */
.home-link {
  pointer-events: none;
}

/* Updates Area
=============== */
.updates-area {
}

.updates-area ul {
  list-style: none;
  list-style-position: outside;
}

.updates-area li {
  position: relative;
  text-align: center;
}

.updates-area a {
  display: block;
  line-height: 1.7;
}

.updates-area li a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ps_activity_compact-author {
  display: none;
}

.ps_activity_compact-date,
.ps_date {
  display: block;
  padding-bottom: 8px;
  line-height: 1.3;
}

.ps_event {
  position: relative;
  min-height: 1px;
  padding: 0;
  border-radius: 0;
  margin: 0;
  background: none;
  border: none;
}

/* Homepage Blocks */

.cp-block-feed,
.cp-slide-out{
  position: relative;
  width: 100%;
  height: 347px;
  overflow: hidden;
}

.cp-block-feed {
  background: #d31314;
  align-items: center;
  justify-content: center;
}

.twitter-link {
  background: #df7172;
}

.cp-block-feed:nth-child(2) .heading {
  background: #fbfbfb;
}

.cp-block-feed .heading {
  background: #fff;
  color: #d31314;
  font-weight: bold;
  font-size: 2.2rem;
  display: block;
  text-align: center;
  margin-top: 30px;
  text-transform: capitalize;
  padding: 4px 0;
}

.cp-block-feed .cp-font-icon {
  width: 79px;
  height: 79px;
  background:#fff;
  border-radius: 100%;
  font-size: 3.6rem;
  color: #d31314;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 45px auto;
}

.twitter-link .cp-font-icon {
  color: #d31314;
}

.cp-slide-out .read-more,
.cp-block-feed .read-more {
  width: 229px;
  margin: 0 auto;
}

.cp-slide-out .read-more a,
.cp-block-feed .read-more a {
  color: #d31314;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 9px 0;
  background:#fff;
  border-radius: 22px;
  display: block;
  text-align: center;
  transition: 0.2s ease opacity;
  font-family: 'Oxygen', sans-serif;
}

.cp-slide-out .read-more a:after,
.cp-block-feed .read-more a:after {
  content:'\0042';
  padding: 0 0 0 10px;
  font-size: 1.2rem;
  position: relative;
  top:1px;
}

.cp-slide-out .read-more a:focus,
.cp-slide-out .read-more a:hover,
.cp-block-feed .read-more a:focus,
.cp-block-feed .read-more a:hover {
  opacity: 0.8;
}

.cp-slide-out {
  background-size: cover!important;
}

.extended-school {
  background:url(teaching-school.jpg) #fff top center no-repeat;
}

.gallery {
  background:url(gallery.jpg) #fff top center no-repeat;
}

.teaching-school {
  
  background:url(extended-school.jpg) #fff top center no-repeat;
}

.cp-slide-out .cp-pop-out {
  background: rgba(0, 153, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.cp-slide-out .read-more a {
  color: rgba(0, 153, 0, 1);
}

.gallery .cp-pop-out {
  background: rgba(47, 1, 200, 0.85);
}

.gallery .read-more a {
  color: rgba(47, 1, 200, 1);
}

.teaching-school .cp-pop-out {
  background: rgba(218, 7, 9, 0.85);
}

.teaching-school .read-more a {
  color: rgba(218, 7, 9, 1);
}



.cp-slide-out .cp-pop-out .heading {
  font-size: 2.2rem;
  text-align: center;
  color: #fff;
  display: block;
  padding-bottom: 20px;
  font-weight: bold;
  font-family: 'Oxygen', sans-serif;
}

/* Scroll Down Arrow */
@-webkit-keyframes bounce-down {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  52% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  54% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  56% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
  58% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-moz-keyframes bounce-down {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  52% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  54% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  56% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
  58% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes bounce-down {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  52% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  54% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  56% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
  58% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

video { 
    width: 100%; 
    height: auto; 
}

.img-wrap { 
  left: 0; 
  width: 100%; 
  height: 100%; 
}

@media (min-width: 981px) {

  .cp-top {
    
top: 80px;
  }

  .header-contact {
    
top: 149px;
  }

  .container {
    font-size: 0;
  }

  /* Slideshow
  ============ */

  .img-wrap {
    height: calc(100vh - 267px);
    overflow: hidden;
} 

  .home-full-width-slideshow {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
  }

  /* Arrow
  ========*/
  .cp-arrow {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 50px;
    text-align: center;
    z-index: 3;
  }
  
  .cp-arrow .cp-arr-wrap {
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    box-sizing: border-box;
    text-align: center;
    -moz-animation: bounce-down 10s infinite;
    -webkit-animation: bounce-down 10s infinite;
    animation: bounce-down 10s infinite;
    transition: ease 0.2s border-color;
  }
  
  .cp-arrow .cp-arr-wrap .cp-font-icon {
    display: inline-block;
    font-family: 'Glyphter';
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 50px;
    font-size: 2.4rem;
    color: #fff;
    transition: ease 0.2s color;
    border-radius:  100%;
    border: 2px solid #fff;
    background: #d31314;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    transition: ease 0.2s background;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.4); 
  }

  .cp-arrow:focus .cp-arr-wrap .cp-font-icon,
  .cp-arrow:hover .cp-arr-wrap .cp-font-icon {
    background: #000;
  }
  
  .cp-arrow .cp-anchor-point {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .content-container {
    padding: 0;
    min-height:0;
  }

  /* Home Blocks */
  .cp-block-feed,
  .cp-slide-out{
    width: 33.33%;
    display: inline-block;
  }
  
  .cp-slide-out .cp-pop-out {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 60px;
    overflow:hidden;
    transition: ease 0.2s height;
  }
  
  .cp-slide-out .cp-pop-out:focus,
  .cp-slide-out .cp-pop-out:hover {
    height: 100%;
    top:auto;
    bottom: 0;
  }
  
  .cp-slide-out .cp-pop-out .heading {
    padding:0;
  }

  .cp-slide-out .cp-pop-out .heading:before {
    content:'\0043';
    color:#fff;
    display: block;
    line-height:0.5;
    font-size: 1.2rem;
    opacity:1;
    transition: ease 0.2s opacity;
  }
  
  .cp-slide-out .cp-pop-out .read-more {
    opacity:0;
    transition: ease 0.2s opacity;
    height:0;
  }
  
  .cp-slide-out .cp-pop-out:focus .heading,
  .cp-slide-out .cp-pop-out:hover .heading {
    padding-bottom: 20px;
  }
  
  .cp-slide-out .cp-pop-out:focus .read-more,
  .cp-slide-out .cp-pop-out:hover .read-more {
    opacity: 1;
    height: auto;
  }

  .cp-slide-out .cp-pop-out:focus .heading:before,
  .cp-slide-out .cp-pop-out:hover .heading:before{
    opacity:0;
  }

  /* Video Controls 

  =================*/ 

  .video-controls {
    position: absolute;
    z-index: 15;
    right: 30px;
    bottom: 30px;
  } 

  .video-controls .v-control {
    cursor: pointer;
    display: none;
    color: #fff;
    transition: ease 0.2s opacity;
    user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
  }

  .video-controls .v-control p {
    font-size: 1.6rem;
    font-weight:  bold;
    font-family: 'Oxygen', sans-serif;
  }

  .video-controls .v-play.v-btn-visible, 
  .video-controls .v-pause.v-btn-visible {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  
  .video-controls .v-btn-visible .cp-font-icon {
    width: auto;
    height: auto;
  }

  .video-controls {
    display: flex;
    flex-direction: row;
    padding: 0 10px;
    background: #d31314;
    width: 110px;
    height: 44px;
    border-radius:  22px;
    box-shadow: 1px 1px 0.97px 0.03px rgba(0, 0, 0, 0.25);
    border: 1px solid #55217a;
    box-sizing: border-box;
  } 

  .video-controls .cp-font-icon {
    margin-left: 10px;
    font-size: 1.2rem;
    text-align: center;
  }
}

@media (max-width: 980px) {

  .container {
    display: flex;
    flex-direction: column;
  }

  .top-bar {
   order: 1;
  }

  .contact-trigger {
   order: 2;
  }

  .get-in-touch {
   order : 3;
  }

  .img-wrap {
   order: 7;
  }

  .calendar-link {
   order: 4;
  }

  .twitter-link {
   order: 5;
  }

  .contact-link {
   order: 6;
  }

  .extended-school {
   order: 8; 
  }

  .gallery {
   order: 9;
  }

  .teaching-school {
   order: 10;
  }

  .main-footer {
   order: 11;
  }

  .cp-awards-wrap {
   order: 12;
  }

  .main-header {
    
padding-top: 50px;
  }

  /* Slideshow */
  .img-wrap {
    display: block;
  }

  .content-container {
    padding: 0;
  }

  .cp-block-feed .cp-font-icon {
    margin: 20px auto;
    width: 60px;
    height: 60px;
    font-size: 3rem;
  }

  .cp-block-feed {
    height: 244px;
  }

  .cp-block-feed .heading {
    font-size: 2rem;
  }

  .cp-slide-out {
    height: 150px;
  }

  .cp-slide-out .cp-pop-out .heading {
    font-size: 2rem;
  }

  video { 
    width: 100%!important; 
    height: auto!important; 
    background: #000; 
    background-size: cover; 
  }

}

@media(max-width: 640px) {
  
  .main-header {
    padding-top: 30px;
  }

}