/**
 * Replace `$search` with `$replace` in `$string`
 *
 * @author Hugo Giraudel
 * @param {String} $string - Initial string
 * @param {String} $search - Substring to replace
 * @param {String} $replace ('') - New value
 * @return {String} - Updated string
 */
/**
 * http://codepen.io/philippkuehn/pen/zGEjxB
 */
/**
 * Change the fill color of an svg.
 * @param  {[type]} $svg
 * @param  {[type]} $color: $black
 */
/**
 * Create properly pathed image url
 * Usage: background-image: image-url('image.png');
 */
/**
 * Maintains aspect ratio
 * Grabbed from: https://css-tricks.com/snippets/sass/maintain-aspect-ratio-mixin
 * @param  {[type]} $width  [description]
 * @param  {[type]} $height [description]
 * @return {[type]}         [description]
 */
/**
 * Change the color of the svg.
 */
/* note: pulled from hrz-card.scss. */
.component--video-hero-inner {
  padding-top: 3rem;
}
@media screen and (min-width: 576px) {
  .component--video-hero-inner {
    padding-top: 3.2rem;
  }
}
@media screen and (min-width: 960px) {
  .component--video-hero-inner {
    padding-top: 0;
  }
}
.component--video-hero-inner .content {
  width: 100% !important;
  display: grid;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 1024px) {
  .component--video-hero-inner .content {
    grid-template-columns: 1fr 1fr;
  }
}
.component--video-hero-inner .content .video-wrapper {
  position: relative;
  grid-row: 1/-1;
  grid-column: 1/-1;
}
@media screen and (min-width: 576px) {
  .component--video-hero-inner .content .video-wrapper .field--name-field-mobile-video-url {
    display: none;
  }
}
.component--video-hero-inner .content .video-wrapper .field--name-field-video-url {
  display: none;
}
@media screen and (min-width: 576px) {
  .component--video-hero-inner .content .video-wrapper .field--name-field-video-url {
    display: block;
    max-height: 70vh;
    overflow: hidden;
  }
}
.component--video-hero-inner .content .video-wrapper video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.component--video-hero-inner .content .video-header--text-wrap {
  grid-row: 1/-1;
  grid-column: 1;
  padding: 2rem 50px 3.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: flex-end;
  z-index: 5;
}
@media screen and (min-width: 1024px) {
  .component--video-hero-inner .content .video-header--text-wrap {
    grid-row: 1/-1;
    grid-column: 1/2;
    max-width: 600px;
    padding: 1rem 0 8rem 7.15rem;
  }
}
.component--video-hero-inner .content .field--name-field-video-header {
  color: #da007e;
  letter-spacing: 2.5px;
  font-size: 49px;
  font-weight: normal;
  line-height: 1.16;
  text-align: center;
  margin: auto;
}
@media screen and (min-width: 1024px) {
  .component--video-hero-inner .content .field--name-field-video-header {
    text-align: left;
    letter-spacing: 3.25px;
    font-size: 59px;
  }
}
.component--video-hero-inner .content #video-control {
  width: 60px;
  height: 60px;
  border-radius: 60px;
  border: none;
  background: transparent;
  position: relative;
}
.component--video-hero-inner .content #video-control:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/themes/custom/mmg9/dist/images/pause.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.component--video-hero-inner .content #video-control[data-status=pause]:after {
  /*temp bg-img*/
  background-image: url("/themes/custom/mmg9/dist/images/play-btn.png");
}
.component--video-hero-inner .body-content {
  max-width: calc(650px + 2rem);
  margin: auto;
  padding: 4rem 1rem;
}
@media screen and (min-width: 960px) {
  .component--video-hero-inner .body-content {
    padding: 6rem 1rem;
  }
}
.component--video-hero-inner .body-content h1, .component--video-hero-inner .body-content h2, .component--video-hero-inner .body-content h3, .component--video-hero-inner .body-content h4, .component--video-hero-inner .body-content h5 {
  padding-top: 0.15rem !important;
}
.component--video-hero-inner .body-content h1 {
  text-align: center;
  padding-bottom: 2rem;
  font-size: 30px;
}
.component--video-hero-inner .body-content .button-hol {
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--marine);
  line-height: 1.2857142857;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 2.1rem;
  border: 1px solid var(--fuchsia);
  letter-spacing: 1.4px;
  padding: 1.1rem 4rem 1.1rem 1.4rem;
  text-decoration: none;
  position: relative;
  display: inline-block;
  overflow: hidden;
  z-index: 1;
  background-image: none;
  transition: background-color 0.001s linear 0s, color 0.001s linear 1ms;
  border: unset;
  background-color: #070f32;
  color: var(--white);
}
.component--video-hero-inner .body-content .button-hol::before {
  content: "";
  position: absolute;
  width: 2rem;
  height: 2rem;
  background-color: var(--fuchsia);
  right: 1.1rem;
  border-radius: 50%;
  z-index: -1;
  top: calc(50% - 1rem);
  transition: all 0.3s;
}
.component--video-hero-inner .body-content .button-hol::after {
  font-family: "oceancasino" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e901";
  color: var(--white);
  z-index: 1;
  margin-left: 1.7rem;
  font-size: 0.8em;
  position: absolute;
  right: 1.4rem;
  top: calc(50% - 0.5em);
}
@media screen and (min-width: 1024px) {
  .component--video-hero-inner .body-content .button-hol:hover {
    color: var(--white);
    border-color: var(--fuchsia);
    background-color: var(--fuchsia);
    transition: background-color 0.001s linear 0.4s, color 0.001s linear 1ms;
  }
  .component--video-hero-inner .body-content .button-hol:hover::before {
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    border-radius: 0;
  }
}
.component--video-hero-inner .body-content .button-hol:hover {
  color: var(--white);
  border-color: unset;
  background-color: var(--mmg-dark-blue);
  transition: background-color 1ms linear 0.4s;
}
.component--video-hero-inner .body-content .button-hol:before {
  background: #51cfc9;
}