html {
  font-size: 14px;
}
@media (min-width: 1200px) {
    .container-fluid {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container-fluid {
        max-width: 1320px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

a{
    text-decoration:none;
}

img .linkbull {
    background: url('data:text/plain;base64,R0lGODlhHAAeAPe+AICAQICAQYGBQoGBQ4GBRIKCRIKCRYWFSYaGS4eHToiIToiIT4iIUYmJUYmJUouLU4uLVIyMVIyMV4mJWYuLWY6OWo2NXI6OX5CQWpCQXZCQXo+PZJCQYJGRZZKSZJaWZJOTaJSUaJWVaJaWapeXapiYbJiYbZqab52db52dcZ2dc5ubdZmZd5+fdpqaeJubeJ+fe6Kieaenf6GhgaKigaamhqiogqamiKSkjKenjqqqiK6uja2tlLCwk7OzkrGxlLOzlrCwmrOzmre3mLGxnLCwnbq6nLu7nrKyorW1oba2oba2o7i4oLu7obm5prGxq7GxrLKyrbe3rbm5qLm5q7q6qr29r7+/r7Kysre3s7S0tLW1tLW1tbm5s76+sby8tL6+tLm5uLm5ubu7u729uby8vL29vb+/vb6+vr+/v8HBqMDArcTEr8DAscDAs8nJssjIv8rKv8vLv8DAwMHBwcPDwMLCwsPDw8bGxsfHx8/PxsjIyMnJycvLycrKysvLy87OyMzMzM3Nzc7Ozs/Pz9PTzNDQ0NHR0dPT0NPT0tPT09fX09TU1NXV1dbW1tfX193d19jY2NnZ2dra2Nra2tvb29zc3N7e3t/f3+Li3+Dg4OHh4eLi4uPj4+Tk4uXl4+Tk5OXl5ebm5ufn5ufn5+jo6Onp6erq6uvr6+zs7O3t7e7u7u/v7/Dw7/Dw8PHx8fLy8vPz8/T08/T09PX19fb29vf39/j4+Pn5+fr6+vv7+/z8/P39/f7+/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAUAAL4ALAQABQAYABkAQAj/AH0JHOir165ctm7h0rWrF8GHtY4AmKiBTpkOG8SsANAgBAUHQR6BcqWLly9dtYZMBMChy506CwAYMMOHkRUwhBqRwrXrIcFevA7qKulzoEFctWzZShVjpZNKoEJ5+pTKFa1cDn3looVKUyM+e/BMuRJnEaASKyHA2bSKaMFduGaxUoXKVKYfPAIZAnWrZ1GBvQLfaiUjgo1RqmLZYsgrMMFcsnxg2NEpUg0ABKLg8aJgZYFJpWA19FVLlZwMKy0gyRPo0CA+abjM+SNJ1KvRW42snDjCTxIASgJ9CTBRwqBOfX3xyjVLVeVGihIJmGggjKJUq1y9inWr8UOgu3Td/6LFytSpVLNG/yUIl5YrWLFq8VwPmJf9WWpWrgGV6pUtXLns4p1AcMmlHSgqTAQCH4oU0kIBAwARSiq0eHfLGysJIYgUAUyABRkJ7FYAIp2wUlIvsUCCwEosbPGEC2dUUIQdY2iBBh+OjEQULrGQQokbN8BAQxWMSKLHAwAccEEOfVQS2mi62LIKGz1QQYQIAbTBRAqRKGLCSiRIckouJvGIwm4MZDHHDAB4gAceGwWAgx2W1KKLL7vcskoTOizhRx5+nLASFIFwwskmoJDyClEG3TILKp1scgkmH0z0QhqUXBVYVt/xogsutsTCiiiWYMKWW/QBdtB4tdSCVVEBAQA7'); /*../Images/linkbull.GIF*/
    width: 25px;
    height: 25px;
}


ul.timeline {
    list-style-type: none;
    position: relative;
    font-family: Microsoft JhengHei;
}

    ul.timeline:before {
        content: ' ';
        background: #d4d9df;
        display: inline-block;
        position: absolute;
        left: 29px;
        width: 2px;
        height: 100%;
        z-index: 400;
    }

    ul.timeline > li {
        margin: 20px 0;
        padding-left: 20px;
    }

        ul.timeline > li:before {
            content: ' ';
            background: #666666;
            display: inline-block;
            position: absolute;
            border-radius: 50%;
            border: 1px solid #666666;
            left: 20px;
            width: 20px;
            height: 20px;
            z-index: 400;
        }

    ul.timeline p {
        margin: 1.2em 0 1.8em 0;
        padding: 0 1em;
        font-size: 15px;
        line-height: 190%;
        color: #666666;
        font-weight: bold;
    }

    ul.timeline .green {
        color: #5A8700;
        font-weight: bold;
        font-size: 20px;
    }

.icon-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    border-radius: 0.75rem;
}
.icon-link {
    display: inline-flex;
    align-items: center;
}

.header-1 {
    background: url(../images/ui/background.png) no-repeat top center;
    background-size: 100%;
    
}
.header-2 {
    background: url(../images/ui/books.jpg) no-repeat top center;
    background-size: cover;
}

.category-image-wrapper {
    height: 200px;
    display: flex;
    gap: 20px;
}

    .box img {
        width: 100%;
        height: 100%;
    }

.box-contain img {
    object-fit: contain;
}
.gotop {
    cursor: pointer;
    position: fixed;
    bottom: 64px;
    right: 30px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    color: #fff;
    background: #999;
    border-radius: 3px;
    z-index:99999;
}
/* Äa¯B«ö¶s */
#chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ¯B°Ê²á¤Ñµ¡¤f */
#chat-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 300px;
    max-height: 400px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
}

#chatbox {
    padding: 10px;
    overflow-y: scroll;
    flex-grow: 1;
}

#user-input-container {
    display: flex;
}

#user-input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-top: 1px solid #ccc;
    border-radius: 0 0 0 10px;
}

#send-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 0 0 10px 0;
}

.singleline-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.multiline-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}
.EBookLogoLoc {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 12px;
    position: absolute;
    bottom: 5px;
    left: 40px
}
.BookLogoLoc {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 12px;
    position: absolute;
    bottom: 5px;
    left: 5px
}

.EBookLogoLoc .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.EBookLogoLoc .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.EBookLogoLoc:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.BookLogoLoc .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.BookLogoLoc .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
.BookLogoLoc:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
