::-webkit-scrollbar
{
    width: 10px;
}
::-webkit-scrollbar-track
{
    background: #003595;
    -webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.1);
}
::-webkit-scrollbar-thumb
{
    background: #0071BC;
    -webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
}
::-webkit-scrollbar-thumb:hover
{
    background: #0095DA;
}
::-webkit-scrollbar-thumb:active
{
    background: #0095DA;
    -webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.3);
}

div, a, p, img, ul, li
{
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
}
/* reset */

#rp_plugin
{
    overflow: hidden; /* collapse fix */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    font: normal 100%/1.25 Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
}

#rp_videoContainer
{
    float: left width: auto;
}

#rp_video
{
    position: relative;
    height: 0;
    padding-top: 0px; /* IE6 workaround*/
    padding-bottom: 95.25%; /* responsive 16/9 ratio */
    background: #eeeeee;
}

#rp_video iframe
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#rp_playlistContainer
{
    position: relative;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch; /* bounce effect on ios */
    float: right;
    width: 100%;
    height: 0;
    padding-top: 0px; /* IE6 workaround*/
    padding-bottom: 50%; /* responsive height ratio */
    background: #E9EAED;
    overflow: hidden;
}

#rp_playlist
{
    position: absolute;
    width: 100%; /* fixes horizontal scroll */
    list-style-type: none;
}

#rp_playlist li
{
    overflow: hidden;
    float: left;
    width: 100%;
    border-bottom: 1px solid #5A5B5B;
}

#rp_playlist li:hover
{
    background: #0095DA;
}

.rp_currentVideo, #rp_playlist .rp_currentVideo:hover
{
    background: #0095DA;
}

#rp_playlist li a
{
    display: inline-block;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 2.5%;
    text-decoration: none;
}

.rp_thumbnail
{
    position: relative;
    display: inline-block;
    overflow-y: hidden; /* -y fix for android */
    float: left;
    width: 40px;
    height: 22px; /* clips letterboxing */
    margin-right: 2.5%;
    border: 1px solid #003595;
}

#rp_playlist li:hover .rp_thumbnail
{
    border: 1px solid #CB5599;
}

.rp_currentVideo .rp_thumbnail, #rp_playlist .rp_currentVideo:hover .rp_thumbnail
{
    border: 1px solid #0095DA;
}

.rp_thumbnail img
{
    top: -4px; /* clips letterboxing */
    width: 40px;
}

.rp_title
{
    overflow: hidden;
    color: Black;
    font-size: 13px; /* fallback */
    font-weight: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rp_author
{
    overflow: hidden;
    color: #FFC021;
    font-size: 10px; /* fallback */
    font-size: 0.625rem; /* 11/16 */
    text-overflow: ellipsis;
    white-space: nowrap;
    display: none;
}

#rp_playlist li:hover .rp_author
{
    color: #ffffff;
}

.rp_currentVideo .rp_author, #rp_playlist .rp_currentVideo:hover .rp_author
{
    color: #ffffff;
}

.rp_currentVideo .rp_title, #rp_playlist .rp_currentVideo:hover .rp_title
{
    color: #ffffff;
}



#ytvideo, #ytvideo2
{
    margin-right: 10px;
}


.yt_holder
{
    background: #f3f3f3;
    padding: 10px;
    border: 1px solid #e3e3e3;
    margin-bottom: 15px;
}

.ytvideo2 iframe
{
    width: 100%;
}
.demo2
{
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}

.demo2 li
{
    list-style-type: none;
    display: block;
    background: #f1f1f1;
    float: left;
    width: 100%;
    margin-bottom: 5px;
    padding: 2px;
}

.demo2 li img
{
    width: 120px;
    float: left;
    margin-right: 5px;
    border: 1px solid #999;
}

.demo2 li a
{
    font-family: georgia;
    text-decoration: none;
    display: block;
    color: #000;
}

.demo2 .currentvideo
{
    background: #e6e6e6;
}

/* iphone landscape fix */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape), (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape)
{
    #rp_videoContainer
    {
        float: left;
        width: 70%;
    }
    #rp_playlistContainer
    {
        width: 30%;
        padding-bottom: 39.35%;
    }
    .rp_thumbnail
    {
        width: 40px;
        height: 22px;
    }
    .rp_thumbnail img
    {
        top: -4px;
        width: 40px;
    }
    .rp_title
    {
        font-size: 12px;
        font-size: 0.75rem;
    }
    .rp_author
    {
        font-size: 10px;
        font-size: 0.625rem;
    }
}
