﻿/*:root {
    --card-width: 100%;
    --card-height: 100%;
    --card-min-height: 270px;
    --card-min-height-mobile: 110px;
}

.row {
    text-align: unset !important;
    margin-bottom: auto !important;
}*/
 

.row-coach {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.container--content {
    /*margin-bottom: 40px;*/
}

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

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

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

.float-r {
    float: right;
}

#top1 {
    justify-content: space-between;
}

#tab-area {
    text-align: left;
}

#search-area {
    text-align: right;
}

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

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

#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;
}

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

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

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

#main-content-rpt .box-podcast .card-content {
    display: block;
    height: 100%;
}

    #main-content-rpt .box-podcast .card-content .card-content-img {
        width: 100%;
        height: 100%;
        min-height: var(--card-min-height);
    }

#main-content-rpt .box-podcast .box-text {
    padding: 10px 20px;
}

#main-content-rpt .item .box-podcast {
    padding-bottom: 30px;
}

#main-content-rpt .item .card-content-title {
    min-height: 60px;
}

#main-content-rpt .item h2 {
    color: #222222;
    font-family: "Krungsri-Condensed-Bold";
    font-size: 20px;
    letter-spacing: 0;
    line-height: 30px;
    margin-bottom: 0;
}

#main-content-rpt .main-item i.far.fa-play-circle {
    top: 50%;
    left: 33%;
}

#main-content-rpt .item i.far.fa-play-circle {
    top: 35%;
    left: 50%;
}

/*----------------------------------mobile 768---------------------------------------------*/
@media(max-width:768px) {
    .container--header {
        margin-top: 0;
    }

        .container--header p {
            font-size: 14px;
            color: #000000;
        }

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

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

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

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

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

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

    #main-content-rpt .item .box-podcast {
        padding-bottom: 0px;
    }

        #main-content-rpt .item .box-podcast .card-content {
            display: flex;
            height: 110px;
        }

            #main-content-rpt .item .box-podcast .card-content .card-content-img {
                width: 110px;
                height: var(--card-height);
                min-height: var(--card-min-height-mobile);
            }

        #main-content-rpt .item .box-podcast .box-text {
            padding: 4px 8px;
            width: 100%;
        } 

    #main-content-rpt .item .card-content-title {
        min-height: 48px;
        margin-bottom: 4px !important;
    }

    #main-content-rpt .main-item h2 {
        font-size: 18px;
        line-height: 30px;
        color: #222222;
        font-family: "Krungsri-Condensed-Bold";
    }

    #main-content-rpt .item h2 {
        font-size: 16px;
        line-height: 24px;
        color: #222222;
        font-family: "Krungsri-Condensed-Bold";
    }

    #main-content-rpt .main-item i.far.fa-play-circle {
        top: 35%;
        left: 50%;
    }

    #main-content-rpt .item i.far.fa-play-circle {
        top: 50%;
        left: 17%;
    }
}

/* .container-editor #sec-recommend-editor-picks  */
.container--content.container-editor {
    margin-bottom: 80px !important;
}

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

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

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

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

#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;
    ;
}

#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;
}

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

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

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

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

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

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

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

.icon-editor {
    margin-right: 8px;
}
/* #sec-recommend-yt */
.container--content.container-yt {
    margin-bottom: 40px;
}

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

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

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

#sec-recommend-editor-picks .item:not(.main-item) .card-content-detail {
    display: none;
}
/*.container-plearn #sec-recommend-plearn */
.container--content.container-plearn {
    margin-bottom: 40px;
}

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

#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;
}

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

    #sec-recommend-plearn .title-more:hover {
        color: #F76F00;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.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;
}

.ui.dropdown.the-coach-dropdown-mobile .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;
}

.ui.fluid.dropdown.the-coach-dropdown-mobile {
    display: block;
    width: 100%;
    min-width: 0em;
    height: 44px;
    padding: 8px 20px 8px 16px;
}
/*yt*/
.youtube-container.youtube-gallery {
    position: relative;
}

.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;
}

.youtube-container.youtube-gallery .card-content:last-child {
    position: relative;
    z-index: 5;
}
/*.youtube-container.youtube-gallery {
  overflow: scroll;
}*/
.container--content .card-info .content.ytContent {
    padding-left: 16px;
}

@media screen and (max-width:768px) {
    body {
        padding-top: 56px;
    }
    /*sec-1*/
    .container--content.container-editor {
        margin-bottom: 40px !important;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .container--content.container-plearn {
        margin-top: 24px;
        margin-bottom: 24px;
    }
    /*#sec-recommend-editor-picks .item .box-podcast:last-child{
    margin-bottom: 24px !important;
  }*/
    #sec-recommend-plearn .title .title-txt h3 {
        font-size: 18px;
    }

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

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

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

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

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

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

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

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

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

    /*yt*/
    .container--content.container-yt {
        margin-top: 16px;
        margin-bottom: 8px;
    }

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

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

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

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

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

.card-info {
    cursor: pointer;
}

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;
}

.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;
}

    .close:focus {
        outline: 0px !important;
    }

@media screen and (min-width: 768px) {
    .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;
    }
}


@media screen and (min-width: 768px) {
    .img-youtube .image::after {
        content: ' ';
        height: 100%;
        width: 100%;
        background: linear-gradient(180deg, rgba(90,90,90,0) 0%, rgba(0,0,0,0.55) 100%);
        position: absolute;
        bottom: 0;
        z-index: 1;
        left: 0;
        right: 0;
        margin: auto;
    }
}

@media screen and (max-width: 768px) {
    .img-youtube .image::after {
        content: ' ';
        height: 110px;
        width: 100%;
        background: linear-gradient(180deg, rgba(90,90,90,0) 0%, rgba(0,0,0,0.55) 100%);
        position: absolute;
        bottom: 0;
        z-index: 1;
        left: 0;
        right: 0;
        margin: auto;
    }
}

.footer-business .content .item a {
    font-size: 14px;
    line-height: 30px;
}

.content.content-icon {
    position: relative;
}

    .content.content-icon a {
        position: relative;
        left: -13px;
        margin-right: 0;
    }

.ks-footer-nav-1 .social .content-icon a {
    margin-right: 0 !important;
}

.footer-mobile-business .accordion .card .card-header {
    padding-top: 21px;
    padding-bottom: 21px;
}

    .footer-mobile-business .accordion .card .card-header.active {
        padding-top: 21px;
        padding-bottom: 13px;
    }

    .footer-mobile-business .accordion .card .card-header .btn {
        padding-top: 0;
        padding-bottom: 0;
    }

@media screen and (max-width: 1199px) {
    .social.desktop.main, .item-header.item-header-business {
        display: none;
    }

    .ks-footer-nav-1 .social.mobile a {
        margin-left: 8px;
        margin-right: 8px;
    }

    .ks-footer-nav-1 .social.mobile.business a {
        /* margin-right: 0;*/
        left: -16px !important;
    }

    .ks-footer-nav-1 .social .content-icon a {
        margin-right: 0 !important;
    }

    .footer-mobile-business .item, .footer-mobile-business .item a {
        color: #545454;
        font-size: 14px;
        font-weight: 400;
        line-height: 26px;
    }
}

@media screen and (max-width: 330px) {
    .social.mobile.business .content.content-day {
        display: block !important;
    }

    .d-325-block {
        display: block !important;
    }
}


.gotoTop {
    line-height: 32px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: none;
    background-color: #fcfcfc;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 3px 7px 0 rgba(0,0,0,0.3);
    float: right;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
}

    .gotoTop:after {
        content: '\f106';
        font-family: 'Font Awesome 5 Pro';
        color: #5a5a5a;
        font-size: 18px;
    }

@media (max-width: 767px) {
    .gotoTop {
        line-height: 44px;
        width: 44px;
        height: 44px;
        bottom: 16px;
        right: 16px;
    }

        .gotoTop:after {
            font-size: 24px;
        }
}


.ks-top-nav .submenu--content {
    height: 65px;
    position: absolute;
    width: 100%;
    left: 0;
    display: flex;
    z-index: -1;
    background: #fff;
    box-shadow: 0 1px 6px 0 rgba(90,90,90,.2)
}

.navbottom {
    width: 1170px;
    margin: 0 auto;
    min-height: 65px;
    line-height: 65px
}

.ks-top-nav .submenu--content .group.active {
    display: flex;
    padding-left: 190px
}

.ks-top-nav .submenu--content .group .item {
    flex: 0 0 auto;
    cursor: pointer;
    margin: auto;
    font-family: Krungsri-Condensed-Medium;
    color: #5a5a5a;
    text-decoration: none;
    outline: none;
    position: initial;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    bottom: 0;
    top: 0
}

.ks-top-nav .submenu--content .group .item {
    padding: 0 0;
    margin: 0
}

.submenu {
    width: 100%;
    background: #f3f3f3;
    padding: 40px 0;
    border-top: 1px solid #eee;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.1);
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    line-height: 1.5;
    position: absolute;
    left: 0;
    top: 65px;
    z-index: 9999;
    filter: Alpha(opacity=0);
    opacity: 0;
    visibility: hidden
}

    .submenu.active {
        display: block;
        opacity: 1;
        visibility: visible
    }

    .submenu .submenu--container {
        max-width: 1170px;
        margin: 0 auto
    }

#navmain .item.active .submenu {
    display: block;
    filter: Alpha(opacity=100%);
    opacity: 1;
    visibility: visible
}

.ks-top-nav .submenu--content .group .item hr {
    display: none;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border-top: 3px solid #ffd400;
    width: 100%
}

.ks-top-nav .submenu--content .group .item:hover hr, .ks-top-nav .submenu--content .group .item.active hr {
    position: initial;
    display: block;
    bottom: -15px
}

.submenu .heading {
    font-size: 16px;
    line-height: 30px;
    color: #545454;
    font-family: Krungsri-Condensed-Bold;
    margin-bottom: 12px;
    margin-bottom: 10px
}

.submenu .submenu-inner ul {
    padding: 0;
    list-style-type: none;
    margin-bottom: 0
}

    .submenu .submenu-inner ul li {
        color: #545454;
        font-family: Thongterm-Roman;
        font-size: 14px;
        line-height: 26px;
        font-weight: normal;
        padding-bottom: 8px
    }

        .submenu .submenu-inner ul li a {
            color: #545454
        }

        .submenu .submenu-inner ul li:hover {
            font-family: Thongterm-Bold
        }

        .submenu .submenu-inner ul li:last-child {
            padding-bottom: 0
        }

.menu--bars div.btn.btn-primary.btn-xs {
    font-family: Krungsri-Condensed-Bold;
    font-weight: normal
}

.ks-top-nav .menu--content .menu--logo img {
    height: 111px;
    width: auto
}

.ks-top-nav .submenu--content .group.active {
    padding-left: 100px
}

.submenu .submenu--container .submenu-inner {
    padding-left: 117px !important
}

@media screen and (max-width: 1199px) {
    .ks-top-nav .menu--content .menu--logo img {
        height: 48px
    }
}

.hwc-pdpa #cookieSettingModal .modal-content {
    max-height: none;
    background-color: #fff
}

.container--tab {
    max-width: 1200px;
    margin: auto
}

.bg-menu-tab {
    background-color: white;
    width: auto;
    margin-left: -15px;
    margin-right: -15px;
    background-color: #fff;
    box-shadow: 0 1px 6px 0 rgba(90,90,90,.2)
}

.tab-title-text {
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none
}

    .tab-title-text > a.border-line {
        font-family: Krungsri-Condensed-Medium;
        font-size: 20px;
        color: #5a5a5a;
        line-height: 30px;
        height: 78px;
        display: table-cell;
        vertical-align: middle
    }

        .tab-title-text > a.border-line.active {
            font-family: Krungsri-Condensed-Bold;
            font-size: 20px;
            margin-right: 48px;
            margin-top: 24px;
            margin-bottom: 24px;
            color: #222;
            line-height: 30px;
            height: 78px;
            display: table-cell;
            vertical-align: middle
        }

    .tab-title-text:hover > a:after {
        transform: translate3d(100%,0,0)
    }

    .tab-title-text > a.active:after {
        transform: translate3d(100%,0,0)
    }

    .tab-title-text > a {
        background: transparent;
        position: relative;
        overflow: hidden
    }

        .tab-title-text > a:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: -100%;
            width: 100%;
            height: 3px;
            background: #ffd400;
            transition: .3s cubic-bezier(.445,.05,.55,.95)
        }

        .tab-title-text > a:hover {
            background: transparent
        }

    .tab-title-text .sub {
        position: absolute;
        overflow: hidden;
        background: #fff;
        box-shadow: 1px 2px 0 0 rgba(35,19,18,.2);
        border-radius: 4px;
        z-index: 5;
        list-style: none;
        padding: 0;
        transform: translate(0,0);
        max-height: 0;
        transition: .2s ease-in transform,.4s ease max-height;
        min-width: 270px
    }

        .tab-title-text .sub li {
            padding-left: 16px;
            padding-right: 16px;
            padding-top: 4px;
            padding-bottom: 4px;
            font-family: 'Thongterm-Roman';
            font-size: 16px;
            color: #5a5a5a;
            -webkit-user-select: none;
            -ms-user-select: none;
            user-select: none
        }

            .tab-title-text .sub li:hover {
                background-color: #f3f3f3
            }

            .tab-title-text .sub li a {
                font-family: 'Thongterm-Roman';
                font-size: 16px;
                color: #5a5a5a;
                display: block;
                width: 100%
            }

    .tab-title-text.active--sub .sub {
        padding-top: 8px;
        padding-bottom: 8px;
        max-height: 900px;
        transform: translate(0,4px)
    }

.zone-white {
    background: #fff
}

.zone-ghostWhite {
    background: #f9f9f9
}

.accordion .card .card-header {
    padding-bottom: 0
}

.accordion .card .collapse {
    padding-top: 0 !important
}

.cll-mt {
    margin-bottom: 0
}

    .cll-mt:nth-child(n+4) {
        margin-bottom: 0;
        margin-top: 30px
    }

.card-logo.download .header {
    max-width: calc(100% - 50px)
}

    .card-logo.download .header h2 {
        overflow: hidden
    }

.card-logo.download .content {
    height: 104px;
    position: relative
}

.card-logo.download .image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 270px
}

    .card-logo.download .image img {
        width: auto;
        height: 100%
    }

.card-logo.download .badge {
    position: absolute;
    top: 16px;
    right: 16px
}

    .card-logo.download .badge.filetype {
        background: #ffc800;
        color: #fff;
        min-width: 34px;
        height: 18px;
        font-family: 'SukhumvitSet-Semi';
        font-weight: bold;
        border-radius: 3px;
        padding: 0;
        padding-left: 2px;
        padding-top: 4px;
        text-align: center
    }

.card-logo.download i {
    position: absolute;
    bottom: 27px;
    right: 21px
}

    .card-logo.download i:before {
        font-size: 24px;
        color: #222
    }

.card-logo.link {
    margin-bottom: 0
}

    .card-logo.link .content {
        height: 91px
    }

.nav.nav-ks .nav-item {
    flex: 1 1 auto;
    text-align: center;
    border-bottom: 3px solid #f0efee
}

    .nav.nav-ks .nav-item .nav-link {
        color: #949494;
        font-size: 16px;
        position: relative
    }

        .nav.nav-ks .nav-item .nav-link:after {
            width: 0;
            content: "";
            position: absolute;
            bottom: -3px;
            left: 0;
            height: 3px;
            background: #ffd400;
            transition: .3s cubic-bezier(.445,.05,.55,.95)
        }

        .nav.nav-ks .nav-item .nav-link:hover:after, .nav.nav-ks .nav-item .nav-link.active:after {
            width: 100%
        }

        .nav.nav-ks .nav-item .nav-link.active {
            color: #222;
            font-family: 'Thongterm-Bold'
        }

.card.card-transparent {
    background-color: transparent;
    border: 0;
    padding-left: 15px;
    padding-right: 15px
}

    .card.card-transparent .card-body .card-title {
        color: #545454;
        font-family: 'Krungsri-Condensed-Bold';
        font-size: 20px
    }

    .card.card-transparent .card-body .card-text {
        color: #545454;
        font-family: 'Thongterm-Roman';
        text-align: center;
        font-size: 16px
    }

@media(max-width: 1199px) {
    .tab-title-text:first-child {
        padding-left: 24px
    }

    .tab-title-text:last-child {
        padding-right: 24px
    }
}

@media(max-width: 991px) {
    .bg-menu-tab {
        display: none
    }

    .nav-menu-mobile .btn-secondary-menu {
        cursor: pointer
    }

    .nav-secondary-menu a {
        cursor: pointer;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none
    }

    .nav-secondary-menu .main.active .arrow:after {
        transform: rotateX(180deg)
    }

    /*.nav-secondary-menu .sub {
        display: none
    }

    .pm-010 .nav-secondary-menu .main.active.arrow  .sub {
        display: block !important;
    }

    .pm-010 .nav-secondary-menu .main.arrow .sub {
        display: none !important;
    }*/

    .cll-mt {
        margin-bottom: 0
    }

        .cll-mt:nth-child(n+3) {
            margin-bottom: 0;
            margin-top: 30px
        }
}

@media(max-width: 767px) {
    .cll-mt {
        margin-bottom: 0
    }

        .cll-mt:nth-child(n+2) {
            margin-bottom: 0;
            margin-top: 16px
        }

    .card-logo.download .image {
        min-height: 243px;
        height: 100%
    }

    .card-logo.download .content {
        height: 74px;
        padding: 8px;
        padding-left: 10px
    }

    .card-logo.download i {
        padding-top: 4px;
        padding-left: 16px;
        bottom: auto;
        padding-right: 24px;
        position: unset
    }

        .card-logo.download i:before {
            font-size: 24px
        }

    .card-logo.download .badge {
        position: absolute;
        top: auto;
        left: 16px;
        bottom: 10px;
        width: -webkit-max-content;
        width: max-content
    }

    .card-logo.download .header {
        display: flex
    }

        .card-logo.download .header h2 {
            font-size: 16px;
            font-family: 'Thongterm-Roman';
            font-weight: bold;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap
        }

        .card-logo.download .header h3 {
            font-size: 16px;
            font-family: 'Thongterm-Bold';
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap
        }

    .zone-mob-gapless {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px
    }

    .scroll-tooltip {
        position: relative;
        overflow: auto
    }

        .scroll-tooltip:before {
            content: '';
            font-family: "Font Awesome 5 Pro";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
            color: #5a5a5a;
            background-color: #d8d8d8;
            opacity: .6;
            border-radius: 50%;
            width: 44px;
            height: 44px;
            display: flex;
            justify-content: center;
            align-items: center
        }

        .scroll-tooltip.img img {
            width: auto !important;
            max-width: none !important
        }

        .scroll-tooltip.hideTp:before {
            display: none
        }

    .card.card-transparent > a {
        text-align: center
    }

    .card.card-transparent .card-img-top {
        max-width: 184px;
        height: auto;
        margin: 0 auto
    }

    .card.card-transparent .card-title {
        color: #222;
        font-family: 'Krungsri-Condensed-Bold';
        font-size: 18px
    }

    .card.card-transparent .card-text {
        color: #5a5a5a;
        font-family: 'Thongterm-Roman';
        text-align: center;
        font-size: 16px
    }

    .container--content {
        margin-bottom: 40px
    }
}

.socialShare {
    margin-top: 5px
}

.card-info .description {
    color: #5a5a5a
}

#cookieSettingModal .close {
    float: right !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #000 !important;
    text-shadow: 0 1px 0 #fff !important;
    opacity: .5 !important
}

.bg-554242 {
    background-color: #534242
}

div#guruLeft {
    margin-top: 0
}

div#guruLeft3 {
    margin-top: 0
}

.recommend-zone .title {
    margin-bottom: 40px !important
}

.plr-16px {
    padding-left: 16px;
    padding-right: 16px
}

.plr-18px {
    padding-left: 17px;
    padding-right: 18px
}

.plr-32px {
    padding-left: 33px;
    padding-right: 32px
}

.pl28r27 {
    padding-left: 28px;
    padding-right: 27px
}

.pl33r37 {
    padding-left: 33px;
    padding-right: 37px
}

.plr-30px {
    padding: 0 30px
}

.mb-6px-all {
    margin-bottom: 6px
}

.ml-pc-zone1 {
    margin-left: 0
}

.container--banner .owl-dots {
    bottom: 16px !important
}

@media screen and (max-width: 768px) {
    .ml-pc-zone1 {
        margin-left: -15px
    }

    .recommend-zone .title {
        margin-bottom: 24px !important
    }

    .page-title {
        width: 288px
    }
}

@media screen and (min-width: 768px) {
    .mb60pc {
        margin-bottom: 50px !important
    }

    .item-detail .img {
        padding: 0 !important
    }
}

@media screen and (max-width: 768px) {
    .socialShare {
        margin-top: -3px !important
    }

    .description {
        bottom: 0;
        font-size: 14px
    }

    .container--content .image img {
        height: 110px
    }

    .text-ellipsis-1line {
        display: -webkit-box;
        overflow: hidden;
        white-space: normal;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis
    }

    .recommend-zone-custom {
        margin-bottom: 24px
    }

    .container--header-custom {
        margin-bottom: 32px
    }

    .content-header {
        margin-bottom: 24px
    }

    .container--content {
        padding-top: 0
    }

    .px-m-0 {
        padding-left: 0;
        padding-right: 0
    }

    .item-index4, .item-index5, .item-index6 {
        display: none !important
    }

    .mb60pc {
        margin-bottom: 24px !important
    }
}

.tab-title-text {
    position: relative
}

    .tab-title-text > a.active:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: -100%;
        width: 100%;
        height: 3px;
        background: #ffd400
    }

    .tab-title-text .sub {
        min-width: 270px;
        width: 100%;
        transition: unset
    }

.Text-link.text-right {
    font-size: 16px;
    line-height: 34px
}

.tab-title-text.active--sub .sub {
    transform: translate(0,1px)
}

.tab-title-text:nth-child(2) .tab-scoll, .tab-title-text:nth-child(3) .tab-scoll, .tab-title-text:nth-child(4) .tab-scoll, .tab-title-text:nth-child(5) .tab-scoll, .tab-title-text:nth-child(6) .tab-scoll {
    cursor: default
}

#sec-recommend-2 .card-info .image, #sec-recommend-4 .card-info .image, #sec-recommend-5 .card-info .image {
    position: relative;
    overflow: hidden;
    height: 270px
}

    #sec-recommend-2 .card-info .image img, #sec-recommend-4 .card-info .image img, #sec-recommend-5 .card-info .image img {
        height: 270px;
        width: auto;
        position: absolute;
        margin: auto;
        min-height: 100%;
        min-width: 100%;
        left: -100%;
        right: -100%;
        top: -100%;
        bottom: -100%
    }

@media screen and (max-width: 768px) {
    #sec-recommend-2 .card-info .image, #sec-recommend-4 .card-info .image, #sec-recommend-5 .card-info .image {
        position: relative;
        overflow: hidden;
        height: 110px
    }

        #sec-recommend-2 .card-info .image img, #sec-recommend-4 .card-info .image img, #sec-recommend-5 .card-info .image img {
            height: 110px;
            width: auto;
            position: absolute;
            margin: auto;
            min-height: 100%;
            min-width: 100%;
            left: -100%;
            right: -100%;
            top: -100%;
            bottom: -100%
        }
}


.pm-004 {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

@media screen and (max-width: 768px) {
    .pm-004 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    } 

    .pm-004 .swiper .tab-title-text {       
        padding: 0;
        white-space: nowrap; /* ป้องกันข้อความตัดบรรทัด */
        /*margin-right: 32px !important;*/
        margin:0;
    } 

    .pm-004 .swiper-slide {
         width: auto !important;
    }

        .pm-004 .swiper-wrapper .swiper-slide:last-child {
            margin-right: 0 !important;
        }

        .pm-004 #tab-selected .tab-title-text > a.border-line {
            font-family: Krungsri-Condensed-Medium;
            line-height: 30px;
            display: table-cell;
            vertical-align: middle;
        }

            .pm-004 #tab-selected .tab-title-text > a.border-line.active {
                font-family: Krungsri-Condensed-Bold;
                color: #222222;
            }
}
