@font-face {
    font-family: 'Krungsri-Condensed';
    src: url('/Content/Fonts/Krungsri Con.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Krungsri-Condensed-Bold';
    src: url('/Content/Fonts/Krungsri Con Bol.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Thongterm-Roman';
    src: url('/Content/Fonts/thongterm_roman-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.mutual-fund-widget .owl-carousel.owl-loaded {
    display: block;
}

.mutual-fund-widget .owl-carousel .owl-nav {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
}
.mutual-fund-widget .owl_1:not(.owl-loaded) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
}

    .mutual-fund-widget .owl_1:not(.owl-loaded) .item {
        flex: 0 0 auto;
    }

.mutual-fund-widget .tab-content > .tab-pane {
    display: none;
}

    .mutual-fund-widget .tab-content > .tab-pane.active {
        display: block;
    }

.hand_touch {
    display: none;
}

.ui.ks.dropdown.selection {
    margin-bottom: 20px;
}

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

.header-title {
    font-size: 26px;
    font-weight: bold;
    padding: 10px 0px;
    margin-bottom: 10px;
    color: #222;
    font-family: 'Krungsri-Condensed-Bold';
}

.header-AsOfDate {
    font-size: 16px;
    padding: 10px 0px;
    margin-bottom: 10px;
    color: #5e5e5e;
    font-family: 'Krungsri-Condensed';
}

.mutual-fund-widget .nav-tabs {
    border-bottom: 0;
    margin: 18px 0 22px;
}

.mutual-fund-widget .owl_1 .item {
    text-align: center;
    height: 120px;
    width: 146px;
    overflow-wrap: break-word; 
    padding: 10px 5px 5px 5px;
    font-family: 'Krungsri-Condensed-Bold';
    margin: 0 auto;
}

.mutual-fund-widget .onactive {
    background: #F7F2DE;
    border: 1px solid #FFD400;
    border-radius: 6px;
}

.mutual-fund-widget .owl_1 .item a {
    color: #333;
    display: block;
    height: 100%;
    text-decoration: none;
}

.mutual-fund-widget .owl_1 .item a:focus,
.mutual-fund-widget .owl_1 .item a:hover {
    color: #1f1f1f;
    text-decoration: none;
}

.mutual-fund-widget .owl_1 .item img {
    height: 48px;
    width: auto !important;
    margin: 0 auto;
}

.mutual-fund-widget .owl-dots {
    display: none;
}

.mutual-fund-widget .owl-next,
.mutual-fund-widget .owl-prev {
    position: absolute !important;
    top: 35px !important;
    height: 35px !important;
    width: 35px !important;
    background-color: #FFFFFF !important;
    border-radius: 50% !important; 
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.2) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto; 
    z-index: 10;
    margin: 0 !important;
}

    .mutual-fund-widget .owl-next span,
    .mutual-fund-widget .owl-prev span {
        display: none;
    }

.mutual-fund-widget .owl-theme .owl-nav .disabled {
    opacity: 0 !important;
}

.mutual-fund-widget .owl-next:after {
    content: '\f105';
    font-family: 'Font Awesome 5 Pro';
    color: #5a5a5a;
    font-size: 18px;
    font-weight: bold;
}

.mutual-fund-widget .owl-prev:after {
    content: '\f104';
    font-family: 'Font Awesome 5 Pro';
    color: #5a5a5a;
    font-size: 18px;
    font-weight: bold;
}
.mutual-fund-widget .owl-prev {
    left: -15px !important; 
}


.mutual-fund-widget .owl-next {
    right: -15px !important;
}


.mutual-fund-widget .owl-next:after,
.mutual-fund-widget .owl-prev:after {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1199px) {
    .mutual-fund-widget .owl-next,
    .mutual-fund-widget .owl-prev,
    .mutual-fund-widget .owl-carousel .owl-nav button.owl-next,
    .mutual-fund-widget .owl-carousel .owl-nav button.owl-prev {
        top: 0 !important;
        bottom: auto !important;
        height: 114px !important;
        min-height: 0 !important;
        max-height: 114px !important;
        width: 30px !important;
        min-width: 0 !important;
        background-color: #FFFFFF !important;
        border-radius: 20px !important;
        box-shadow: 0 2px 12px 0 rgba(0,0,0,0.2);
    }

    .mutual-fund-widget .owl-carousel .owl-nav button.owl-prev {
        left: 0 !important;
    }

    .mutual-fund-widget .owl-carousel .owl-nav button.owl-next {
        right: 0 !important;
    }

    .mutual-fund-widget .owl-theme .owl-nav .owl-next,
    .mutual-fund-widget .owl-theme .owl-nav .owl-prev {
        background-color: #ffffff !important;
        background-image: none;
    }

    .mutual-fund-widget .owl-theme .owl-nav {
        display: block !important;
    }
}

.zoneNav .detail .inner .tab-pane.fade.active {
    display: block !important;
}

.header-sub {
    padding-bottom: 10px
}

.change-down {
    background-image: url("/getmedia/98d74554-90ae-44dd-8298-1b35d39722b9/icon-down.png");
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
    margin: 0 auto;
    filter: contrast(0.5)
}

.change-up {
    background-image: url("/getmedia/9b3432c4-e88e-44f7-9487-79b1dbf885d8/icon-up.png");
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
    margin: 0 auto;
    filter: contrast(0.5)
}

#mZoneSlide .banner-item .inner {
    margin-left: 0%;
}

#mZoneSlide .banner-item .bannerdetail {
    padding-bottom: 0px;
}

#mZoneSlide .banner-item {
    background-position: 100%;
}

.remark {
    margin-bottom: 20px;
}

.print-only {
    display: none;
}
#ddlMutualfundType,
.mutual-fund-type-select,
.ddlCurrency-H42 {
    min-width: 345px;
    height: 42px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 2px !important;
    background-color: #fff !important;
    color: #333 !important;
    font-family: 'Krungsri-Condensed-Bold', 'Krungsri-Condensed';
    font-size: 16px !important;
}

.mutual-fund-widget {
    color: #5a5a5a;
    font-family: 'Krungsri-Condensed', 'Krungsri-Condensed-Bold';
}

.mutual-fund-widget .mutual-fund-table thead th,
.mutual-fund-widget .mutual-fund-table thead td,
.mutual-fund-widget .mutual-fund-table thead span {
    font-family: 'Krungsri-Condensed-Bold', 'Krungsri-Condensed' !important;
}

/* เส้นกั้นสีขาวระหว่างคอลัมน์ของตารางกองทุน */
.mutual-fund-widget .mutual-fund-table th,
.mutual-fund-widget .mutual-fund-table td {
    border-right: 1px solid #ffffff !important;
}

.mutual-fund-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
}

.mutual-fund-heading-title,
.mutual-fund-heading-actions {
    float: none !important;
}

.mutual-fund-heading-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0 !important;
}

.mutual-fund-action-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    width: 100%;
    margin: 0 !important;
}

@media print {
    @page {
        size: portrait;
        margin: 10mm;
    }

    header, footer, nav, .zoneNav, .non-print, .header, .footer, #header, #footer {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body, html {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .printcontent, .printcontent2 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .table-responsive {
        display: block !important;
        overflow: visible !important;
        width: 100% !important;
    }

    .table {
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    table.mutual-fund-table,
    table.mutual-fund-table tr,
    table.mutual-fund-table th,
    table.mutual-fund-table td {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important; 
        color: black !important; 
    }

    table.mutual-fund-table {
        border-collapse: collapse !important;
        border: none !important;
        table-layout: auto !important;
    }

    table.mutual-fund-table thead,
    table.mutual-fund-table tbody,
    table.mutual-fund-table tfoot {
        border: none !important;
    }

    table.mutual-fund-table tr {
        border: none !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .mutual-fund-widget table.mutual-fund-table th,
    .mutual-fund-widget table.mutual-fund-table td,
    .mutual-fund-widget table.mutual-fund-table th:last-child,
    .mutual-fund-widget table.mutual-fund-table td:last-child {
        border: 1px solid black !important;
        padding: 4px 8px !important;
        width: auto !important; 
        min-width: 0 !important;
        vertical-align: middle !important;
    }

    .mutual-fund-widget table.mutual-fund-table th:nth-child(8),
    .mutual-fund-widget table.mutual-fund-table td:nth-child(8) {
        white-space: nowrap !important;
    }

    .txt-change, .change-up, .change-down {
        display: inline-block !important;
        vertical-align: middle !important;
    }
    
    .change-up, .change-down {
        margin-top: -2px !important; 
        margin-left: 5px !important;
    }

    table.mutual-fund-table thead {
        display: table-row-group !important;
    }

    .owl-item:not(.onactive) {
        display: none !important;
    }

    .item.onactive, .item .onactive {
        display: block !important;
    }

    .print-only {
        display: block !important;
    }

    .icon {
        display: none !important;
    }

    .header-title {
        font-size: 20px !important;
        padding: 0 !important;
        margin-bottom: 6px !important;
        color: #000 !important;
    }

    .header-AsOfDate {
        font-size: 12px !important;
        padding: 0 !important;
        margin-bottom: 10px !important;
    }

    .fund-group-print-title {
        font-size: 13px !important;
        color: #5a5a5a !important;
        font-weight: normal !important;
        margin: 6px 0 10px !important;
    }

    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .fas, .fa, .far, .fal, .fab, i[class*="fa-"], .owl-next:after, .owl-prev:after {
        font-weight: 900 !important;
    }
}

@media (max-width: 1199px) {
    .detail-sub table {
        width: 1200px !important
    }

    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        overflow-x: auto;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    .hand_touch {
        background: url(/Krungsri2020/media/MutualFund/Icon/touch_dark.png) center center no-repeat rgba(0,0,0,0);
        display: block;
        height: 120px;
        left: 50%;
        margin-left: -100px;
        margin-top: 100px;
        position: absolute;
        width: 200px;
        z-index: 999;
        text-indent: -9999px;
        cursor: pointer;
    }

    .table > thead > th, .table > thead {
        position: sticky;
        top: 0;
    }

        .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
            padding: 8px 20px;
            line-height: 1.42857143;
            vertical-align: top;
            border-top: 1px solid #ddd;
            font-size: 16px;
        }
}

.mutual-fund-navtabs {
    border-bottom: 0 !important;
    width: 100%;
    margin: 0 0 15px 0;
}

.mutual-fund-navtabs .owl_1 {
    width: 100%;
}

.mutual-fund-navtabs .owl-stage-outer {
    width: 100%;
}

.mutual-fund-navtabs .owl-stage {
    display: flex;
    align-items: stretch;
}

.mutual-fund-navtabs .owl-item {
    display: flex;
    height: 120px;
}

.mutual-fund-navtabs .owl_1 .item {
    width: 146px !important;
    height: 120px;
    padding: 10px 5px 5px 5px;
    margin: 0;
    text-align: center;
    word-break: normal;
    overflow-wrap: break-word;
    font-family: Krungsri-Condensed-Bold;
    background: transparent;
    border-radius: 0;
}

.mutual-fund-navtabs .owl_1 .item.onactive,
.mutual-fund-navtabs .owl_1 .item:has(> a.active) {
    background: #F3F3F3;
    border: 0 !important;
    border-radius: 3px;
}

.mutual-fund-navtabs .owl_1 .item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #5a5a5a ;
    text-decoration: none !important;
    cursor: pointer;
    border: 0 !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.mutual-fund-navtabs .inner-sub,
.mutual-fund-navtabs .title-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.mutual-fund-navtabs .owl_1 .item img {
    display: block;
    height: 48px;
    width: auto !important;
    max-width: 62px;
    margin: 0 auto 6px;
}

.mutual-fund-navtabs .title-sub span[id^="lbl0-"] {
    display: block;
    font-size: 16px;
    line-height: 1.15;
    color: #5a5a5a;
    font-family: Krungsri-Condensed-Bold, Krungsri-Condensed, Arial, sans-serif;
}

.mutual-fund-navtabs .owl-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    margin: 0 !important;
}

.mutual-fund-navtabs .owl-next,
.mutual-fund-navtabs .owl-prev {
    top: 43px !important;
    height: 35px !important;
    width: 35px !important;
    border-radius: 50% !important;
    background-color: #fff !important;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.2) !important;
    pointer-events: auto;
}

.mutual-fund-navtabs .owl-prev {
    left: -18px !important;
}

.mutual-fund-navtabs .owl-next {
    right: -18px !important;
}

.mutual-fund-navtabs .owl-theme .owl-nav .disabled,
.mutual-fund-navtabs .owl-nav .disabled {
    opacity: 0 !important;
    pointer-events: none;
}

@media (max-width: 1199px) {
    .mutual-fund-navtabs .owl-next,
    .mutual-fund-navtabs .owl-prev {
        top: 43px !important;
    }
}