@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: .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: .75rem 1.25rem;
  background-color: rgba(0, 0, 0, .06);
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 8px;
}

footer .twnread-card.pointer:hover {
  background-color: rgba(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-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;
}

.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(../img/down.svg);
}

.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);
}

.dropdown .dropdown-menu:before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(../img/up.svg) no-repeat;
}

.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: .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 .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: .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;
}

.imgPreview img {
  z-index: 1050;
  width: 70%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.imgPreviewPE img {
  z-index: 1050;
  width: 70%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.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, #opin td {
  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;
}

/* 權限使用 */
.visible {
  display: block; /* 或其他适合您的显示方式 */
}

.hidden {
  display: none !important;
}