/*!************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./css/sb-youtube.css ***!
  \************************************************************************************************************************************************************************/
[id^=sb_youtube_].sb_youtube .sby_video_thumbnail .sby_duration_counter {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: #000;
    height: auto;
    width: auto;
    color: #fff;
    padding: 3px 4px;
    line-height: 1;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
}

.sb_youtube[data-card-boxshadow='true'] .sby_items_wrap .sby_item .sby_inner_item {
    box-shadow: 0 4px 5px 0px rgba(0,0,0, 0.05), 0 1px 2px 0px rgba(0,0,0, 0.05);
}

.sb_youtube[data-card-boxshadow='1'] .sby_items_wrap .sby_item .sby_inner_item {
    box-shadow: 0 4px 5px 0px rgba(0,0,0, 0.05), 0 1px 2px 0px rgba(0,0,0, 0.05);
}

[id^=sb_youtube_].sb_youtube.sby_palette_dark .sby-video-info a,
[id^=sb_youtube_].sb_youtube.sby_palette_dark .sby-video-info {
    color: #ffffff;
}

[id^=sb_youtube_].sb_youtube.sby_palette_dark .sby-channel-info-bar {
    background: rgba(196, 213, 255, 0.15);
}

[id^=sb_youtube_].sb_youtube.sby_palette_dark .sby-channel-info-bar .sby-channel-name {
    color: #FFFFFF;
}

[id^=sb_youtube_].sb_youtube.sby_palette_dark .sby-channel-info-bar .sby-channel-subscriber-count {
    color: #CED0D9;
}

[id^=sb_youtube_].sb_youtube.sby_palette_dark .sby-video-header-info h5 {
    color: #E6E6EB;
}

[id^=sb_youtube_].sb_youtube.sby_palette_dark .sby-video-header-info .sby-video-header-meta {
    color: #E6E6EB;
}

[id^=sb_youtube_].sb_youtube.sby_palette_dark .sby-video-header-meta span:last-child::after {
    background-color: #E6E6EB;
}

:root {
    --sby-color-1: #141B38;
    --sby-color-2: #696D80;
    --sby-color-3: #434960;
    --sby-color-4: #F3F4F5;
    --sby-color-5: #9295A6;
    --sby-color-6: #E6E6EB;
    --sby-color-7: #FFFFFF;
    --sby-color-8: #CED0D9;
    --sby-color-9: #F9F9FA;
}

.sby-lb-dark-scheme,
.sby_palette_dark {
    --sby-color-1: #FFFFFF;
    --sby-color-2: #E6E6EB;
    --sby-color-3: #E6E6EB;
    --sby-color-4: #434960;
    --sby-color-5: #9295A6;
    --sby-color-6: #434960;
    --sby-color-7: #1F2228;
    --sby-color-8: #696D80;
    --sby-color-9: rgba(255, 255, 255, 0.02);
}

.sby-lb-subscribe-btn  {
    color: #fff;
    background-color: #ED4944;
}

/* Lightbox Info Style */

.sby_lb-dataContainer {
    margin: 0 auto;
    line-height: normal;
    color: var(--sby-color-1);
    .sby_lb-description {
        display: -webkit-box;
        overflow: hidden;
        max-height: none;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        &.sby-read-more-target-active {
            -webkit-line-clamp: unset;
        }
    }
    .sby_lb-caption{
        position: relative;
        background-color: var(--sby-color-7);
        color: var(--sby-color-1);
        padding: 20px 24px;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
        .sby_lb-caption-inner{
            padding-left: 195px;
            &.sby_lb-no-channel-info{
                padding-left: 0;
            }
            @media (max-width: 991px) {
                padding-left: 0;
            }
        }
    }
    .sby_lb-video-heading {
        position: relative;
        font-size: 13px;
        font-weight: 400;
        line-height: 20.8px;
        border-bottom: 1px solid var(--sby-color-6);
        padding-bottom: 13px;
        margin-bottom: 20px;
        h3 {
            font-size: 20px;
            line-height: 32px;
            font-weight: 600;
            color: var(--sby-color-1);
            margin: 0;
            padding-bottom: 4px;
        }
        .sby_lb-video-info {
            font-size: 13px;
            font-weight: 400;
            line-height: 20.8px;
            .sby_lb-spacer {
                padding-right: 5px;
                padding-left: 5px;
            }
        }
        @media (max-width: 991px) {
            margin-bottom: 16px;
        }
    }
    .sby-lb-channel-header {
        position: absolute;
        top: 20px;
        left: 24px;
        max-width: 147px;
        margin-left: 0;
        margin-right: auto;
        .sby_lightbox_username {
            text-decoration: none;
            img,svg {
                position: absolute;
                width: 32px;
                height: 32px;
                -o-object-fit: cover;
                   object-fit: cover;
                border-radius: 100%;
            }
            @media (max-width: 991px) {
                padding-left: 5px;
            }
            @media (max-width: 478px) {
                padding-bottom: 16px;
            }
        }
        .sby-lb-channel-name-with-subs {
            font-size: 12px;
            line-height: 14.32px;
            margin: 0;
            padding-right: 44px;
            width: auto;
            max-width: 147px;
            span {
                display: block;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                &:nth-child(1) {
                    color: var(--sby-color-1);
                    font-weight: 600;
                    padding-bottom: 4px;
                }
                &:nth-child(2) {
                    color: var(--sby-color-2);
                }
            }
            @media (max-width: 478px) {
                max-width: auto;
            }
        }
        .sby-lb-subscribe-btn {
            position: relative;
            display: block;
            text-align: right;
            width: 100%;
            max-width: 118px;
            font-size: 14px;
            font-weight: 600;
            line-height: 22.4px;
            padding: 8px 12px;
            margin-top: 24px;
            text-decoration: none;
            box-shadow: 0px 1px 1px 0px #00000014;
            box-shadow: 0px 2px 5px 0px #3C42571F;
            box-shadow: 0px -1px 1px 0px #0000001F inset;
            border-radius: 4px;
            box-sizing: border-box;
            svg {
                width: 16px;
                height: 16px;
                margin-left: 6px;
                position: absolute;
                right: 12px;
                top: 50%;
                transform: translateY(-50%);
            }
            p {
                font-size: 14px;
                padding-right: 22px;
                margin: 0;
            }
            @media (max-width: 991px) {
                margin-top: 0;
                margin-right: 24px;
            }
            @media (max-width: 478px) {
                padding-top: 5px;
                padding-bottom: 5px;
                margin-right: 0;
                margin-bottom: 16px;
            }
        }
        @media (max-width: 991px) {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            position: unset;
            border-bottom: 1px solid var(--sby-color-6);
            margin-bottom: 25px;
            padding-bottom: 16px;
            margin-right: 0;
            max-width: 100%;
        }
        @media (max-width: 478px) {
            margin-bottom: 16px;
            justify-content: space-between;
            padding-bottom: 0;
        }
    }
    .sby_lb-video-description-wrap {
        .sby_lb-description {
            font-size: 13px;
            a {
                color: var(--sby-color-1);
            }
        }
        .sby_lb-more-info-btn {
            font-size: 13px;
            line-height: 20.8px;
            font-weight: 600;
            color: var(--sby-color-1);
            background-color: var(--sby-color-4);
            margin-top: 15px;
            padding: 4px 12px 4px 12px;
            width: 100%;
            border-radius: 8px;
            border: 0;
            cursor: pointer;
            svg{
                margin-right: 12px;
            }
            &.sby-read-more-trigger-active svg{
                transform: rotate(-180deg);
            }
        }
    }
}

/* End Lightbox Info Style */

/* Comment Style */

.sby-comments-wrap {
    line-height: normal;
    color: var(--sby-color-1);
    text-align: right;
    h4.sby-comments-sub-heading {
        font-size: 16px;
        font-weight: 600;
        line-height: 25.6px;
        color: var(--sby-color-1);
        margin-bottom: 12px;
        margin-top: 15px;
    }
    .sby-reply-comments,
    .sby-comments,
    .sby-comments .sby_lb-reply-comments {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .sby-no-comments {
        text-align: center;
        background-color: var(--sby-color-9);
        padding: 78px 10px 63px 10px;
        border-radius: 5px;
        svg {
            color: var(--sby-color-2);
            margin-bottom: 27px;
        }
        p {
            font-size: 13px;
            line-height: 20.8px;
            font-size: 400;
            color: var(--sby-color-2);
            margin: 0;
        }
        a {
            color: var(--sby-color-2);
        }
    }
    .sby-comments {
        .sby-comment,
        .sby-comment .sby-reply-comment {
            position: relative;
            padding: 0 40px 30px 16px;
        }
        .sby-comment {
            font-size: 13px;
            line-height: 20.8px;
            font-weight: 400;
            text-decoration: none;
            .sby-comment-profile-pic {
                img,svg {
                    position: absolute;
                    width: 30px;
                    top :0;
                    right: 0;
                    border-radius: 100%;
                }
            }
            .sby-comment-heading {
                display: flex;
                flex-wrap: wrap;
                .sby-comment-user-name {
                    font-weight: 600;
                    color: var(--sby-color-1);
                    text-decoration: none;
                    padding-left: 9px;
                }
            }
            p {
                margin: 0;
            }
            .sby-read-more-trigger {
                display: inline;
                cursor: pointer;
                button {
                    font-size: 13px;
                    line-height: 20.8px;
                    color: var(--sby-color-3);
                    border: 0;
                    border-bottom: 1px solid var(--sby-color-3);
                    background-color: transparent;
                    padding: 0;
                    margin-top: 5px;
                    cursor: pointer;
                }
            }
            .sby-read-more-target {
                display: -webkit-box;
                overflow: hidden;
                max-height: none;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 4;
            }
            .sby-read-more-target.sby-read-more-target-active {
                -webkit-line-clamp: unset;
            }
            .sby-read-less-text {
                display: none;
            }
            .sby-read-more-trigger-active {
                .sby-read-more-text {
                    display: none;
                }
                .sby-read-less-text {
                    display: block;
                }
            }
            .sby-comment-bottom {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                padding-top: 15px;
                .sby-comment-likes {
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    padding-left: 23px;
                    color: var(--sby-color-1);
                    svg {
                        color: var(--sby-color-5);
                        margin-left: 4px;
                    }
                }
                .sby-replies {
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    line-height: 20.8px;
                    color: var(--sby-color-1);
                    padding: 0;
                    background-color: transparent;
                    border: 0;
                    border-bottom: 1px solid var(--sby-color-8);  
                    cursor: pointer;
                    svg {
                        color: var(--sby-color-1);
                        margin-right: 8px;
                    }
                    &.sby-active-trigger {
                        svg{
                            transform: rotate(-180deg);
                        }
                    }
                }
            }
        }
        .sby-reply-comments {
            padding-top: 35px;
            .sby-reply-comment:nth-last-child(1){
                padding-bottom: 0;
            }
        }
    }
    .sby-view-all-button {
        display: block;
        font-size: 13px;
        font-weight: 600;
        line-height: 20.8px;
        text-decoration: none;
        text-align: center;
        color: var(--sby-color-1);
        background-color: var(--sby-color-4);
        width: auto;
        padding: 4px 12px;
        border-radius: 8px;
        cursor: pointer;
    }
}

.sb_youtube[id^=sb_youtube_] {
    .sby-comment-container {
        .sby-comments-trigger {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            font-size: 14px;
            line-height: 22.4px;
            font-weight: 600;
            color: var(--sby-color-1);
            background-color: var(--sby-color-4);
            padding: 8px 12px 8px 12px;
            border: 0;
            border-radius: 8px;
            cursor: pointer;
            svg{
                margin-left: 9px;
            }
        
            p {
                width: auto;
                margin: 0;
            }
            &:focus {
                outline: none;
            }
        }
    }
    &.sby_layout_list,
    &.sby_layout_gallery {
        .sby-view-all-button  {
            margin-right: 3px;
            margin-left: 3px;
        }
    }
    &.sby_layout_gallery {
        .sby_player_outer_wrap {
            .sby-comments-enabled {
                .sby-video-info-header {
                    @media (min-width: 992px) {
                        padding-left: 200px;
                    }
                }
                .sby-comments-trigger {
                    @media (min-width: 992px) {
                        position: absolute;
                        left: 0;
                        top: 0;
                    }
                    @media (max-width: 991px) {
                        justify-content: center;
                        margin-top: 16px;
                        width: 100%;
                    }
                }
            }
        }
    }
    &.sby_layout_list {
        .sby-comments-trigger {
            justify-content: center;
            width: 100%;
        }
        .sby-comments-enabled {
            position: relative;
            .sby-video-info:has(*) {
                text-align: right;
                min-height: 32px;
    
                .sby_item_caption_wrap {
                    text-align: right;
                }
    
                @media (min-width: 992px) {
                    padding-left: 200px;
                }
            }
        }
        .sby-video-info:has(*) + .sby-comment-container{
            .sby-comments-trigger {
                width: auto;
                @media (min-width: 992px) {
                    position: absolute;
                    top: 0;
                    left: 0;
                }
                @media (max-width: 991px) {
                    justify-content: center;
                    margin-top: 16px;
                    width: 100%;
                }
            }
        }
    }
    .sby-comments-active {
        &.sby-comments-wrap {
            margin-top: 16px;
            border-top: 1px solid var(--sby-color-6);
        }
    }
}

/* End Comment Style */
