body .jwplayer {
    max-width : 100%;
}

.jw-icon-cc{
    display:none !important;
}

body .jw-title {
    display : block;
    background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
    height : auto;
}

body .jw-title-primary, .jw-title-secondary {
    white-space : normal;
}

body .jw-title-primary.has-photo, .jw-title-secondary.has-photo {
    width: calc(100% - 70px);
    float : right;
}

body .jw-state-paused .jw-title,body .jw-flag-user-inactive.jw-state-paused .jw-title,
.jw-flag-user-inactive.jw-state-paused .video-chapitres,body .jw-flag-user-inactive.jw-state-paused .next-chapitre,
.jw-flag-user-inactive.jw-state-paused .prev-chapitre {
    display: block;
}

body .jw-flag-user-inactive .jw-title,.jw-flag-user-inactive .video-chapitres, .scrollbar, .jw-flag-user-inactive .next-chapitre, .jw-flag-user-inactive .prev-chapitre   {
    display : none;
}

body .video_photo {
    margin-left : 10px;
    float: left;
    width : 60px;
    padding : 2px;
}

body .video-chapitres {
    overflow-y:hidden;
    list-style: none;
    bottom : 40px;
    padding : 5px;
    background-color: rgba(0, 0, 0, 0.8);
    position:absolute;
    width: calc(100% - 60px);
    height : 80px;
    pointer-events: all;
    left : 30px;
}

body .video-chapitres ul{
    list-style : none;
    height:100%;
    padding:0;
    margin:0;

}

body .video-chapitres ul li{
    float:left;
    list-style:none;
    height : 100%;
    color:white;
    text-align:center;
    font-family:"arial", sans-serif;
    font-size:12px;
    margin-right : 15px;
    display : block;
    position : relative;
}

body .video-chapitres ul li a:hover {
    border:2px solid green;
}

body .video-chapitres ul li.active a{
    border : 2px solid #fff;
}

body .video-chapitres a{
    float:left;
    max-width:90px;
    color:white;
    width:100%;
    text-align:center;
    display : block;
}
body .video-chapitres img {
    width:100%;
}

body .video-chapitres span{
    padding:3px;
    position : absolute;
    top : 0px;
    left : 0px;
    background : #1b4368;
    display:block;
}

body .prev-chapitre {
    border: none;
    position : absolute;
    bottom: 40px;
    width : 30px;
    left: 0px;
    color : white;
    height : 80px;
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: all;
}

body .next-chapitre {
    border : none;
    position : absolute;
    bottom: 40px;
    width : 30px;
    right: 0px;
    color : white;
    height : 80px;
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: all;
}

body #chapitre_zoom {
    display : none;
    height: 150px;
    left: calc(50% - 100px);
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: calc(50% - 100px);
    width: 200px;
    background-repeat : no-repeat;
    background-size : 100% 100%;
    border : 1px solid white;
}
body .jw-flag-fullscreen #chapitre_zoom {
    height: 50%;
    width : 50%;
    max-width : 500px;
    max-height : 375px;
    left: calc(50% - 250px);
    top: calc(50% - 25%);
}

body .jw-time-tip div {
    max-width : 150px;
    max-height : 113px;
    background-size : 100% 100%;
}

body .jw-related-item-title {
    display : none;
}

body .jw-related-item-content {
    border : 1px solid white;
}

body .jw-related-item-title span {
    color : white;
    background : rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
    white-space : normal;
}

[class*="jw-breakpoint-"]:not(.jw-breakpoint-0):not(.jw-breakpoint-1) .jw-related-item-next-up .jw-related-item-poster-content::before {
    background : none;
}