.RYPP {
    /* Youtube Player With Playlist */
    width: 100%;
    position: relative;
    padding-right: 300px;
    overflow: hidden;
    font: 400 14px/120% 'Open Sans';
    color: #999;
    min-height: 300px;
}
.RYPP .RYPP-video {
    width: 100%;
    padding-top: 56.25%;
    float: left;
    position: relative;
}
.RYPP .RYPP-video > iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.RYPP.r16-9 .RYPP-video {
    padding-top: 56.25%;
}
.RYPP.r4-3 .RYPP-video {
    padding-top: 75%;
}
.RYPP.r2-1 .RYPP-video {
    padding-top: 50%;
}
.RYPP .RYPP-items {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0px;
    right: 0;
    bottom: 0;
    overflow-y: auto;
}
.RYPP .RYPP-playlist {
    width: 300px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000;
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 700;
}
.RYPP .RYPP-playlist a {
    color: #999;
}
.RYPP .RYPP-playlist a:hover {
    color: #fff;
}
.RYPP .RYPP-playlist > header {
    width: 100%;
    height: 0px;
    padding: 16px 0 0 8px;
    background: #222;
    border-left: 8px solid #222;
    border-right: 8px solid #222;
    border-bottom: 1px solid #3a3a3a;
    z-index: 2;
}
.RYPP .RYPP-playlist > header ._h1 {
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}
.RYPP .RYPP-playlist > header p {
    margin: 0;
    padding: 0;
}
.RYPP .RYPP-playlist ul {
    padding: 0 0 16px 0;
    margin: 0;
    list-style: none;
    counter-reset: item;
}
.RYPP .RYPP-playlist ul li {
    position: relative;
    vertical-align: middle;
    overflow: hidden;
    border-bottom: 1px solid #999;
    /* padding: 12px 0 12px 12px; */
}
.RYPP .RYPP-playlist ul li:nth-child(even) {
    background-color: #666;
}
.RYPP .RYPP-playlist ul li > img {
    width: 50%;
    display: inline-block;
    vertical-align: middle;
}
.RYPP .RYPP-playlist ul li > .duration {
    position: absolute;
    bottom: 4px;
    margin-left: -40px;
    background-color: #333;
    color: #ccc;
    padding: 0px 2px;
    border: 1px solid #333;
    border-radius: 2px;
}
.RYPP .RYPP-playlist ul li > p {
    width: 50%;
    height: 100%;
    margin: 0;
    padding: 0;
    float: right;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    color: #fff;
    margin-top: 50px;
}
.RYPP .RYPP-playlist ul li.selected p:before {
    content: 'NOW PLAYING';
    display: block;
    background-color: #ac1a2f;
    font-size: 18px;
    padding: 1rem 1rem;
    color: #fff;
    margin-bottom: 4px;
    top: 0;
    left: 0;
    margin-top: -50px;
}
.RYPP .RYPP-playlist ul li.upnext p:before {
    content: 'UP NEXT';
    display: block;
    background-color: #62101c;
    font-size: 18px;
    padding: 1rem 2rem;
    color: #fff;
    margin-bottom: 4px;
    top: 0;
    left: 0;
    margin-top: -50px;
}
.RYPP .RYPP-playlist ul li > p > span {
    padding: 4px;
}
.RYPP .RYPP-playlist ul li > p > span > small {
    margin: 0;
    padding: 4px;
}
.RYPP .RYPP-playlist ul li:hover {
    background-color: #3a3a3a;
    cursor: pointer;
}
.RYPP .RYPP-playlist ul li.selected {
    background-color: #3a3a3a;
    cursor: pointer;
}
.RYPP .RYPP-playlist ul li.selected > p {
    color: #fff;
}
/* .RYPP .RYPP-playlist ul li.selected > img {
    border: 2px solid #c03636;
}
.RYPP .RYPP-playlist ul li.selected:before {
    content: "?";
    font-size: 10px;
    color: #c03636;
}
.RYPP .RYPP-playlist ul li:before {
    counter-increment: item;
    content: counter(item);
    font-size: 80%;
} */

.RYPP-items::-webkit-scrollbar {
    width: 6px;
    background: #3a3a3a;
}

.RYPP-items::-webkit-scrollbar-thumb {
    background: #999;
}

@media only screen and (max-width: 767px) {
    .RYPP {
        padding-right: 0;
    }
    .RYPP .RYPP-playlist {
        width: 100%;
        position: static;
        float: left;
    }
    .RYPP .RYPP-playlist .RYPP-items {
        position: static;
        max-height: 350px;
        overflow: auto;
    }
}
@media (min-width: 768px) and (max-width: 992px) {
    img.thumb {
        display: none !important;
    }
    span.duration {
        display: none !important;
    }
    .RYPP .RYPP-playlist ul li > p {
        width: 100%;
    }
    .RYPP {
        padding-right: 200px;
    }
    .RYPP .RYPP-playlist {
        width: 200px;
    }
}
@media (min-width: 992px) {
    .RYPP {
        padding-right: 400px;
    }
    .RYPP .RYPP-playlist {
        width: 400px;
    }
}