body {
  margin: auto;
  max-width: 100%;
  background: black;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.2rem 0.5rem;
}
.hamburger {
  display: none;
}
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #101010;
}
.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
.nav-item {
  margin-left: 2rem;
  font-size: 16px;
}
.nav-link {
  font-size: 16px;
  font-weight: 400;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header-container {
  width: 100%;
  background: white;
  position: fixed;
  border-bottom: 2px solid #3ea9df;
  z-index: 2;
}
.header-container-index {
  width: 100%;
  background: #58595b;
  position: absolute;
  border-bottom: 2px solid #3ea9df;
  z-index: 2;
}
.header {
  padding-top: 5px;
  padding-left: 0px;
  padding-right: 0px;
}
.header li {
  list-style: none;
  line-height: 1.2rem;
}
.header-items {
  font-size: 18px;
  text-align: right;
}
.logo {
  display: block;
  width: 179px;
  height: 60px;
  background: url("../images/logo.png"), url("../images/logo-hover.png"); /* this is supposed to pre-load hover images to stop them flickering on first hover */
}
.logo-index {
  display: block;
  width: 0px;
  height: 60px;
  background: url("../images/logo-black.png"), url("../images/logo-hover.png"); /* this is supposed to pre-load hover images to stop them flickering on first hover */
}
.logo:hover {
  display: block;
  width: 179px;
  height: 60px;
  background: url("../images/logo-hover.png");
  transition: 0.5s;
}
.header a:link {
  color: #58595b;
  text-decoration: none;
}
.header a:visited {
  color: #58595b;
  text-decoration: none;
}
.header a:hover {
  text-decoration: none;
  color: #3ea9df;;
  transition: 0.5s;
}
.header a:active {
  color: #3ea9df;
  text-decoration: none;
}
span {
  color: #3ea9df;
  border-bottom: 1px solid #3ea9df;
}
.content-container {
  background: whitesmoke;
  margin: 0px;
  z-index: 1;
}
.content-container-logo {
  background: whitesmoke;
  margin: 0px;
  z-index: 1;
}
.content {
  background-color: whitesmoke;
  height: 100%;
}
hr {
  border-top: 1px solid #3ea9df;
  border-bottom: 1px solid #3ea9df;
  margin: 0px;
}
hr.footer-hr {
  border-top: 1px solid #3ea9df;
  border-bottom: 1px solid #3ea9df;
  margin: 0px;
}
h1 {
  margin: 0;
  padding: 20px 0;
  color: #3ea9df;
  font-family: "Montserrat", sans-serif;
}
h2 {
  margin: 0;
  padding: 20px 0;
  color: #3ea9df;
  font-family: "Montserrat", sans-serif;
}
h3 {
  margin: 0;
  padding: 20px 0;
  color: #3ea9df;
  font-family: "Montserrat", sans-serif;
}
html {
  color: #58595b;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
}
.content a:link {
  color: #3ea9df;
  text-decoration: none;
}
.content a:visited {
  color: #3ea9df;
  text-decoration: none;
}
.content a:hover {
  text-decoration: none;
  color: #235d7a;
  transition: 0.5s;
}
.content a:active {
  color: #235d7a;
  text-decoration: none;
}
.footer a:link {
  color: white;
  text-decoration: none;
}
.footer a:visited {
  color: white;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: none;
  color: #3ea9df;
  transition: 0.5s;
}
.footer a:active {
  color: white;
  text-decoration: none;
}
.footer-container {
  width: 100%;
  height: 100%;
  background: black;
}
.footer {
  padding-top: 0rem;
  padding-bottom: 2rem;
  text-align: center;
  background: black;
  color: white;
  font-size: 16px;
}
.frw-logo {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("../images/cat_tiny.png"), url("../images/cat_tiny-hover.png"); /* this is supposed to pre-load hover images to stop them flickering on first hover */
}
.frw-logo:hover {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("../images/cat_tiny-hover.png");
}
#carousel-wrapper {
  width: 960px;
  position: relative;
  text-align: center;
  left: 50%;
  top: 50%;
  margin-left: -480px;
  margin-top: -7px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 959px) {
  
  .content-container-logo {
    background: whitesmoke;
    margin: 0px;
    max-height: 0%;
    z-index: 1;
  }.content {
    padding-top: 75px;
    max-width: 100%;
    margin-left: 5px;
    margin-right: 5px;
  }
  .header {
    max-width: 100%;
    margin-left: 0;
    line-height: 30px;
  }
  .footer {
    max-width: 100%;
    margin-left: 0;
    font-size: 10px;
  }
  td {
    display: block;
    width: auto;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 74px; /* How far down the top of the hamburger menu is - adjust this to get it pixel-perfect on a mobile */
    flex-direction: column;
    background-color: black;
    width: 100%;
    border-radius: 0px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-item {
    margin: 1rem 0;
  }
  .hamburger {
    display: block;
    cursor: pointer;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .header a:link {
    color: white;
  }
  .header a:visited {
    color: white;
  }
  .header a:hover {
    color: #3ea9df;;
  }
  .header a:active {
    color: #3ea9df;
  }
  #carousel-wrapper {
    width: 100%;
    position: relative;
    text-align: center;
    left: 50%;
    top: 50%;
    margin-left: -50%;
    margin-top: -7px;
  }
  #carousel-wrapper img {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
  }
}

@media only screen and (min-width: 960px) {
  .content {
    padding-top: 81px; /* moves content down so it sits beneath the header */
    max-width: 960px;
    margin-left: calc(50vw - 480px);
  }
  .header {
    max-width: 960px;
    margin-left: calc(50vw - 480px);
  }
  .footer {
    max-width: 960px;
    margin-left: calc(50vw - 480px);
  }
}