﻿/*
 * Extracted from css/widget.css, lines 45272-45584
 * Region label: OT-008
 */
    /* #region OT-008 */
    .ot-008 .wgot008-title {
        display: flex;
        flex-wrap: nowrap;
        margin-bottom: 1rem;
    }

        .ot-008 .wgot008-title .icon-play {
            margin-right: 20px;
            width: 35px;
            max-height: 33px;
        }

        .ot-008 .wgot008-title h2 {
            color: #222222;
            font-family: "Krungsri-Condensed-Bold";
            font-size: 24px;
            letter-spacing: 0;
            line-height: 36px;
            margin-bottom: 0;
        }

    .ot-008 .wgot008-tabs-container {
        display: flex;
        justify-content: space-between;
    }

        .ot-008 .wgot008-tabs-container .wgot008-tabs {
            display: flex;
            border: 0;
        }

            .ot-008 .wgot008-tabs-container .wgot008-tabs .nav-item {
                border: 0;
            }

                .ot-008 .wgot008-tabs-container .wgot008-tabs .nav-item .nav-link {
                    border: 0;
                    font-size: 16px;
                    cursor: pointer;
                    margin-bottom: 24px;
                    position: relative;
                    margin-right: 20px;
                    font-family: 'Krungsri-Condensed';
                    font-style: normal;
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 30px;
                    color: #545454;
                    padding: 0;
                    transition: none;
                }

                    .ot-008 .wgot008-tabs-container .wgot008-tabs .nav-item .nav-link.active {
                        border-bottom: 3px solid #ffd400;
                        font-weight: bold;
                        font-family: 'Krungsri-Condensed-bold';
                        font-style: normal;
                        color: #222222;
                        line-height: 27px;
                    }

        .ot-008 .wgot008-tabs-container .wgot008-viewall a {
            color: #F76F00;
            font-family: 'Thongterm-Roman';
            letter-spacing: 0;
            font-size: 16px;
            line-height: 34px;
        }

    .ot-008 .wgot008-video {
        width: 100%;
        height: 100%;
    }

    .ot-008 .wgot008-video-desc {
        margin-top: 24px;
    }

    .ot-008 .wgot008-video-playlist {
        overflow-y: auto;
        overflow-x: hidden;
        width: 100%;
        height: 433px;
        max-height: 433px;
    }

        .ot-008 .wgot008-video-playlist .item {
            height: 86px;
            display: flex;
            flex-wrap: nowrap;
            margin-bottom: 8px;
            cursor: pointer;
        }

            .ot-008 .wgot008-video-playlist .item .item-image {
                width: 153px;
                height: 86px;
                border-top-left-radius: 0px;
                border-top-right-radius: 0px;
                border-bottom-left-radius: 0px;
                margin-bottom: 8px;
                margin-top: 0;
                margin-left: 0px;
                position: relative;
                overflow: hidden;
            }

                .ot-008 .wgot008-video-playlist .item .item-image img {
                    height: auto;
                    object-fit: cover;
                    min-height: unset;
                    position: absolute;
                    margin: auto;
                    min-width: 100%;
                    left: -100%;
                    right: -100%;
                    top: -100%;
                    bottom: -100%;
                    width: 100%;
                }

            .ot-008 .wgot008-video-playlist .item .item-desc {
                padding: 8px;
                padding-left: 16px;
                width: calc(100% - 170px);
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
                white-space: normal;
                font-family: 'Krungsri-Condensed-bold';
                font-style: normal;
                font-weight: 700;
                font-size: 16px;
                line-height: 24px;
                height: 80px;
                margin-bottom: 0;
            }

        .ot-008 .wgot008-video-playlist:after {
            content: ' ';
            position: absolute;
            left: 0;
            right: 0;
            height: 83px;
            bottom: 0;
            width: 100%;
            background: linear-gradient(180deg, rgba(249, 249, 249, 0) 0%, #F9F9F9 100%);
            z-index: 1;
        }

        .ot-008 .wgot008-video-playlist::-webkit-scrollbar {
            -webkit-appearance: none;
            width: 3px;
        }

        .ot-008 .wgot008-video-playlist::-webkit-scrollbar-track {
            background: transparent;
        }

        .ot-008 .wgot008-video-playlist::-webkit-scrollbar-thumb {
            background: #D7D7D7;
            border-radius: 0px;
        }

.ot-008 .wgot008-tabs-container .wgot008-tabs .nav-item .nav-link.active:hover {
    border-bottom: 3px solid #ffd400;
    font-weight: bold;
    font-family: 'Krungsri-Condensed-bold';
    font-style: normal;
    color: #222222;
    line-height: 27px;
}

.ot-008 .wgot008-tabs-container .wgot008-tabs .nav-item .nav-link:hover {
    border: 0;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 24px;
    position: relative;
    margin-right: 20px;
    font-family: 'Krungsri-Condensed';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    color: #545454;
    padding: 0;
    transition: none;
}

.ot-008 .ot-001 .youtube__video_play h4 {
    font-family: 'Krungsri-Condensed-bold';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    height: 70px;
}

.ot-008 .ot-001 .youtube-gallery .content.ytContent .text-ellipsis-2line {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

    @media screen and (max-width: 767px) {

        .ot-008 .wgot008-title {
            margin-left: 15px;
            margin-right: 15px;
        }

            .ot-008 .wgot008-title .icon-play {
                margin-right: 10px;
            }

        .ot-008 .wgot008-tabs-container.mobile-view {
            display: flex;
            justify-content: space-between;
            /*margin-left: 15px;
            margin-right: 15px;*/
            margin-bottom: 16px;
        }

            .ot-008 .wgot008-tabs-container.mobile-view .dropdown {
                display: block;
                width: 100%;
                max-width: 75.95%;
                min-width: 0em;
                height: 44px;
                padding: 8px 20px 8px 16px;
            }

                .ot-008 .wgot008-tabs-container.mobile-view .dropdown > .text {
                    font-family: 'Krungsri-Condensed-bold';
                    font-weight: 700;
                    font-size: 16px;
                    line-height: 27px;
                    color: #222222 !important;
                }

                .ot-008 .wgot008-tabs-container.mobile-view .dropdown > .text {
                    display: -webkit-box;
                    -webkit-line-clamp: 1;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    white-space: normal;
                }

            .ot-008 .wgot008-tabs-container.mobile-view .menu > .item {
                font-family: 'Thongterm';
                font-style: normal;
                font-weight: 400;
                font-size: 16px;
                line-height: 34px;
                color: #5A5A5A;
                height: 44px;
                padding: 8px 20px 8px 16px !important;
            }

            .ot-008 .wgot008-tabs-container.mobile-view .menu .active.item {
                font-family: 'Krungsri-Condensed-bold';
                font-weight: 700;
                font-size: 16px;
                line-height: 27px;
                color: #222222;
                background-color: #FDD200;
                height: 44px;
                padding: 8px 20px 8px 16px !important;
            }

        .ot-008 .tab-pane > .row {
            margin: 0;
        }

        .ot-008 .wgot008-video {
            height: 202px;
        }

        .ot-008 .wgot008-video-playlist {
            margin-top: 12px;
            height: auto;
        }

            .ot-008 .wgot008-video-playlist .item {
                margin-left: 16px;
                margin-right: 16px;
            }

                .ot-008 .wgot008-video-playlist .item:nth-child(n+5) {
                    display: none;
                }

            .ot-008 .wgot008-video-playlist:after {
                display: none;
            }

        .ot-008 .wgot008-row-desc {
            padding-left: 15px;
            padding-right: 15px;
        }

        .ot-008 .wgot008-video-desc {
            margin-top: 24px;
            margin-bottom: 24px;
        }
    }

    /* #endregion */
