.w-layout-grid {
  display: -ms-grid;
  display: grid;
  grid-auto-columns: 1fr;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  -ms-grid-rows: auto auto;
  grid-template-rows: auto auto;
  grid-row-gap: 16px;
  grid-column-gap: 16px;
}

body {
  padding: 15px;
  font-family: Montserrat, sans-serif;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 20px;
}

h1 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 38px;
  line-height: 50px;
  font-weight: 700;
}

h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #555;
  font-size: 22px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section {
  padding: 20px;
  text-align: center;
}

.section.section--grey-hero {
  height: 100vh;
  padding-top: 0px;
  padding-bottom: 0px;
  border-bottom: 10px solid #d96110;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.74)), to(rgba(70, 70, 70, 0))), url('../images/Marcel-Racing-Post-Trophy.jpg');
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(70, 70, 70, 0)), url('../images/Marcel-Racing-Post-Trophy.jpg');
  background-position: 0px 0px, 50% 100%;
  background-size: auto, cover;
  -webkit-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}

.section.dark {
  display: block;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #d96110;
}

.section.dark.footer {
  display: block;
  border-top: 5px solid #d96110;
  background-color: #464646;
  background-image: -webkit-gradient(linear, left bottom, left top, from(#000), to(hsla(0, 0%, 100%, 0)));
  background-image: linear-gradient(0deg, #000, hsla(0, 0%, 100%, 0));
  color: #fff;
}

.section.parallax {
  position: relative;
  min-height: 50vh;
  background-image: url('../images/troysteve_tattersalls.jpg');
  background-position: 0% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.section.parallax.image2 {
  background-image: url('../images/Alert-Foal.jpeg');
  background-position: 100% 100%;
  background-size: cover;
  background-repeat: repeat;
  background-attachment: fixed;
}

.contain900 {
  max-width: 900px;
  margin: 0px auto;
  text-align: center;
}

.contain900.hero {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  padding-bottom: 100px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.logo {
  margin-top: 50px;
  margin-bottom: 30px;
  padding-bottom: 40px;
}

.successgrid__item-wrapper {
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  border-style: solid;
  border-width: 5px;
  border-color: #fff;
}

.successgrid__success-image {
  position: static;
}

.successgrid__overlay-wrapper {
  position: absolute;
  left: 0%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 15px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(30%, rgba(0, 0, 0, 0.84)), to(hsla(0, 0%, 100%, 0)));
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84) 30%, hsla(0, 0%, 100%, 0));
  opacity: 0;
  -webkit-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
  color: #fff;
  text-decoration: none;
}

.successgrid__overlay-wrapper:hover {
  opacity: 1;
}

.successgrid__horse-name {
  margin-bottom: 7px;
  font-size: 24px;
  font-weight: 200;
  letter-spacing: 0px;
  text-transform: none;
}

.foundergrid__title {
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.heading {
  margin-top: 40px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.body-3 {
  padding: 0px;
  background-color: transparent;
  font-family: brandon-grotesque, sans-serif;
}

.footer {
  padding-top: 60px;
  padding-bottom: 40px;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  text-align: center;
}

.footer-flex-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: left;
}

.footer-logo-link {
  max-height: 60px;
  min-width: 60px;
  margin-bottom: 40px;
  -webkit-box-flex: 0;
  -webkit-flex: 0 auto;
  -ms-flex: 0 auto;
  flex: 0 auto;
}

.footer-image {
  display: block;
  width: 150px;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: 0% 50%;
  object-position: 0% 50%;
}

.footer-link {
  display: block;
  margin-bottom: 10px;
  color: #444;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.button {
  margin-top: 30px;
  padding: 5px 30px;
  border-style: solid;
  border-width: 1px;
  border-color: #fff;
  border-radius: 20px;
  background-color: transparent;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.text-block--quote {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 120px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 22px;
  line-height: 30px;
  font-style: italic;
  font-weight: 200;
}

.text-block {
  margin-top: 60px;
  margin-bottom: 60px;
  font-size: 16px;
  line-height: 22px;
}

.footer--text-small {
  color: #a5a5a5;
  font-size: 12px;
  text-align: center;
}

.parallax--quote {
  position: absolute;
  left: auto;
  top: auto;
  right: 10%;
  bottom: 40%;
  color: #fff;
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  text-align: center;
}

.heading-2 {
  margin-top: 60px;
  margin-bottom: 0px;
}

.grid {
  -ms-grid-rows: auto;
  grid-template-rows: auto;
}

.footer--text {
  font-size: 15px;
  text-align: center;
}

.footer--wrapper-text {
  text-align: left;
}

.body {
  font-family: brandon-grotesque, sans-serif;
}

.footer-link {
  color: #fff;
  text-align: center;
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 30px;
    line-height: 42px;
  }

  .section.section--grey-hero {
    height: 70vh;
    padding-top: 25px;
    padding-bottom: 25px;
    background-position: 0px 0px, 0% 50%;
  }

  .section.parallax.image2 {
    background-position: 0% 100%;
  }

  .footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .text-block--quote {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media screen and (max-width: 767px) {
  body {
    padding: 5px;
  }

  h1 {
    margin-top: 0px;
    font-size: 21px;
    line-height: 31px;
  }

  .section.parallax {
    min-height: 30vh;
  }

  .section.parallax.image2 {
    min-height: 30vh;
  }

  .logo {
    width: 200px;
    margin-top: 10px;
  }

  .footer {
    padding: 40px 20px;
  }

  .footer-image {
    -o-object-fit: contain;
    object-fit: contain;
  }

  .text-block--quote {
    padding-right: 20px;
    padding-left: 20px;
  }

  .text-block {
    margin-bottom: 80px;
  }
}

@media screen and (max-width: 479px) {
  .section.parallax {
    background-position: 50% 100%;
  }

  .successgrid__horse-name {
    font-size: 20px;
  }

  .foundergrid__title {
    font-size: 12px;
  }

  .heading {
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
  }

  .footer {
    padding-right: 20px;
    padding-left: 20px;
    text-align: left;
  }

  .footer-flex-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .footer-logo-link {
    height: 60px;
  }

  .grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}

