.main_box {
	width: 100%;
	margin: 16px 0;
}

/* Track */
.ytpp-playlist-container::-webkit-scrollbar {
    width: 12px;
    height: 8px;
}
.ytpp-playlist-container::-webkit-scrollbar-track {
    border-radius: 0;
}
.ytpp-playlist-container::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.4);
}
.ytpp-playlist-container::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.ytpp-playlist-container {
	float: none;
	overflow-x: scroll;
    margin: 12px 0;
}



#ytplayer_div2 {
    display: flex;
    flex-wrap: wrap;
}
#ytplayer_div2 a {
    box-sizing: border-box;
    flex-basis: 20%;
    padding: 4px;
}

#ytpl-frame,
#vid_frame {
    border: 0 none;
}


#ytplayer_div2 * {
    white-space: nowrap;
}

#ytplayer_div2 img {
	max-width: 100%;
    max-height: 100%;
	padding: 0;
	margin: 0;

	opacity: 0.75;
	filter: grayscale(); filter: saturate(0%);
    box-sizing: border-box;
}
#ytplayer_div2 img:hover {
	opacity: 1;
    filter: saturate(100%);
}

#ytplayer_div2 * {
    transition: all 0.2s ease-in-out;
}

#ytplayer_div2 .active img {
	opacity: 1;
	filter: saturate(100%);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

#ytplayer_div2 a:visited {
	opacity: 0.5;
}

#ytpp-title {
	font-size: smaller;
	line-height: 24px;
}



/*
 * YouTube API V3
 */
.yt-api-container {
    width: 100%;
}
.yt-api-video-list {
    margin: 16px 0;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
}
@media only screen and (max-width: 1280px) {
    .yt-api-video-list {
        grid-template-columns: 25% 25% 25% 25%;
    }
}
@media only screen and (max-width: 960px) {
    .yt-api-video-list {
        grid-template-columns: 33% 33% 33%;
    }
}
@media only screen and (max-width: 720px) {
    .yt-api-video-list {
        grid-template-columns: 50% 50%;
    }
}
@media only screen and (max-width: 480px) {
    .yt-api-video-list {
        grid-template-columns: 100%;
    }
}

.yt-api-video-item {
    display: inline-grid;
    width: 180px;
    float: left;
    margin: 0;
    padding: 8px;
    cursor: pointer;
}
@media only screen and (max-width: 480px) {
    .yt-api-video-item {
        width: 180px;
        float: none;
    }
}

.yt-api-video-thumb {}
.yt-api-video-thumb img {
    width: 100%;
    position: relative;
}
.yt-api-video-item .yt-api-video-description {
    font-size: 13px;
    line-height: 1.25;
}
