/** player => main dev container for GIFs & VIDs **/
.player{
    direction: ltr !important; /*keep*/
    text-align: left !important; /*keep*/
    position: relative;
    width: 90%;
    margin: auto;
}
.player .cover, .player picture img{
    width: 100%;
    max-height: 500px;

    /* filter: blur(10px); */
    opacity: 0.1;
    transform: scale(1);
}
.fullPost .player picture, .fullPost .player .picture {
    max-width: 100%;
    margin: 0;
}

.player .play{
    position: absolute;
    top: 50%;
    right: 50%;
    margin-top: -50px;
    margin-right: -50px;

    width: 100px;
    height: 100px;
    background: url(../img/play.png) center no-repeat;
    background-size: 100% 100%;

    opacity: 0.7;
}
.player:hover .play{
    opacity: 1;
}
.gif .play{
    background-image: url(../img/play-gif.png);
}

.player.gif, 
.player.vid{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 500px;
    
    cursor: pointer;
    background: rgba(0,0,0, .45);
    padding: 0 !important;
    direction: ltr !important;
    margin: 0px auto;
}

.player video{
    z-index: 99;
    width: 100%;
    height: auto;
    max-height: 500px;    
}

/** Video **/
html.vid{ top: 0; } /* Because of Modernizer.js */

.vid.fullscreen video{
    width: 100%;
    height: 100%;
    max-height: none;
}

.vidcontrols{
    position: absolute;
    bottom: 0px;
    
    width: 100%;
    height: 30px;
    background-color:rgba(0,0,0, .65);
    z-index: 100;
    
    font-family: Tahoma;
    font-size: 12px;
    color: #fff;
    padding: 0 8px;
}
.vidcontrols .play-btn{
    display: inline-block;
    width: 25px;
    height: 25px;
    
    background: url(../img/vidcontrols.png);
    background-size: auto 242px;
    background-position: left top 2px; /*keep*/
    background-repeat: no-repeat;
}
.vidcontrols .pause{
    background-position: left top -23px; /*keep*/
}
.vidcontrols .speaker{
    display: inline-block;
    width: 25px;
    height: 25px;
    
    background: url(../img/vidcontrols.png);
    background-size: auto 242px;
    background-position: left 1px top -48px; /*keep*/
    background-repeat: no-repeat;
}
.vidcontrols .mute{
    background-position: left top -73px; /*keep*/
}
.vidcontrols .fullscreen{
    display: inline-block;
    width: 25px;
    height: 25px;
    
    background: url(../img/vidcontrols.png);
    background-size: auto 242px;
    background-position: left top -98px; /*keep*/
    background-repeat: no-repeat;
}
.vidcontrols .fulled{
    background-position: left top -123px; /*keep*/
}


.vidcontrols .speaker, .vidcontrols .fullscreen{
    opacity: 0.75;
}
.vidcontrols .speaker:hover, .vidcontrols .fullscreen:hover{
    opacity: 1;
}

.vidcontrols .current, .vidcontrols .duration{
    display: inline-block;
    position: relative;
    top: -5px;
    margin: 0px 5px !important;
    line-height: 40px;
}

.vidcontrols .sound{
    display: inline-block;
    height: 18px;
    width: 75px;
    margin-top: -38px;
    margin-right: 5px; /*keep*/
}
.vidcontrols .sound div{
    text-align: left !important; /*keep*/
    height: 5px;
    background-color: #a5a5a5;
    margin-top: 6px;
}
.vidcontrols .sound span, .vidcontrols .seek span{
    display: block;
    width: 0px;
    height: 5px;
    background-color: var(--blue);
}
.vidcontrols .sound span{
    width: 50%;
}

.vidcontrols .seek{
    position: absolute;
    bottom: 0px;
    right: 185px; /*keep*/
    left: 80px; /*keep*/
    height: 18px;
}
.vidcontrols .seek div{
    background-color: #a5a5a5;
    height: 5px;
}
.vidcontrols .left{
    position: absolute;
    left: 5px !important; /*keep*/
    width: 70px;
}
.vidcontrols .right{
    position: absolute;
    right: 5px !important; /*keep*/
    width: 172px;
}

@media only screen and (max-width: 550px) {   
    .player .play-btn{
        display: none;
    }
    .player .sound{
        width: 50px;
    }
    .player .seek{
        left: 50px; /*keep*/
        right: 155px; /*keep*/
    }
}
@media only screen and (max-width: 470px) {
    /* fix padding on small size */ 
    .player, .player picture{
        display: table;
    }
    .player .sound{
        display: none;
    }
    .player .seek{
        right: 100px; /*keep*/
    }
}