* {
    margin: 0;
    border: 0;
    padding: 0;
    font-family: 'Hind', sans-serif;
}
body {
    width: 100%;
    height: 100%;
    position:absolute;
    display:block;
    bottom:0;
    left:0;
    overflow-x:hidden;
    overflow-y: hidden;
}

.adways-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: black;*/
    overflow: hidden;    
    cursor:pointer;
}

#player-html5 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#container {
    position: absolute;
    width: 100%;
    height:calc(100% - 46px);
    bottom: 32px;
    cursor:pointer;
    pointer-events: none;
}

#video-controls{
    position:absolute;
    height:46px;
    bottom:0;
    left:0;
    right:0;
    background-color:hsla(0,0%,8%,.9);
    overflow:visible;
    transition-property: bottom;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

#buttons-controls{
    position:absolute;
    height:33px;
    bottom:0px;
    left:0;
    right:0;
    overflow:visible;
}

#seek-bar-v2-container{
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    /*width: 100%;*/
    height: 50px;
    /*border: 1px solid red;*/
    display: none;
    /*background: red;*/
    background-position: left bottom;
    background-repeat: repeat-x;
}

#pre-seek-bar-container{
    position:absolute;
    height:4px;
    left:0px;
    width:10px;
}
#post-seek-bar-container{
    position:absolute;
    height:4px;
    right:0px;
    width:10px;
}

#seek-bar-container{
    position:absolute;
    height:18px;
    bottom:28px;
    left:10px;
    right:10px;
    /*cursor:pointer;*/
}

#seek-bar{
    position:relative;
    height:4px;
    top:7px;
    width:0%;
    /*background-color:#ffd229;*/
}

#seek-bar-init{
    position:absolute;
    height:4px;
    top:7px;
    right:0px;
    width:100%;
    /*background-color:#ffd229;*/
}

#seek-bar-cursor{
    position:absolute;
    top:-4px;
    right:-20px;
    height:40px;
    width:40px;
    top:1px;
    /*background-image:url('img/curseur.png');*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
#seek-bar-cursor-front-div{
    position:absolute;
    top:-4px;
    right:-20px;
    height:40px;
    width:40px;
    top:1px;
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */

    /* Rules below not implemented in browsers yet */
    -o-user-select: none;
    user-select: none;
}

#play-pause{
    width:29px;
    height:33px;
    position:absolute;
    cursor:pointer;
}

.play{
    background-image:url('img/play.png');
    background-repeat: no-repeat;
    background-position: center;
}
.play:hover{
    background-image:url('img/play-hover.png');
}

.pause{
    background-image:url('img/pause.png');
    background-repeat: no-repeat;
    background-position: center;
}
.pause:hover{
    background-image:url('img/pause-hover.png');
}

#fullscreen{
    width:29px;
    height:33px;
    position:absolute;
    right:5px;
    cursor:pointer;
}


.fullscreen-on{
    background-image:url('img/fullscreen_on.png');
    background-repeat: no-repeat;
    background-position: center;
}
.fullscreen-on:hover{
    background-image:url('img/fullscreen_on-hover.png');
}

.fullscreen-off{
    background-image:url('img/fullscreen_off.png');
    background-repeat: no-repeat;
    background-position: center;
}
.fullscreen-off:hover{
    background-image:url('img/fullscreen_off-hover.png');
}

#current-time{
    position:absolute;
    width:103px;
    left:40px;
    height:25px;
    bottom:0px;
    font-size:.8625em;
    /*color:#d4d4d4;*/
}
#publicity{
    color:#d4d4d4;
    position:absolute;
    top:0px;
    left:0px;
}
#remaining-time{
    color: #969696;
    float: right;
    right:0px;
    top:0px;
    right:0px;
}

#mute{
    width:30px;
    height:30px;
    position:absolute;
    right:110px;
    bottom:2px;
    cursor:pointer;
}

.mute-off{
    background-image:url('img/volume.png');
}

.mute-on{
    background-image:url('img/volume-mute.png');
}

#volume-bar-container{
    width:60px;
    position:absolute;
    right:15px;
    bottom: 9px;
    height: 15px;
    border-radius:15px;
    background-image:url('img/son.png');
    background-repeat: no-repeat;
    background-position: left;
    cursor:pointer;
}

#volume-bar{
    position:relative;
    height:100%;
    width:100%;
    background-image:url('img/son-on.png');
    background-repeat: no-repeat;
    background-position: left;
}
#volume-bar:hover{
    background-image:url('img/son-on-hover.png');
}

/********** MASK CONTROLLER ************/
#mask-container {
    position: absolute;
    z-index: 2;
    right: 0;
    width: 100%;
    top: -10px;
    height: 20px;
    overflow: hidden;
}

#mask {
    position: relative;
    float: right;
    z-index: 2;
    right: 0;
    width: 100%;
    top: 0;
    height: 20px;
    overflow: hidden;
}

#mask-background {
    width: 100%;
    height: 100%;

}

@keyframes myAnim1 {
    0% {
        left: 50px;
        top: 50px;
    }

    33% {
        left: 40px;
        top: 35px;
    }

    50% {
        left: 30px;
        top: 20px;
    }

    100% {
        left: 0;
        top: 0;
    }
}

@keyframes myAnim2 {
    0% {
        left: 50px;
        top: 50px;
    }

    33% {
        left: 60px;
        top: 35px;
    }

    50% {
        left: 70px;
        top: 20px;
    }

    100% {
        left: 100px;
        top: 0;
    }
}

#fireworks-container {
    position: absolute;
    width: 100px;
    height: 100px;
    top: -50px;
    left: -50px
}

#fireworks-container .fuse {
    position: absolute;
    top: 50px;
    left: 50px;
    height: 10px;
    width: 10px;
    background: url("un_poil.png") center no-repeat;
    background-size: cover;
}

#fireworks-container .fuse:nth-child(1) {
    transform: rotate(-45deg);
    animation: myAnim1 0.3s linear infinite;
}

#fireworks-container .fuse:nth-child(2) {
    transform: rotate(45deg);
    animation: myAnim2 0.3s linear 0.2s infinite;
}
.np_ViewGradient {
  background-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 110%);
  height: 40px;
  bottom: 0;
  left: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.video-controls.transparent {
    background-color:hsla(0,0%,0%,.0);
    position:absolute;
    height:46px;
    bottom:0;
    left:0;
    right:0;
    overflow:visible;
    transition-property: bottom;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}