/* HOME PAGE STYLES
=================== */

html {}

body {
    height: 100%;
}

/* Structure
============ */

.container {
  height: 100%
}

.top-bar {
	position: relative;
}

/* Custom Audio
=============== */

.audioplayer {
  position: absolute;
  width: 44px;
  height: 44px;
  right: 0px;
  top: 11px;
}

#pButton{
	height: 41px;
	width: 42px;
	border: none;
}
.play{background: url(play-pause.png) left top no-repeat;}
.pause{background: url(play-pause.png) -48px top;}

.inner-container {
  width: 100%;
  max-width: 100%;
  padding-top: 0px;
  position: absolute;
  height: 100%;
  margin: 0;
  top: 0;
  }


.school-name {
  display: block;
  color: #fff;
  line-height: 1;
  text-align: center;
  position: absolute;
  bottom: 340px;
  width: 100%;
}

.school-name h1{
  font-weight: 600;
  font-style: italic;
  font-size: 11.3rem;
  text-shadow: 2px 2px 5px #000;
}

.school-name h2 {
  font-size: 3.7rem;
  font-style: italic;
  font-weight: 300;
  text-shadow: 2px 2px 5px #000;
  color: #fff;
}

.content-container {
  padding: 0;
  background: none;
  margin: 0;
  position: absolute;
  width: 96%;
  bottom: 180px;
  transform: translateX(50%);
  right: 50%;
}

footer {
  position: absolute;
  bottom: 0px;
  width: 100%;
  /* bottom: 0; */
  }

.footer-links {
  padding-top: 0;
}

/* SLIDESHOW
=============*/
.main-slideshow {
    position: relative;
    height: calc(100% - 320px);
    /* top:160px; */
    overflow: hidden;
}
/* Home Navigation
================== */
/* Copy over additional Navigation CSS from style.css if nav popups are
   different on the homepage  */

.main-nav {
}

.main-nav li {
  position: absolute;
}

.main-nav .home-btn {
  display: none;
}


.home-text {
  position: absolute;
  width: 745px;
  height: 63px;
  top: 146px;
  left: 190px;
  color: #05325E;
  line-height: 1.3;
  text-align: left;
  padding: 10px;
  border: solid 2px #084989;
  border-radius: 5px;
  background-color: #add9fe;
  overflow: hidden;
}


/* Slideshow
============ */

.slideshow-wrap {
  width: 100%;
  margin: 0 auto;
  position: absolute;
  bottom: 0px;
}

.home-slideshow{
  position: relative;
  width: 344px;
  height: 244px;
  margin: 0 auto;
  border: 2px solid #6d1818;
}



/* Noticeboard / Calendar Dates
=============================== */
.updates-area {
  position: absolute;
  width: 210px;
  height: 200px;
  color: #00305F;
  display: inline-block;
  z-index: 106;
  background: #fff;
  border: 1px solid #6d1818;
}


/* Noticeboard
============== */

.events {
  bottom: 0px;
  left: 0px;
  padding: 10px;
  overflow: scroll;
  overflow-y: scroll;
  overflow-x: hidden;
}

.menu {
  bottom: 0px;
  left: 290px;
  padding: 10px;
}

.menu a {
  font-size: 1.4rem;
}

.menu ul li.ps_nav-top-level a,
.clubs ul li.ps_nav-top-level a {
	padding-bottom: 5px;
	font-size: 2.4rem;
  display: block;
  text-align: center;
  white-space: normal;
  line-height: 1;
}

.menu ul li ul li.ps_page_link a,
.clubs ul li ul li.ps_page_link a {
 	font-size: 1.8rem;
}

.news {
  bottom: 0px;
  padding: 10px;
  right: 290px;
  overflow: scroll;
  overflow-y: scroll;
  overflow-x: hidden;
}

.clubs {
  bottom: 0px;
  padding: 10px;
  right: 0px;
  overflow: scroll;
  overflow-y: scroll;
  overflow-x: hidden;
}

.clubs li a {
  white-space: initial;
  margin-bottom: 15px;
}


/* IE Styles
============ */
/* IE 9 */
.ie9 {}

@media (max-width: 1500px) {

  /* CONTENTS
  ===========*/

  .content-container {
    height: 500px;
    bottom: -40px;
  }

   /* SLIDESHOW
  =============*/

  .slideshow-wrap {
    bottom: 40px;
  }

  /* UPDATES AREA
  ===============*/
  
  .events {
    bottom: 261px;
    left: 0px;
  }

  .menu {
    bottom: 0px;
    left: 0px;
  }

  .news {
    bottom: 261px;
    right: 0px;
  }

  .clubs {
    bottom: 0px;
    right: 0px;
  }
  
  /* FOOTER
  =========*/
  .main-footer {
  position: relative;
  top: 80px;
  }
}

@media (max-width: 1500px) {
  
  .inner-container {
    max-width: 100%;
    position: relative;
    padding-top: 160px;
    padding-bottom: 0px;
  }
  
  .main-slideshow {
    position: fixed;
    height: 100%;
    top: 0px;
  }

  .school-name {
    bottom: 510px;
  }
  
  
    
}

@media (max-width: 1141px) {
  
  .school-name h1 {
    font-size: 9rem;
  }
}

