/* header video */


header {
    position: relative;
    background-color: black;
    height: 100vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

header video {
    position: absolute;
    margin-top: 0px;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}



header .container {
    position: relative;
    z-index: 2;
    top: 45%;
    text-align: center;

}

/* header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
} */


.page-header {
    height: 100%;
}


.custom-index-overlay {
    z-index: 1;
    background: rgba(84.7%, 10.6%, 37.6%, 0.8) !important;
    margin-top: 12rem;
    padding: 5px 25px 15px 25px;
}



/* end header video */

/* Less than 992px - bootstrap large */
@media only screen and (max-width: 991px)

/*and (pointer: coarse) and (hover: none)*/
    {
    header {
        background: url('https://www.gigworkersunited.ca/assets/custom-img/photos/gs-k/GWU-BillofRights-Poster.png') black no-repeat center center scroll;
    }

    header video {
        display: none;
    }

    .custom-index-overlay {
        margin-top: 10rem !important;
    }

}
