html {
  font-size: 62.5%;
  background-color: #fff; /* Please have a colour or image - background on html needed for javascript */
}

body {
  background: #fff;
  height: 100%;
}

.container {
  height: 100%;
}

/* Slideshow
============ */

.fullwidth-slide {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.fullwidth-slide::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.1);
  z-index: 2;
}

.inner-container {
  width: 980px;
  max-width: 980px;
  margin: 0 auto;
  z-index: 2;
  box-sizing:border-box;
  padding-bottom:200px;
}

.content-container {
  position: relative;
  min-height: 360px;
  padding: 20px 40px;
  background: rgba(255,255,255,0.7);
}

.main-header {
  position: relative;
  height: 200px;
  z-index: 1;
  margin-bottom: 50px;
  z-index: 105;
}

/* Home link within the header */
.home-link {
  position: absolute;
  width: 190px;
  height: 100%;
}

/* General Styling
==================*/

.cp-google-services {
  position: absolute;
  min-width:250px;
  width: 250px; /* width of one button * amount of buttons */
  height: 120px; /* button height * 2 */
  right: 0;
  overflow: hidden;
  margin:0 auto;
}

.cp-content-left { /* Remove if content goes from right to left */
  overflow:visible;
}

.cp-google-services:not(.cp-display) .cp-google-triggers {
  background:#fff; /* Change this to match top bar background */  
}

/* G services triggers
====================== */

/* Code below if content appears from right,left ,top or display. */
.cp-content-top .cp-google-triggers { 
  position: relative;
  font-size: 0; 
  z-index: 10;
  text-align: right;
} 

.cp-google-triggers li {
  position:relative;
  display: inline-block;
  width: 60px;
  height: 80px;
  font-size: 2rem;
  text-align: center;
  cursor: pointer;
  color: #004d19;
  vertical-align:top;
}

.cp-google-services.cp-text-hidden .cp-font-icon {
   line-height: 80px; /* Use this if text below icons is not needed */
   font-size: 4rem;
   color: #113191;
}

.cp-search-active li[g-data-content="cp-search"],
.cp-translate-active li[g-data-content="cp-translate"] {
  background: #eee;
}

.cp-search-active li[g-data-content="cp-search"] .cp-font-icon,
.cp-translate-active li[g-data-content="cp-translate"] .cp-font-icon {
  color: #92af56!important;
}

.cp-google-triggers li:focus .cp-font-icon,
.cp-google-triggers li:hover .cp-font-icon{
  color: #92af56!important;
}

/* Icon text 
============*/

.cp-google-services.cp-text-hidden .cp-icon-text { /* Use this if text should not be visible (keep it in html for screen readers!) */
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  text-indent: -100%;
  font-size: 0;
}

/* Content Blocks
================== */

.cp-google-content {
  position: absolute;
  width: 100%;
  min-width:250px;
  background: #fff;
  transition: ease 0.2s transform;
  height: 40px;
}


/* Content boxes slide out from TOP */

.cp-content-top .cp-google-content {
  top: 0;
}

.cp-content-top.cp-search-active #cp-search,
.cp-content-top.cp-translate-active #cp-translate{
  -webkit-transform: translateY(80px);
  transform: translateY(80px);
}



/* Extra Buttons 
================= */

/* Login Link
============== */

.cp-google-triggers .login-hide {
  display:none!important;
}

.cp-google-triggers li a {
  position:absolute;
  display:block;
  top:0;
  left:0;
  height:100%;
  width:100%;
  z-index:12;
}

.cp-google-services.cp-text-hidden .login a { /* Use this if text is not needed */
  top: 0;
  left: 0;
  text-indent:-100%;
  font-size:0;
  overflow:hidden;
}

.login-link a {
  position: absolute;
  top: 4px;
  right: 10px;
  z-index: 101;
  padding: 3px 5px;
  border-radius: 2px;
  line-height: 1.8;
  text-align: right;
  background-color: #e86105;
}

.login-responsive {
  display: none;
}

.page-title {
  left: -15px;
  padding: 0 0 3px 13px;
  margin: 0 0 10px 0;
}

/* Scrolling Banner */

.scrolling-banner {
  position: fixed;
  width: 100%;
  bottom: 39px;
  background-color: #fff;
  cursor: default;
  z-index: 101;
}

/* Hit Counter
============== */

/* Make sure this is wide enough for 7 numbers */
.hit-counter {
  display: block;
  position: absolute;
  top: 0;
  left: 338px;
  height: 100%;
  line-height: 39px;
  margin: 0 auto;
  text-align: center;
}

.hit-counter-pre-text {
  margin-right: 8px;
}

.hit-counter-post-text {
  margin-left: 8px;
}

/* Delete this if hit counter is plain text */
.hit-counter-digit {
  display: inline-block;
  width: 6px;
  height: 18px;
  margin: 0;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 39px;
  background: #091c54;
  z-index: 101;
}

.nav-google-wrap {
  position: relative;
  width: 100%;
  height: 80px;
  float: right;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: #fff;
  box-sizing:  border-box;
}

/* Navigation
============= */

.main-nav {
  position: absolute;
  top: 0;
  z-index: 101;
  left: 175px;
  height: 100%;
  margin: 0 auto;
  outline: none;
}

.main-nav h2 {
  display: none;
}

.main-nav ul {
  padding: 0;
  margin: 0;
}

.main-nav ul li {
  position: relative;
  display: block;
  height: 100%;  /* Height of image/button */
  line-height: 80px;
  margin: 0 30px;
  float: left;
  
   /* An image sprite with all navigation buttons in */
  cursor: pointer;
}

.main-nav ul li::after {
  content:'';
  display: block;
  position: absolute;
  width: 100%;
  height: 0px;
  top: 59px;
  left: 0px;
  background: #113191;
  transition: ease 0.2s height;
}

.main-nav ul li:hover::after {
  height: 4px;
}

.main-nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 2.8rem;
  line-height: 80px;
  text-align: center;
  color: #113191;
  transition: ease 0.2s color;
}

.main-nav ul li:focus a,
.main-nav ul li:hover a {
  color: #e28200;
}


/* Change the background position to show the correct image for each navigation
   button within the sprite */

.main-nav .home-btn {}
.main-nav ul li:nth-last-child(3) {
    margin-right: 0;
}

/* Pop Ups */

/* Styles for ALL pop-up menus added here, styles for individual menus added below */
.main-nav ul li ul {
  display: none;
  position: absolute;
  top: 80px;
  right: 50%;
  -webkit-transform: translate(50%);
  transform: translate(50%);
  z-index: 102;
  text-align: center;
  background-color: #fff;
}

.main-nav ul li ul,
.main-nav ul li ul li {
  width: 240px;
}

.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 ul li ul li::before,
.main-nav ul li ul li::after {
  display: none;
}

.main-nav li ul li:focus,
.main-nav li ul li:hover {
  background-color: #113191; /* Applies a background colour for pop-up li's */
}

/* 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;
  padding: 5px 7px;
  margin: 0;
  font-size: 2rem;
  font-weight: normal;
  text-align: left;
  line-height: 1.6;
  text-decoration: none;
  text-shadow: none;
  color: #113191!important;
  transition: ease color;
}


/* 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!important;
}

/* Footer Links
=============== */

.footer-links {
  position: relative;
  width: calc(100% - 20px);
  height: 100%;
  line-height: 39px;
  margin: 0 auto;
}

.psa-foot {
  line-height: 37px;
}

.footer-links ul {
  list-style: none;
}

.footer-left li {
  display: inline-block;
  margin-right: 20px;
}

.footer-left {
  float: left;
}

.text-right li {
  display: inline-block;
}

.text-right li:nth-child(1) {
  margin-right: 10px;
}

/* Latest News */

.news-items {
  width: 750px;
}

/* Scroll to top button
======================= */

.scroll-top {
  border: 1px solid #004d0d;
  border-right: none;
  color: #004d0d;
  background-color: #fafafa;
  bottom: 90px;
  margin-right: 0;
  border-radius: 5px 0px 0px 5px;
}

.scroll-top:hover {
  color: #b3c77c;
}

 /* Google Search */
  .google-search-widget {
    width: 241px;
    top: 4px;
  }

  /* Google Translate */
  #google_translate_element {
    position: absolute;
    height: 34px;
    border-radius: 15px;
    top: 4px;
  }

  .goog-te-gadget-simple {
    width: 240px;
    height: 29px;
    border: 1px solid #fff!important;
    border-radius: 10px;
    position: relative;
    z-index: 2;
  }

  .goog-te-gadget-simple span {
    display: inline-block;
    line-height: 34px;
    margin-top: -1px;
  }

  .goog-te-menu-value span:first-child {
    width: 180px;
    background: #fff;
    border-radius: 0 10px 10px 0;
    position: relative;
  }

  .goog-te-menu-value span + img + span {
    color: #fff!important;
    border-left-color: #010282!important;
    width: 18px;
    margin-left: -21px!important;
    border-radius: 10px;
  }

  .goog-te-menu-value > span + img + span {
    height: 22px;
    line-height: 34px;
    margin-top: -1px;
    font-size: 1.4rem;
    background: #010282;
    padding: 1px 10px 11px 6px;
    margin-left: -5px;
  }

  .goog-te-banner-frame {
    position: absolute!important;
    top: -40px!important;
  }


@media (max-width: 1830px) {
  .main-nav {
    left: 155px;
  }

  .main-nav ul li {
    margin: 0px 25px;
  }

  .main-nav ul li::before {    
    right: -49px;
  }
}

@media (max-width: 1480px) {
  .main-nav {
    left: 151px;
  }

  .main-nav ul li a {
    font-size: 2.2rem;
  }

  .main-nav ul li ul {
    left: 0;
    transform: none;
  }

  .main-nav ul li ul, .main-nav ul li ul li {
    width: 200px;
  }

  .main-nav ul li ul li a {
    font-size: 2rem;
  }
  
  .cp-google-triggers li {
    width: 40px;
  }

  .cp-google-services.cp-text-hidden .cp-font-icon {
    font-size: 2.4rem;
  }
}

@media (max-width: 1240px) {

  .main-header {
    height: 158px;
  }
  
  .home-link {
    width: 150px;
    background-size: contain;
  }
  
  .nav-google-wrap {
    width: 100%;
  }

  .main-nav {
    left: 152px;
  }

  .main-nav .ps_topic_slug_about-us {
    margin-left: 0;
  }

  .main-nav ul li {
    margin: 0 10px;
  }

  .main-nav ul li::before {
    right: -24px;
    background-size: contain;
    width: 20px;
    height: 20px;
  }

  .main-nav ul li a {
    font-size: 1.9rem;
  }
}

@media (max-width: 1180px) {

  .scroll-top {
    bottom: 100px;
  }

  .scrolling-banner {
    bottom: 50px;
  }

  footer {
    height: 50px;
  }
  
  .text-right li {
    display: block;
    line-height: 1.3;
  }

  .text-right li:nth-child(1) {
    margin-right: 0;
    margin-top: 11px;
  }

  .psa-foot {
    line-height: 1.3
  }
}