@import url(https://fonts.googleapis.com/css?family=Open+Sans:100,400);@charset "UTF-8";

/**
 * Common classes
 */

.bg-primary {
  background-color: #E37222;
}

.bg-primary-dark {
  background-color: #9D5116;
}

.bg-azure {
  background-color: #0098DB;
  color: #fff;
}

.bg-silver {
  background-color: #8B8D8E;
  color: #fff;
}

.bg-white {
  background-color: #fff;
  color: #252525;
}

/**
 * Notes ESA Regular
 */

@font-face {
  font-family: ESAFont;
  src: url("/public/fonts/NotesESA/NotesEsaReg.otf");
}

/**
 * Notes ESA Bold
 */

@font-face {
  font-family: ESAFontBold;
  src: url("/public/fonts/NotesESA/NotesEsaBol.otf");
}

/**
 * TheSans Regular
 */

@font-face {
  font-family: TheSansFont;
  src: url("/public/fonts/TheSans/TheSansOsf-SemiLight.otf");
}

/**
 * TheSans Bold
 */

@font-face {
  font-family: TheSansFontBold;
  src: url("/public/fonts/TheSans/TheSansOsf-SemiBold.otf");
}

/**
 * TheSans Italic
 */

@font-face {
  font-family: TheSansFontItalic;
  src: url("/public/fonts/TheSans/TheSansOsf-SemiLightItalic.otf");
}

/**
 * OpenSans
 */

/**
 * Typography
 */

body,
p {
  font-family: TheSansFont,'Open Sans',sans-serif;
  font-size: 1.6rem;
  line-height: 30px;
}

@media (min-width: 769px) {
  body,
  p {
    font-size: 16px;
    line-height: 1.42857143;
  }
}

p {
  margin: 8px 0 8px;
}

b,
strong {
  font-family: TheSansFontBold,sans-serif;
  font-weight: 700;
}

em {
  font-family: TheSansFontItalic,sans-serif;
}

/**
 * Heading
 */

h1,
h2,
h3,
.h1,
.h2,
.h3 {
  font-family: ESAFontBold,sans-serif;
}

h1,
.h1 {
  text-transform: uppercase;
  font-size: 3.1rem;
  line-height: 1.1em;
}

@media (min-width: 769px) {
  h1,
  .h1 {
    font-size: 33px;
    line-height: 36px;
  }
}

h2,
.h2 {
  font-size: 2.4rem;
  line-height: 1.1em;
}

@media (min-width: 769px) {
  h2,
  .h2 {
    font-size: 22px;
    line-height: 22px;
  }
}

h1.section:before,
.h1.section:before,
h2.section:before,
.h2.section:before {
  content: "\2192";
  display: inline-block;
  margin-right: 15px;
}

h1.primary,
.h1.primary,
h2.primary,
.h2.primary {
  color: #E37222;
}

h1.highlighted,
.h1.highlighted,
h2.highlighted,
.h2.highlighted {
  line-height: 42px;
  background-color: #fff;
  display: inline-block;
  padding: 3px 10px;
}

h1.highlighted.primary,
.h1.highlighted.primary,
h2.highlighted.primary,
.h2.highlighted.primary {
  background-color: #E37222;
  color: #fff;
}

h2.highlighted,
.h2.highlighted {
  line-height: 26px;
}

/**
 * Links
 */

a,
.btn-link {
  color: #0098db;
  text-decoration: none;
}

a:hover,
a:focus,
a:active,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  color: #3277a6;
  text-decoration: none;
}

/**
 * Custom bootstrap components
 */

.navbar-inverse {
  background-color: #252525;
  border-color: #252525;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > li:hover {
  color: #fff;
  background-color: #9D5116;
}

.navbar-inverse .navbar-nav > li a {
  color: #fff;
  font-family: ESAFontBold,sans-serif;
}

.navbar-nav > li {
  transition: all 0.3s ease;
}

.navbar {
  margin-bottom: 0;
}

.navbar .navbar-brand {
  font-family: ESAFontBold,sans-serif;
}

body {
  color: #252525;
  background-color: #ebebeb;
  padding-top: 101px;
}

@media (min-width: 769px) {
  body {
    padding-top: 51px;
  }
}

.starter-template {
  padding: 40px 15px;
  background: #fff;
  margin: 20px 0 50px;
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
}

.starter-template p {
  text-align: justify;
}

/**
 * Header
 */

.main-header {
  border-bottom: 1px solid #9D5116;
}

.main-header .logo {
  height: 50px;
  line-height: 50px;
  text-align: center;
  padding: 0 15px;
  overflow: hidden;
  width: 100%;
  display: block;
  background-color: #9D5116;
}

@media (min-width: 769px) {
  .main-header .logo {
    float: right;
    width: 160px;
    background-color: #E37222;
  }
}

.main-header .navbar {
  border-bottom: 0;
}

@media (min-width: 769px) {
  .main-header .navbar {
    margin-right: 160px;
  }
}

.main-header .navbar-inverse {
  background-color: #E37222;
}

.main-header .navbar-inverse .navbar-brand {
  color: #fff;
}

#download-form {
  margin: 20px 0 30px;
}

/**
 * Footer
 */

.main-footer {
  width: 100%;
  background-color: #4D4F53;
  padding: 25px 0 15px;
}

.main-footer p {
  color: #fff;
}

.main-footer p.text-right {
  text-align: center;
}

@media (min-width: 769px) {
  .main-footer p.text-right {
    text-align: right;
  }
}

.main-footer p.text-left {
  text-align: center;
}

@media (min-width: 769px) {
  .main-footer p.text-left {
    text-align: left;
  }
}

.main-footer .text-muted {
  margin: 0;
  font-size: 12px;
}

.main-footer a {
  color: #fff;
  text-decoration: underline;
}

.main-footer .social-list {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  display: inline-block;
  width: auto;
  text-align: right;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .main-footer .social-list {
    margin: 20px 0 20px -12px;
    width: 100%;
    text-align: left;
  }

  .main-footer .social-list .socials-nav-item {
    margin: 0 6px;
  }
}

.main-footer .social-list .social-icon {
  display: inline-block;
  font-size: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.main-footer .social-list .social-icon.social-twitter:hover {
  color: #55ACEE;
}

.main-footer .social-list .social-icon.social-linkedin:hover {
  color: #0077B5;
}

.main-footer .text-alt {
  margin: 0 0 0 20px;
  vertical-align: top;
  display: inline-block;
  color: #fff;
  line-height: 28px;
}

.main-footer .text-copy {
  color: #fff;
  line-height: 28px;
  font-size: 12px;
  margin: 15px 0 0;
}

.main-footer .logo-serco {
  margin: 0 10px;
  height: 20px;
}

.main-footer .footer-nav {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 0;
}

.main-footer .footer-nav > li {
  margin-right: 25px;
  display: inline-block;
}

.main-footer .footer-nav > li > a {
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-family: 'ESAFontBold', sans-serif;
  transition: all 0.3s ease;
}

.main-footer .footer-nav > li > a:hover {
  color: #0098db;
}

@media (max-width: 991px) {
  .main-footer .footer-nav > li {
    margin-right: 0;
    width: 100%;
  }
}

.checkbox-inline,
.radio-inline {
  margin-right: 15px;
  font-size: 14px;
  font-style: italic;
}

.checkbox-inline + .checkbox-inline,
.radio-inline + .radio-inline {
  margin-left: 0;
}

p.bg-danger {
  padding: 5px 8px;
}

#home-slider {
  position: relative;
  margin: 0 -15px;
  height: 200px;
}

@media (min-width: 769px) {
  #home-slider {
    height: 400px;
  }
}

#home-slider .slider {
  position: relative;
  width: 100%;
  height: 100%;
}

#home-slider .slider .slider-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  max-width: 100%;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#home-slider .slider .slider-bg:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  content: '';
  background: #000;
  opacity: .25;
}

#home-slider .slider .slider-content {
  width: 96%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2%;
  right: 2%;
  z-index: 5;
  padding: 0 5.5%;
}

#home-slider .slider .slider-content .slider-text {
  color: #fff;
  text-align: center;
  margin-top: 2em;
}

@media (min-width: 769px) {
  #home-slider .slider .slider-content .slider-text {
    margin-top: 6em;
  }
}

.visualisation-tool-wrapper {
  padding: 0 20px;
  position: relative;
  margin: 40px 0;
}

@media (min-width: 767px) {
  .visualisation-tool-wrapper {
    padding: 0 40px;
  }
}

#map {
  height: 70vh;
  width: 100%;
}

.help {
  font-size: 1rem;
  position: absolute;
  top: 8.5rem;
  left: 20px;
  right: 0;
  height: auto;
  max-width: 170px;
  z-index: 10;
  background-color: rgba(32, 39, 60, 0.7);
  color: white;
  padding: 1rem;
  margin: 0px;
  border-radius: 0 4px 4px 4px;
}

.help::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  width: 0;
  height: 0;
  border-right: 1rem solid transparent;
  border-bottom: 1rem solid rgba(32, 39, 60, 0.7);
}

#map-legend {
  margin: 10px 0;
}

@media (min-width: 768px) {
  #map-legend {
    position: absolute;
    right: 50px;
    bottom: 10px;
  }
}

#info-box {
  background: #fff;
  position: absolute;
  left: 50px;
  bottom: 10px;
  padding: 5px 8px;
  font-size: 13px;
  border: 1px solid #000;
}

#info-box p {
  margin: 0;
}

.white-bg {
  background-color: #fff;
}

.fadeSlideFromBottom {
  -webkit-animation: text-from-bottom .8s 1 ease;
  animation: text-from-bottom .8s 1 ease;
  opacity: 100;
  filter: alpha(opacity=100);
}

@-webkit-keyframes text-from-bottom {
  0% {
    -webkit-transform: translate(0, 20%);
    opacity: 0;
  }

  50% {
    -webkit-transform: translate(0, 20%);
    opacity: 0;
  }

  100% {
    -webkit-transform: translate(0, 0);
    opacity: 1;
  }
}

@keyframes text-from-bottom {
  0% {
    -webkit-transform: translate(0, 20%);
            transform: translate(0, 20%);
    opacity: 0;
  }

  50% {
    -webkit-transform: translate(0, 20%);
            transform: translate(0, 20%);
    opacity: 0;
  }

  100% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
    opacity: 1;
  }
}

