.button-show-list {
    position: absolute;
    top: -35px;
    right: 0;
    z-index: 2;
    width: 35px;
    height: 35px;
    background-color: var(--fs-color-primary);
    text-align: center;
    color: #fff;
    line-height: 35px;
    border-radius: 5px;
    border: 1px solid var(--fs-color-primary);
    display: none;
}

.button-show-list.active .fa-bars,
.button-show-list:not(.active) .fa-xmark {
    /* display: none; */
}

.button-show-list.active {
    background-color: #fff;
    color: var(--fs-color-primary);
}

.box-video-youtube {
    display: flex;
    gap: 24px;
    position: relative;
}

.box-video-youtube .list-video {
    max-width: 30%;
    flex-basis: 30%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.box-video-youtube .list-item-video {
    overflow-y: scroll;
    height: 403px;
}

.box-video-youtube .show-video {
    max-width: 70%;
    flex-basis: 70%;
}

.box-video-youtube .list-video .title-box-video {
    padding: 0 25px;
    margin-bottom: 0;
    font-size: 18px;
    height: 65px;
    display: flex;
    align-items: center;
}

.box-video-youtube .list-item-video .item-video {
    display: flex;
    gap: 12px;
    padding: 5px 5px 5px 25px;
    position: relative;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.box-video-youtube .list-item-video .item-video .image-video {
    position: relative;
    overflow: hidden;
    padding-top: 65%;
    background-position: 50% 50%;
    background-size: cover;
}

.box-video-youtube .list-item-video .item-video .title-video {
    max-width: 70%;
    flex-basis: 70%;
}

.box-video-youtube .list-item-video .item-video .image-video img {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
    border-radius: 8px;
}

.box-video-youtube .list-item-video .item-video .box-video {
    max-width: 30%;
    flex-basis: 30%;
}

.box-video-youtube .list-item-video .item-video .number-video {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    width: 25px;
    text-align: center;
}

.box-video-youtube .list-item-video .item-video:not(:last-child) {
    margin-bottom: 0;
}

.box-video-youtube .list-item-video .item-video .title-video p {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 15px;
    margin-bottom: 0;
    line-height: 19px;
    font-weight: bold;
}

.box-video-youtube .list-item-video .item-video:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.box-video-youtube .list-item-video .item-video.active {
    background-color: rgba(235, 221, 223, 0.949);
    pointer-events: none;
}

.box-video-youtube .list-item-video .item-video.active .number-video:before {
    content: "";
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path fill="%23000000" d="M187.2 100.9C174.8 94.1 159.8 94.4 147.6 101.6C135.4 108.8 128 121.9 128 136L128 504C128 518.1 135.5 531.2 147.6 538.4C159.7 545.6 174.8 545.9 187.2 539.1L523.2 355.1C536 348.1 544 334.6 544 320C544 305.4 536 291.9 523.2 284.9L187.2 100.9z"/></svg>') no-repeat center;
    width: 15px;
    height: 15px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.box-video-youtube .list-item-video .item-video.active .number-video {
    font-size: 0;
}

.box-video-youtube .list-item-video .item-video .title-video .sub-title-video {
    font-weight: normal;
    font-size: 13px;
}

.button-show-list>i:first-child {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path fill="%23ffffff" d="M96 160C96 142.3 110.3 128 128 128L512 128C529.7 128 544 142.3 544 160C544 177.7 529.7 192 512 192L128 192C110.3 192 96 177.7 96 160zM96 320C96 302.3 110.3 288 128 288L512 288C529.7 288 544 302.3 544 320C544 337.7 529.7 352 512 352L128 352C110.3 352 96 337.7 96 320zM544 480C544 497.7 529.7 512 512 512L128 512C110.3 512 96 497.7 96 480C96 462.3 110.3 448 128 448L512 448C529.7 448 544 462.3 544 480z"/></svg>') no-repeat center;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.button-show-list>i:first-child:before {
    display: none;
}

.button-show-list.active>i:first-child {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path fill="%23000000" d="M183.1 137.4C170.6 124.9 150.3 124.9 137.8 137.4C125.3 149.9 125.3 170.2 137.8 182.7L275.2 320L137.9 457.4C125.4 469.9 125.4 490.2 137.9 502.7C150.4 515.2 170.7 515.2 183.2 502.7L320.5 365.3L457.9 502.6C470.4 515.1 490.7 515.1 503.2 502.6C515.7 490.1 515.7 469.8 503.2 457.3L365.8 320L503.1 182.6C515.6 170.1 515.6 149.8 503.1 137.3C490.6 124.8 470.3 124.8 457.8 137.3L320.5 274.7L183.1 137.4z"/></svg>');
}

@media screen and (min-width: 850px) {
    .button-show-list {
        display: none;
    }
}

@media screen and (max-width: 849px) {
    .box-video-youtube .list-video {
        max-width: 100%;
        overflow: hidden;
    }

    .box-video-youtube .show-video {
        max-width: 100%;
        flex-basis: 100%;
    }

    .list-video {
        /* display: none; */
    }

    .box-video-youtube {
        flex-direction: column;
        gap: 12px;
    }

    .box-video-youtube .list-video .title-box-video {
        display: none;
    }

    .box-video-youtube .list-item-video {
        display: flex;
        height: auto;
    }

    .box-video-youtube .list-item-video .item-video {
        flex-direction: column;
        padding: 25px 5px 5px;
        min-width: 125px;
    }

    .box-video-youtube .list-item-video .item-video .number-video {
        top: 0px;
        left: 50%;
        transform: translateX(-50%) translateY(0);
        height: 25px;
    }

    .box-video-youtube .list-item-video .item-video .box-video,
    .box-video-youtube .list-item-video .item-video .title-video {
        max-width: 100%;
        flex-basis: 100%;
    }

    .box-video-youtube .list-item-video .item-video .title-video p {
        font-size: 12px;
        line-height: 16px;
    }

    .box-video-youtube .list-item-video .item-video .title-video .sub-title-video {
        display: none;
    }

    .box-video-youtube .show-video iframe {
        height: 54vw;
    }
}