﻿.videos-block{
    max-width: 1110px;
}

.video-playlist-wrapper {
    background-color: #27292d;
    position: relative;
    width: 66%;
    height: 434px;
    float: left;
}

.video-playlist-wrapper .loader-overlay {
  z-index: 1;
}

.video-playlist-wrapper iframe {
  height: 434px;
  width: 100%;
}

.video-player-wrapper {
  position: relative;
  z-index: 2;
}

.video-frame {
  visibility: hidden;
}

.video-playlist-nav-wrapper {
  width: 34%;
  float: right;
  height: 434px;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  border-width: 0 1px 1px 0;
}

.video-playlist-nav-wrapper:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(0, 0, 0, 0.05);
}

.video-playlist-nav-wrapper:before {
  content: "";
  position: absolute;
  right: 0;
  background: rgba(0, 0, 0, 0.05);
  width: 100%;
  height: 1px;
  bottom: 0;
  top: auto;
}

.video-playlist-nav-wrapper .mCustomScrollBox > .mCSB_scrollTools {
  right: 0;
  left: auto;
}

.playlist-title {
    background: #0066cc;
    color: #ffffff;
    height: 70px;
    width: 100%;
    padding: 0 15px;
    line-height: 17px;
    z-index: 9;
}

.playlist-title-ordertext {
    font-family: 'Roboto' sans-serif;
    font-weight:500;
    padding-top: 18px;
    font-size: 20px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    font-variant-caps: unset !important;
    font-weight: unset !important;
    margin-top: 0px;
    margin-bottom: 0px;
}

.videos-number {
    font-family: 'Roboto' sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    display: block;
    float: left;
    margin-top:5px;
}

.playlist-title-icon {
  font-size: 27px;
  float: left;
  margin-right: 10px;
  height: 70px;
  line-height: 70px;
  width: 40px;
  text-align: center;
  font-weight: normal;
}

.video-playlist-nav {
    position: relative;
    height: 434px;
    clear: both;
}


.is-mobile .video-playlist-nav {
    overflow-y: auto;
}

.video-playlist-nav:not(.playlist-has-title) {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.playlist-has-title {
    height: 364px;
}

.video-playlist-item {
    padding: 12px 15px;
    display: block;
    overflow: hidden;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

    .video-playlist-item:last-of-type {
        border-bottom: 0;
    }

    .video-playlist-item p {
        font-family: 'Roboto' sans-serif;
        font-weight: 500!important;
        font-size: 13px!important;
        line-height: 17px!important;
        color: #023e88!important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .video-playlist-item:hover,
    .is-playing {
        background: #F7F7F7;
    }

.video-paused-icon,
.video-play-icon,
.video-number {
    float: left;
    width: 20px;
    text-align: left;
    font-size: 12px;
    line-height: 46px;
    font-size: 11px;
    color: #023e88;
}

.video-play-icon {
    display: none;
    color: #0088ff;
}
.video-playing-number, .video-totlal-number {
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
}

.is-playing .video-number,
.is-paused .video-number,
.video-paused-icon {
    display: none;
}

.is-playing .video-play-icon,
.is-paused .video-paused-icon {
    display: block;
}

.video-thumbnail {
    width: 75px;
    height: 46px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    float: left;
}

.video-info {
    padding-left: 105px;
}

.video-duration {
    font-family: 'Roboto' sans-serif;
    font-weight: 300;
    float: left;
    font-size: 12px;
    color: #023e88;
    margin-top: 3px;
    line-height: 17px;
}

/*-----------------------scroll-----------------------------------*/
.scrollbar {
    overflow-y: hidden;
    margin-bottom: 25px;
    cursor: pointer;
    float: right;
    z-index: 100;
}

.scrollbar:hover {
    overflow-y: scroll;
    margin-bottom: 25px;
    cursor: pointer;
    float: right;
    z-index: 100;
}

#playlist-container {
    scrollbar-width: thin;
    scrollbar-color: #999 #F5F5F5;
}

#playlist-container::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 2px;
    background-color: #F5F5F5;
    float:right;
}

#playlist-container::-webkit-scrollbar {
    width: 3px;
    background-color: #F5F5F5;
}

#playlist-container::-webkit-scrollbar-thumb {
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #999;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .video-playlist-nav-wrapper,
    .video-playlist-wrapper,
    .video-playlist-wrapper iframe {
        height: 383px;
    }

    .video-playlist-nav {
        height: 383px !important;
    }

    .playlist-has-title {
        height: 313px !important;
    }
    
}

@media (max-width: 767px) {
    .videos-block {
        margin: 0 15px 0 15px;
    }
    
    .scrollbar:hover {
        float: left !important;
    }

    .video-playlist-wrapper {
        width: 100%;
        height: auto;
        min-height: 340px;
        margin-left:auto;
        margin-right:auto;
    }

    .video-playlist-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .video-player-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
    }

    .video-playlist-nav-wrapper,
    .videos-container {
        height: auto !important;
        width: 100%;
        max-width: 500px;
        /*margin:auto!important;*/
       
    }

    .video-playlist-nav {
        height: 270px !important;
        width: 100% !important;
    }

    .playlist-has-title {
        height: 244px !important;
        float: left;
    }
}

@media (min-width: 992px) {
    .has-builder .has-sidebar .video-playlist-nav-wrapper,
    .has-builder .has-sidebar .video-playlist-nav,
    .has-builder .has-sidebar .video-playlist-wrapper,
    .has-builder .has-sidebar .video-playlist-wrapper iframe {
        height: 323px !important;
    }

    .has-builder .has-sidebar .playlist-has-title {
        height: 263px !important;
    }

    .has-builder .has-sidebar .playlist-title {
        height: 60px;
    }

    .has-builder .has-sidebar .playlist-title h2 {
        padding-top: 11px;
    }

    .has-builder .has-sidebar .playlist-title-icon {
        height: 60px;
        line-height: 60px;
    }
}

/*#playlist-container:hover::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 2px;
    background-color: #fff;
}

#playlist-container:hover::-webkit-scrollbar {
    width: 3px;
    background-color: #fff;
}

#playlist-container:hover::-webkit-scrollbar-thumb {
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #ff;
}*/



/*
.mCustomScrollbar {
    -ms-touch-action: pinch-zoom;
    touch-action: pinch-zoom;
}

    .mCustomScrollbar.mCS_no_scrollbar,
    .mCustomScrollbar.mCS_touch_action {
        -ms-touch-action: auto;
        touch-action: auto;
    }

.mCustomScrollBox {
    position: relative;
    overflow: hidden;
    height: 100%;
    max-width: 100%;
    outline: none;
    direction: ltr;
}

.mCSB_container {
    overflow: hidden;
    width: auto;
    height: auto;
}

.mCSB_scrollTools {
    position: absolute;
    width: 16px;
    height: auto;
    right: auto;
    top: 0;
    left: 0;
    bottom: 0;
}

.mCSB_outside + .mCSB_scrollTools {
    left: -26px;
}

.mCS-dir-rtl > .mCSB_inside > .mCSB_scrollTools,
.mCS-dir-rtl > .mCSB_outside + .mCSB_scrollTools {
    left: auto;
    right: 0;
}

.mCS-dir-rtl > .mCSB_outside + .mCSB_scrollTools {
    right: -26px;
}

.mCSB_scrollTools .mCSB_draggerContainer {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: auto;
}

.mCSB_scrollTools a + .mCSB_draggerContainer {
    margin: 20px 0;
}

.mCSB_scrollTools .mCSB_draggerRail {
    width: 2px;
    height: 100%;
    margin: 0 auto;
}

.mCSB_scrollTools .mCSB_dragger {
    cursor: pointer;
    width: 100%;
    height: 30px;
    z-index: 1;
}

    .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
        position: relative;
        width: 4px;
        height: 100%;
        margin: 0 auto;
        text-align: center;
    }

.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar {
    width: 12px;
}

.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded + .mCSB_draggerRail,
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail {
    width: 8px;
}

.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar,
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail,
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar,
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail {
    transition: width .2s ease-out .2s, height .2s ease-out .2s, margin-left .2s ease-out .2s, margin-right .2s ease-out .2s, margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s, opacity .2s ease-in-out, background-color .2s ease-in-out;
}

.mCSB_vertical_horizontal > .mCSB_scrollTools.mCSB_scrollTools_vertical {
    bottom: 20px;
}

.mCSB_vertical_horizontal > .mCSB_scrollTools.mCSB_scrollTools_horizontal {
    right: 20px;
}

.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden + .mCSB_scrollTools.mCSB_scrollTools_vertical {
    bottom: 0;
}


.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown {
    display: block;
    position: absolute;
    height: 20px;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    cursor: pointer;
}

.mCSB_scrollTools .mCSB_buttonDown {
    bottom: 0;
}

.mCSB_horizontal.mCSB_inside > .mCSB_container {
    margin-right: 0;
    margin-bottom: 30px;
}

.mCSB_horizontal.mCSB_outside > .mCSB_container {
    min-height: 100%;
}

.mCSB_horizontal > .mCSB_container.mCS_no_scrollbar_x.mCS_x_hidden {
    margin-bottom: 0;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal {
    width: auto;
    height: 16px;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
}

.mCustomScrollBox + .mCSB_scrollTools.mCSB_scrollTools_horizontal,
.mCustomScrollBox + .mCSB_scrollTools + .mCSB_scrollTools.mCSB_scrollTools_horizontal {
    bottom: -26px;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal a + .mCSB_draggerContainer {
    margin: 0 20px;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail {
    width: 100%;
    height: 2px;
    margin: 7px 0;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger {
    width: 30px;
    height: 100%;
    left: 0;
}

    .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar {
        width: 100%;
        height: 4px;
        margin: 6px auto;
    }

.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar {
    height: 12px;
    margin: 2px auto;
}

.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded + .mCSB_draggerRail,
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail {
    height: 8px;
    margin: 4px 0;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft,
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight {
    display: block;
    position: absolute;
    width: 20px;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
    cursor: pointer;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft {
    left: 0;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight {
    right: 0;
}

    */