body {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 18px;
  color: #2a2a2a;
}

a.chirplink {
  display: none;
}

header{
  padding: 1em 2em;
  background-color: rgb(229, 56, 59);
}
header > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 1139px;
}
header nav ul {
  display: flex;
  flex-flow: row nowrap;
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 0.9em;
}
header nav li:first-child {
  display: none;
}
header nav li a:link,
header nav li a:visited {
  display: inline-block;
  margin-left: 4em;
  padding: 1em 0;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
}
header nav li a:hover,
header nav li a:focus {
  text-decoration: none !important;
  color: #000;
  transition: 0.25s;
}

h1 {
  font-size: 2.4em;
}
h2 {
  font-size: 1.8em;
}
h3 {
  text-transform: uppercase;
  font-size: 1.5em;
  color: rgb(164, 22, 26);
}
h4 {
  font-size: 1em;
}

a:link,
a:visited {
  color: #D11917;
}
a:hover,
a:focus {
  text-decoration: underline !important;
  color: #2a2a2a;
}

.photobg {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.photobg > div {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0,0,0,0.5);
}
.photobg h1 {
  max-width: 75%;
  text-transform: uppercase;
  color: #fff;
}

.buttons a:link,
.buttons a:visited {
  position: relative;
  transition: 0.25s ease-in-out;
  display: inline-block;
  margin: 0 auto;
  padding: 0.75em 1em;
  background-color: rgb(209, 25, 23);
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0.25em;
  font-weight: bold;
  color: #fff;
}
.buttons a:hover,
.buttons a:focus {
  text-decoration: none !important;
  transform: scale(1.05);
}

.flex-row { 
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}
.flex-row.even > div {
  flex: 1;
}
.flex-row > div {
  margin: 0 0.5em;
}

.flex-row.dark > div {
  padding: 1.5em 1em 0.5em 5em;
  background-color: #2a2a2a;
  background-repeat: no-repeat;
  background-position: left 1em top 1em;
  background-size: 60px 60px;
  color: #fff;
}
.flex-row.dark > div > h4 {
  margin-top: 0;
  text-transform: uppercase;
  font-weight: normal;
}
.flex-row.dark > div > p {
  margin-top: 0;
  font-size: 0.9em;
}

.centred {
  margin: 4em auto;
  max-width: 75%;
  text-align: center;
}
.centred h2 {
  text-transform: uppercase;
  margin: 1.4em 0;
}

.flex-row.learn {
}
.flex-row.learn > div {
  margin: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.flex-row.learn > div > div {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  height: 366px;
  width: 100%;
  background: rgba(255,255,255,0.5);
}
.flex-row.learn > div > div > h4 {
  margin: 2em 0 0;
  text-transform: uppercase;
  font-size: 2em;
}
.flex-row.learn > div > div > p {
  margin: 0.5em 0;
}
.flex-row.learn > div > div a:link,
.flex-row.learn > div > div a:visited {
  text-decoration: none;
  font-weight: bold;
  color: inherit;
}

.instructor-container {
  margin: 0 0 3em;
  padding: 2em 0;
  border-bottom: 4px solid #2a2a2a;
  background-image: url(/images/splash/skewed-bg.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.flex-row.benefits {
  margin: 3em auto;
  max-width: 65%;
  align-items: flex-end;
}
.flex-row.instructor {
  margin: 2em auto;
  max-width: 75%;
}
.flex-row.benefits > div:first-child h3 {
  margin: 0;
  font-size: 2em;
}
.flex-row.instructor > div:first-child {
  text-align: center;
  font-size: 1.2em;
}
.flex-row.benefits > div:last-child,
.flex-row.instructor > div:last-child {
  text-align: center;
}
.flex-row.benefits > div:last-child strong {
  font-size: 2em;
}
.flex-row.benefits ul {
  list-style-type: "✓\00a0\00a0";
  line-height: 1.6;
}

#video_player {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 0;
  padding: 27% 0;
  background-size: cover;
  background-repeat: no-repeat;;
  background-position: center center;
  cursor: pointer;
}
#video_player img {
  transition: 0.25s ease-in-out;
}
#video_player:hover img,
#video_player img:focus {
  transform: scale(1.1);
}
#video_player iframe {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.photobg.dark  {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  color: #fff;
}

.flex-row.steps {
  margin: 2em auto;
  max-width: 65%;
}
.flex-row.steps > div {
  margin: 0 2em;
  padding: 1em 2.5em;
  background-color: rgb(238, 239, 234);
  border-radius: 2em;
  font-size: 0.9em;
}
.flex-row.steps > div h4 {
  margin: 0;
}
.flex-row.steps > div a:link,
.flex-row.steps > div a:visited {
  display: inline-block;
  padding: 4px 8px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}
.flex-row.steps > div a::after {
  display: inline-block;
  content: "\00a0\2192";
}

.testimonial {
  margin: 2em 0;
}
.testimonial > div {
  height: 469px;
  color: #fff;
}
.testimonial > div img {
  border-radius: 50%;
}
.testimonial > div p {
  line-height: 2;
}
.testimonial > div strong {
  color: #D11917;
}

.flex-row.costs {
  margin: 1em auto 2em;
  max-width: 60%;
}
.flex-row.costs > div {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  margin: 0 2em;
  padding: 0 2em;
  border: 1px solid;
  border-radius: 1.5em;
  text-align: center;
  font-size: 0.9em;
}
.flex-row.costs > div:last-child {
  background-color: #2a2a2a;
  color: #fff;
}
.flex-row.costs > div:first-child h2 {
  margin: 0;
  line-height: 1.2;
  font-size: 3em;
}
.flex-row.costs > div:last-child h2 {
  color: #D11917;
}
.flex-row.costs > div big {
  font-size: 2em;
}
.flex-row.costs > div div.buttons {
  margin: 1.5em ;
}

.photobg.no-excuses > div {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  width: 100%;
  height: 315px;
}
.photobg.no-excuses > div h2 {
  margin: 0;
}

footer {
  background: rgb(40, 36, 36);;
}
footer > div.flex-row {
  margin: 0 auto;
  padding: 1em 0;
  max-width: 75%;
  justify-content: space-around;
  align-items: center;
  color: #fff;
}
footer > div > div {
  text-align: center;
}
footer > div > div:nth-child(2) {
  margin: 0 2em;
  line-height: 1.75;
  text-align: center;
  font-size: 0.9em;
}
footer > div > div:nth-child(2) a:link,
footer > div > div:nth-child(2) a:visited {
  text-decoration: none;
  color: inherit;
}

footer > div > div:last-child ul {
  display: flex;
  flex-flow: row nowrap;
  list-style-type: none;
  padding: 0;
}
footer > div > div:last-child a {
  display: inline-block;
  margin: 0 1.5em;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
}
footer > div > div:last-child li:nth-child(1) a {
  background-image: url(/images/splash/icon-fb.png);
}
footer > div > div:last-child li:nth-child(2) a {
  background-image: url(/images/splash/icon-insta.png);
}
footer > div > div:last-child li:nth-child(3) a {
  background-image: url(/images/splash/icon-youtube.png);
}

#offer_form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
}
#offer_form > a.close {
  position: absolute;
  top: 0em;
  right: 1em;
  display: block;
  font-size: 5em;
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
}
#offer_form > a.close:hover {
  text-decoration: none !important;
  color: #000;
}
#offer_form > a.close::after {
  content: "\d7";
}

@media only screen and (max-width: 959px) {

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

  .flex-row {
    flex-flow: column nowrap;
    max-width: none !important;
  }
  .flex-row > div {
    margin-bottom: 1em !important;
  }
.photobg.dark {
  padding: 0 0;
}
#offer_form > a.close {
  right: 0.33em;
  font-size: 3em;
}

header > div:first-child > div {
  max-width: 80%;
}

header nav ul {
  position: absolute;
  top: 0;
  right: 0;
  flex-flow: column nowrap;
  padding: 2em 1em 1em;
  background: rgb(229, 56, 59);
}
header nav li {
  display: none;
}  
header nav li:first-child {
  position: absolute;
  right: -0em;
  top: 0;
  display: block;
  font-size: 2.5em;
}
header nav li a:link,
header nav li a:visited {
  margin: 0 1em;
}

header nav.active ul {
  box-shadow: 0 0 1em rgba(0,0,0,0.25);
}
header nav.active li {
    display: block;
  }
  header nav.active li:first-child {
    display: none;
  }

}

#lightboxform {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.75);
  box-shadow: 0 0 1em black;
  color: white;
}

#lightboxform.overlay {
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightboxform > div {
  position: relative;
  width: auto;
  max-width: 640px;
  width: 80%;
  max-height: 80%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  border: 2px solid;
  padding: 1em 2em;
  font-size: 1.2em;
}

#lightboxform > div label {
  cursor: pointer;
}

#lightboxform > div input,
#lightboxform > div select {
  font-size: 1.2em;
}

#lightboxform fieldset {
  padding: 0 1em;
}
#lightboxform legend {
  font-weight: bold;
}

#lightboxform label {
  display: block;
  float: none;
  width: auto;
  color: #dedede;
}

#lightboxform .modal-close {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 1.5em;
  cursor: pointer;
  color: #ee2f2c;
}

@media only screen and (max-width: 639px) {

  #lightboxform > div {
    font-size: 0.9em;
  }

}
