/* Variables */
/* mixins */
/* Global Styles */
*,
*:before,
*:after {
  box-sizing: border-box;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

html {
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  line-height: 1.5;
}

body {
  color: #717171;
  cursor: auto;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #0897d5;
  text-decoration: none;
}

a:hover {
  color: #0785bb;
}

ul {
  margin-bottom: 1em;
  margin-top: 1em;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
}

.screenreader {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Layout */
.inner {
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 75rem;
}

.row {
  display: flex;
  flex-flow: row wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}

.col {
  flex: 1;
  padding-left: 1rem;
  padding-right: 1rem;
}

.row-top {
  align-items: flex-start;
}

.row-bottom {
  align-items: flex-end;
}

.row-center {
  align-items: center;
}

.col-top {
  align-self: flex-start;
}

.col-bottom {
  align-self: flex-end;
}

.col-center {
  align-self: center;
}

.row-fit > .col {
  flex: 1;
}

.row-full > .col {
  flex: 0 0 100%;
}

.col-1 {
  flex: 0 0 8.3333%;
}

.col-2 {
  flex: 0 0 16.6666%;
}

.col-3 {
  flex: 0 0 25%;
}

.col-4 {
  flex: 0 0 33.3333%;
}

.col-5 {
  flex: 0 0 41.6666%;
}

.col-6 {
  flex: 0 0 50%;
}

.col-7 {
  flex: 0 0 58.3333%;
}

.col-8 {
  flex: 0 0 66.6666%;
}

.col-9 {
  flex: 0 0 75%;
}

.col-10 {
  flex: 0 0 83.3333%;
}

.col-11 {
  flex: 0 0 91.6666%;
}

.col-full {
  flex: 0 0 100%;
}

@media only screen and (min-width: 48em) {
  .md-row-fit > .col {
    flex: 1;
  }
  .md-row-full > .col {
    flex: 0 0 100%;
  }
  .md-col-1 {
    flex: 0 0 8.3333%;
  }
  .md-col-2 {
    flex: 0 0 16.6666%;
  }
  .md-col-3 {
    flex: 0 0 25%;
  }
  .md-col-4 {
    flex: 0 0 33.3333%;
  }
  .md-col-5 {
    flex: 0 0 41.6666%;
  }
  .md-col-6 {
    flex: 0 0 50%;
  }
  .md-col-7 {
    flex: 0 0 58.3333%;
  }
  .md-col-8 {
    flex: 0 0 66.6666%;
  }
  .md-col-9 {
    flex: 0 0 75%;
  }
  .md-col-10 {
    flex: 0 0 83.3333%;
  }
  .md-col-11 {
    flex: 0 0 91.6666%;
  }
  .md-col-full {
    flex: 0 0 100%;
  }
  .md-col-first {
    order: -1;
  }
}

@media only screen and (min-width: 75em) {
  .lg-row-fit > .col {
    flex: 1;
  }
  .lg-row-full > .col {
    flex: 0 0 100%;
  }
  .lg-col-1 {
    flex: 0 0 8.3333%;
  }
  .lg-col-2 {
    flex: 0 0 16.6666%;
  }
  .lg-col-3 {
    flex: 0 0 25%;
  }
  .lg-col-4 {
    flex: 0 0 33.3333%;
  }
  .lg-col-5 {
    flex: 0 0 41.6666%;
  }
  .lg-col-6 {
    flex: 0 0 50%;
  }
  .lg-col-7 {
    flex: 0 0 58.3333%;
  }
  .lg-col-8 {
    flex: 0 0 66.6666%;
  }
  .lg-col-9 {
    flex: 0 0 75%;
  }
  .lg-col-10 {
    flex: 0 0 83.3333%;
  }
  .lg--col-11 {
    flex: 0 0 91.6666%;
  }
  .lg-col-full {
    flex: 0 0 100%;
  }
}

/* Utility Functions */
.narrow {
  margin-left: auto;
  margin-right: auto;
  max-width: 42em;
}

.fs-1-25 {
  font-size: 1.25em;
}

.fs-1-5 {
  font-size: 1.5em;
}

.fs-2 {
  font-size: 2em;
  line-height: 1.2;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.pb-3 {
  padding-bottom: 3rem;
}

.pt-3 {
  padding-top: 3rem;
}

.pb-5 {
  padding-bottom: 5rem;
}

.pt-5 {
  padding-top: 5rem;
}

.bg-grey {
  background-color: #f2f2f2;
}

.bg-grey-2 {
  background-color: #e6e6e6;
}

.bg-grey-3 {
  background-color: #d9d9d9;
}

.bg-blue {
  background-color: #0897d5;
}

.bg-blue * {
  color: #fff;
}

.bg-blue a:hover {
  color: #ceeffd;
}

.dp-flex {
  display: flex;
}

.cl-blue {
  color: #0897d5;
}

.fw-400 {
  font-weight: 400;
}

@media only screen and (min-width: 48em) {
  .md-mb-0 {
    margin-bottom: 0;
  }
  .md-pb-5 {
    padding-bottom: 5rem;
  }
  .md-pt-5 {
    padding-top: 5rem;
  }
}

/* Main Menu */
@media only screen and (min-width: 48em) {
  .menu-outer {
    background-color: #e6e6e6;
  }
}

.main-menu {
  background-color: #0897d5;
  height: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  overflow-x: hidden;
  padding: 3rem 0 0 0;
  position: fixed;
  top: 0;
  transition: opacity 0.5s;
  visibility: hidden;
  width: 100%;
  z-index: 1;
}

.main-menu.open {
  opacity: 1;
  visibility: visible;
}

@media only screen and (min-width: 48em) {
  .main-menu {
    background-color: transparent;
    height: auto;
    opacity: 1;
    padding: 0;
    position: static;
    text-align: center;
    visibility: visible;
    width: auto;
  }
}

.main-menu li {
  text-align: center;
}

@media only screen and (min-width: 48em) {
  .main-menu li {
    display: inline-block;
  }
}

.main-menu a {
  color: #fff;
  display: block;
  font-size: 1em;
  font-weight: normal;
  letter-spacing: 1px;
  padding: 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

@media only screen and (min-width: 48em) {
  .main-menu a {
    color: #0897d5;
    padding: 1rem;
  }
}

@media only screen and (min-width: 75em) {
  .main-menu a {
    padding: 1rem 3rem;
  }
}

@media only screen and (min-width: 48em) {
  .main-menu a:last-child {
    padding-right: 0;
  }
}

.main-menu a:hover,
.main-menu a.active {
  color: #2e2c60;
}

.menu-btn {
  background-color: #0897d5;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  height: 40px;
  font-size: 1em;
  display: inline-block;
  padding: 8px;
  position: fixed;
  top: 0;
  right: 0;
  width: 50px;
  z-index: 10;
}

@media only screen and (min-width: 48em) {
  .menu-btn {
    display: none;
  }
}

.menu-btn #nav-icon {
  display: block;
  width: 34px;
  height: 20px;
  position: relative;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
}

.menu-btn #nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-btn #nav-icon span:nth-child(1) {
  top: 0px;
}

.menu-btn #nav-icon span:nth-child(2) {
  top: 8px;
}

.menu-btn #nav-icon span:nth-child(3) {
  top: 16px;
}

.menu-btn #nav-icon.open span:nth-child(1) {
  top: 8px;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}

.menu-btn #nav-icon.open span:nth-child(2) {
  opacity: 0;
  right: -40px;
}

.menu-btn #nav-icon.open span:nth-child(3) {
  top: 8px;
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
}

.menu-btn:focus {
  outline: 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  color: #595959;
  font-family: 'Roboto Slab', serif;
}

p:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child {
  margin-top: 0;
}

p {
  margin-bottom: 1em;
  margin-top: 1em;
}

h1 {
  font-size: 2em;
  line-height: 1.1;
  margin-bottom: 3rem;
}

@media only screen and (min-width: 48em) {
  h1 {
    font-size: 3.5em;
  }
}

h2 {
  font-size: 1.5em;
  line-height: 1.1em;
  margin-bottom: 3rem;
}

@media only screen and (min-width: 48em) {
  h2 {
    font-size: 2.25em;
  }
}

h3 {
  font-size: 1.25em;
  line-height: 1.1em;
  margin-bottom: 1.5rem;
}

@media only screen and (min-width: 48em) {
  h3 {
    font-size: 1.5em;
  }
}

h4 {
  font-size: 1.25em;
  line-height: 1.25em;
  margin-bottom: 1rem;
  margin-top: 1rem;
  text-transform: uppercase;
}

small,
.small {
  font-size: 0.875em;
}

.large {
  font-size: 1.5em;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.italic {
  font-style: italic;
}

.bold {
  font-weight: bold;
}

.nowrap {
  white-space: nowrap;
}

.tt-u {
  text-transform: uppercase;
}

/* Lightbox */
html.lb-disable-scrolling {
  overflow: hidden;
  /* Position fixed required for iOS. Just putting overflow: hidden; on the body is not enough. */
  position: fixed;
  height: 100vh;
  width: 100vw;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;
  /* Image border */
  border: 4px solid white;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;
  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../images/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url("data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==");
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../images/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../images/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../images/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

/* Header */
.site-header-upper {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

@media only screen and (min-width: 48em) {
  .site-header-upper {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
}

.logo {
  display: block;
}

.logo img {
  display: inline-block;
  width: 250px;
}

@media only screen and (min-width: 48em) {
  .logo img {
    width: 350px;
  }
}

.phone-numbers {
  font-size: 2em;
  line-height: 1.1;
  margin-top: 1rem;
}

@media only screen and (min-width: 48em) {
  .phone-numbers {
    margin-top: 0;
    text-align: right;
  }
}

.phone-numbers a {
  display: block;
}

/* Hero */
.hero {
  background: #1a4966 url("../images/dalston-leisure-pool.jpg") no-repeat center;
  background-size: cover;
  padding-bottom: 10%;
  padding-top: 10%;
}

.hero-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 42em;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.hero p {
  margin-bottom: 1.5rem;
}

.hero h1,
.hero p {
  color: #fff;
}

.hero .btn {
  margin-left: 5px;
  margin-right: 5px;
}

.nm {
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-heading {
  background: #1a4966 url("../images/dalston-leisure-pool.jpg") no-repeat center;
  background-size: cover;
  color: #fff;
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.page-heading h1 {
  color: #fff;
}

.page-heading a {
  color: #fff;
  text-decoration: underline;
}

/* Specific Styles */
.notice {
  background-color: #0897d5;
  color: #fff;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.notice p {
  margin-bottom: 0;
}

.time-list,
.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.time-list li {
  background-color: #e6e6e6;
  border-radius: 5px;
  display: inline-block;
  margin-right: 5px;
  margin-top: 8px;
  padding: 0.5em;
}

.features-list {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 1.5rem;
}

.features-list li {
  background-image: url("../images/checked.svg");
  background-repeat: no-repeat;
  flex: 0 0 100%;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding: 3px 1.5rem 5px 2.5rem;
}

@media only screen and (min-width: 48em) {
  .features-list li {
    flex: 0 0 33%;
    margin-bottom: 3rem;
  }
}

.price-box {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  flex: 1;
  height: 100%;
  padding: 1.5rem;
}

.cta,
.cta a {
  color: #fff;
}

.cta {
  font-size: 2em;
  margin-bottom: 0;
  text-align: center;
}

.intro {
  font-size: 1.125rem;
}

/* Button */
.btn {
  background-color: #0897d5;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 0.875em;
  font-weight: bold;
  line-height: 1.714em;
  margin-bottom: 1rem;
  padding: 0.875em 1.5em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
  vertical-align: middle;
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased;
}

.btn:hover {
  background-color: #0785bb;
  color: #fff;
}

.btn-full {
  width: 100%;
}

/* Cookie Table */
.cookie-table {
  margin-bottom: 2em;
  border-collapse: collapse;
}

.cookie-table td,
.cookie-table th {
  border: 1px solid #D3C4C6;
  padding: 1em;
  text-align: left;
}

/* Footer */
.site-footer {
  background-color: #002b3d;
  padding-bottom: 1rem;
  padding-top: 3rem;
  -webkit-font-smoothing: antialiased;
}

.site-footer h4 {
  font-size: 1em;
}

.site-footer * {
  color: #fff;
}

.footer-links {
  font-size: 0.8125em;
  padding-bottom: 1rem;
  padding-top: 2rem;
}

.footer-links a {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* 3rd Party */
.google-maps {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.google-calender {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}

.google-calender iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Form */
.form-outer {
  margin: 0 auto;
  max-width: 40rem;
}

.contact-form {
  width: 100%;
}

.contact-form label {
  font-size: 0.75em;
  font-weight: 500;
  text-transform: uppercase;
}

.contact-form .required {
  font-size: 0.75em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="submit"],
.contact-form textarea {
  border: none;
  font-size: 1em;
  font-family: 'Source Sans Pro', sans-serif;
  -webkit-appearance: none;
  width: 100%;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  box-shadow: inset 0 1px 4px #afafaf;
  border-radius: 0;
  display: block;
  margin-bottom: 0.5em;
  padding: 0.5em;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
  outline: 3px solid #0897d5;
}

.contact-form input[type="submit"] {
  font-family: inherit;
  line-height: 1;
  margin-bottom: 0;
  margin-top: 0.5em;
}

.contact-form textarea {
  min-height: 154px;
}

.success {
  text-align: center;
}

.error {
  color: #ff0000;
  font-weight: bold;
  text-align: center;
}
