/*
put any CSS shared by all instances
of this component here. Also be sure to add this file
to the styleRefs array in elastic
*/

section#legacy div.lg-video-tout {
    width: 100%;
    height: 80vh;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
}
section#legacy div.lg-video-tout.row>* {
    padding-left: 0;
    padding-right: 0;

}

section#legacy div.lg-video-tout {
  min-width: 100%;
  z-index: -1;
  /*
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(-50%) translateY(-50%);
  */
}

section#legacy .lg-video-overlay {
    position: absolute;
    width: 450px;
    left: 50%;
    bottom: 25%;
    color: #FFF;
    text-align: center;
    font-size: 20px;
    background-color: rgba(51, 103, 153, 0.6);
    padding: 20px;
    -ms-transform: translateX(-225px);
    -moz-transform: translateX(-225px);
    -webkit-transform: translateX(-225px);
    transform: translateX(-225px);
}
section#legacy .lg-video-overlay h1 {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px
}
section#legacy .lg-video-overlay h2 {
    font-size: 1.5rem;
}

section#legacy div.sm-video-tout {
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    background-color: rgba(51, 103, 153, 0.6);
}

section#legacy div.sm-video-tout .video {
    padding: 0px !important;
    width: 100%;
}

section#legacy .sm-video-overlay {
    padding-top: 15px !important;
    padding-bottom: 20px !important;
    color: #FFF;
    text-align: center;
    font-size: 20px;
}

@media screen and (min-width : 1025px) {
    section#legacy .sm-video-tout {
        display: none !important;
    }
}

@media screen and (max-width : 1024px) {
    section#legacy .lg-video-tout {
        display: none !important;
    }

    section#legacy .sm-video-tout {
        display: block !important;
    }
}
