/* SITE CORE STYLES
=================== */
html {
  font-size: 62.5%;
  background-color: #00a14b; /* Please have a colour or image - background on html needed for javascript */
}

body {
  background: #39b54a url(slither.jpg) center top repeat-y;
}


/* Website Struture
=================== */
.outer-container {
  background: url(bodybg.jpg) center top repeat-x;
}

.container {
  background: url(container.jpg) center top no-repeat;
}

.inner-container {
  width: 980px;
  max-width: 980px;
  margin: 0 auto;
  background: url(slither-inner.png) center top repeat-y;
}

.main-header {
  position: relative;
  height: 285px;
  background: url(header.jpg) center top no-repeat;
}

/* Home link within the header */
.home-link {
  width: 675px;
  height: 30px;
  left: 220px;
  top: 70px;
}

.content-container {
  position: relative;
  min-height: 360px;
  padding: 0 120px 5px 230px;
  background: url(watermark.jpg) center top no-repeat;
}


/* Log in Link
============== */
.login-link a {
  position: absolute;
  top: 4px;
  right: 10px;
  line-height: 1.8;
  text-align: right;
  padding: 3px 5px;
  z-index: 101;
}

.login-responsive {
  display: none;
}


/* Footer
========= */
.footer-container {
  background: url(footer-tile.png) center top repeat-x;
}

footer {
  height: 230px;
  width: 980px;
  margin: 0 auto;
  position: relative;
  background: url(footer.png) center top no-repeat;
}


/* Navigation
============= */
.main-nav {
  position: absolute;
  width: 187px; /*  Change width for horizontal nav  */
  height: auto;
  top: 264px;
  left: 23px;
  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: 187px;  /* Width of image/button */
  height: 51px;  /* 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;
  margin-bottom: 10px;
  float: left;
}

.main-nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Change the background position to show the correct image for each navigation button within the sprite */
.main-nav .home-btn { background-position: 0 0; z-index: 200; }
.main-nav .ps_topic_slug_about-us { background-position: 0 -61px; z-index: 199; }
.main-nav .ps_topic_slug_parents { background-position: 0 -122px; z-index: 198; }
.main-nav .ps_topic_slug_children { background-position: 0 -183px; margin-bottom: 9px; z-index: 197; }
.main-nav .ps_topic_slug_community { background-position: 0 -243px; z-index: 196; }


.main-nav .home-btn:focus, .main-nav .home-btn:hover { background-position: right top; }
.main-nav .ps_topic_slug_about-us:focus, .main-nav .ps_topic_slug_about-us:hover { background-position: right -61px; }
.main-nav .ps_topic_slug_parents:focus, .main-nav .ps_topic_slug_parents:hover { background-position: right -122px; }
.main-nav .ps_topic_slug_children:focus, .main-nav .ps_topic_slug_children:hover { background-position: right -183px; }
.main-nav .ps_topic_slug_community:focus, .main-nav .ps_topic_slug_community:hover { background-position: right -243px; }



/* 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: 170px;
  text-align: center;
  border: solid 2px #000066;
  border-radius: 5px; /* Remove if navigation doesn't have a border radius */
  background-color: #283890;
  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: #ffffff; /* 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 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: #ffffff;
  font-weight: bold;
  padding: 3px 7px;
  margin: 0;
  text-decoration: none;
  text-shadow: 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: #000066;
}


/* Policy & PrimarySite Link
============================ */
.footer-links {
  position: relative;
  width: 970px;
  height: 45px;
  top: 230px;
  margin: 0 auto;
}

.footer-links ul {
  list-style: none;
}

.footer-left li {
  display: inline-block;
  margin-right: 20px;
}

.footer-left {
  float: left;
}


/* News Styles
============== */
.news-items {
  width: 480px;
}


/* Icon Pages Styles
==================== */
.icon-box {
  position: relative;
}

.icon-box li {
  position: relative;
}

.icon-box a {
  position: relative;
}


/* Kids' Zone Styles
-==================== */
.kidszone {
  width: 600px;
}

.kidszone ul {
  position: relative;
  margin: 0 auto;
}

.kidszone li {
  float: left;
}

.kidszone a {
  width: 170px;
  height: 198px;
  padding: 0;
  text-indent: -9999px;
}


/* Kids' Zone Buttons
===================== */
.kidszone .english  { background-image: url(english.png); }
.kidszone .maths    { background-image: url(maths.png); }
.kidszone .science  { background-image: url(science.png); }
.kidszone .history  { background-image: url(history.png); }
.kidszone .games    { background-image: url(games.png); }
.kidszone .ks1links { background-image: url(ks1links.png); }
.kidszone .ks2links { background-image: url(ks2links.png); }
.kidszone .brain    { background-image: url(brainbuilders.png); }

/* 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 #5bc4e8;
  border-radius: 15px;
  background-color: #5bc4e8;
}


/* Scroll To Top Button
======================= */
.scroll-top {
  color: #000099;
  border: 1px solid #000099;
  border-bottom: none;
  background-color: #afe0e5;
}

.scroll-top:hover {
  background-color: #000099;
  color: #ffffff;
}


/* IE STYLES
============ */

/* IE 8 */
.ie8 {}

/* IE 9 */
.ie9 {}

/* IE */
.ie {}
