/* HERO */
.herocontainer {
    height: 100%;
    width: 100%;
    margin:0;
    padding: 0;
    overflow: hidden;
}

.herocontainer video {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.herocontainer .image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: 50%;
    height: 100%;
    /* animation: shrink 15s infinite 0.01s alternate; */
    /* -webkit-animation: shrink 15s infinite 0.01s alternate; */
    /* -moz-animation: shrink 15s infinite 0.01s alternate; */
}

@keyframes shrink {
    0% {
      background-size: 110% 110%;
      -webkit-background-size: 110% 110%;
    }
    100% {
      background-size: 100% 100%;
      -webkit-background-size: 100% 100%;
    }
}

/* gradient overlay for video and background image */
.herocontainer::before {
    content:"";
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom:0;
    z-index: 100;
    /*background-image: linear-gradient(to bottom, rgba(127, 136, 144, 0.6), rgba(17, 35, 51, 0.7));*/
}

/* Text overlay for video and background image arrays */
.herooverlay {
    color: white;
    background-color: transparent !important;
    left:200px;
    width: 70%;
    z-index: 200;
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-left: center;
}

.herooverlay h1 {
    text-align: left;
    font-size: 100px;
    line-height: 110px;

}

.herooverlay p {
    font-size: 16px;
}

.herooverlay p a {
    background-color: transparent !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5;
}

.herooverlay p a:hover svg.st0 {
    fill: #64B2D4;
}

/* Navigation overlay for video and background image arrays */
.heronav {
    position: absolute;
    bottom: 0;
    height: 120px;
    width: 50px;
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    z-index: 400;
}

.heronav div {
    background-color: rgba(255,255,255, 0.4);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    text-align: center;
    margin-right: 10px;
}

.heronav div:last-child {
    border-right: none;
}

.heronav div .progressbar {
    height: 5px;
    width: 0%;
    background-color: transparent;
    border-right: none;
    border-radius: 0;
    transform-origin:left;
    transition:width 0.15s ease-in;
    opacity: 1;
}

.heronav h4.label {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin: 20px 0 5px 0;
    text-transform: none;
    font-size: 14px;
    font-weight: 700;
}
.heronav p {
    text-align: center;
    width: auto;
    margin: 0 auto;
    color: white;
    font-size: 16px;
    padding: 0 20px;
    font-weight: 700;
    line-height: 20px;
    text-transform: none !important;
}

/* RWD */
@media (max-width: 760px){
    .heronav {
        height: 85px;
    }
    .heronav p {
        display: none;
    }
    .herooverlay {
        left: 40px;
        width: 80%;
    }

    .herooverlay h1 {
        font-size: 40px;
        line-height: 54px;
    }

}

@media (min-width: 761px) and (max-width:1024px){
    .heronav {
        height: 85px;
    }
    .herooverlay {
        left: 40px;
        width: 80%;
    }
    .herooverlay h1 {
        font-size: 56px;
        line-height: 70px;
    }
    .heronav p {
        display: none;
    }
}


@media (min-width: 761px) and (max-width:1424px){
    .herooverlay {
        left: 60px;
        width: 80%;
    }

}
