/* Player and Playlist styles. */
.main_box object { margin-bottom: 0; }

.main_box {
	margin: 0 auto;
	padding: 1%;
	background-color: #b2b7ca;
        width: 1080px;
}

/* 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;
	padding-bottom: 6px;
}

#ytplayer_div2{
	text-align: left;
}

#ytplayer_div2 * { white-space: nowrap; }

#ytplayer_div2 img {
	width: 120px; height: 90px;
	padding: 0;
	opacity: 0.75;
	margin: 0 8px 0 0;
	-webkit-filter: grayscale(); -webkit-filter: saturate(0%);
	filter: grayscale(); filter: saturate(0%);
	box-sizing: border-box;
}
#ytplayer_div2 img:nth-child(7n+1){
    margin-right: 0;
}
#ytplayer_div2 img:hover {
	opacity: 1;
	filter: saturate(100%);
}

#ytplayer_div2 * {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

#ytplayer_div2 .active img {
	opacity: 1;
	-webkit-filter: saturate(100%);
	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;
}
@media(max-width: 1200px) {
    .main_box{
        width: 840px;
    }
}
@media(max-width: 980px) {
    .main_box{
        width: 600px;
    }
}
@media(max-width: 715px) {
    .main_box{
        width: 98%;
    }
}