/* SITE CORE STYLES
=================== */
html {
  font-size: 62.5%;
  background-color: #55a863; 
}
body {
  color: #000;
  background:#56a75a url(bodybg.jpg) center top repeat-x;
}
/* Website Struture
=================== */
.container {
  background: url(container.jpg) center top no-repeat;
}
.inner-container {
  width: 980px;
  max-width: 980px;
  margin: 0 auto;
  background: url(slither.jpg) center top repeat-y;
}
.main-header {
  position: relative;
  height: 222px;
  background: url(header.jpg) center top no-repeat;
}
/* Home link within the header */
.home-link {
  width: 140px;
  height: 140px;
  left: 17px;
  top: 20px;
}
.content-container {
  position: relative;
  min-height: 360px;
  padding: 0 40px 20px 210px;
  background: url(watermark.jpg) center top no-repeat;
  position:relative;
  top:-17px;
}
/* Log in Link
============== */
.login-link a {
  position: absolute;
  top: 44px;
  right: 7px;
  line-height: 1.8;
  text-align: right;
  padding: 0px 2px;
  border-radius: 2px;
  background-color: #f8933c;
  z-index: 101;
}
.login-responsive {
  display: none;
}
.login-link a:focus,
.login-link a:hover{
  color:#00ab89;
}
/* Page Title
============= */
.page-title {
  width: 755px;
  left: -15px;
  padding: 0 0 3px 13px;
  margin: 0 0 10px 0;
  font-size:22px;
  font-size:2.2rem;
}
/* Footer
========= */
footer {
  height: 253px;
  background: url(footer.jpg) center bottom no-repeat;
  position:relative;
  top:40px;
}
/* Navigation
============= */
.main-nav {
  position: absolute;
  width: 150px; /*  Change width for horizontal nav  */
  height: auto;
  top: 179px;
  left: 9px;
  margin: 0 auto;
  outline: none;
  z-index: 101;
}
.main-nav h2 {
  display: none;
}
.main-nav ul {
  padding: 0;
  margin: 0;
}
.main-nav ul li {
  position: relative;
  display: block;
  width: 156px;  /* Width of image/button */
  height: 52px;  /* Height of image/button */
  text-indent: -9999px;
  background: url(nav.png) left top no-repeat; /* An image sprite with all navigation buttons in */
  cursor: pointer;
  float: left;
}
.main-nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-shadow: 2px 2px 1px #000; /* Remove text-shadow if not required */
}
/* Change the background position to show the correct image for each navigation button within the sprite */
.main-nav .home-btn { background-position: -4px -2px; z-index: 200; }
.main-nav .ps_topic_slug_about-us { background-position: -4px -54px; z-index: 199; }
.main-nav .ps_topic_slug_key-information { background-position: -4px -106px; z-index: 198; }
.main-nav .ps_topic_slug_parents { background-position: -4px -158px; z-index: 197; }
.main-nav .ps_topic_slug_children { background-position: -4px -210px; z-index: 196; }
.main-nav .ps_topic_slug_news { background-position: -4px -262px; z-index: 195; }
.main-nav .home-btn:focus, .main-nav .home-btn:hover { background-position: -160px -2px;}
.main-nav .ps_topic_slug_about-us:focus, .main-nav .ps_topic_slug_about-us:hover { background-position: -160px -54px;}
.main-nav .ps_topic_slug_key-information:focus, .main-nav .ps_topic_slug_key-information:hover { background-position: -160px -106px; }
.main-nav .ps_topic_slug_parents:focus, .main-nav .ps_topic_slug_parents:hover { background-position: -160px -158px;}
.main-nav .ps_topic_slug_children:focus, .main-nav .ps_topic_slug_children:hover { background-position: -160px -210px;}
.main-nav .ps_topic_slug_news:focus, .main-nav .ps_topic_slug_news:hover { background-position: -160px -262px;}
/* 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: 0;
  left: 157px;
  text-align: center;
  border: solid 2px #fff;
  border-radius: 5px; /* Remove if navigation doesn't have a border radius */
  background-color: #B10505;
  z-index: 102;
}
.main-nav ul li ul,
.main-nav ul li ul li {
  width: 150px;
}
.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:first-child { /* Remove if navigation doesn't have a border radius */
  border-radius: 2px 2px 0 0; /* Applies a border radius to first li in pop-up */
}
.main-nav li ul li:last-child { /* Remove if navigation doesn't have a border radius */
  border-radius: 0 0 2px 2px; /* Applies a border radius to last li in pop-up */
}
.main-nav li ul li:focus,
.main-nav li ul li:hover {
  background-color: #FDD71E; /* Applies a background colour for pop-up li's */
}
.main-nav li ul li:only-child:focus,
.main-nav li ul li:only-child:hover { /* Remove if navigation doesn't have a border radius */
  border-radius: 2px; /* Applies a border radius on focus/hover if it is the only item in the pop-up */
}
/* To specifically style each pop-up, eg individual Background, Border etc.
   DELETE IF NOT NEEDED */
.main-nav .ps_topic_slug_about-us ul {  border-color: grey;}
.main-nav .ps_topic_slug_key-information ul {  border-color: grey;}
.main-nav .ps_topic_slug_parents ul {  border-color: grey;}
.main-nav .ps_topic_slug_children ul {  border-color: grey;}
.main-nav .ps_topic_slug_news ul {  border-color: grey;}
/* 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: #666666;
  font-weight: bold;
  padding: 3px 7px;
  margin: 0;
  text-decoration: none;
  text-shadow: none;
}
/* To specifically style links for each menu, eg individual background, text colour etc.
   DELETE IF NOT NEEDED */
.main-nav .ps_topic_slug_about-us ul li a {background:#fc8bbc;}
.main-nav .ps_topic_slug_key-information ul li a {background:#94dcff;}
.main-nav .ps_topic_slug_parents ul li a {background:#fedf47;}
.main-nav .ps_topic_slug_children ul li a {background:#a1cec5;}
.main-nav .ps_topic_slug_news ul li a {background:#ffa369;}
/* 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: relative;
  width: 970px;
  height: 45px;
  color: #fff;
  padding-top: 202px;
  margin: 0 auto;
  font-size: 13px;
  font-size: 1.3rem;
}
.footer-links ul {
  list-style: none;
}
.footer-left li {
  display: inline-block;
  margin-right: 20px;
}
.footer-links a {
  color: #fff;
  font-size: 13px;
  font-size: 1.3rem;
}
.footer-links a:focus,
.footer-links a:hover {
  color: red;
}
.footer-left {
  float: left;
}
/* News Styles
============== */
.news-items {
  width: 580px;
}
/* Icon Pages Styles
==================== */
.icon-box {
  position: relative;
}
.icon-box li {
  position: relative;
}
.icon-box a {
  position: relative;
}
/* Class Pages Styles
===================== */
.classpages {
  width: 720px;
}
/* Curriculum Pages Styles
========================== */
.curriculum {
  width: 720px;
}
/* Clubs Pages Styles
===================== */
.clubs {
  width: 720px;
}
/* House Pages Styles
===================== */
.houses {
  width: 720px;
}
/* Kids' Zone Styles
-==================== */
.kidszone {
  width: 720px;
}
.kidszone ul {
  position: relative;
  margin: 0 auto;
}
.kidszone li {
  float: left;
}
.kidszone a {
  width: 150px;
  height: 30px;
  padding: 0;
  margin: 25px 15px 10px;
  padding: 155px 0px 0px;
}
.kidszone a:focus,
.kidszone a:hover {
  background-position: -151px top;
}
/* Kids' Zone Buttons
===================== */
.english  { background-image: url(english.png); }
.maths    { background-image: url(maths.png); }
.science  { background-image: url(science.png); }
.history  { background-image: url(history.png); }
.games    { background-image: url(games.png); }
.ks1links { background-image: url(ks1links.png); }
.ks2links { background-image: url(ks2links.png); }
.brain    { background-image: url(brainbuilders.png); }
.kidszone .games:hover{ background-image: url(games.png);   background-position: -150px top; }
.kidszone .ks1links:hover{ background-image: url(ks1links.png);   background-position: -150px 1px; }
.kidszone .brain:hover{ background-image: url(brainbuilders.png);   background-position: -150px top; }
/* For the Kidszone Iframe */
.kidszone-content {
  position: relative;
  width: 605px;
  top: 0;
  left: 0px;
  margin: 0 auto;
  border-radius: 15px;
}
.kidszone-iframe {
  border: 3px solid #00ab89;
  border-radius: 15px;
  background-color: #00ab89;
}
/* Google Search
================ */
.google-search {
  position: relative;
  top: -100px;
  left: 700px;
  display:block;
  width: 150px;
  height:100%;
}
.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-radius: 4px;
  border: 1px solid #ADD9FE!important;
  vertical-align: middle;
}
.google-search input[type="submit"] {
  width: 80px;
  height: 35px;
  color: #d1005b;
  font-size: 16px;
  font-size: 1.6rem;
  text-align: center;
  border: 0;
  border-radius: 4px;
  background: #ADD9FE;
  vertical-align: middle;
  font-weight:bold;
}
.google-search input:focus[type="submit"],
.google-search input:hover[type="submit"] {
  color: #ff7c2a;
}
/* Scroll To Top Button
======================= */
.scroll-top {
  color: #d1005b;
  border: 1px solid #d1005b;
  border-bottom: none;
  background-color: #5fc8d4;
}
.scroll-top:hover {
  color: #000;
  background:#ff7c2a;
}
/* Additional Styles
==================== */
/* Google Translator */
#google_translate_element {
  position: absolute;
  height: 26px;
  top: 5px;
  left: 806px;
}
.goog-te-gadget-simple {
  width: 168px;
  height: 30px;
  border: 1px solid #ADD9FE!important;
  border-radius: 4px;
}
.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: #ADD9FE!important;
  border-left-color: #ADD9FE!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;
}
