* {
    font-size: 1rem;
    font-family: microsoft yahei,heiti sc,droid sans,noto sans sc,noto sans tc,noto sans cjk,droid sans,heiti tc,noto sans tc,sans-serif;
    color: black;
}

:root {
    --color: #000000;
    --orange-color: #EB651E;
    --grey-color: #707070;
    --lighter-grey-color: #C7C7C7;
    --inner-max-width: 1024px;
    --border-color: #000000;
    --signature-brown: #845614;
    --signature-brown-2: #b76c00;
    --tab-color-1: #E7E4E1;
    --tab-text-color-1: #25414D;
}

a {
    color: #b76c00;
    text-decoration: none;
}

a:active, a:focus, a:hover {
    color: #6d0200;
    text-decoration: none;
}

.top-header-container {
    padding: 15px 0 5px !important;
}

.top-header-link-left a{
    padding: 0 10px;
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
}

.scan-popup {
    display: none;
    position: absolute;
    top: 5%; /* Position below the pointer */
    right: 5%;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

    .scan-app-container:hover .scan-popup {
        display: block;
    }

    
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

    .search-input {
        padding-left: 50px; /* Adjust the padding to accommodate the icon */
        width: 147px;
        font-size: .8rem;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .search-button {
        position: absolute;
        top: 0;
        left: 5px; /* Adjust the left position to properly align the icon */
        height: 100%;
        font-size: 1rem;
        padding-top: 2px;
        padding-bottom: 2px;
        background: none;
        border: none;
        cursor: pointer;
    }

        .search-button i {
            color: #555; /* Adjust the color of the icon */
            font-size: 1rem;
        }

    @media screen and (max-width: 768px) {
        .top-header-container {
            display: none;
        }

        .main-header-container {
            display: none;
        }

        .mobile-header-container {
            display: block !important;
            border-bottom: solid 1px var(--border-color);
            padding: 5px 6px;
        }        

        .search-container {
            display: flex;
            justify-content: center;
            align-items: center; /* Center vertically */
        }

        .search-container .search-input{
            display: none;
        }

            .search-button {
                position: relative;
                left: 0;
                display: flex;
                align-items: center;
            }

                .search-button i {
                    font-size: 1.5rem;
                    font-weight: 900;
                }

        
    }

.main-header-container {
    border-top: solid 2px black;
    border-bottom: solid 1px black;
}

.main-featured-logo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: 1rem;
    color: var(--signature-brown);
}


    @media(max-width: 1439px) {
        .main-featured-logo {
            padding:0 10px
        }
    }

.main-header-right {
    display: flex;
    align-items: stretch;
}

    .main-header-right div, .main-header-right div span {
        color: var(--signature-brown);
    }

    .main-header-action-btns {
        margin-left: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .main-header-action-btn {
            padding: 4px 15px !important;
            text-align: center;
            color: var(--signature-brown);
            border: solid 1px var(--signature-brown);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }


    .news-ticker-container {
        border-bottom: solid 1px var(--border-color);
    }

        .news-ticker {
            white-space: nowrap;
            padding: 1px 0;
            margin: 0;        
            overflow: hidden;
        }

            .ctrl-ticker {
                padding: 0 10px 0 0;
                font-size: 1.4rem;
                color: var(--signature-brown);
                background-color: var(--bg-color);
                z-index: 9;
            }

                .ctrl-ticker i {
                    color: var(--signature-brown);
                    font-size: 1.5rem;
                }



/* Add dot separator */
.nav-item:not(:last-child) .nav-link::after {
    /*content: '\00B7';*/ /* Unicode for middle dot character */
    margin-left: 5px;
    margin-right: 5px;
    color: #ccc; /* color of the dot */
}

    .nav-item .nav-link {
        color: #000000;
        padding: 0 10px;
        font-size: 1.3rem;
        font-weight: 500;
    }

    .nav-link:hover {
        color: #b76c00 !important;
    }

div.ads-frame, span.ads-frame {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

    p.dfp.ad_header.show {
        display: block;
        color: #8a9299;
        font-size: 10px !important;
        padding-bottom: unset !important;
        margin-bottom: 3px;
        margin-top: 3px;
        text-transform: uppercase;
        text-align: center;
        width: 100%;
    }

.main-content-container {
    /* width: calc(100% - 320px);
    max-width: calc(100% - 320px);
    flex: 0 0 calc(100% - 320px); */
    padding: 0 20px;
    border-radius: 10px;
    border: solid 1px var(--lighter-grey-color);
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    transition: box-shadow .3s ease, transform .3s ease;
}


.subtitle-content {
    font-size: 1.2rem;
    color: #555555;
}

.read-more-msg {
    padding-top: 120px;
    text-align: center;
    background: rgb(248 248 248);
    background: linear-gradient(180deg, rgba(248, 248, 248, 0) 0%, rgba(248, 248, 248, 0.25) 10%, rgba(248, 248, 248, 0.5) 19%, rgba(248, 248, 248, 0.85) 43%, rgba(248, 248, 248, 1) 100%);
    padding-bottom: 10px;
    position: relative;
    margin-top: -110px;
    border-bottom: solid 1px #e3e3e3;
}

.collapse-msg {
    background: transparent;
    padding-top: 120px;
    padding-bottom: 10px;
    position: relative;
    margin-top: -110px;
}

.continue-read-btn {
    font-size: 1.38rem !important;
    line-height: 1 !important;
    color: #fff;
    background: #00a0c7;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 700;
}

.continue-read-btn-text {
    color: #fff !important;
    font-size: 1.3rem;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 700;
    line-height: 1 !important;
}

.emoji-feedback {
    text-align: center;
    padding: 15px 0;
    width: 55%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    min-width: 340px;
    cursor: pointer;
}

.select-time-filter {
    padding: 0 .5rem;
    background: #f5f6f7;
    margin: 0 5px;
    color: #4b4f56;
}

    .custom-select {
        position: relative;
    }

    .custom-arrow {
        position: absolute;
        top: 8px;
        right: 7px;
        display: block;
        background: #f5f6f7;
        height: 50%;
        width: 1.5rem;
        pointer-events: none;
    }

        .custom-arrow::before,
        .custom-arrow::after {
            --size-arrow: .3rem;
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            transform: translate(-50%, -50%);
        
        }

        .custom-arrow::before {
            border-left: var(--size-arrow) solid transparent;
            border-right: var(--size-arrow) solid transparent;
            border-bottom: var(--size-arrow) solid rgba(0, 0, 0, 0.7);
            top: 20%
        }

        .custom-arrow::after {
            border-left: var(--size-arrow) solid transparent;
            border-right: var(--size-arrow) solid transparent;
            border-top: var(--size-arrow) solid rgba(0, 0, 0, 0.7);
            top: 80%
        }

    .end-lines {
        border-bottom: 1px solid #e9ebee;
        line-height: 25px;
        margin-bottom: 24px;
        padding: 8px 0;
        height: 50px;
    }

    .profile-name {
        color: #385898;
        cursor: pointer;
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        line-height: 1.358;
    }

    .post-content {
        width: 100%;
        height: 80px;
        padding: 12px 20px;
        box-sizing: border-box;
        border: 1px solid  #d3d6db;
        border-radius: 4px;
        background-color: #fff;
        font-size: 12px;
        cursor: text;
        resize: none;
    }

    .comment-content {
        color: #1c1e21;
        font-size: 15px;
        line-height: 1.358;
        word-break: break-word;
        word-wrap: break-word;
        margin-top: 4px;
        margin-bottom: 4px;
    }

    .like-or-reply {
        color: #426782;
        font-size: 13px;
        line-height: 1.358;
        padding-top: 2px;
    }

    .comment-time-link {
        color: #90949c;
        font-size: 13px;
    }

.side-content-container {
    border-radius: 10px;
    border: 1px solid lightgrey;
    padding: 10px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    transition: box-shadow .3s ease, transform .3s ease;
    margin-bottom: 10px 
}

    @media (max-width: 768px) {
        .side-content-container {
            display: none;
        }
    }

    .hot-posts-toggle-item {
        color: var(--tab-text-color-2);
        background-color: transparent;
        border: 0;
        border-radius: 20px;
        padding: 0 5px;
        min-width: 60px;
        margin: 0 5px;
        font-size: 1rem;
        text-align: center;
        cursor: pointer;
    }

    .hot-posts-toggle-item.current {
        color: var(--tab-text-color-1);
        background-color: var(--tab-color-1);
    }

    .hot-posts-frame-list .hot-post {
        display: flex;
        flex-direction: column;
    }

    .vertical-post-frame .img-frame img, .horizontal-post-frame .img-frame img {        
        max-width: 100%;
    }

        @media (min-width: 768px) {
            .hot-posts-frame-list .hot-post {
                width: 100%;
                flex: 0 0 100%;
                padding-left: 10px;
                padding-right: 10px;
            }
        }


    .catrow {
        padding: 5px 0;
        display: flex;
        justify-content: space-between;
    }

        .catrow .catlabel {
            padding: 0 5px;
            background-color: #ffeadc;
            color: var(--orange-color);
            border-radius: 5px;
        }

        .meta {
            text-align: right;
        }

        .vertical-post-frame .meta .time, .horizontal-post-frame .meta .time {
            margin-right: 10px;
        }

        .vertical-post-frame .meta *, .horizontal-post-frame .meta * {
            color: var(--grey-color);
            font-size: .8rem;
            display: inline-block;
        }

    .vertical-post-frame .title {
        font-size: inherit;
        font-weight: 400;
        margin-bottom: 0.1rem;
        line-height: 1.3;
    }

        .vertical-post-frame .title .default-style {
            font-size: inherit;
        }

    .hot-posts-frame-list-with-rotation-right {
        display: inline-block;
        background-color: rgba(255, 255, 255, 0.6);
        padding: 10px 10px 10px 10px;
        border-radius: 50%;
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        right: 0;
        border-right: none;
    }

    
    .hot-posts-frame-list-with-rotation-left {
        display: inline-block;
        background-color: rgba(255, 255, 255, 0.6);
        padding: 10px 10px 10px 10px;
        border-radius: 50%;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        left: 0;
        border-left: none;
    }

    .hot-posts-frame-list-with-rotation-arrow {
        z-index: 999;
        position: absolute;
        top: 150px;
        margin-bottom: 150px;
        border: solid 1px #696969;
    }

        .hot-posts-frame-list-with-rotation-arrow.hide i {
            color: #a7a7a7;
            animation-iteration-count: 0;
        }

        .hot-posts-frame-list-with-rotation-right i, .hot-posts-frame-list-with-rotation-left i {
            color: var(--signature-brown);
            font-size: 40px;
        }

            .fa-chevron-right:before {
                content: "\f054";
            }

footer {
    background-color: var(--lightest-grey-color);
    margin-top: 10px;
} 

    .footer-top-links {
        background-color: #454545;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .clearfix:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }

        .footer-top-links a {
            padding: 6px 20px;
        }

        .footer-top-links a h4 {            
            color: #fff;
            font-size: 1.1rem !important;
            margin-bottom: 0;
            padding-left: 5px;
        }

    @media (min-width: 768px) {
        .footer-top-links {
            padding: 6px;
            text-align: center;
        }

        .footer-top-link-group {
            display: inline;
        }
    }

    .inner-wrap {
        max-width: var(--inner-max-width);
        margin-left: auto;
        margin-right: auto;
    }

    @media (min-width: 1025px) {
        .footer-bottom {
            display: flex;
            flex-wrap: wrap;
            margin-left: -10px;
            margin-right: -10px;
            margin-top: 35px;
            padding-bottom: 15px;
        }

        .footer-col {
            padding-left: 10px;
            padding-right: 10px;
            width: 15%;
            flex: 0 0 15%;
            max-width: 15%;
        }

            .footer-col:first-child {
                width: 33%;
                flex: 0 0 33%;
                max-width: 33%;
            }
    }

    .footer-site-logo {
        width: 180px;
        display: block;
        max-width: 80%;
    }

    img {
        max-width: 100%;
        height: auto;
        vertical-align: top;
    }

    .footer-col .footer-social-sharing-title {
        font-size: 1.1rem;
        margin-top: 0.6rem;
    }

        .footer-col span {
            font-size: .9rem;
            font-weight: 700;
            display: inline-block;
            width: 100%;
        }

    .footer-social-sharing {
        padding: 2px 0;
    }

        .footer-social-sharing a {
            background-color: #000;
            padding: 5px 10px;
            color: #fff;
            border-radius: 50px;
            margin-bottom: 5px;
            display: inline-block;
        }

            .footer-social-sharing a i {
                color: white;
            }

    .footer-app-links {
        display: flex;
    }

    .footer-app-links a {
        display: inline-block;
        width: 50%;
        padding: 10px 0;
        max-width: 120px;
    }

        a {
            color: var(--color);
            text-decoration: none;
        }


    .footer-col-title {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .footer-col-title h4 {
        font-weight: bold;
        font-size: 1.2rem;
        text-wrap: nowrap;
    }

    @media (min-width: 680px) {
        .footer-col-title {
            font-size: 1.2rem;
            font-weight: 700;
        }

        .footer-col-title-line {
            height: 1px;
            width: 1.3rem;
            border-bottom: solid 1px var(--border-color);
            margin: 6px 0;
        }
        
    }

    a.footer-hyperlink {
        display: block;
        font-size: 1.1rem;  
    }

    a.footer-hyperlink h5{
        font-size: 1.1rem !important;
    }

    .footer-bottom-line {
        border-bottom: solid 2px var(--border-color);
        margin-bottom: 20px;
        margin-top: 5px;
    }

    @media (min-width: 768px) {
        .desktop-hidden {
            display: none !important;
        }


        .footer-sticky-icon.mobile-hidden {
            bottom: 100px;
        }
    }

    .footer-bottom-copyright {
        padding-bottom: 15px;
        text-align: center;
        padding-top: 15px;
        border-bottom: solid 1px var(--border-color);
    }
        
    .footer-bottom-copyright div:last-child img {
        width: 90px;
    }

    .footer-sticky-icon {
        position: fixed;
        right: 0;
        bottom: 0;
        z-index: 999;
        padding-right: 10px;
    }
    
    
    .footer-sticky-icon a {
        display: block;
        width: 100px;
    }
    
    a#scroll-up {
        display: none;
        opacity: .5;
        filter: alpha(opacity = 50);
        z-index: 1001;
        text-align: center;
    }
        