html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

a:hover,
a:focus {
  text-decoration: none;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

h1 {
  margin: auto;
  font-size: 2.2em;
  padding: 20px 0;
  max-width: 700px;
}

@media (max-width: 550px) {
  h1 {
    font-size: 1.7em;
  }
}
h2 {
  margin: auto;
  font-size: 1.3em;
  max-width: 700px;
  line-height: 1.3em;
  padding-bottom: 1.2em;
}

@media (max-width: 550px) {
  h2 {
    font-size: 1.0em;
  }
}
/* ===== Custom Styles =====================================
    Author: Louis Dickinson - louis.dickinson@audacia.co.uk
   ========================================================= */
body {
  font: 16px/26px 'Open Sans', Helvetica, Helvetica Neue, Arial;
}

.site-canvas {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

/* ===================
    Navigation
   =================== */
.header-container {
  position: relative;
  margin: auto;
  z-index: 9999999999;
}

header {
  position: relative;
  margin: 40px auto;
  width: 90%;
  max-width: 1100px;
}

@media (max-width: 460px) {
  header {
    margin: 20px auto;
  }
}
.social-links {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
}

@media (max-width: 1024px) {
  .social-links {
    display: none;
  }
}
.social-links a {
  margin-top: 3px;
  margin-left: 10px;
  color: #111;
  width: 40px;
  line-height: 40px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  display: block;
  float: left;
}

.social-links a:hover {
  background: #6ab2f0;
  color: #fff;
}

.logo-img {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  width: 200px;
}

@media (max-width: 730px) {
  .logo-img {
    position: relative;
    margin: auto;
    max-width: 100%;
    display: block;
  }
}
@media (max-width: 460px) {
  .logo-img {
    margin: 0;
    max-width: 190px;
  }
}
nav ul {
  font-size: 0.9em;
  font-weight: 700;
  text-align: center;
  padding: 0;
}

@media (max-width: 1024px) {
  nav ul {
    float: right;
  }
}
@media (max-width: 730px) {
  nav ul {
    float: none;
  }
}
@media (max-width: 790px) {
  nav ul {
    font-size: 0.8em;
  }
}
@media (max-width: 460px) {
  nav ul {
    display: none;
  }
}
nav ul li {
  position: relative;
  margin: 5px 0 2px 5px;
  display: inline-block;
}

nav ul li.current:after {
  position: absolute;
  margin: auto;
  top: 35px;
  left: 8px;
  right: 8px;
  border-bottom: 2px solid #2870ad;
  content: '';
}

nav ul li a {
  line-height: 40px;
  padding: 0 10px;
  color: #111;
  text-decoration: none;
  display: block;
}

nav ul li.current a {
  color: #2870ad;
}

/* ===================
    Mobile Navigation
   =================== */
.burger-menu {
  position: absolute;
  top: -5px;
  right: 0;
  width: 50px;
  height: 50px;
  line-height: 90px;
  float: right;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  display: none;
}

@media (max-width: 460px) {
  .burger-menu {
    display: block;
  }
}
.burger-menu .line {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  height: 2px;
  background: #111;
  -webkit-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.burger-menu .line:first-of-type {
  top: -20px;
}

.burger-menu .line:last-of-type {
  top: 20px;
}

.burger-menu.active .close-line {
  opacity: 0;
}

.burger-menu.active .line:first-of-type {
  top: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.burger-menu.active .line:last-of-type {
  top: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.mobile-nav {
  position: relative;
  width: 100%;
  background: #fff;
  overflow: hidden;
  display: none;
}

.mobile-nav ul {
  padding: 0;
  width: 100%;
  font-size: 1em;
  list-style: none;
  overflow: hidden;
}

.mobile-nav ul li {
  padding: 0;
  clear: both;
}

.mobile-nav ul li a {
  color: #111;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  display: block;
}

.mobile-nav ul li.current a {
  background: #6ab2f0;
  color: #fff;
}

.mobile-nav .social-links {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  clear: both;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mobile-nav .social-links a {
  margin: 10px 5px;
  padding: 0;
  width: 40px;
  line-height: 40px;
  float: none;
  display: inline-block;
}

/* ===================
    Hero Image Banner
   =================== */
.hero {
  position: relative;
  padding: 110px 0;
  background-image: url(https://images.unsplash.com/photo-1453847668862-487637052f8a?dpr=1&auto=format&fit=crop&w=1500&h=994&q=80&cs=tinysrgb&crop=);
  /*   background-image:url('https://images.unsplash.com/photo-1476137703175-54466acd5ad4?dpr=1&auto=format&fit=crop&w=1500&h=997&q=80&cs=tinysrgb&crop='); */
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

@media (max-width: 550px) {
  .hero {
    padding: 30px 0;
  }
}
.hero p {
  position: relative;
  margin: auto;
  max-width: 900px;
  width: 90%;
  font-size: 26px;
  line-height: 32px;
  text-align: center;
  color: #fff;
}

@media (max-width: 1020px) {
  .hero p {
    font-size: 22px;
    max-width: 880px;
  }
}
@media (max-width: 550px) {
  .hero p {
    font-size: 1em;
    line-height: 1.4;
  }
}
.hero:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #001060;
  opacity: 0.6;
  content: '';
}

/* ===================
    Content
   =================== */
.container {
  margin: 30px auto;
  max-width: 950px;
  width: 90%;
  display: none;
}

main.active {
  display: block;
}

main p {
  margin: auto;
  max-width: 700px;
  font-size: 1.125em;
  line-height: 1.5;
}

@media (max-width: 550px) {
  main p {
    font-size: 0.9em;
  }
}
/* ===================
    Footer
   =================== */
footer {
  position: relative;
  margin-top: 80px;
  padding: 40px 0;
}

footer:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: -webkit-linear-gradient(rgba(144, 144, 144, 0.1), transparent);
  background: linear-gradient(rgba(144, 144, 144, 0.1), transparent);
  content: '';
}

footer .max-width {
  margin: auto;
  max-width: 900px;
  width: 90%;
  overflow: hidden;
}

.footer-block {
  margin-left: 5%;
  width: 30%;
  float: left;
}

footer .footer-block:first-child {
  margin-left: 0;
}

.footer-block_title {
  margin-bottom: 30px;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-block ul {
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 20px;
}

.footer-block a {
  padding: 5px 0;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.8);
  display: block;
}

footer .copyright {
  margin: 30px auto 0;
  max-width: 900px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 35px;
  text-align: center;
  clear: both;
}

@media (max-width: 875px) {
  footer .copyright {
    font-size: 14px;
    max-width: 400px;
  }
}
@media (max-width: 740px) {
  footer .footer-block,
  footer .footer-block:first-child {
    margin: auto;
    float: none;
    width: 100%;
  }

  .footer-block_title {
    margin: 0 0 10px;
    padding: 0 0 5px;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .footer-block ul {
    padding: 0 0 5px;
    list-style: none;
    font-size: 0.8em;
  }

  .footer-block a {
    padding: 5px 0;
  }

  .copyright {
    margin: auto;
    width: 90%;
    font-size: 0.8em;
    line-height: 1.3;
  }
}