/*

Also used to display picture gallery list

*/
video{
    max-width: 100%;
    height: 100%;
    max-height: 90vh;
}
:root {
    --plyr-color-main: #2a3e5d;
    --plyr-video-progress-buffered-background:#ffffffc2;
    --plyr-progress-loading-background: #2a3e5d;
}
#sprite-plyr{
    display: none;
}
.video{
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.video-country{
    vertical-align: middle;
}
#video-list .video .thumb,#video-list .video .infos{
    margin: auto;
}
.video .duration{
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 11111;
    background: #00000070;
    color: white;
    font-size: 11px;
    padding: 2px 5px;
}
.video .title{
    font-size: 1.4em;
    font-weight: bold;
    padding: 5px 0;
}
.plyr__controls button{
    margin: 0;
}
#video-list{

    padding-bottom: 100px;
}
#video-list.view-grid{

}
#video-list.view-grid .video{
    padding: 10px;
    flex: 1;
    display: flex;
    align-items: center;
}
#video-list.view-grid .thumb{
    width: 300px;
    height: 170px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    cursor: pointer;
    position: relative;
    max-width: 100%;
}
#video-list.view-grid .video .fa{
    opacity: 0;
    color: black;
}
#video-list.view-grid .video:hover .fa{
    opacity: 0.8;
}
#video-list.view-grid .infos{
    position: relative;
    width: 300px;
    align-self: baseline;
    overflow: hidden;
    max-width: 100%;
    text-align: left;
}

#video-single{
    display: flex;
    padding-bottom: 100px;
}
#video-single .video-wrapper{
    flex: 3;
}
#video-single #playlist{
    flex: 1;
}
#video-list.view-grid .video{

    padding: 10px;
    display: flex;
    flex-direction: column;
}
#video-list .thumb,#video-list .infos{
    margin-top: 0!important;
    margin-bottom: 0!important;
}
#video-list.view-grid .thumb{
    width: 300px;
    height: 170px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    cursor: pointer;
    position: relative;
}
#video-list.view-grid .video .fa{
    opacity: 0;
    color: black;
}
#video-list.view-grid .video:hover .fa{
    opacity: 0.8;
}
#video-list.view-grid .infos{
    position: relative;
}
#video-single #video-content{
    flex-grow: 1;
    padding-right: 20px;
}
#video-single #playlist .video:first-child{
    padding-top: 0;
}
#video-single #playlist{
    padding: 0 10px
}
#video-single h1{
    font-weight: bold;

}
#video-single #video-description{

    text-align: justify;

}
#comment-result{
    text-align: left;
}
#video-single #video-map{
    min-height: 200px;
    margin: 0 10px 20px 10px;
}
#video-single #video-list.loc-border-top{
    padding-top: 20px;
    border-top: 1px solid silver;
}
#video-single .leaflet-marker-icon:not(.boat-marker):not(.start-marker, .start-icon, .end-icon, .mix-icon) img:not(.pulsing-marker){
    border: none!important;
    box-shadow: none!important;
}
img.video-country{
    max-height:25px
}
@media screen and (max-width: 768px){
    #video-single{
        flex-direction: column;
    }
}

