﻿.header-block .header a {
    color: #333;
}

    .header-block .header a:hover {
        color: #cccc33;
    }

.post-hero-content .subheadline {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: auto;
    padding: 0;
    font-weight: 500;
}

.post-hero-content .post-heading {
    margin-top: 0;
    padding-top: 0;
}



.disclaimer-collapsible {
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

    .disclaimer-collapsible.active, .disclaimer-collapsible:hover {
        text-decoration: underline;
    }

    .disclaimer-collapsible:after {
        content: '\002B';
        color: #cccc33;
        font-weight: bold;
        float: right;
        margin-left: 10px;
    }

    .disclaimer-collapsible.active:after {
        content: "\2212";
    }


.disclaimer-collapsible-content {
    padding-top: 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}


.w-richtext img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-bottom: 5px !important;
}

.w-richtext .e-img-wrap {
    max-width: 100% !important;
}

.w-richtext .e-img-inner {
    font-size: 14px !important;
    padding-left: 5px;
    display: inline-block;
}

ul.disclaimer-list {
    margin: 5px 0 15px;
    margin-top: 0px;
    padding: 0;
}

.disclaimer-list li {
    list-style: none;
    position: relative;
    padding: 0 0 0 24px;
    padding-bottom: 25px;
    line-height: 26px;
    font-size: 16px;
}

.disclaimer-list .disclaimer-checkbox {
    position: absolute;
    top: 7px;
    left: 0px;
}



.news-list, .news-list-featured {
    margin-right: 15px;
    margin-left: 15px;
}

    .news-list p, .news-list-featured p {
        padding: 0px;
        margin: 0px;
        padding: 14px 14px;
        color: #151515;
    }

    .news-list .item, .news-list-featured .item {
        display: flex;
        border-bottom: 1px solid #e6e6e6;
    }

        .news-list .item:hover, .news-list-featured .item:hover {
            background-color: #e6e6e6;
            transition: background-color 300ms linear;
        }

    .news-list .date, .news-list-featured .date {
        width: 100px;
    }

    .news-list .stock-logo-wrapper, .news-list-featured .stock-logo-wrapper {
        width: 100px;
        padding-left: 14px;
    }

@media screen and (max-width: 767px) {
    .news-list .item {
        display: block;
        padding: 10px 8px;
    }

    .news-list-featured .stock-logo-wrapper {
        width: 100px;
        padding-right: 15px;
    }

    .news-list-featured .item {
        display: flex;
        padding: 10px 8px;
    }

    .news-list-featured .stock-logo-wrapper {
        width: 100px;
        padding-left: 0px;
    }

    .news-list p, .news-list-featured p {
        padding: 0;
    }



    .message-popup {
        position: fixed;
        left: 0px;
        top: auto;
        right: auto;
        bottom: 0px;
        z-index: 10;
        width: 100%;
        margin-bottom: 0px;
        margin-left: 0px;
        padding: 24px;
        border-radius: 0px;
        background-color: #fff;
        box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.8);
    }
}



.news-list-stockimage {
    margin-top: 5px;
    width: 65px;
    height: 65px;
}



.stock-card {
    border: 1px solid #dfdfdf;
    padding: 20px;
    border-radius: 8px;
}

    .stock-card .content-top {
        display: flex;
    }

    .stock-card h1 {
        margin: 0;
        padding: 0;
        font-family: 'Noto Sans HK', sans-serif;
        font-size: 26px;
        line-height: 40px;
        font-weight: 700;
    }

    .stock-card h2 {
        margin: 0;
        padding: 0;
    }

    .stock-card p {
        margin: 0;
        padding: 0;
    }

    .stock-card .price {
        padding-top: 20px;
        font-size: 24px;
        font-weight: 700;
    }

    .stock-card img {
        margin-right: 25px;
        display: block;
        max-width: 300px;
        max-height: 80px;
        width: auto;
        height: auto;
        object-fit: scale-down;
    }

    .stock-card .content-price {
        display: flex;
    }

    .stock-card .price-date {
        margin-left: auto;
        margin-top: auto;
    }

    .stock-card .price-date-val {
        font-size: 14px;
        font-weight: 600;
    }


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

    .stock-card .content-top {
        display: block;
    }

        .stock-card .content-top img {
            margin-bottom: 10px;
        }

    .stock-card .content-price {
        display: block;
    }

    .stock-card .price-date {
        margin-left: 0;
        margin-top: 0;
    }

    .stock-card .price-date {
        padding-top: 5px;
    }
}




.research-box {
    margin-top: 1rem;
    display: block;
    align-items: center;
}

    .research-box .research-txt {
        font-size: 15px;
        font-weight: normal;
        color: #151515;
        display: block;
        margin-left: 15px;
    }

    .research-box .research-submit {
        max-width: 300px;
        display: inline-block;
    }

.research-box-head p {
    font-size:15px;
}



@media screen and (max-width: 2500px) {
    .research-box-head {
        text-align: center;
    }

    .research-box {
        display: block;
        align-items: normal;
    }

        .research-box button {
            width: 100%;
        }

        .research-box .research-txt {
            margin-left: 0px;
            padding-top: 10px;
        }
}




.like-box {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

    .like-box .like-txt {
        font-size: 15px;
        font-weight: normal;
        color: #151515;
        display: block;
        margin-left: 15px;
    }



@media screen and (max-width: 767px) {
    .like-box-head {
        text-align: center;
    }

    .like-box {
        display: block;
        align-items: normal;
        text-align: center;
    }

        .like-box button {
            width: 100%;
        }

        .like-box .like-txt {
            margin-left: 0px;
            padding-top: 10px;
        }
}


/* video responsive start -------------------------------------------------  */


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
}

    .video-container iframe,
    .video-container object,
    .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.video-wrapper {
    width: 100%;
    max-width: 772px;
}

.custom-block h2 {
    margin: 0px;
    padding: 0px;
    padding-bottom: 0px;
}

.custom-block .img-block {
    padding: 0 !important;
    margin: 0 !important;
   
}

.img-block img {
    border-radius: 6px;
    border:1px solid #e6e6e6;
}






.block-wrapper {
    margin-bottom: 40px;
}


.txt-block ol, ul {
    padding: 0px !important;
    margin: 0px !important;
    padding-left: 1rem !important;
}

.txt-block li {
    font-size: 16px;
    line-height: 26px;
    padding-top: 0px;
}

    .txt-block li:not(:last-child) {
        padding-bottom: 20px !important;
    }

    .txt-block li:last-child {
        padding-bottom: 0px !important;
    }

.block-wrapper .txt-block > p:last-child {
    padding: 0 !important;
    margin: 0 !important;
}

.block-wrapper .txt-block {
    font-size: 16px;
    line-height: 26px;
}

.ten-reasons-wrapper {
    background-color: #dfe6f0;
    padding: 25px 25px;
    border-radius: 6px;
    /*margin-bottom:65px;*/
}

.risk-factors-wrapper {
    background-color: #dfe6f0;
    padding: 25px 25px;
    border-radius: 6px;
    /*margin-bottom: 65px;*/
}

    .ten-reasons-wrapper h2, .risk-factors-wrapper h2 {
        padding-bottom: 30px;
        line-height: 40px;
    }

ul.risk-factors-list {
    margin: 0;
    padding: 0;
    padding-left: 20px;
}

.ten-reasons-list {
    padding: 0;
    margin: 0;
    list-style-type: decimal;
    padding-left: 35px !important;
}

    .ten-reasons-list li {
        /*position: relative;*/
        font-size: 16px;
        line-height: 26px;
        padding-bottom: 10px;
    }

    .ten-reasons-list > li::marker {
        font-weight: bold;
    }

/*    .ten-reasons-list > li:before {
        display: inline-block;
        width: 1.5em;
        padding-right: 0.5em;
        font-weight: bold;
        text-align: right;
        content: counter(item) ".";
    }*/

.risk-factors-list li {
    position: relative;
    list-style-type: none;
    font-size: 16px;
    line-height: 26px;
    padding-bottom: 10px;
}

    .risk-factors-list li:before {
        content: "";
        position: absolute;
        top: 5px;
        left: -20px;
        width: 20px;
        height: 20px;
        background-image: url('icons/check.svg');
    }


.caption-link {
    color: #808080 !important;
}

.highlightbox-wrapper {
    padding: 25px 25px;
    border-radius: 6px;
    /*margin-bottom: 65px;*/
    background-color: #dfe6f0 !important;
    font-size: 16px;
    line-height: 26px;
}
    /*
    .highlightbox-wrapper ol, ul {
        padding-left: 1rem;
    }*/

    .highlightbox-wrapper ol,
    .highlightbox-wrapper ul {
        padding: 0px !important;
        margin: 0px !important;
        padding-left: 20px !important;
    }

    .highlightbox-wrapper li {
        font-size: 16px;
        line-height: 26px;
        padding-top: 0px;
    }

        .highlightbox-wrapper li:not(:last-child) {
            padding-bottom: 20px !important;
        }

        .highlightbox-wrapper li:last-child {
            padding-bottom: 0px !important;
        }

/* carousel custom slider start -------------------------------------------------  */

.slider-wrapper {
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    width: 100%;
}

    .slider-wrapper .slide {
        flex: 0 0 auto;
        width: 100%;
        height: 0;
        padding-bottom: 66.66667%; /* Set the padding-bottom to maintain aspect ratio (e.g., 4:3 ratio = 75%) */
        transition: 0.8s;
        background-position: center;
        background-size: cover;
    }

.slider-caption-wrapper {
    padding-top: 5px;
    display: flex;
    position: relative;
    overflow: hidden;
}

    .slider-caption-wrapper .caption {
        flex: 0 0 auto;
        width: 100%;
        transition: 0.8s;
    }



.slider-wrapper .s-nav label {
    display: block;
    position: absolute;
    top: 50%;
    padding: 5px 10px;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
}


    .slider-wrapper .s-nav label::before, .slider-wrapper .s-nav label::after {
        content: "";
        display: block;
        width: 8px;
        height: 24px;
        background-color: #fff;
    }



.slider-wrapper:hover .s-nav label {
    opacity: 1;
    /*    background-color:#777;
    border:10px solid #777;*/
}


.slider-wrapper .s-nav label::before {
    margin-bottom: -12px;
}

.slider-wrapper .s-nav label.left {
    left: 20px;
}

    .slider-wrapper .s-nav label.left::before {
        transform: rotate(45deg);
    }

    .slider-wrapper .s-nav label.left::after {
        transform: rotate(-45deg);
    }

.slider-wrapper .s-nav label.right {
    right: 20px;
}

    .slider-wrapper .s-nav label.right::before {
        transform: rotate(-45deg);
    }

    .slider-wrapper .s-nav label.right::after {
        transform: rotate(45deg);
    }



.custom-block .img-caption-block {
    padding: 0px !important;
    margin: 0px !important;
    font-size: 14px !important;
    line-height: 22px;
    /*padding-top: 10px;*/
}

.custom-block .video-caption-block {
    padding: 0px !important;
    margin: 0px !important;
    font-size: 14px !important;
    padding-top: 5px !important;
    line-height: 22px;
}

.custom-block .img-source-block {
    padding: 0px !important;
    margin: 0px !important;
    font-size: 14px !important;
    line-height: 22px;
}

@media screen and (max-width: 767px) {
    .highlightbox-wrapper {
        padding: 10px;
    }

    .ten-reasons-wrapper {
        padding: 10px;
    }

    .risk-factors-wrapper {
        padding: 10px;
    }

        .ten-reasons-wrapper h2, .risk-factors-wrapper h2, .highlightbox-wrapper h2 {
            padding-bottom: 10px;
            line-height: 30px;
        }

    .highlightbox-wrapper .header-block
    {
        margin-bottom:10px;
        padding-bottom:0;
    }


    .highlightbox-wrapper li {
        font-size: 16px;
        line-height: 26px;
        padding-top: 0px;
    }

        .highlightbox-wrapper li:not(:last-child) {
            padding-bottom: 5px !important;
        }

}



/* multi select ------------------------------------------------ */

.multi-select {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    position: relative;
    width: 100%;
    user-select: none;
}

    .multi-select .multi-select-header {
        border: 1px solid #dee2e6;
        padding: 7px 30px 7px 12px;
        overflow: hidden;
        gap: 7px;
        min-height: 35px;
    }

        .multi-select .multi-select-header::after {
            content: "";
            display: block;
            position: absolute;
            top: 50%;
            right: 15px;
            transform: translateY(-50%);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
            height: 12px;
            width: 12px;
        }

        .multi-select .multi-select-header.multi-select-header-active {
            border-color: #c1c9d0;
        }

            .multi-select .multi-select-header.multi-select-header-active::after {
                transform: translateY(-50%) rotate(180deg);
            }

            .multi-select .multi-select-header.multi-select-header-active + .multi-select-options {
                display: flex;
            }

        .multi-select .multi-select-header .multi-select-header-placeholder {
            color: #9f9f9f;
            font-size:13px;
        }

        .multi-select .multi-select-header .multi-select-header-option {
            display: inline-flex;
            align-items: center;
            background-color: #f3f4f7;
            font-size: 14px;
            padding: 3px 8px;
            border-radius: 5px;
        }

        .multi-select .multi-select-header .multi-select-header-max {
            font-size: 13px;
            color: #65727e;
        }

    .multi-select .multi-select-options {
        display: none;
        box-sizing: border-box;
        flex-flow: wrap;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        margin-top: 5px;
        padding: 5px;
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        max-height: 400px;
        overflow-y: auto;
        overflow-x: hidden;
    }

        .multi-select .multi-select-options::-webkit-scrollbar {
            width: 5px;
        }

        .multi-select .multi-select-options::-webkit-scrollbar-track {
            background: #f0f1f3;
        }

        .multi-select .multi-select-options::-webkit-scrollbar-thumb {
            background: #cdcfd1;
        }

            .multi-select .multi-select-options::-webkit-scrollbar-thumb:hover {
                background: #b2b6b9;
            }

        .multi-select .multi-select-options .multi-select-option, .multi-select .multi-select-options .multi-select-all {
            padding: 4px 12px;
            height: 32px;
        }

            .multi-select .multi-select-options .multi-select-option .multi-select-option-radio, .multi-select .multi-select-options .multi-select-all .multi-select-option-radio {
                margin-right: 14px;
                height: 16px;
                width: 16px;
                border: 1px solid #ced4da;
                border-radius: 4px;
            }

            .multi-select .multi-select-options .multi-select-option .multi-select-option-text, .multi-select .multi-select-options .multi-select-all .multi-select-option-text {
                box-sizing: border-box;
                flex: 1;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                color: inherit;
                font-size: 13px;
                line-height: 20px;
            }

            .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio {
                border-color: #cccd34;
                background-color: #cccd34;
            }

                .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio::after, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio::after {
                    content: "";
                    display: block;
                    width: 3px;
                    height: 7px;
                    margin: 0.21em 0 0 0.38em;                    
                    border: solid #fff;
                    border-width: 0 0.15em 0.15em 0;
                    transform: rotate(45deg);
                }

            .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-text, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-text {
                color: #cccd34;
            }

            .multi-select .multi-select-options .multi-select-option:hover, .multi-select .multi-select-options .multi-select-option:active, .multi-select .multi-select-options .multi-select-all:hover, .multi-select .multi-select-options .multi-select-all:active {
                background-color: #f3f4f7;
            }

        .multi-select .multi-select-options .multi-select-all {
            border-bottom: 1px solid #f1f3f5;
            border-radius: 0;
        }

        .multi-select .multi-select-options .multi-select-search {
            padding: 7px 10px;
            border: 1px solid #dee2e6;
            border-radius: 5px;
            /*margin: 10px 10px 5px 10px;*/
            width: 100%;
            outline: none;
            font-size: 13px;
        }

            .multi-select .multi-select-options .multi-select-search::placeholder {
                color: #b2b5b9;
            }

    .multi-select .multi-select-header, .multi-select .multi-select-option, .multi-select .multi-select-all {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: center;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        width: 100%;
        font-size:13px;
        color: #212529;
    }



.multi-select {
    position: relative;
    display: inline-block;
    width: 150px; /* Width of the select field */
}

.multi-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 400px; /* Width of the dropdown menu */
    max-height: 600px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: none; /* Initially hidden */
}

.multi-select-header-active .multi-select-options {
    display: block; /* Show dropdown when active */
}


.multi-select-cloned {
    background-color: #f0f8ff; /* Light blue background for selected items */
    /* border-bottom: 1px solid #dee2e6;  Border to visually separate from normal items */
}

.multi-select-options :nth-last-child(1 of .multi-select-cloned) {
    margin-bottom: 10px; /* Adjust the value as needed */
}







/* Responsive Table Styles */
.table-responsive {
    /*   overflow-x: auto;
                -webkit-overflow-scrolling: touch; */
    margin-bottom: 1rem;
}

.historical-data-table, .stockdata-table {
    width: 100%;
    /* border-collapse: collapse; */
    /*      min-width: 600px; /* Minimum width before horizontal scroll */
}
/*    .historical-data-table th,
    .historical-data-table td {
        padding: 8px 12px;
        border-bottom: 1px solid #eee;
        white-space: nowrap;
    }

*/


    .stockdata-table th,
    .stockdata-table td,
    .historical-data-table th,
    .historical-data-table td {
        padding: 12px 0px;
        text-align: left;
        font-size: 13px;
    }

    .historical-data-table th,
    .stockdata-table th {
        font-weight: 600;
        color: #495057;
        font-size:11px;
    }



stock-stats-box .date-col {
    text-align: left;
    /* min-width: 100px; */
}

stock-stats-box .price-col,
stock-stats-box .change-col,
stock-stats-box .volume-col {
    text-align: right;
    /* min-width: 80px; */
}

stock-stats-box .change-col {
    /* min-width: 90px; */
}

stock-stats-box .volume-col {
    /* min-width: 100px; */
}

/* Tab Navigation Styles */
.tab-contentsubnav {
    width: 100%;
}

.tab-panelsubnav {
    display: none;
}

.tab-panelsubnav.active {
    display: block;
}

.tabsubnav {
    padding: 8px 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
}

.tabsubnav.active {
        color: #000;
    }

/* Tablet breakpoint */
@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .historical-data-table {
        /* min-width: 500px; */
    }
}

/* Hide calendar labels at 786px and below */
@media (max-width: 786px) {
    .stock-stats-box .calendar-wrapper .label {
        display: none;
    }

    .hide-mobile {
        display: none;
    }
}

/* Mobile breakpoint */
@media (max-width: 480px) {
    .hide-mobile {
        display: none;
    }

    .historical-data-table {
        /* min-width: 350px; */
    }

        .historical-data-table th,
        .historical-data-table td {
            padding: 6px 8px;
            font-size: 0.9rem;
        }

    stock-stats-box .date-col {
        /* min-width: 80px; */
    }

    stock-stats-box .price-col,
    stock-stats-box .change-col {
        /* min-width: 70px; */
    }
}


@media (max-width: 360px) {
    .historical-data-table th,
    .historical-data-table td {
        padding: 4px 6px;
        font-size: 0.85rem;
    }
}

stock-stats-box .section-header {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-tab-subnav {
    display: flex;
    align-items: center;
}






