/* Youtube color  */

:root {
    --primary: #fbfcfc;
    --active: #ececec;
    --secondary: #767777;
    --grey: #8a8b8b;
    --b-pad: 10px;
    --s-pad: 5px;
    --bg: rgb(50, 50, 50);
    --orange: #c46248;
}

/* Youtube playlist  */


a.channelCls {
    color: inherit;
    text-decoration: none;
    /* font-style: italic; */
    color: #333333;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0px;
}

a.channelCls:hover {
    text-decoration: underline;
}



.title {
    color: var(--secondary);
    font-size: 13px;
    font-weight: bold;
    /* font-family: 'Lato', sans-serif; */
}


.active-con .title {
    color: var(--orange);
}

.sub-title {
    color: var(--grey);
    font-size: 13px;
}

.icon-active {
    filter: sepia(100%) hue-rotate(150deg) saturate(400%);
}

#playlist {
    /* top: 50%; */
    /* left: 50%; */
    width: 100%;
    /* height: 400px; */
    /* max-height: 342px; */
    display: flex;
    /* position: absolute; */
    /* transform: translate(-50%, -50%); */
    transition: all ease 0.3s;
    margin-top: 30px;
    flex-direction: column;
}

#video-dis {
    height: 400px;
    /* flex: 8; */
    margin-bottom: 10px;
    background: black;
}

#video-dis iframe {
    width: 100%;
    height: 100%;
}

.video-li {
    /* flex: 2; */
    height: 130px;
    display: flex;
    padding: var(--b-pad);
    border-radius: 3px;
    flex-direction: column;
    background: var(--primary);
}

.li-collapsed {
    overflow: hidden;
    height: 40px;
}

#vli-info {
    flex: 3;
    padding: 0 var(--b-pad) 0 var(--b-pad);
}

#upper-info {
    display: flex;
    align-items: center;
    margin-bottom: 11px;
}

#li-titles {
    flex: 10;
}

#li-titles .title {
    color: var(--orange);
    font-weight: 800;
    font-size: 20px;
}

#li-titles div {
    padding-bottom: 0px;
}

#drop-icon {
    flex: 1;
    cursor: pointer;
    background: url(../img/arrowyt.png) no-repeat center;
    background-size: 24%;
    width: 18px;
    height: 18px;
}

#lower-info {
    display: flex;
    padding-top: var(--b-pad);
}

#lower-info div {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

#vli-videos {
    /* flex: 7; */
    /* display: flex; */
    /* overflow: auto; */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

#vli-videos::-webkit-scrollbar {
    display: none;
}

.video-con {
    width: calc(100% / 2.8);
    flex: 0 0 auto;
    margin-right: 3px;
    display: flex;
    cursor: pointer;
    padding: 4px 6px;
    column-gap: 3px;
    margin-bottom: 0;
}

.video-con:hover,
.active-con {
    background: var(--active);
}

.index {
    min-width: 15px;
    align-self: center;
}

.thumb {
    width: 105px;
    height: 63px;
    background: #c46248;
    object-fit: cover;
}

.thumb img {
    /* width: 100%; */
}

.v-titles {
    flex: 6;
    padding-left: 5px;
}

.v-titles div:nth-child(2) {
    margin-top: var(--s-pad);
}

.btnPlay {
    font-weight: 800;
    font-size: 14px;
    color: var(--orange);
}

@media only screen and (max-width: 1150px) {
    #playlist {
        width: 95vw;
        height: 60vh;
    }
}

@media only screen and (max-width: 950px) {
    #playlist {
        top: 10%;
        width: 50vw;
        margin: 0 auto;
        display: block;
        align-items: center;
        /* transform: translate(-50%, 0%); */
    }

    #video-dis {
        margin-bottom: var(--b-pad);
        width: 100%;
        height: 165px;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 800px) {
    #playlist {
        width: 60vw;
    }
}

@media only screen and (max-width: 650px) {
    #playlist {
        width: 100%;
    }

    .video-li {
        height: 400px;
    }

    #playlist {
        height: inherit;
    }

    #vli-info {
        flex: 0;
        padding: 0 var(--b-pad) 0 var(--b-pad);
        height: auto;
        margin-bottom: 10px;
    }

    #vli-videos {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .video-con {
        width: calc(100% - 12px);
        margin-bottom: 3px;
        column-gap: 2px;
        margin-bottom: 0;
    }

    .thumb {
        display: none;
    }

    .li-collapsed {
        overflow: hidden;
        height: 40px;
    }

    #drop-icon {
        flex: 1;
        cursor: pointer;
        background: url(../img/arrowyt.png) no-repeat center;
        background-size: 75%;
    }

    .btnPlay {
        font-weight: 800;
        font-size: 10px;
        margin-right: 5px;
        color: var(--orange);
    }
}