/* ====================================
   Demo specific styling
   ==================================== */

.header-video {
    width: 100% !important;
    height: auto !important;
    position: relative;
    overflow: hidden;
}

.header-video iframe,
.header-video video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.header-video iframe {
    height: 100%;
    width: 100%;
}

.header-video video {
    width: 100%;
}

.header-video__teaser-video {
    width: 100%;
    height: auto;
}

.header-video__media {
    width: 100%;
    height: auto;
}


/*
.header-video__play-trigger {
  z-index: 5;
  position: absolute;
  background: #00b4b6;
  text-align: center;
  color: white;
  text-decoration: none;
  padding: 1.5em 3em;
  z-index: 5;
  right: 40%;
  left: 40%;
  top: 40%;
  bottom: 40%;
  border-radius: none;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: background .5s;
  -moz-transition: background .5s;
  transition: background .5s;
} 
*/


/*
.header-video__play-trigger {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  position: absolute;
  cursor: pointer;
  margin: 65px;
  padding: 145px;
  border: none;
  font: normal 33px/0 Arial, Helvetica, sans-serif;
  color: rgba(255,255,255,1);
  text-align: center;
  -o-text-overflow: clip;
  text-overflow: clip;
  letter-spacing: 3px;
  background: #00b4b6;
} */

.header-video__play-trigger:hover {
    background: rgba(0, 0, 0, .5);
}


/**
  Just some basic styling for the closing trigger
**/

.header-video__close-trigger {
    z-index: 99;
    position: absolute;
    background: #A61212;
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 2em 3em;
    border-radius: 10px;
    right: 10px;
    top: 10px;
    -webkit-transition: background .3s;
    -moz-transition: background .3s;
    transition: background .3s;
    border: none;
}

@media screen and (max-width: 600px) {
    .header-video #header-play button.header-video__close-trigger {
        font-size: 1em;
        padding: 3px 10px;
    }
}

@media screen and (max-width: 768px) {
    .header-video #header-play button.header-video__close-trigger {
        top: 0;
    }
}

.header-video__close-trigger:hover {
    background: #363636;
    cursor: pointer;
}

.video-container {
    margin: 0 auto;
    max-width: 1280px;
    padding: 10em 2em 10em 2em;
}

iframe {
    width: 100% !important;
}

#header-play {
    display: block;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#header-play .container-play {
    width: 35%;
    height: auto;
    max-width: 500px;
    background: #00b4b6;
    margin: auto;
    padding: 15px 20px;
}

@media screen and (max-width: 600px) {
    #header-play .container-play {
        width: 100%;
        max-width: 100%;    
        padding: 1em;
    }
    
    #header-play .container-play h1 {
        font-size: 2em;
        font-size: 6vw;
        margin: .5em auto;
    }
}

#header-play h1 {
    font-size: 50px;
    font-size: 3vw;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: .5em;
    margin-top: 0;
    line-height: normal;
}

@media screen and (min-width: 1441px) {
    #header-play .container-play h1 {
        font-size: 3em;
    }
    
    #header-play .container-play button.header-video__play-trigger:after {
        font-size: 1.5em;
    }
}

#header-play button.header-video__play-trigger {
    font-size: 12px;
    margin: auto;
    padding: 4px 12px;
    background: #fff;
    border: none;
    border-radius: 25px;
    color: #000;
    border: 1px solid #fff;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

#header-play button.header-video__play-trigger:hover {
    background: #00b4b6;
    color: #fff;
}

#header-play button.header-video__play-trigger:after {
    font-family: FontAwesome;
    font-size: 12px;
    padding-left: 10px;
    content: '\f178';
    color: #00b4b6;
    vertical-align: middle;
}

#header-play button.header-video__play-trigger:hover:after {
    color: #fff;
}

#header-play .container-stop {
    position: absolute;
    right: 0;
    top: 0;
    background: transparent;
}

#header-play button.header-video__close-trigger {
    background-color: transparent;
    padding: 4px 12px;
    font-size: 12px;
    opacity: .7;
    font-family: 'Gill Sans', 'Century Gothic', sans-serif;
}

#header-play button.header-video__close-trigger:hover {
    background-color: #00b4b6;
    opacity: 1;
}

.header-video video {
    width: 100%;
    height: 100%;
}