/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

::selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Garioch Sports
   ========================================================================== */

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  color: #8c9091;
}

body {
  background-color: #000;
}

a {
  text-decoration: none;
  color: #8cc800;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/*

  font-family: 'Novarese' 500 100

*/

body, input, label, button, textarea {
  font-family: 'Dessau Pro', sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

strong {
  font-weight: normal;
}

em {
  font-style: normal;
}

ul, li, p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

ul {
  list-style: none;
}

.pure-form input[type="text"],
.pure-form input[type="password"],
.pure-form input[type="email"],
.pure-form input[type="url"],
.pure-form input[type="date"],
.pure-form input[type="month"],
.pure-form input[type="time"],
.pure-form input[type="datetime"],
.pure-form input[type="datetime-local"],
.pure-form input[type="week"],
.pure-form input[type="number"],
.pure-form input[type="search"],
.pure-form input[type="tel"],
.pure-form input[type="color"],
.pure-form select,
.pure-form textarea {
  padding: 0 10px;
  font-size: 14px;
  height: 40px;
  display: block;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  vertical-align: middle;
}

.pure-form textarea {
  padding: 14px;
}

.pure-form label {
  display: block;
  margin-bottom: 8px;
}

.pure-form label.required:after {
  content: ' *';
}

.pure-form .notifications {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
}

.pure-form .error-message {
  color: crimson;
}

.pure-form .success-message {
  color: #94c11f;
}

.pure-form textarea {
  height: 120px;
}

.pure-form button {
  border: 0;
}

.pure-form .field {
  margin-bottom: 20px;
}

::-webkit-input-placeholder {
  color: #d1d1d1;
}

::-moz-placeholder {
  color: #d1d1d1;
}

:-ms-input-placeholder {
  color: #d1d1d1;
}

:-moz-placeholder {
  color: #d1d1d1;
}

.wrapper {
  position: relative;
}

.open-nav {
  display: block;
  position: absolute;
  z-index: 8000;
  top: 0;
  right: 0;
  font-size: 0;
  width: 203px;
  height: 322px;
  background-position: right 60px top 103px, left bottom;
  background-repeat: no-repeat, no-repeat;
  background-image: url(/img/nav-icon.svg), url(/img/nav.svg);
}

.container {
  margin: 0 auto;
  max-width: 1130px;
  padding: 0 20px;
}

.container:before,
.container:after {
  content: "";
  display: table;
  clear: both;
}

nav {
  display: none;
  position: absolute;
  z-index: 9000;
  width: 100%;
  min-height: 100vh;
  background-color: #8cc800;
  background-position: center top;
  background-repeat: no-repeat;
  background-image: url(/img/nav.jpg);
  background-size: 100% auto;
}

nav ul {
  margin: 60px 0;
  text-align: center;
}

nav li {
  font-size: 40px;
  text-transform: uppercase;
  line-height: 1.125;
}

nav li a {
  color: #fff;
}

nav .buttons {
  height: 75px;
  font-size: 0;
  background: linear-gradient(to bottom, transparent 0, transparent 38px, #fff 39px, transparent 40px, transparent 75px);
  text-align: center;
}

nav .buttons__wrap {
  display: inline-block;
  width: auto;
  background-color: #8cc800;
  padding: 0 30px;
  height: 75px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social {
  display: inline-block;
  width: 57px;
  height: 57px;
  border: 1px solid #fff;
  margin-right: 22px;
  background-position: center center;
  background-repeat: no-repeat;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.social--facebook {
  background-image: url(/img/facebook.svg);
}

.social--twitter {
  background-image: url(/img/twitter.svg);
}

.social--instagram {
  background-image: url(/img/instagram.svg);
}

.social--youtube {
  background-image: url(/img/youtube.svg);
}

.social--contact {
  background-image: url(/img/email.svg);
}

.social:last-of-type {
  margin-right: 0;
}

.close-nav {
  display: inline-block;
  width: 75px;
  height: 75px;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(/img/close-nav.svg);
  background-size: 75px 75px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  margin-right: 22px;
}

.button {
  display: inline-block;
  font-size: 16px;
  color: #fff;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 13px 19px;
  text-transform: uppercase;
}

.button:hover {
  border-color: #fff;
}

.button--green,
.button--gariochGreen {
  border-color: #8cc800;
  background-color: #8cc800;
}

.button--green:hover,
.button--gariochGreen:hover {
  border-color: #8cc800;
}

.button--cyanCornflowerBlue,
.button--cyanCornflowerBlue:hover {
  border-color: #1a83c5;
  background-color: #1a83c5;
}

.button--tropicalRainforest,
.button--tropicalRainforest:hover {
  border-color: #095256;
  background-color: #095256;
}

header {
  height: 114px;
  border-bottom: 1px solid #8cc800;
}

header .logo {
  float: left;
  width: 21.009174311926607%; /* 229px */
  margin-top: 18px;
}

header .ctas {
  float: right;
  font-size: 0;
  margin-top: 35px;
}

header .ctas a {
  margin-right: 16px;
}

header .ctas a:last-of-type {
  margin-right: 0;
}

header .contact {
  float: right;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  margin: 50px 22px 0 0;
}

header .contact span {
  padding: 0 4px;
  color: #8cc800;
}

header .contact em {
  color: #8cc800;
}

.page {
  position: relative;
  min-height: 800px;
  /*background-position: center 114px;*/
  background-position: center top;
  background-repeat: no-repeat;
  /*background-attachment: fixed;*/
  background-size: 100% auto;
}

.page__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.page__bg__block {
  min-height: 1000px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.page__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  font-size: 0;
}

.page__heading h1 {
  display: inline-block;
  font-size: 48px;
  color: #fff;
  text-transform: uppercase;
  background-position: left center;
  background-repeat: no-repeat;
  /*background-size: auto 40px;*/
  padding: 10px 0;
}

.page__content {
  background-color: #121311;
}

.page__content:before,
.page__content:after {
  content: "";
  display: table;
  clear: both;
}

.page__content__main {
  float: left;
  width: 66.97247706422019%; /* 730px */
  padding: 40px;
}

.page__content__main--full {
  width: 100%;
}

.page__content__sidebar {
  float: left;
  width: 33.02752293577982%; /* 360px */
  margin-bottom: 40px;
}

.page__timetable {
  padding: 40px;
  margin-bottom: 5px;
  background-color: #121311;
  text-align: center;
}

.page__timetable h2 {
  color: #8cc800;
  text-transform: uppercase;
  font-size: 32px;
  border-bottom: 6px solid #8cc800;
  padding-bottom: 16px;
  margin-bottom: 8px;
}

.body h2 {
  font-size: 30px;
  line-height: 1.25;
  text-transform: uppercase;
  color: #8cc800;
  margin-bottom: 28px;
  background-position: left center;
  background-repeat: repeat-x;
  background-image: url(/img/hatch-full.svg);
}

.body h2 span {
  display: inline-block;
  background-color: #121311;
  padding-right: 16px;
}

.body h2.primary-h2 span {
  display: inline-block;
  background-color: #121311;
  padding-right: 16px;
}

.page--article .page__content .body h2 {
  background-position: left bottom;
  padding-bottom: 43px;
}

.body h3 {
  font-size: 22px;
  text-transform: uppercase;
  color: #d1d1d1;
  line-height: 1.25;
  margin-bottom: 24px;
}

.body p {
  font-family: 'Avenir Book', sans-serif;
  font-weight: normal;
  color: #fff;
  line-height: 1.5;
  font-size: 16px;
  margin-bottom: 20px;
}

.body table {
  margin-bottom: 20px;
  width: 100%;
}

.body th,
.body td {
  font-family: 'Avenir Book', sans-serif;
  font-weight: normal;
  color: #fff;
  line-height: 1;
  font-size: 16px;
  padding: 8px;
}

.body tr:nth-of-type(even) th,
.body tr:nth-of-type(even) td {
  background-color: rgba(255,255,255,.05);
}

.body p strong,
.body li strong {
  color: #8cc800;
  font-family: 'Avenir', sans-serif;
  font-weight: 900;
}

.body p a {
  color: #8cc800;
  text-decoration: underline;
}

.body ul {
  margin: 0 0 20px 20px;
  list-style-type: disc;
}

.body li {
  font-family: 'Avenir Book', sans-serif;
  font-weight: normal;
  color: #fff;
  line-height: 1.5;
  font-size: 16px;
}

.blocks__list .body ul {
  margin: 0 0 20px;
}

.blocks__list .body ul:before,
.blocks__list .body ul:after {
  content: "";
  display: table;
  clear: both;
}

.blocks__list .body li {
  display: block;
  float: left;
  width: 50%;
  font-size: 14px;
  margin-bottom: 12px;
  padding-right: 22px;
}

.blocks__list .body li:before {
  content: '+';
  color: #8cc800;
  padding-right: 12px;
}

.blocks__contact h3 {
  color: #fff;
  margin-bottom: 8px;
}

.blocks__contact h3 span {
  font-size: 16px;
  padding-left: 8px;
  color: #8cc800;
}

.blocks__contact .body ul {
  list-style-type: none;
  margin-left: 0;
}

.blocks__contact .body ul li {
  margin-bottom: 4px;
}

.blocks__contact .body ul li span {
  color: #8cc800;
}

.blocks__text {
  margin-bottom: 40px;
}

.blocks__buttons {
  font-size: 0;
  margin-bottom: 40px;
}

.blocks__buttons .button {
  margin: 0 16px 16px 0;
  padding: 12px 18px;
  font-size: 16px;
}

.blocks__photo,
.blocks__video,
.blocks__accordions,
.blocks__icon-list,
.blocks__contact,
.blocks__list {
  margin-bottom: 40px;
}

.blocks__photo__caption,
.blocks__video__caption {
  font-size: 14px;
  padding: 10px;
  background-color: #8cc800;
  color: #fff;
  text-transform: uppercase;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tab {
  margin-bottom: 10px;
}

.tab > a {
  display: block;
  position: relative;
  padding: 12px;
  background: #8cc800;
  font-size: 20px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  height: 44px;
}

.tab > a.open {
  background: #fff;
  color: #8cc800;
}

.tab > a:after {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

.tab > a:after {
  content: "+";
  font-size: 32px;
}

.tab > a.open:after {
  transform: rotate(315deg);
}

.tab__content {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height .5s;
  -o-transition: max-height .5s;
  transition: max-height .5s;
}

.tab__content__body {
  padding: 20px;
}

.blocks__icon-list ul {
  margin: 0;
  list-style-type: none;
}

.blocks__icon-list ul li {
  text-transform: uppercase;
  color: #fff;
  font-family: 'Dessau Pro', sans-serif;
  font-weight: normal;
  font-size: 24px;
  line-height: 1.25;
  padding: 0 100px;
  margin-bottom: 20px;
  background-position: left center;
  background-repeat: no-repeat;
  min-height: 60px;
}

.banner {
  position: relative;
  z-index: 2000;
  height: 420px;
}

.banner__text {
  padding-top: 100px;
}

.banner__text h4 {
  color: #8cc800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.banner__text h2 {
  font-size: 52px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.875;
  margin-bottom: 8px;
}

.banner__text h2 em {
  color: #8cc800;
}

.banner__text h3 {
  font-size: 32px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.banner__text h3 em {
  color: #8cc800;
}

.grid {
  position: relative;
  z-index: 3000;
}

.grid:before,
.grid:after {
  content: "";
  display: table;
  clear: both;
}

.grid--home .grid__column {
  float: left;
  width: 33.02752293577982%; /* 360px */
  margin-right: 0.45871559633027525%; /* 5px */
}

.grid--home .grid__column:last-of-type {
  margin-right: 0;
}

.grid__column__block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  overflow: hidden;
}

.grid__column__block__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.grid__column__block--half,
.grid__column__block--half .grid__column__block__inner {
  height: 90px;
}

.grid__column__block--1,
.grid__column__block--1 .grid__column__block__inner {
  height: 180px;
}

.grid__column__block--2,
.grid__column__block--2 .grid__column__block__inner {
  height: 365px;
}

.grid__column__block--3,
.grid__column__block--3 .grid__column__block__inner {
  height: 550px;
}

.grid__column__block--green,
.grid__column__block--gariochGreen,
.grid__column__block--sunsetOrange,
.grid__column__block--tropicalRainforest,
.grid__column__block--sunglow,
.grid__column__block--polishedPine,
.grid__column__block--cyanCornflowerBlue {
  background-color: #8cc800;
  background-image: url(/img/opening-hours.svg);
}

.grid__column__block--cyanCornflowerBlue {
  background: #1a83c5;
  background-image: linear-gradient(to bottom right, transparent 0, transparent 50%, rgba(255,255,255,.05) 50%, rgba(255,255,255,.05) 100%);
}

.grid__column__block h3 {
  color: #fff;
  font-size: 20px;
  padding: 16px 0 8px;
  text-transform: uppercase;
  padding-left: 44px;
  background-position: left center;
  background-repeat: no-repeat;
}

.grid__column__block--ad {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.grid__column__block--ad img {
  display: none;
  width: 100%;
  height: auto;
}

.grid__column__block--image:hover {
  border: 10px solid #8cc800;
}

.grid__column__block--image .grid__column__block__inner {
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  transition: all 0.5s ease;
}

#block-1 .grid__column__block__inner {
  /*background-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.8) 100%), url(/img/1.jpg);*/
}

#block-2 .grid__column__block__inner {
  background-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.8) 100%), url(/img/2.jpg);
}

#block-3 .grid__column__block__inner {
  background-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.8) 100%), url(/img/3.jpg);
}

#block-4 .grid__column__block__inner {
  background-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.8) 100%), url(/img/4.jpg);
}

#block-5 .grid__column__block__inner {
  background-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.8) 100%), url(/img/kids-activities.jpg);
}

#block-6 .grid__column__block__inner {
  background-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.8) 100%), url(/img/6.jpg);
}

#block-7 .grid__column__block__inner {
  background-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.8) 100%), url(/img/schools-club.jpg);
}

#block-9 .grid__column__block__inner {
  background-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.8) 100%), url(/img/9.jpg);
}

#block-1 .grid__column__block__inner:hover {
  background-image: linear-gradient(to bottom, transparent 0, rgba(140,200,0,.4) 100%), url(/img/1.jpg);
}

#block-2 .grid__column__block__inner:hover {
  background-image: linear-gradient(to bottom, transparent 0, rgba(255,202,58,.3) 100%), url(/img/2.jpg);
}

#block-3 .grid__column__block__inner:hover {
  background-image: linear-gradient(to bottom, transparent 0, rgba(140,200,0,.4) 100%), url(/img/3.jpg);
}

#block-4 .grid__column__block__inner:hover {
  background-image: linear-gradient(to bottom, transparent 0, rgba(140,200,0,.4) 100%), url(/img/4.jpg);
}

#block-5 .grid__column__block__inner:hover {
  background-image: linear-gradient(to bottom, transparent 0, rgba(140,200,0,.4) 100%), url(/img/kids-activities.jpg);
}

#block-6 .grid__column__block__inner:hover {
  background-image: linear-gradient(to bottom, transparent 0, rgba(26,131,197,.4) 100%), url(/img/6.jpg);
}

#block-7 .grid__column__block__inner:hover {
  background-image: linear-gradient(to bottom, transparent 0, rgba(255,89,94,.4) 100%), url(/img/schools-club.jpg);
}

#block-9 .grid__column__block__inner:hover {
  background-image: linear-gradient(to bottom, transparent 0, rgba(90,170,149,.4) 100%), url(/img/9.jpg);
}

.grid__column__block--image .grid__column__block__inner:hover {
  transform: scale(1.1);
}

.grid__column__block--image:hover .grid__column__block__inner:after {
  display: block;
}

.grid__column__block--social {
  display: block;
  font-size: 0;
}

.grid__column__block--social a {
  display: inline-block;
  width: 50%;
  height: 180px;
  background-position: center center;
  background-repeat: no-repeat;
}

.grid__column__block--social a:first-of-type {
  border-right: 2px solid #121311;
}

.grid__column__block--social a:last-of-type {
  border-left: 3px solid #121311;
}

.grid__column__block--social-3 a {
  width: 33.33333333333333%;
  height: 120px;
}

.grid__column__block--social-3 a:first-of-type {
  border-right: 0;
}

.grid__column__block--social-3 a:last-of-type {
  border-left: 0;
}

.grid__column__block--social-4 a {
  width: 25%;
  height: 90px;
}

.grid__column__block--social-4 a:first-of-type {
  border-right: 0;
}

.grid__column__block--social-4 a:last-of-type {
  border-left: 0;
}

.grid__column__block--social a.facebook {
  background-color: #3d5a9a;
  background-image: url(/img/grid-facebook.svg);
}

.grid__column__block--social a.twitter {
  background-color: #3ea2cf;
  background-image: url(/img/grid-twitter.svg);
}

.grid__column__block--social a.instagram {
  background-color: center center, auto auto;
  background-repeat: no-repeat, no-repeat;
  background-image: url(/img/grid-instagram.svg), linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.grid__column__block--social a.youtube {
  background-color: #e52822;
  background-image: url(/img/grid-youtube.svg);
}

.grid__column__block--social a.contact {
  background-color: #8cc800;
  background-image: url(/img/email.svg);
  background-size: 42px auto;
}

.page__content__sidebar .grid__column__block--social {
  height: 120px;
}

.news__article {
  display: block;
  float: left;
  width: 32.11009174311927%; /* 350px */
  margin: 0 1.834862385321101% 20px 0; /* 20px */
  border: 2px solid #8cc800;
}

.page__content__sidebar .news__article {
  width: 100%;
  margin-right: 0;
}

.news__article:nth-of-type(3n+3) {
  margin-right: 0;
}

.news__article__summary {
  padding: 20px;
  background-color: #121311;
}

.news__article__summary h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.article-image {
  margin-bottom: 30px;
}

.back-news {
  background-position: left top;
  background-repeat: no-repeat;
  background-image: url(/img/hatch-full.svg);
  padding-top: 43px;
  margin-top: 28px;
}

.back-news a {
  display: inline-block;
  height: 28px;
  padding: 7px 0 7px 42px;
  font-size: 14px;
  text-transform: uppercase;
  background-position: left center;
  background-repeat: no-repeat;
  background-image: url(/img/back-news.svg);
}

#map {
  width: 100%;
  height: 420px;
}

.staff {
  padding: 40px 30px;
  background-color: #171715;
  border-bottom: 5px solid #8cc800;
  margin-bottom: 40px;
}

.staff h2 {
  text-align: center;
  background-position: left center;
}

.staff h2 span {
  display: inline-block;
  background-color: #171715;
  padding: 0 16px;
}

.team {
  font-size: 0;
  text-align: center;
}

.team:before,
.team:after {
  content: "";
  display: table;
  clear: both;
}

.team__person {
  display: inline-block;
  vertical-align: top;
  width: 22.815533980582526%; /* 235px */
  margin: 0 2.912621359223301% 30px 0;
}

.team__person:nth-of-type(4n+4) {
  margin-right: 0;
}

.team__person img {
  margin-bottom: 12px;
}

.team__person h3 {
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 4px;
  color: #fff;
}

.team__person h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: #8cc800;
  margin-bottom: 12px;
}

.team__person p {
  font-family: 'Avenir Book', sans-serif;
  font-weight: normal;
  color: #fff;
  line-height: 1.5;
  font-size: 14px;
}

.form-wrapper,
.form-inputs {
  overflow: hidden;
}

.form-wrapper ::-webkit-input-placeholder {
  color: #999;
}

.form-wrapper :-moz-placeholder {
  color: #999;
}

.form-wrapper ::-moz-placeholder {
  color: #999;
}

.form-wrapper :-ms-input-placeholder {
  color: #999;
}

.form-wrapper input[type="text"],
.form-wrapper textarea {
  font-family: 'Avenir Book';
  font-weight: normal;
  border: 0;
  background-color: #333335;
  color: #fff;
  padding: 0 12px;
  height: 44px;
  font-size: 16px;
  margin-bottom: 14px;
  width: 100%;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-wrapper textarea {
  padding: 12px;
  line-height: 1.5;
  height: 220px;
}

.form-input {
  float: left;
  width: 49%;
}

.form-wrapper input[type="text"] {
  width: 100%;
}

.form-wrapper .first {
  margin-right: 2%;
}

.form-buttons {
  overflow: hidden;
}

.form-wrapper .form-button {
  float: left;
  border: 0;
  font-size: 16px;
  margin: 0;
  width: auto;
  height: auto;
  padding: 12px 26px;
  background-size: cover;
  border-radius: 0;
}

.required-warning {
  float: right;
  font-family: 'Avenir Book';
  font-weight: normal;
  font-size: 16px;
}

.required-warning span {
  color: #8cc800;
}

.form-wrapper input.error, textarea.error {
  background: #fef4f5;
}

input#blueSteel {
  display: none;
}

.logos {
  padding: 20px;
  text-align: center;
  background-color: #fff;
}

.logos img {
  display: inline-block;
  width: auto;
  height: 80px;
  margin-right: 20px;
}

.logos a:last-of-type img {
  margin-right: 0;
}

.timetable {
  display: flex;
  flex-direction: column;
}

.timetable__days {
  display: flex;
  width: 100%;
  margin-bottom: 5px;
  justify-content: space-between;
}

.timetable__days__day {
  display: block;
  flex-basis: 100%;
  text-align: center;
  border: 1px solid #333;
  padding: 16px 4px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  background-color: #20201e;
  margin-right: 5px;
}

.timetable__days__day:last-of-type {
  margin-right: 0;
}

.timetable__days__day--active {
  background-color: #8cc800;
  border-color: #8cc800;
}

.three-day {
  display: none;
}

.timetable__classes__classes {
  display: none;
  width: 100%;
  text-align: left;
}

.timetable__classes__classes--active {
  display: block;
}

.class-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.class-row__block {
  display: block;
  flex-basis: 100%;
  text-align: center;
  border: 1px solid #333;
  padding: 16px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  background-color: #20201e;
  margin: 0 5px 5px 0;
  font-family: 'Avenir Book', sans-serif;
  font-weight: normal;
}

.class-row__block:last-of-type {
  margin-right: 0;
}

.class-row__block--heading {
  color: #8cc800;
  font-family: 'Avenir', sans-serif;
  font-weight: 900;
}

footer .app {
  height: 156px;
  margin: 100px 0;
  background-color: #8cc800;
}

footer .app__mockup {
  float: left;
  width: 24.770642201834864%; /* 270px */
  margin-top: -70px;
}

footer .app__heading {
  float: left;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  margin: 39px 0 0 30px;
}

footer .app__heading h3 {
  font-size: 52px;
}

footer .app__heading h4 {
  font-size: 26px;
}

footer .app__stores {
  float: right;
  margin-top: 24px;
}

footer .app__stores img {
  margin-bottom: 12px;
}

footer .app__stores a:last-of-type img {
  margin-bottom: 0;
}

footer .app__sponsor {
  float: right;
  margin: 24px 30px 0 0;
}

footer .app__sponsor img {
  width: 108px;
  height: 108px;
}

footer .mailing-list {
  margin-bottom: 40px;
  text-align: center;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-image: url(/img/mailing-list-line.svg);
  padding-bottom: 40px;
}

footer .mailing-list h3 {
  display: inline-block;
  font-size: 32px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.025em;
  margin-right: 30px;
}

footer .mailing-list__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .mailing-list h3 em {
  color: #8cc800;
}

footer .footer {
  margin-bottom: 40px;
  text-transform: uppercase;
}

footer .footer h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}

footer .footer p {
  color: #575756;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

footer .footer h4 {
  font-size: 18px;
  color: #8cc800;
}

footer .footer__summary {
  float: left;
  width: 32.11009174311927%; /* 350px */
}

footer .footer__nav {
  float: left;
  width: 44.03669724770643%; /* 480px */
  padding-right: 100px;
}

footer .footer__nav ul:before,
footer .footer__nav ul:after {
  content: "";
  display: table;
  clear: both;
}

footer .footer__nav li {
  float: left;
  width: 50%;
  font-size: 14px;
  line-height: 1.5;
}

footer .footer__nav li a {
  color: #575756;
}

footer .footer__nav li a:hover {
  color: #fff;
}

footer .footer__opening-hours .social {
  border-color: #706f6f;
  width: 39px;
  height: 39px;
  margin-right: 8px;
}

footer .footer__opening-hours .social:last-of-type {
  margin-right: 0;
}

footer .footer__opening-hours .social:hover {
  border-color: #fff;
}

footer .footer__opening-hours p {
  margin-bottom: 8px;
}

footer .partners-awards {
  border-bottom: 1px solid #e7e6e6;
  background-color: #fff;
}

footer .partners-awards__col {
  float: left;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  height: 130px;
  padding: 26px 0;
}

footer .partners-awards__col h3 {
  display: inline-block;
  font-size: 18px;
  color: #8cc800;
  text-transform: uppercase;
  margin-right: 40px;
}

footer .partners-awards__col a {
  display: inline-block;
  margin-right: 40px;
}

footer .partners-awards__col a:last-of-type {
  margin-right: 0;
}

footer .partners-awards__col .gibbs-logo {
  width: auto;
  height: 70px;
}

footer .partners-awards__col:last-of-type img {
  display: inline-block;
  width: auto;
  height: 78px;
}

footer .associations {
  height: 114px;
  background-color: #fff;
}

footer .associations__col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 114px;
  font-size: 0;
}

footer .associations__col img {
  display: inline-block;
  width: auto;
  height: 80px;
  margin-right: 20px;
}

footer .associations__col a:last-of-type img {
  margin-right: 0;
}

footer .legal {
  padding: 16px 0;
  background-color: #000;
}

footer .legal p {
  font-family: 'Avenir Book', sans-serif;
  font-weight: normal;
  font-size: 13px;
  line-height: 2;
  color: #fff;
}

footer .legal a {
  color: #575756;
}

footer .legal .cpco:hover span {
  color: #fff;
}

footer .legal__col {
  float: left;
  width: 66%;
}

footer .legal__col:last-of-type {
  width: 34%;
  text-align: right;
}

footer .legal__col:last-of-type span {
  color: #575756;
  padding: 0 4px;
}

footer .legal__col:last-of-type a:hover {
  color: #fff;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *  `contenteditable` attribute is included anywhere else in the document.
 *  Otherwise it causes space to appear at the top and bottom of elements
 *  that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *  `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
     (-webkit-min-device-pixel-ratio: 1.25),
     (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #111 !important; /* Black prints faster:
                   http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
