/* Styles specific to the VideoModule template*/

.video-module > hgroup > h2 {
    background-position: 0px -126px;
}

.video-module .video-container {
    clear: left;
    display: block;
    position: relative;
    width: 640px;
    height: 360px;
    margin-left: 85px;
    background-color: #000000;
    background-image: url('http://a.dolimg.com/en-US/disneychannel/images/video/teaserBackground.jpg');
    border: 1px solid #b6b6b6;
}

.video-container > .teaser {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.video-container > .teaser img {
    display: block;
    position: relative;
    width: 128px;
    height: 128px;
    top: 121px;
    margin-left: auto;
    margin-right: auto;

    -webkit-transition: all 100ms ease;
    -moz-transition: all 100ms ease;
    -o-transition: all 100ms ease;
    -ms-transition: all 100ms ease;
    transition: all 100ms ease;
}
.video-container.active > .teaser {
    display: none;
}
.video-container > .teaser:hover img {
    width: 140px;
    height: 140px;
    top: 115px;
}


.video-container > .teaser:before {
    content: '';
    display: block;
    position: absolute;
    background-color: #000000;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    -webkit-transition: opacity 250ms ease;
    -moz-transition: opacity 250ms ease;
    -o-transition: opacity 500ms ease;
    -ms-transition: opacity 500ms ease;
    transition: opacity 500ms ease;
}

.video-container > .teaser:hover:before {
    opacity: 0;
}

.video-module > img, .video-module > hgroup > h1 {
    cursor: pointer;
}

.active .video-player {
    display: block;
}

.inactive .video-player {
    display: none;
}
