.age-verification-player {
    background: rgba(0, 0, 0, 0.8);
    width: 230px;
    padding-bottom: 10px;
    display: block;
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -100px auto auto -110px;
    z-index: 100;
    overflow: hidden;

}

.age-verification-player .video-wrapper {
    display: none;
}

.age-verification-player .text {
    width: 220px;
    margin: 0 auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    color: #FFF;
    padding: 7px 10px;
    text-align: center;
    font-size: 12px;
    text-shadow: 0px 1px 2px #000;
}

.age-verification-player .text p {
    margin: 0;
}

.age-verification-player .cancel {
    display: block;
    color: #FFF;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #777;
    border-radius: 15px;
    padding: 5px 10px;
    width: 200px;
    margin: 0 auto;
}

.age-verification-player .loader {
    width: 95px;
    height: 95px;
    display: block;
    margin: 0px auto;
}

.age-verification-player .loader .loading {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;

    background: url(../../img/age-verification/v6/loader-circle.png) center center no-repeat;
    background-size: contain;

    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}

.age-verification-player .loader .play {
    width: 100%;
    height: 100%;
    display: none;
    border-radius: 50%;

    background: url(../../img/age-verification/v6/loader-play-full.png) center center no-repeat;
    background-size: contain;
}

.age-verification-player .loader.loaded .loading {
    display: none;
}

.age-verification-player .loader.loaded .play {
    display: block;
}

.age-verification-player.show-video {
    width: 300px;
    margin-left: -150px;
    margin-top: -170px;
    background: rgba(0, 0, 0, 0.8);
}

.age-verification-player.show-video .loader {
    display: none;
}

.age-verification-player.show-video .text {
    width: 290px;
    padding-top: 15px;
    margin-bottom: 5px;
}

.age-verification-player.show-video .video-wrapper {
    width: 280px;
    height: 180px;
    display: block;
    padding: 10px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.age-verification-player.show-video .video-wrapper img {
    width: 100%;
    display: block;
    opacity: 0.1;

    -webkit-transition: all 1s;
    transition: all 1s;
}

.age-verification-player.show-video .video-wrapper img.loaded {
    opacity: 1;
}

.age-verification-player.show-video .video-wrapper .video-loader {
    width: 80px;
    height: 80px;
    display: block;
    position: absolute;
    top: 45%;
    left: 50%;
    margin: -35px 0 0 -40px;
}

.age-verification-player.show-video .video-wrapper .video-loader .loading {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;

    background: url(../../img/age-verification/v6/loader-circle.png) center center no-repeat;
    background-size: 48px 48px;

    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}

.age-verification-player.show-video .video-wrapper .video-loader .play {
    width: 70px;
    height: 70px;
    display: none;
    border-radius: 50%;
    padding: 5px;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.3) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,1) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d000000', endColorstr='#000000',GradientType=0 );

}

.age-verification-player.show-video .video-wrapper .video-loader .play .icon {
    width: 70px;
    height: 70px;
    display: block;
    border-radius: 50%;
}

.age-verification-player.show-video .video-wrapper .video-loader .play .icon:after {
    content: '';
    width: 25px;
    height:32px;
    background: url(../../img/age-verification/v6/loader-play.png) center no-repeat;
    background-size: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -17px 0 0 -9px;
}

.age-verification-player.show-video .video-wrapper .video-loader.loaded .loading {
    display: none;
}

.age-verification-player.show-video .video-wrapper .video-loader.loaded .play {
    display: block;
}

.age-verification-player.show-video .video-wrapper .toolbar {
    position: absolute; 
    bottom: 0;
    left: 0;
    right: 0;
    height: 34px;
    border: 1px solid #000000;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.3) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,1) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d000000', endColorstr='#000000',GradientType=0 );
}

.age-verification-player.show-video .video-wrapper .toolbar:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    background: -moz-linear-gradient(top,  rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0.35) 0%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,0.35) 0%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#59ffffff', endColorstr='#00ffffff',GradientType=0 );
}

.age-verification-player.show-video .video-wrapper .toolbar .back {
    width: 14px;
    height: 10px;
    background: url(../../img/age-verification/v6/video-back.png) center no-repeat;
    background-size: 100%;
    position: absolute;
    top: 50%;
    left: 15px;
    margin: -5px 0 0;
    z-index: 1;
}

.age-verification-player.show-video .video-wrapper .toolbar .forward {
    width: 14px;
    height: 10px;
    background: url(../../img/age-verification/v6/video-forward.png) center no-repeat;
    background-size: 100%;
    position: absolute;
    top: 50%;
    right: 15px;
    margin: -5px 0 0;
    z-index: 1;
}

.age-verification-player.show-video .video-wrapper .toolbar .duration {
    height: 6px;
    background: #222222;
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 13%;
    right: 13%;
    margin: -3px 0 0;
}

.age-verification-player.show-video .video-wrapper .toolbar .duration .current {
    position: absolute;
    left:0;
    height: 100%;
    width: 0;

    -webkit-transition: all 15s;
    transition: all 15s;
}

.age-verification-player.show-video .video-wrapper .toolbar.loaded .duration .current {
    width: 54%;
}


@-webkit-keyframes rotating /* Safari and Chrome */
{
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}