﻿/* rules from css/youtube.css used by this widget (was linked as a separate file) */
i.far.fa-play-circle {
    font-size: 56px;
    position: absolute;
    color: rgba(255,255,255,.9);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    text-align: center;
    z-index: 2;
}

.fa-play-circle::before {
    content: "\f144";
}

.img-youtube {
    cursor: pointer;
}

#vdomodal .modal-content {
    margin: 0 auto;
    border: 0px;
}

#vdomodal button.close span {
    right: -30px;
    top: 20px;
    position: relative;
}

.close {
    color: #fff;
    text-shadow: none;
    opacity: 1;
    font-size: 26px;
    text-align: right;
}

@media screen and (min-width: 768px) {
    #vdomodal .modal-content {
        background-color: transparent;
        box-shadow: none;
        border: none;
    }
}

@media screen and (max-width: 991px) {
    #vdomodal button.close span {
        right: inherit;
        top: -15px;
        position: relative;
    }
}

@media only screen and (max-width: 767px) {
    #vdomodal .modal-content {
        background-color: transparent;
        max-height: 300px;
    }
}

i.far.fa-play-circle {
    font-size: 56px;
    position: absolute;
    color: rgba(255, 255, 255, .9);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.ot-007 #vdomodal button.close span {
    right: -30px;
    top: 20px;
    position: relative;
    color: #000;
}

.ot-007 #vdomodal .modal-content {
    margin: 0;
    border: 0px;
    background-color: transparent !important;
}

.ot-007 #vdomodal .modal-body {
    padding: 0;
}

@media screen and (max-width: 767px) {
    .ot-007 #videoIframe {
        height: 274px;
    }

    .ot-007 .modal-dialog .modal-content {
        margin-top: 50px;
        top: 30%;
        position: absolute;
        right: 0;
        left: 0;
        padding: 0;
    }

    .ot-007 #vdomodal button.close span {
        right: inherit;
        top: -15px;
        position: relative;
    }
}

/*
 * Extracted from css/widget.css, lines 8124-8826
 * Region label: OT-007
 */
/* #region OT-007 */
 
    .ot-007 .modal-content {
        background-color: white !important;
    }

    .ot-007 .container--content {
        margin-bottom: 40px;
    }

    .ot-007 .pagination .page-item .page-link {
        color: #545454;
    }

    .ot-007 .bg-menu-tab {
        box-shadow: 0px 8px 6px 0px #000 0f;
    }

    .ot-007 .ml-2per {
        margin-left: -2%;
    }

    .ot-007 .float-r {
        float: right;
    }

    .ot-007 #top1 {
        justify-content: space-between;
    }

    .ot-007 #tab-area {
        text-align: left;
    }

    .ot-007 #search-area {
        text-align: right;
    }

        .ot-007 #search-area .input-group-append {
            cursor: pointer;
        }

    .ot-007 #sec-recommend-editor-picks .main-item .card-content-type {
        font-size: 14px !important;
    }

    .ot-007 #tab-selected .tab-title-text > a.border-line {
        height: 45px;
        padding-top: 12px;
        vertical-align: top;
        font-family: "Krungsri-condensed-bold";
        font-size: 16px;
        line-height: 24px;
        color: #5a5a5a;
    }

        .ot-007 #tab-selected .tab-title-text > a.border-line.active, .ot-007 #owl-tab-selected-mobile .tab-title-text a.border-line.active {
            color: #222;
        }

        .ot-007 #tab-selected .tab-title-text > a.border-line:hover {
            color: #222;
        }

    .ot-007 #mainnav .tab-title-text {
        padding: 0 15px;
    }

    .ot-007  .box-podcast .card-content {
        display: block;
        height: 100%;
    } 

    .ot-007  .box-podcast .box-text {
        padding: 10px 20px;
    }

    .ot-007  .item .box-podcast {
        padding-bottom: 30px;
    }

    .ot-007  .item .card-content-title {
        min-height: 60px;
    }

    .ot-007  .item h2 {
        color: #222;
        font-family: "Krungsri-Condensed-Bold";
        font-size: 20px;
        letter-spacing: 0;
        line-height: 30px;
        margin-bottom: 0;
    }

.ot-007 .main-item i.far.fa-play-circle {
    top: 50% !important;
    left: 33% !important;
}

.ot-007 .item i.far.fa-play-circle {
    top: 50% !important;
    left: 17% !important;
}

@media (max-width: 768px) { 
        .ot-007 .container--header {
            margin-top: 0;
        }

            .ot-007 .container--header p {
                font-size: 14px;
                color: #000;
            }

        .ot-007 .nav-menu-mobile {
            margin: 0px;
            padding: 0px;
        }

            .ot-007 .nav-menu-mobile .btn-secondary-menu {
                width: 100%;
            }

        .ot-007 .container--content {
            margin: 8px 0 16px 0;
        }

        .ot-007 #owl-tab-selected-mobile .tab-title-text a.tab-scoll {
            font-size: 16px;
            color: #5a5a5a;
            height: auto;
        }

        .ot-007 #owl-tab-selected-mobile .tab-title-text a.tab-scoll {
            padding-bottom: 4px;
        }

            .ot-007 #owl-tab-selected-mobile .tab-title-text a.tab-scoll:hover, .ot-007 #owl-tab-selected-mobile .tab-title-text a.tab-scoll.active {
                color: #222;
            }

        .ot-007  .item .box-podcast {
            padding-bottom: 0px;
        }

            .ot-007  .item .box-podcast .card-content {
                display: flex;
                height: 110px;
            }

                .ot-007 .item .box-podcast .card-content .card-content-img {
                    width: 110px !important;
                    height: 110px !important;
                    object-fit: cover !important;
                    min-height: unset !important;
                    border-radius: 3px 0px 0px 3px !important;
                }

            .ot-007 .item .box-podcast .box-text {
                padding: 3px 10px 4px 10px !important;
                min-width: unset !important;
            }

        .ot-007  .item .card-content-title {
            min-height: 48px;
            margin-bottom: 4px !important;
        }

        .ot-007  .main-item h2 {
            font-size: 18px;
            line-height: 30px;
            color: #222;
            font-family: "Krungsri-Condensed-Bold";
        }

        .ot-007  .item h2 {
            font-size: 16px;
            line-height: 24px;
            color: #222;
            font-family: "Krungsri-Condensed-Bold";
        }

        .ot-007 .main-item i.far.fa-play-circle {
            top: 35% !important;
            left: 50% !important;
        }

        .ot-007  .item i.far.fa-play-circle {
            top: 50% !important;
            left: 17% !important;
        }

     
}

.ot-007 .container--content.container-editor {
    margin-bottom: 80px !important;
}

.ot-007 #sec-recommend-editor-picks .title h2 {
    margin-bottom: 24px;
}

.ot-007 #sec-recommend-editor-picks .box-podcast .card-content {
    filter: drop-shadow(1px 2px 10px rgba(35, 19, 18, 0.1));
}

.ot-007 #sec-recommend-editor-picks .main-item .box-podcast {
    margin-bottom: 30px !important;
}

    .ot-007 #sec-recommend-editor-picks .main-item .box-podcast .card-content {
        border-top: none;
        min-height: unset;
        height: auto;
        display: flex;
        border-radius: 3px !important;
        background-color: #fff;
    }

.ot-007 #sec-recommend-editor-picks .main-item .card-content-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: unset;
    border-radius: 3px 3px 0px 0px;
}

.ot-007 #sec-recommend-editor-picks .main-item .box-podcast .box-text {
    border-top: 5px solid #fdd200;
    max-width: 34.3%;
    position: relative;
    padding: 24px 24px 16px !important;
}

.ot-007 #sec-recommend-editor-picks .main-item .card-content-type {
    margin-bottom: 10px;
}

.ot-007 #sec-recommend-editor-picks .main-item .card-content-title {
    margin-bottom: 10px;
}

.ot-007 #sec-recommend-editor-picks .main-item .card-readmore {
    position: absolute;
    bottom: 10px;
    width: 90%;
}

.ot-007 #sec-recommend-editor-picks .main-item a#btnShare {
    position: absolute;
    right: 50px;
    bottom: 4px;
}

.ot-007 #sec-recommend-editor-picks .item a#btnShare img {
    margin-top: -7px;
}

.ot-007 #sec-recommend-editor-picks .main-item .card-content-type {
    font-size: 12px;
    line-height: 30px;
}

.ot-007 #sec-recommend-editor-picks .card-content-readmore {
    font-size: 14px;
    line-height: 30px;
}

.ot-007 .icon-editor {
    margin-right: 8px;
}

.ot-007 .container--content.container-yt {
    margin-bottom: 40px;
}

.ot-007 #sec-recommend-yt .title {
    margin-bottom: 16px !important;
}

    .ot-007 #sec-recommend-yt .title.youtube-tab-playlist {
        margin-bottom: 0px !important;
    }

.ot-007 #sec-recommend-editor-picks .main-item .card-content-title h4 {
    color: #222;
    font-family: "Krungsri-Condensed-Bold";
    font-size: 24px;
    letter-spacing: 0;
    line-height: 36px;
    margin-bottom: 0;
    height: unset;
}

.ot-007 #sec-recommend-editor-picks .item:not(.main-item) .card-content-detail {
    display: none;
}

.ot-007 .container--content.container-plearn {
    margin-bottom: 40px;
}

.ot-007 #sec-recommend-plearn .title h2 {
    margin-bottom: 24px;
}

.ot-007 #sec-recommend-plearn .title-txt h3 {
    font-family: 'Krungsri-Condensed-bold';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #fdd200;
}

.ot-007 #sec-recommend-plearn .title-more {
    font-family: 'Thongterm';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: #fff;
}

    .ot-007 #sec-recommend-plearn .title-more:hover {
        color: #f76f00;
    }

.ot-007 .box-podcast:last-child {
    margin-bottom: 0px !important;
}

.ot-007 #sec-recommend-plearn .title-type {
    margin-bottom: 20px;
}

.ot-007 .box-podcast .card-content {
    border-top: none;
    min-height: unset;
    height: 130px;
    display: flex;
    border-radius: 3px;
    background-color: #fff;
}

.ot-007 .card-content-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    min-height: unset;
    border-radius: 3px 3px 0px 0px;
}

.ot-007 .card-content-type {
    font-family: 'Thongterm';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 30px;
    color: #5a5a5a;
}

.ot-007 .box-podcast .box-text {
    padding: 10px;
}

.ot-007 .card-content-name {
    display: none;
}

.ot-007 .item .card-content-title h4 {
    white-space: break-spaces;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ot-007 .item .card-content-title h4 {
    font-size: 16px;
    line-height: 24px;
    height: 48px;
}

.ot-007 .main-item .card-content-title h4 {
    white-space: unset;
    overflow: unset; 
    text-overflow: unset;
    display: unset;
    -webkit-line-clamp: 0;
    -webkit-box-orient: unset;
}

.ot-007 .card-content-readmore {
    font-family: 'Thongterm';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    width: 100%;
    position: relative;
}

.ot-007 .box-text img.icon-clock {
    width: 12px;
    height: 12px;
    bottom: 3px;
    margin-right: 0px;
    position: relative;
}

.ot-007 .box-text img#shareImageIcon {
    width: 11px;
    height: 12px;
}

.ot-007 .default.text.item-select .item {
    font-family: 'Krungsri-Condensed-bold';
    font-weight: 700;
    font-size: 16px;
    line-height: 27px;
    color: #222;
}

.ot-007 .ui.dropdown.the-coach-dropdown-mobile > .text {
    font-family: 'Krungsri-Condensed-bold';
    font-weight: 700;
    font-size: 16px;
    line-height: 27px;
    color: #222 !important;
}

.ot-007 .ui.selection.dropdown.the-coach-dropdown-mobile .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-007 .ui.dropdown.the-coach-dropdown-mobile .menu .active.item {
    font-family: 'Krungsri-Condensed-bold';
    font-weight: 700;
    font-size: 16px;
    line-height: 27px;
    color: #222;
    background-color: #fdd200;
    height: 44px;
    padding: 8px 20px 8px 16px !important;
}

.ot-007 .ui.fluid.dropdown.the-coach-dropdown-mobile {
    display: block;
    width: 100%;
    min-width: 0em;
    height: 44px;
    padding: 8px 20px 8px 16px;
}

.ot-007 .youtube-container.youtube-gallery {
    position: relative;
}

.ot-007 .youtube-gradient: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-007 .youtube-container.youtube-gallery .card-content:last-child {
    position: relative;
    z-index: 5;
}

.ot-007 .container--content .card-info .content.ytContent {
    padding-left: 16px;
}

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

        .ot-007 body {
            padding-top: 56px;
        }

        .ot-007 .container--content.container-editor {
            margin-bottom: 40px !important;
        }

        .ot-007 #sec-recommend-editor-picks .title h2 {
            margin-bottom: 16px;
        }

        .ot-007 #sec-recommend-editor-picks .main-item .box-podcast {
            margin-bottom: 16px !important;
        }

        .ot-007 #sec-recommend-editor-picks .item .box-podcast {
            margin-bottom: 16px !important;
        }

    .ot-007 #sec-recommend-editor-picks .main-item .box-podcast .card-content {
        border-top: none !important;
        min-height: unset !important;
        height: auto;
        display: block !important;
    }

        .ot-007 #sec-recommend-editor-picks .main-item .box-podcast .box-text {
            border-top: unset;
            max-width: unset;
            position: relative;
            padding: 8px 10px 10px !important
        }

        .ot-007 #sec-recommend-editor-picks .main-item .card-content-type {
            margin-bottom: 1px;
        }

        .ot-007 #sec-recommend-editor-picks .main-item .card-content-title {
            margin-bottom: 0;
        }

        .ot-007 .card-content-detail {
            display: none;
        }

        .ot-007 #sec-recommend-editor-picks .main-item .card-readmore {
            position: relative;
            bottom: 0;
            width: 100%;
        }

        .ot-007 #sec-recommend-editor-picks .main-item a#btnShare {
            position: relative;
            right: unset;
            bottom: 3px;
        }

        .ot-007 #sec-recommend-editor-picks .item a#btnShare img {
            margin-top: -6px;
        }

        .ot-007 #sec-recommend-editor-picks .main-item .card-content-title h2 {
            font-size: 18px;
            letter-spacing: 0;
            line-height: 30px;
            margin:0;
        }

        .ot-007 #sec-recommend-editor-picks .main-item .card-content-type {
            font-size: 14px;
            line-height: 30px;
        }

        .ot-007 #sec-recommend-editor-picks .card-content-readmore {
            font-size: 12px;
            line-height: 26px;
        }

        .ot-007 #sec-recommend-editor-picks .main-item .card-content-readmore {
            font-size: 14px;
            line-height: 30px;
        }

        .ot-007 #sec-recommend-plearn .title h2 {
            margin-bottom: 24px;
        }

        .ot-007 #sec-recommend-plearn .title-type {
            margin-bottom: 16px;
        }

        .ot-007 .container--content.container-plearn {
            margin-top: 24px;
            margin-bottom: 24px;
        }

        .ot-007 #sec-recommend-plearn .title .title-txt h3 {
            font-size: 18px;
        }

        .ot-007 #sec-recommend-plearn .title .title-more {
            font-size: 14px;
        }

        .ot-007 .box-podcast .card-content {
            height: 110px;
        }

        .ot-007 .card-content-img {
            width: 110px;
            height: 110px;
            object-fit: cover;
            min-height: unset;
            border-radius: 3px 3px 0px 0px;
        }

        .ot-007 .card-content-type {
            font-size: 12px;
            line-height: 26px;
        }

        .ot-007 .item .card-content-title h4 {
            color: #222;
            font-family: Thongterm-Bold;
            font-size: 16px;
            line-height: 24px;
            margin-bottom: 0;
        }

        .ot-007 .box-podcast .box-text {
            padding: 3px 10px 4px 10px;
        }

        .ot-007 .box-text img.icon-clock {
            width: 14px;
            height: 14px;
            bottom: 3px;
        }

        .ot-007 .card-content-readmore {
            font-size: 12px;
            line-height: 26px;
        }

        .ot-007 .box-podcast:last-child {
            margin-bottom: 16px !important;
        }

        .ot-007 .container--content.container-yt {
            margin-top: 16px;
            margin-bottom: 8px;
        }

        .ot-007 #sec-recommend-yt .title.youtube-tab-playlist {
            margin-bottom: 16px !important;
        }

        .ot-007 .youtube-gradient:after {
            content: none;
        }

        .ot-007 .container--content .card-info .image.ytImage {
            margin-left: 16px;
        }

        .ot-007 .container--content .card-info .content.ytContent {
            padding-left: 16px;
            padding-right: 16px;
        }

        .ot-007 .youtube-gallery {
            width: 100%;
            height: 400px;
            margin: auto;
            overflow: initial;
            margin-top: 12px;
        }
}

.ot-007 .card-content-img.content {
    /*width: 130px !important;
    height: 130px !important;*/
    width: 100% !important;
    height: 132px !important;
    object-fit: cover !important;
    min-height: unset !important;
    border-radius: 3px 0px 0px 3px !important;
}

.ot-007 .box-podcast .box-text {
    padding: 8px 10px 8px 8px !important;
    min-width: 240px !important;
}

.ot-007 .box-podcast .card-content {
    border-top: none !important; 
    display: flex !important;
    border-radius: 3px !important; 
}

.ot-007 .item .card-content-title h4 {
    white-space: break-spaces;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 0;
}

/* #endregion */
