﻿#topbanner {
    min-height: 50px;
}

#footer-background {
    height: 700px;
}

#footer {
padding: 0px;
}

#contactus {
    padding: 50px 0px;
    margin: auto !important;
}

#main {
    background: black;
}

.article {
    color: white;
    text-align: left;
    width: 900px;
    margin: auto auto;
    padding: 50px 0px 25px 0px !important;
}

.article > span {
    display: inline-block;
    background: #89C33F;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    vertical-align: top;
    margin: 10px;
}

.article .content {
    width: 835px;
    display: inline-block;
    margin: auto;
}

.article-title {
    color: white;
    margin-bottom: 20px;
}

.article-title hr {
    border-top-width: 0px;
    border-color: #89C33F;
}

.article-sub-title {
font-size: 16px;
}

.content-title {
    color: #89C33F;
    margin-bottom: 20px;
}

.content-text {
    color: white;
}

#wrapper-video a {
    color: white;
    text-decoration: none;
    width: 180px;
    display: inline-block;
    margin: auto 10px 20px 10px;
    vertical-align: top;
    position: relative;
}

#wrapper-video a:visited {
    color: white;
    text-decoration: none;
}
#wrapper-video {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

#wrapper-video span,
.video-thumb span {
    text-align: center;
    display: block;
}

#wrapper-video > a > span:first-child,
.video-thumb > span {
    width: 100%;
    height: 150px;
    padding: 20px 0px 0px 0px;
    color: white;
    border-top: solid 2px #89C33F;
    z-index: 100;
    position: relative;
}

.video-button {
    border: solid 1px #89C33F !important;
    width: 125px;
    height: 30px;
    margin: 20px auto;
    color: white;
    text-align: center;
    display: block;
    background: black;
    z-index: 100;
    position: relative;
}

#wrapper-video a:hover > span,
#wrapper-video a:hover .video-button {
    border-color: white !important;
}

.video-thumb {
    display: inline-block;
    vertical-align: top;
}

.inner-content-text {
    display: inline-block;
    color: white;
}

.inner-content-text img {
    border: solid 3px #89C33F;
}

.inner-content-sub-title {
    font-style: italic;
    font-size: 14px;
    line-height: 20px;
}

.inner-content-text a,
.inner-content-text a:visited,
.article-title a,
.article-title a:visited {
    color: #89C33F;
}

.article-title a {
    text-decoration: none;
}

.explorer {
    text-decoration: none;
}

.explorer .video-button {
    width: 200px;
}
.explorer .video-button:hover {
    border-color: white !important;
    color: #89C33F;
}
/*.fairer .video-button:hover, .save .video-button:hover {
    border-color: #89C33F !important;
}*/

#wrapper-video a:hover .theme-background {
    background-blend-mode: exclusion;
    opacity: 0.75;
}


.theme-background {
    width: 180px;
    height: 250px;
    position: absolute;
    top: 0px;
    z-index: 0;
    opacity: 0.35;
    transition: 0.5s;
    background-blend-mode: saturation;
}

#wrapper-video > a:nth-child(1) .theme-background {
    background: linear-gradient(black, black), url(../../../images/CanadaPerspective.jpg) no-repeat;
    background-position: -200px -75px;
}

#wrapper-video > a:nth-child(2) .theme-background {
    background: linear-gradient(black, black), url(../../../images/SocialMobility.jpg) no-repeat;
    background-position: -150px 0px;
    background-size: 400px 267px;
}

#wrapper-video > a:nth-child(3) .theme-background {
    background: linear-gradient(black, black), url(../../../images/HealthyFutures.jpg) no-repeat;
    background-position: -190px -35px;
}

#wrapper-video > a:nth-child(4) .theme-background {
    background: linear-gradient(black, black), url(../../../images/FutureOfWork.jpg) no-repeat;
    background-position: -150px -100px;
}

@media only screen and (max-width: 1024px) {
    .article, .article .content {
        width: 90%;
    }
    .article:first-child {
        padding: 25px 0px;
    }

    .article > span {
        display: none;
    }
    #wrapper-video {
        text-align: center;
        display: block;
    }
    #contactus {
        margin: 0px auto auto auto !important;
    }
}

@media only screen and (max-width: 750px) {
    .article, .article .content {
        width: auto;
    }
}