/* SITE CORE STYLES
=================== */
html {
  font-size: 62.5%;
  background-color: #fff; /* Please have a colour or image - background on html needed for javascript */
}

body {height: 100%;}

.login-hide {
  display: none!important;
}

/* Website Struture
=================== */

.top-bar {
  position: fixed;
  height: 160px;
  background: #fff;
  width: 100%;
  border-bottom: 3px solid #6d1818;
  z-index: 107;
}

.container {
  position: relative;
  /* height: 100%; */
  min-height: 100%;
  /* padding-bottom: 200px; */
}

.school-name {
  display: none;
}

.inner-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 200px;
  padding-top: 260px;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

/* Home link within the header */
.home-link {
  width: 192px;
  height: 140px;
  left: 10px;
  top: 0px;
  background: url(logo.jpg) center top no-repeat;
  display: inline-block;
  opacity: 1;
  transition: ease-all 0.5s;
}

.home-link:focus,
.home-link:hover {
  opacity: 0.8;
  transition: ease-all 0.5s;
}

/* Awards Links
============= */

.awards-links {
  position: absolute;
  width: calc(100% - 225px);
  top: 70px;
  height: 73px;
  right: 0;
  text-align: right;
}

.awards-links li {
  width: 8%;
  height: 71px;
  display: inline-block;
  text-align: left;
  top:0;
  position:  relative;
  float: left;
}



.graphical-links {
  position: absolute;
}


.content-container {
  position: relative;
  min-height: 475px;
  padding: 60px 127px 140px 127px;
  background: rgba(255,255,255,0.8);
  margin: 0px 20px;
  width: 980px;
  margin: 0 auto;
  /* margin-bottom: 60px; */
  box-sizing: border-box;
  /* border-bottom: 100px solid transparent; */
}

/* Slideshow
============ */
.main-slideshow {
  width: 100%;
  left: 0px;
  z-index: 0;
  position: fixed;
  height: 100%;
}

/* Log in Link
============== */
.login-link a {
  position: absolute;
  top: 4px;
  right: 10px;
  line-height: 1.8;
  text-align: right;
  padding: 3px 5px;
  border-radius: 2px;
  background-color: #E86105;
  z-index: 101;
}

.login-responsive {
  display: none;
}

/* Page Title
============= */
.page-title {
  left: -15px;
  padding: 0px 0 3px 13px;
  margin: 0 0 10px 0;
}


/* Footer
========= */
footer {
  height: 160px;
  background: #fff;
  position: absolute;
  width: 100%;
  bottom: 0;
  /* margin-top: 100px; */
}

/* Scrolling Banner
=================== */
.scrolling-banner {
  position: absolute;
  width: 100%;
  top: 0px;
  color: #6d1818;
  padding: 5px 0 2px 0;
  cursor: default;
  font-size: 1.8rem;
}

/* School Address
================= */
.school-address {
  position: absolute;
  width: 572px;
  bottom: 10px;
  left: 20px;
}

.school-address li a { /* Keep this in if there is a telephone number. On ipads/iphones telephone numbers are turned into links */
  color: #fff;
}

.school-address li a:focus,
.school-address li a:hover { /* Keep this in if there is a telephone number. On ipads/iphones telephone numbers are turned into links */
  color: #FDD71E;
}

.school-address li:nth-child(1) {
  width: 420px;
}

/* Quicklinks 
============= */

.quicklinks {
  position: absolute;
  top: 40px;
  z-index: 1;
  right: 0px;
}

.quicklinks li {
  font-size: 4rem;
  float: left;
}

.flaticon-search.active-button {
  color: #000;
}

.flaticon-google-translate.active-button {
  color: #000;
}


.flaticon-locked-padlock.active-button {
  color: #000;
}

/* Hide with CSS - reveal with jquery */

section[data-content='google-translate'],
section[data-content='search'] {
  position: absolute;
  top: 0px;
  right: 220px;
  display: none;
  z-index: 10;
  background: #6d1818;
}

section[data-content='google-translate'] {
  padding: 13px 0 10px 0;
  width: 200px;
}

section[data-content='search'] {
  padding: 12px 10px 7px 30px;
  width: 311px;
  height: 59px!important;
  box-sizing: border-box;
}

.quicklinks li {
  display: inline-block;
}

.quicklinks li a {
}

.quicklinks li:focus,
.quicklinks li:hover {
  color: #c50202;
}

.quicklinks li:nth-child(1):hover,
.quicklinks li:nth-child(2):hover,
.quicklinks li:nth-child(3):hover {
  opacity: 0.5;
}

.quicklinks li a:focus,
.quicklinks li a:hover {
  color: #c50202;
}

/* Navigation
============= */
.main-nav {
  position: absolute;
   /*  Change width for horizontal nav  */
  height: 70px;
  top: 10px;
  right: 43px;
  margin: 0 auto;
  outline: none;
  z-index: 101;
}

.main-nav h2 {
  display: none;
}

.main-nav ul {
  padding: 0;
  margin: 0;
}

.main-nav li a {
  border-bottom: 1px solid transparent;
}

.main-nav li a:focus, .main-nav li a:hover {
  border-bottom: 1px solid #6d1818;
}

.main-nav li:hover a {
  border-bottom:  1px solid #000;
}

.main-nav ul li {
  position: relative;
  display: block;
  height: 32px;
  cursor: pointer;
  float: left;
  margin: 0px 10px;
  border-bottom: 1px solid #fff;
}

.main-nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #6d1818;
  font-size: 2.2rem;
  font-weight: bold;
}

.main-nav ul li:after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: #6d1818;
  position: absolute;
  top: 4px;
  right: -10px;
}

.main-nav ul li ul li:after {
  display: none;
}
  
.main-nav ul li:nth-child(6):after {
  display:none;
}

/* Pop Ups */

/* Styles for ALL pop-up menus added here, styles for individual menus added below */
.main-nav ul li ul {
  position: absolute;
  display: none;
  top: 33px;
  left: 0px;
  text-align: center;
  
   /* Remove if navigation doesn't have a border radius */
  background-color: #fff;
  z-index: 102;
  -webkit-box-shadow: 0px 4px 5px 1px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 4px 5px 1px rgba(0,0,0,0.75);
  box-shadow: 0px 6px 5px 1px rgba(0,0,0,0.55);
}

.main-nav ul li ul,
.main-nav ul li ul li {
  width: 100%;
}

.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; /* Resets the height from the main li buttons */
  padding: 0;
  margin: 0;
  text-indent: 0;
  background: none;
}


.main-nav li ul li:focus,
.main-nav li ul li:hover {
  background-color: #6d1818; /* Applies a background colour for pop-up li's */
}

/* To specifically style each pop-up, eg individual Background, Border etc.
   DELETE IF NOT NEEDED */
.main-nav .ps_topic_slug_our-school ul {
    left: -17px;
    width: 150px;
}
.main-nav .ps_topic_slug_learning ul {
    left: -20px;
    width: 137px;
}
.main-nav .ps_topic_slug_news-and-events ul {
    left: 0px;
}
.main-nav .ps_topic_slug_information ul {
    left: -8px;
    width: 147px;
}
.main-nav .ps_topic_slug_clubs-and-activities ul {}


/* 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;
  color: #6d1818;
  font-weight: normal;
  padding: 3px 7px;
  margin: 0;
  text-decoration: none;
  text-shadow: none;
  font-size: 1.6rem;
  font-weight: 600;
  border-bottom: none!important;
}

.main-nav li ul li a:after {content: '';display: none;}

/* 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: #fff;
}


/* Policy & PrimarySite Link
============================ */
.footer-links {
  position: absolute;
  width: 324px;
  height: 47px;
  padding-top: 47px;
  margin: 0 auto;
  right: 20px;
  bottom: 10px;
  padding-bottom: 0px;
}

.footer-links ul {
  list-style: none;
}

.footer-left li {
  display: inline-block;
  margin-right: 20px;
}

.footer-left li:last-child {
  margin-right: 0px;
}

.footer-left {
  float: left;
}

.footer-left {
  float: none;
}

.text-right {
  width: 730px;
}

/* News Styles
============== */
.news-items {
  width: 575px;
}


/* Scroll To Top Button
======================= */
.scroll-top {
  color: #6d1818;
  border: 1px solid #6d1818;
  border-bottom: none;
  background-color: #fafafa;
  z-index: 1;
}

.scroll-top:hover {
  color: #c50202;
}


/* Additional Styles
==================== */

/* Google Search
================ */
.google-search {
  position: absolute;
  top: 68px;
  display: none;
}

.google-search input[type="text"] {
  width: 156px;
  height: 25px;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.8;
  padding: 4px 6px!important;
  border: 1px solid #000!important;
  vertical-align: middle;
}

.google-search input[type="submit"] {
  width: 80px;
  height: 35px;
  color: #6d1818;
  font-size: 16px;
  font-size: 1.6rem;
  text-align: center;
  border: 0;
  background: #FFFFFF;
  vertical-align: middle;
  border: 1px solid #000;
}

.google-search input:focus[type="submit"],
.google-search input:hover[type="submit"] {
  color: #000;
}


/* Google Translator */
#google_translate_element {
  margin: 0 auto;
  width: 170px;
}

.goog-te-gadget-simple {
  width: 168px;
  height: 30px;
  border: 1px solid #000!important;
  border-radius: 0px;
}

.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: #6d1818!important;
  border-left-color: #6d1818!important;
}

.goog-te-menu-value > span + img + span {
  height: 21px;
  line-height: 1.8;
  margin-top: 5px;
}

.goog-te-banner-frame {
  position: absolute!important;
  top: -40px!important;
}

/* CLASS PAGES
===============*/

.class-pages {
  width: 589px;
  top: 40px;
}

.class-pages-page .content-container {
  padding: 50px 50px 30px 344px;
  min-height: 620px;
}

.class-pages-page .page-title {
  padding-top: 80px;
}

.class-pages-page .home-text {
  position: absolute;
  width: 239px;
  height: 214px;
  top: 324px;
  left: 40px;
  line-height: 1.3;
  text-align: left;
  overflow: hidden;
}

.class-pages-page .home-text h1 {
  width: 101px;
  margin-bottom: 30px;
}

.class-pages-page footer {  
	height: 133px;
}

.class-pages-page .quicklinks {
	top: 29px;
}

.class-pages-page .class-pages {
  top: 55px;
}

.class-pages-page .school-address {
  font-size: 0.8vw;
  bottom: 0px;
}

.class-pages-page .footer-links {
  font-size: 0.7vw;
  bottom: 0px;
}

.class-page-nav {
  width: 380px;
  position: absolute;
  right: 0px;
  z-index: 1;
  list-style-type: none;
}

.class-page-nav li ul li:nth-child(3) {
  padding-right: 0px;
}


.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;
}

.class-pages-page .nursery-slideshow,
.class-pages-page .reception-slideshow,
.class-pages-page .year-1-slideshow,
.class-pages-page .year-2-slideshow,
.class-pages-page .year-3-slideshow,
.class-pages-page .year-4-slideshow,
.class-pages-page .year-5-slideshow,
.class-pages-page .year-6-slideshow {
  position: absolute;
  width: 279px;
  height: 254px;
  left: 40px;
  top: 50px;
}

/* Icon Page Styles
=================== */
.icon-box {
  padding: 0 0 40px 0;
  margin: 0 auto;
  list-style-type: none;
  overflow: hidden;
}

.icon-box li {
  display: inline; /* Fix IE Double-margin Float bug */
  font-weight: bold;
  text-align: center;
  word-wrap: break-word;
  overflow: hidden;
}

.icon-box a {
  display: block;
  background-position: left top;
  background-repeat: no-repeat;
}

/* School Menu topic page
========================= */
.school-menu {
  width: 600px;
}
.school-menu a {
  width: 150px; /* Button width minus left and right padding */
  height: 47px; /* Button height minus top and bottom padding */
  padding: 150px 0px 0px;  /* To Position plain text within the button */
  margin: 25px 15px 10px;
  background-image: url(icon.png); /* Default Icon Also Required */
}
.school-menu a:focus,
.school-menu a:hover {
  background-position: right top;
}

/* activities-the-week topic page
========================= */
.activities-the-week {
  width: 600px;
}
.activities-the-week a {
  width: 150px; /* Button width minus left and right padding */
  height: 47px; /* Button height minus top and bottom padding */
  padding: 150px 0px 0px;  /* To Position plain text within the button */
  margin: 25px 15px 10px;
  background-image: url(icon.png); /* Default Icon Also Required */
}
.activities-the-week a:focus,
.activities-the-week a:hover {
  background-position: right top;
}

/* IE STYLES
============ */
/* IE 9 */
.ie9 {}

@media (max-width: 1650px) {
  
  .awards {
    background: url(awards-1280px.jpg)center right no-repeat;
  }
  
}

@media (max-width: 1500px) {
  
  .inner-container {
    padding-bottom: 420px;
  }
  
  .main-footer {
    height: 350px;
  }
  
  .quicklinks {
    width: 440px;
    padding-top: 20px;
    position: relative;
    margin: 0 auto;
    margin-bottom: 60px;
  }
  
  .footer-links {
    position: relative;
    margin: 0 auto;
    width: 720px;
    text-align: center;
    right: 0px;
    padding-top: 10px;
  }

  .text-right {  
    text-align: center;  
    float: none;
  }

   .school-address {
    position: relative;
    margin: 0 auto;
    text-align: center;
    width: 580px;
    left: 0px;
    bottom: 0px;
   }
  
  .class-pages-page footer {
		height: 360px;
		}

  .class-pages-page .quicklinks {
    top: 40px;
  }

  .class-pages-page .class-pages {
    top: 40px;
  }

  .class-pages-page .school-address {
    font-size: 1.6rem;
  }

  .class-pages-page .footer-links {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-top: 0px;
  }
  
  section[data-content='google-translate'], 
  section[data-content='search'] {
    top: 20px;
    right: 210px;
  }
  
}

@media (max-width: 1300px) {
  
  .awards-links {
    right: 30px;
  }
  
  .home-link {
    background-size: 80%;
    top: 20px;
  }
}

@media (max-width: 1170px) {
  
  .main-nav {
  	top: 14px;
  }

  .main-nav .ps_topic_slug_our-school ul {
     width: 132px;
  }

  .main-nav .ps_topic_slug_learning ul {
    width: 117px;
  }

  .main-nav .ps_topic_slug_information ul {   
    width: 126px;
  }
  
  .main-nav ul li a {
    font-size: 1.8rem;
  }

  .main-nav ul li:after {    
    height:  20px;    
    top: 7px;
  }
}

@media (max-width: 1020px) {
  
  .main-nav ul li a {
    font-size: 1.6rem;
  }
  
    .main-nav .ps_topic_slug_our-school ul {
     width: 120px;
  }

  .main-nav .ps_topic_slug_learning ul {
    width: 107px;
  }

  .main-nav .ps_topic_slug_information ul {
    width: 112px;
  }

  .main-nav li ul li a {
    font-size: 1.4rem;
  }
}