@charset "UTF-8";
/* @import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css); */

body {
    font-family: cwTeXYen, Roboto, Helvetica, Noto Sans TC, sans-serif !important;
    background-color: #fcf9f3;
    color: #000;
    font-size: 16px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
p,
.navbar,
.brand,
a,
.td-name,
td,
button,
input,
select,
textarea {
    font-family: cwTeXYen, Roboto, Helvetica, Noto Sans TC, sans-serif !important;
    font-weight: 400;
    color: #2d2d2d;
}

p {
    font-size: 16px;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-left: 1px solid #d2d6da !important;
    border-right: 1px solid #d2d6da !important;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback):focus {
    border-left: 1px solid #46a1a3 !important;
    border-right: 1px solid #46a1a3 !important;
}

sub {
    font-size: 0.25rem;
}

.w-fc {
    width: fit-content;
}

.test-word {
    font-family: '標楷體', DFKai-sb, BiauKai, 'AR PL UKai TW' !important;
}

.pointer {
    cursor: pointer;
}

.navbar {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid #000;
}

.nav2 {
    border-bottom: 1px solid #ccc;
}

@media (max-width: 991px) {
    .nav2 {
        border-bottom: none;
        padding: 0;
    }
}

.navbar .navbar-brand.logo {
    font-size: 36px;
    padding-left: 0;
}

.navbar .navbar-brand.logo::after {
    content: '這裡是一個可靠、免費且開放的學習平台，\A豐富的學習資源，是學習的最佳幫手！';
    white-space: pre;
    font-size: 14px;
    padding-left: 8px;
    margin-left: 8px;
    border-left: 1px solid #2d2d2d;
    display: inline-block;
    vertical-align: middle;
    color: #2d2d2d;
}

@media (max-width: 499px) {
    .navbar .navbar-brand.logo::after {
        display: none;
    }
}

.navbar .navbar-nav .nav-item .nav-link {
    font-size: 18px;
    color: #000;
    margin: 15px 3px 0;
}

.navbar .navbar-nav .nav-item .nav-link span {
    font-size: 30px;
    padding-right: 4px;
    color: #d13521;
}

.alert-outline-primary {
    background-color: #fcf9f4;
    border: 1px solid #46a1a3;
    color: #3b8689;
    font-size: 16px;
}

.dropdown-menu {
    z-index: 99999 !important;
}

.dropdown-menu .inner {
    max-height: 300px !important;
}

header {
    /* margin-top: 171px; */
    background-color: #eee;
    height: auto;
}

header .pp {
    background-image: url(../img/pp.png);
    clip-path: polygon(0 0, 100% 0%, 80% 100%, 0% 100%);
}

header .dp {
    background-image: url(../img/dp.png);
    clip-path: polygon(20% 0, 100% 0%, 80% 100%, 0% 100%);
    margin-left: -6rem;
}

header .ep {
    background-image: url(../img/ep.png);
    clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0% 100%);
    margin-left: -6rem;
}

header .pp,
header .dp,
header .ep {
    width: calc((100% / 3) + 5rem);
    background-position-x: -95px;
    background-position-y: -80px;
    background-size: 135%;
    line-height: 400px;
    text-align: center;
}

header .pp img,
header .dp img,
header .ep img {
    width: 50%;
}

@media (max-width: 991px) {
    header {
        /* margin-top: 138px; */
        background-color: #eee;
        height: auto;
    }

    header .pp {
        clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
    }

    header .dp {
        clip-path: polygon(10% 0, 100% 0%, 90% 100%, 0% 100%);
        margin-left: -6rem;
    }

    header .ep {
        clip-path: polygon(10% 0, 100% 0%, 100% 100%, 0% 100%);
        margin-left: -6rem;
    }

    header .pp,
    header .dp,
    header .ep {
        line-height: normal;
        padding: 1.5rem;
    }

    header .pp img,
    header .dp img {
        margin-left: -50px;
    }
}

@media (max-width: 575px) {
    header {
        height: auto;
    }

    header .pp {
        clip-path: none;
    }

    header .dp {
        clip-path: none;
        margin-left: 0;
    }

    header .ep {
        clip-path: none;
        margin-left: 0;
    }

    header .pp,
    header .dp,
    header .ep {
        width: 100%;
        line-height: normal;
        text-align: center;
        padding: 1.5rem;
    }
}

.section {
    padding: 60px 0;
    background-color: #fcf9f3;
}

.btn,
.navbar .btn {
    font-size: 14px;
}

.card[data-background='image'] .card-description,
.card[data-background='color'] .card-description,
.card[data-color] .card-description {
    color: rgb(0 0 0 / 80%);
}

.level-h {
    height: 100%;
    min-height: 100%;
}

.news-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

footer .twnread-card {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

footer .twnread-card.pointer:hover {
    background-color: rgba(0, 0, 0, 0.12);
}

footer .twnread-card img {
    max-width: 100px;
}

footer .twnread-card h2 {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
    margin-bottom: 0.625rem;
}

footer .twnread-card p {
    font-size: 14px;
    margin-bottom: 0;
}

footer,
footer h2,
footer p {
    color: #fff;
}

.footer .credits,
.footer-nav {
    line-height: 53px;
}

.footer nav > ul > li {
    margin: 0;
}

.footer nav > ul a:not(.btn) {
    color: #fff;
    font-size: 16px;
}

.footer nav > ul a:not(.btn):hover {
    color: #fff;
}

.badge-outline-green {
    color: #4aa1a3;
    border: 1px solid #4aa1a3;
}

.numcircle {
    font-size: 13px;
    width: 24px;
    height: 24px;
    line-height: 24px;
}

#dp50Content .card:hover {
    box-shadow: 2px 2px 1rem 0 rgb(52 82 116 / 15%);
    transform: translate(1px, 1px);
}

.nav.nav-fill input[type='radio'] + label span.nav-link {
    font-weight: 500;
    color: #344767;
    border-radius: 0.5rem;
}

.nav.nav-fill input[type='radio']:checked + label span.nav-link {
    font-weight: 500;
    color: #344767;
    box-shadow: 0px 1px 5px 1px #ddd;
    animation: 0.2s ease;
    background-color: #fff;
    /* transform: translate3d(0px, 0px, 0px); */
    transition: all 0.5s ease 0s;
    border-radius: 0.5rem;
}

.text-teal {
    color: #46a1a3;
}

.text-second {
    color: #5974a2 !important;
}

.bg-second {
    background: #9ad6d742;
}

.text-red {
    color: #d13521;
}

.text-blue {
    color: #007bff;
}

.text-oblue {
    color: #5e72e4;
}

.text-dblue {
    color: #344767;
}

.text-gray2 {
    color: #68738e;
}

.text-gray {
    color: #a1a1a1;
}

.text-purp {
    color: #825ee4;
}

.text-green {
    color: #116e71;
}

.text-dgreen {
    color: #007274;
}

#sdgs .dropdown-menu.show {
    inset: auto !important;
}

.imgborder {
    border: 1px solid #e3e3e3;
    width: max-content;
    max-width: 100%;
}

@media (min-width: 768px) {
    .imgborder {
        max-width: 80%;
    }
}

.bg-learn {
    background-color: #8392ab;
}

.bg-error {
    /* background-color: #e39385; */
    color: #d17161;
    font-size: 16px;
    font-weight: 900;
    width: 30%;
    padding: 10px;
    text-align: right;
    margin: 10px;
}

.border-top-3 {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.form-check-input:checked[type='radio'],
.form-check-input:checked[type='checkbox'] {
    background: #825ee4;
    background-image: none;
}

.form-check-input:checked[type='radio'][name='degree'],
.form-check-input:checked[type='radio'][name='degree50'],
.form-check-input:checked[type='radio'][name='sdgs'] {
    background: #4aa1a3;
    background-image: none;
}

.hr1 {
    background-color: transparent;
    border-bottom: 1px solid #a2a2a2;
}

.table-striped > tbody > tr:hover,
.table-striped > tbody > tr:nth-of-type(odd) > *:hover {
    /* background: #ececec; */
}

.table-striped > tbody > tr:nth-of-type(even) > * {
    /* --bs-table-accent-bg: rgba(253, 255, 251, 0); */
    /* background:rgb(243 249 247) */
}

a:-webkit-any-link:focus-visible,
:focus-visible {
    outline-width: 0;
}

.mt-54 {
    margin-top: 0;
}

@media (min-width: 1200px) {
    .mt-54 {
        margin-top: -54px;
    }
}

.ihelp {
    display: inline;
    font-size: 16px;
    cursor: pointer;
    vertical-align: top;
}

.logreg {
    min-height: 560px;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
}

.login {
    min-height: 560px;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
}

#regul .moving-tab .nav-link.active {
    box-shadow: 0px 0px 5px 1px #c5c5c5;
    /* background: #c7feff; */
}

#regul.nav.nav-pills {
    background: #ededed;
}

.form-select {
    background-image: url(/assets/img/down.svg);
}

.dropdown .dropdown-toggle:after,
.dropup .dropdown-toggle:after,
.dropstart .dropdown-toggle:after,
.dropend .dropdown-toggle:after {
    color: #000;
}

.show > .btn-primary.dropdown-toggle:focus,
.btn-primary:focus {
    box-shadow: none;
}

/* 導覽列補充效果 */
.nav.nav-pills .nav-link.active {
    transition: all 0.5s ease 0s;
    background: #fff;
    box-shadow: 0 1px 5px 1px #ddd;
    color: #344767;
    font-weight: 600;
}

.badge-secondary {
    margin-right: 4px;
}

.epTitle {
    margin-top: 16px;
}

@media (min-width: 992px) {
    .epTitle {
        margin-top: -52px;
    }
}

.blockquote-footer::before {
    color: #f5365c;
}

.max-width-1200 {
    max-width: 1200px !important;
}

.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: 0.25rem;
    border-radius: 0.25rem;
}

.bd-callout-danger {
    border-left-color: #d9534f;
}

.bd-callout-primary {
    border-left-color: #428bca;
}

.bd-callout-success {
    border-left-color: #5cb85c;
}

#level1 .table td,
#level1 .table th,
#level2 .table td,
#level2 .table th,
#level3 .table td,
#level3 .table th,
#level4 .table td,
#level4 .table th,
#level5 .table td,
#level5 .table th,
.td-wrap td,
.td-wrap th {
    white-space: pre-wrap;
    padding-top: 16px;
    padding-bottom: 16px;
}

.gotop {
    background: #fff;
    border-radius: 50%;
    bottom: 30px;
    right: 30px;
    font-size: 1.25rem;
    z-index: 990;
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 16%);
    cursor: pointer;
}

.video-box {
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 0 10px #a0a0a0;
}

.card-group {
    display: flex;
    flex-flow: column wrap;
}

@media (min-width: 576px) {
    .card-group {
        display: flex;
        flex-flow: row wrap;
    }
}

.dots:hover {
    opacity: 0.8;
}

.alert-blue {
    background: #d3f1f2;
    color: #116e71;
    text-align: start;
    font-size: 18px;
}

.alert-green {
    background: #c7e8ff;
    text-align: start;
    font-size: 18px;
}

.qaq {
    background-color: #f6f6f6;
    color: #1db7bd;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: start;
    font-size: 18px;
    font-weight: 600;
}

.qaa {
    position: relative;
    padding: 1rem 1.5rem 1rem 2.5rem;
}

.qaa::before {
    content: '';
    position: absolute;
    width: 1px;
    height: calc(100% - 2rem);
    top: 16px;
    left: 1.5rem;
    background-color: #1db7bd;
}

.text-clamp2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-clamp3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

span[data-bs-content] {
    font-size: 16px;
}

ol li a:hover,
ul.row li a:hover,
td a:hover {
    text-decoration: underline;
}

.tsite {
    text-align: center;
    margin: 0;
    border: 1px solid #dedede;
    border-top: none;
    border-left: none;
    padding: 20px;
    position: static;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.tsite:hover {
    border: 1px solid #b4b4bc;
    box-shadow: inset 0px 0px 7px 0px #b4b4bc;
}

iframe #player-toolbar {
    background-color: #ffffff !important;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-22 {
    font-size: 22px;
}

a.text-oblue:hover {
    opacity: 0.8;
    text-decoration: underline;
    color: #5e72e4;
}

.dropdown-toggle::after {
    margin-left: 16px;
}

.accordion > .accbg:nth-of-type(odd) > * {
    background: #ffffff;
}

.accordion > .accbg:nth-of-type(even) > * {
    background: #0000000d;
    color: #4c5d7e;
}

.collapse .table td,
.table th {
    white-space: break-spaces;
}

.bg-form-coll {
    background: #0000000d;
}

hr.horizontal.white {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255), rgba(255, 255, 255, 0.2));
}

.btn-outline-secondary.active {
    cursor: default;
    transform: none !important;
}

.concard {
    border-radius: 12px;
    box-shadow: 0 0 5px #d9dce6;
}

.conRedcard {
    border-radius: 12px;
    box-shadow: 0 0 5px #ff0000;
}

.fixed-top {
    position: sticky;
}

.imgPreview {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.imgPreview img {
    z-index: 1050;
    width: 70%;
    max-height: 90%;
    max-width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    transition: transform 0.3s ease;
}

.imgPreview.active {
    opacity: 1;
}

.imgPreview.active img {
    transform: translate(-50%, -50%) scale(1);
}

.imgPreviewPE img {
    z-index: 1050;
    max-height: 90%;
    max-width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.imgPreviewPE {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
}

.imgs {
    cursor: url('/assets/img/zoom_in.png'), auto;
}

.accordion-button::after {
    width: 0;
}

.sel-active {
    background-color: #e9ecef;
}

.choices__list {
    min-width: max-content;
}

#btn-sel .choices__inner {
    background: #9ad6d742;
    color: #5974a2;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    border: 0;
}

#opin li {
    white-space: normal;
}

.btn-blue,
.btn-blue:hover {
    background: #5e72e4;
    color: #fff;
}

.choices {
    margin-bottom: 0;
}

.order-by {
    cursor: pointer;
}

.order-by:hover {
    text-decoration: underline;
}

.tank-center {
    position: relative; /* where the next element will be automatically positioned */
    display: inline-block; /* causes element width to shrink to fit content */
    left: 50%; /* moves left side of image/element to center of parent element */
    transform: translate(-50%); /* centers image/element on "left: 50%" position */
}

.fun-container {
    margin: 30px 100px 60px 100px;
}

.fun-img-main {
    width: 80%;
    height: 80%;
    display: block;
    margin: auto;
    border-radius: 10px;
}

.fun-div-mainimg {
    position: relative;
    z-index: 1;
}

.fun-div-abstract {
    font-size: 110%;
    position: relative;
    width: 60%;
    margin: auto;
    margin-top: -60px;
    padding: 20px;
    line-height: 30px;
    border-radius: 10px;
    background-color: #0ca4ff;
    color: white;
    z-index: 3;
}

.fun-title {
    text-align: center;
    color: #0ca4ff;
    font-size: 200%;
    font: bold;
}

.fun-auther {
    text-align: center;
    font-size: 105%;
    /*    margin-left: 50px;*/
}

.fun-abstract {
    font-size: 150%;
    line-height: 5px;
}

.fun-item {
    font-size: 160%;
    font: bold;
    color: rgba(0, 119, 255, 0.801);
    margin-top: 30px;
    margin-bottom: 30px;
}

.fun-subitem {
    position: relative;
    margin-left: 30px;
    font-size: 150%;
    font: bold;
    color: brown;
    margin-top: 30px;
    margin-bottom: 15px;
}

.fun-subitem-2 {
    position: relative;
    margin-left: 35px;
    font-size: 150%;
    font: bold;
    color: darkgoldenrod;
    margin-top: 30px;
    margin-bottom: 15px;
}

.fun-content {
    font-size: 130%;
    line-height: 40px;
}

.fun-subcontent {
    position: relative;
    margin-left: 40px;
    font-size: 130%;
    margin-bottom: 10px;
}

.fun-reader {
    font-size: 110%;
    color: cornflowerblue;
    margin: 5px 0px 0px 20px;
}

.fun-reader-reply {
    margin-left: 40px;
    color: darkolivegreen;
}
.fun-reader-content {
    margin: 5px 10px 10px 40px;
    font-size: 100%;
    color: cadetblue;
}

.fun-table {
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid black;
    margin: 5px auto 0;
}
.fun-table th {
    text-align: center;
    background-color: cornflowerblue;
    color: white;
    border: 1px solid black;
}
.fun-table td {
    border: 1px solid black;
    background-color: antiquewhite;
    padding: 10px;
}

.chart {
    max-width: 700px;
    max-height: 630px;
    overflow: hidden;
    margin: 30px auto 0;
    box-shadow: 0 0 40px #202020;
}

.chart {
    transition: transform 0.2s;
    width: 70%;
    height: 70%;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    box-shadow: 0 0 20px #202020;
    border-radius: 5px;
    /*z-index:2;*/
}

.chart:hover {
    transform: scale(1.8);
    border: solid;
    border-width: 5px;
    border-color: lightblue;
    position: inherit;
    z-index: 1;
}
.custom-datepicker {
    width: 200x; /* Set the desired width */
}

.article-table {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 85%;
}
.article-table th {
    text-align: center;
    font: bold;
    color: white;
    background-color: darkseagreen;
    border: solid;
    border-color: gray;
    border-width: 2px;
}
.article-table td {
    background-color: lavender;
    padding: 10px;
    border: solid;
    border-color: gray;
    border-width: 2px;
}

.custom-popover {
    position: absolute;
    z-index: 1000; /* Make sure it's above other elements */
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}
.anotherTag {
    color: blue;
}

.hidden {
    display: none !important;
}

.cursor-only {
    color: transparent; /* 隐藏输入的文字 */
    text-shadow: 0 0 0 black; /* 让光标可见 */
    caret-color: black; /* 使光标颜色保持黑色 */
}


.dropdown .dropdown-toggle:after, .dropup .dropdown-toggle:after, .dropstart .dropdown-toggle:after, .dropend .dropdown-toggle:after {
  color: #000;
  content: "";
  width: 14px;
  height: 14px;
  background-image: url(../img/down.svg);
}