@charset "UTF-8";
:root {
  --background-color:#1D2027;
  --component-background-color:#2D313A;
  --component-color: #FFF;
  --component-box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  --topic-background-color:#D68300;
  --topic-color:var(--background-color);
  --footer-background-color:#111317;
  --footer-border:1px solid #484546;
  --contact-us-background-color:#E02C53;
  --contact-us-color:#111317;
  --share-icon-color:#ffffff;
  --menu-btn-background:rgba(0, 0, 0, 0.75);
  --menu-btn-color:#ffffff;
  --menu-background:rgba(0, 0, 0, .7);
  --menu-title-color:#e5e0df;
  --menu-link-color:#DAD4D8;
  --menu-link-dot-color:#AA9EFF;
  --menu-link-hover-background:#2A095F;
}

[data-theme=green] {
  --background-color:#EFF7F8;
  --component-background-color:#ffffff;
  --component-color: #232323;
  --component-box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
  --topic-background-color:#089BAB;
  --topic-color:#ffffff;
  --footer-background-color:#2F4858;
  --footer-border:1px solid rgba(255,255,255,0.6);
  --contact-us-background-color:#E02C53;
  --contact-us-color:#ffffff;
  --share-icon-color:#495159;
  --menu-btn-background:#ffffff;
  --menu-btn-color:#333;
  --menu-background:rgba(255, 255, 255, .75);
  --menu-title-color:#3a3a3a;
  --menu-link-color:#4a4a4a;
  --menu-link-dot-color:#97C6CF;
  --menu-link-hover-background:rgb(8,155,171);
}

[data-theme=blue] {
  --background-color:#EFF6FE;
  --component-background-color:#ffffff;
  --component-color: #253452;
  --component-box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
  --topic-background-color:#0092FB;
  --topic-color:#ffffff;
  --footer-background-color:#253452;
  --footer-border:1px solid rgba(255,255,255,0.6);
  --contact-us-background-color:#E02C53;
  --contact-us-color:#ffffff;
  --share-icon-color:#495159;
  --menu-btn-background:#ffffff;
  --menu-btn-color:#333;
  --menu-background:rgba(255, 255, 255, .75);
  --menu-title-color:#3a3a3a;
  --menu-link-color:#4a4a4a;
  --menu-link-dot-color:rgba(42, 112, 237,0.6);
  --menu-link-hover-background:#2A70ED;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: "微軟正黑體", sans-serif;
  background-color: var(--background-color);
  padding-top: 20px;
}
@media screen and (min-width: 768px) {
  body {
    padding-top: 75px;
  }
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  border: none;
  outline: none;
  background: transparent;
}

.component {
  background: var(--component-background-color);
  box-shadow: var(--component-box-shadow);
  max-width: 1052px;
  border-radius: 14px;
  margin: 0 auto;
  margin-bottom: 40px;
  color: var(--component-color);
  padding: 20px;
}
@media screen and (min-width: 576px) {
  .component {
    padding: 40px 40px;
  }
}
@media screen and (min-width: 768px) {
  .component {
    padding: 50px 50px;
    margin-bottom: 60px;
  }
}
.component .title {
  font-size: 28px;
  color: var(--component-color);
  font-weight: bold;
  margin-bottom: 30px;
}
@media screen and (min-width: 768px) {
  .component .title {
    font-size: 38px;
  }
}
.component .title.hide {
  display: none;
}
.component .paragraph {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 15px;
  color: var(--content-color);
  text-align: justify;
}
.component .paragraph + .news-frame {
  margin-top: 25px;
}
@media screen and (min-width: 768px) {
  .component.infogram {
    padding: 50px 100px;
  }
}

/*第一個banner版面*/
.topic-container {
  display: flex;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0;
}
.topic-container.vertical {
  flex-direction: column;
}
.topic-container.vertical .main-image {
  width: 100%;
  display: block;
  border-radius: 0px;
  order: 0;
  max-height: 400px;
}
.topic-container.vertical .wrapper {
  max-width: 100%;
  order: 1;
}
.topic-container .wrapper {
  max-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}
@media screen and (min-width: 576px) {
  .topic-container .wrapper {
    padding: 40px 40px;
  }
}
@media screen and (min-width: 768px) {
  .topic-container .wrapper {
    padding: 50px 50px;
  }
}
@media screen and (min-width: 992px) {
  .topic-container .wrapper {
    max-width: 60%;
  }
}
.topic-container .main-image {
  display: none;
  width: 40%;
  border-radius: 0 12px 12px 0;
  object-fit: cover;
  object-position: center;
}
@media screen and (min-width: 992px) {
  .topic-container .main-image {
    display: block;
  }
}
.topic-container .topic {
  font-family: "Montserrat", sans-serif;
  display: block;
  background: var(--topic-background-color);
  color: var(--topic-color);
  font-size: 35px;
  font-weight: bold;
  border-radius: 10px;
  padding: 15px 20px;
  max-width: 100%;
}
.topic-container .topic svg {
  fill: var(--topic-color);
  width: 175px;
  height: 27px;
}
@media screen and (min-width: 768px) {
  .topic-container .topic {
    font-size: 52px;
    padding: 15px 36px;
  }
  .topic-container .topic svg {
    width: 248px;
    height: 38.25px;
  }
}
.topic-container .subject {
  font-size: 30px;
  font-weight: bold;
  color: #F0C274;
  margin: 30px 0;
}
@media screen and (min-width: 768px) {
  .topic-container .subject {
    font-size: 42px;
  }
}
.topic-container .subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.6;
}
.topic-container .content {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--content-color);
  line-height: 2;
  text-align: justify;
}
.topic-container .content:last-child {
  margin-bottom: 0px;
}

/*新聞方塊樣式*/
.news-frame {
  max-width: 100%;
  display: block;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background-color: rgba(0, 0, 0, 0.3);
  margin-bottom: 25px;
  transition: transform 250ms, background 250ms;
  cursor: zoom-in;
}
.news-frame:last-child {
  margin-bottom: 0;
}
.news-frame .img-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.news-frame .img-wrapper img {
  width: 100%;
}
.news-frame .content-wrapper {
  width: 100%;
  padding: 25px 20px 20px 20px;
  position: relative;
  overflow: hidden;
}
.news-frame .link-new-btn {
  position: absolute;
  top: 3px;
  right: 10px;
}
.news-frame .link-new-btn::before {
  content: "開啟新視窗";
  visibility: hidden;
  font-size: 12px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 8px;
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 250ms;
}
.news-frame .link-new-btn svg {
  width: 12px;
  height: 12px;
  fill: #E80074;
}
.news-frame .news-title {
  font-size: 20px;
  font-weight: bold;
  color: #e5e0df;
  line-height: 30px;
  margin-bottom: 10px;
}
.news-frame .abstract {
  font-size: 18px;
  font-weight: 400;
  color: rgba(229, 224, 223, 0.5019607843);
  line-height: 30px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
@media screen and (min-width: 992px) {
  .news-frame {
    display: flex;
    padding: 30px;
    cursor: zoom-in;
  }
  .news-frame:hover {
    transform: scale(1.02);
    background-color: rgba(193, 2, 92, 0.08);
  }
  .news-frame .img-wrapper {
    width: 30%;
    height: 0;
    padding-bottom: 18.44%;
    position: relative;
    border-radius: 10px;
  }
  .news-frame .img-wrapper img {
    position: absolute;
    object-fit: cover;
    object-position: center;
    height: 100%;
  }
  .news-frame .content-wrapper {
    width: 70%;
    padding: 0px;
    padding-left: 30px;
    border-radius: 0 12px 12px 0;
    overflow: visible;
  }
  .news-frame .link-new-btn {
    top: -15px;
    right: -10px;
  }
  .news-frame .link-new-btn:hover::before {
    visibility: visible;
    opacity: 1;
  }
}
.news-frame.vertical {
  display: block;
}
.news-frame.vertical .img-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  padding-bottom: 0px;
  border-radius: 12px 12px 0 0;
}
.news-frame.vertical .img-wrapper img {
  position: static;
  width: 100%;
  height: auto;
}
.news-frame.vertical .content-wrapper {
  width: 100%;
  padding: 25px 20px 20px 20px;
  position: relative;
  overflow: hidden;
}
.news-frame.vertical .link-new-btn {
  top: 3px;
  right: 10px;
}

/*新聞 hover*/
.news-hover-wrapper {
  display: table;
  position: relative;
}
@media screen and (min-width: 768px) {
  .news-hover-wrapper:hover .news-hover-frame {
    visibility: visible;
    opacity: 1;
  }
}
.news-hover-wrapper .link {
  display: block;
  font-size: 19px;
  color: #E02C53;
  font-weight: 600;
  padding: 14px 0;
}
.news-hover-wrapper .news-hover-frame {
  display: none;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: opacity 400ms;
  overflow: hidden;
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .news-hover-wrapper .news-hover-frame {
    display: flex;
    width: 500px;
    opacity: 0;
    visibility: hidden;
  }
}
.news-hover-wrapper .news-hover-frame .img-wrapper {
  width: 180px;
  position: relative;
}
.news-hover-wrapper .news-hover-frame .img-wrapper img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-hover-wrapper .news-hover-frame .content-wrapper {
  width: 320px;
  padding: 18px 25px;
  background: #FFFFFF;
}
.news-hover-wrapper .news-hover-frame .content-wrapper .news-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  line-height: 30px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 12px;
}
.news-hover-wrapper .news-hover-frame .content-wrapper .abstract {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 25px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/*about digitimes*/
.about-digitimes {
  width: 100%;
  background: var(--footer-background-color);
  border-top: var(--footer-border);
  position: relative;
}
.about-digitimes .wrapper {
  max-width: 1052px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10% 10%;
}
@media screen and (min-width: 768px) {
  .about-digitimes .wrapper {
    padding: 40px 40px;
  }
}
.about-digitimes img {
  display: none;
  width: 40%;
  max-width: 284px;
  max-height: 450px;
  object-fit: cover;
  object-position: bottom;
  border-radius: 8px;
}
@media screen and (min-width: 768px) {
  .about-digitimes img {
    display: block;
  }
}
.about-digitimes .content-wrapper {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .about-digitimes .content-wrapper {
    width: 60%;
    padding-left: 70px;
  }
}
.about-digitimes .content-wrapper .title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 38px;
  text-align: center;
  margin-bottom: 30px;
  color: #fff;
}
.about-digitimes .content-wrapper .content {
  font-size: 18px;
  font-weight: 500;
  line-height: 2.2;
  color: #e5e0df;
  text-align: justify;
}

.contact-us {
  width: 100%;
  background: var(--footer-background-color);
  box-sizing: border-box;
  padding: 60px 35px;
  text-align: center;
  border-top: var(--footer-border);
  position: relative;
}
@media screen and (min-width: 576px) {
  .contact-us {
    padding: 60px;
  }
}
.contact-us .text {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.8;
}
.contact-us .contact-btn {
  display: inline-block;
  margin-top: 30px;
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 700;
  background-color: var(--contact-us-background-color);
  color: var(--contact-us-color);
  border-radius: 8px;
  padding: 18px 24px;
  outline: 2px solid transparent;
  transition: outline 400ms;
}
@media screen and (min-width: 576px) {
  .contact-us .contact-btn:hover {
    outline: 2px solid rgba(255, 255, 255, 0.8);
  }
}
.contact-us .share-footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.contact-us .share-footer a {
  transition: transform 250ms;
  margin-right: 17px;
}
@media screen and (min-width: 768px) {
  .contact-us .share-footer a:hover {
    transform: scale(1.1);
  }
}
.contact-us .share-footer a:last-child {
  margin-right: 0px;
}
.contact-us .share-footer svg {
  width: 34px;
  height: 34px;
  border-radius: 100%;
  fill: #fff;
}

/*左邊的按鈕*/
@media screen and (min-width: 992px) {
  .menu-wrapper:hover .menu-frame {
    left: 8px;
  }
}
.menu-wrapper .menu-btn {
  width: 40px;
  height: 80px;
  background-color: var(--menu-btn-background);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 8px;
  z-index: 1;
  transform: translateY(-50%);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.menu-wrapper .menu-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--menu-btn-color);
}
.menu-wrapper .menu-frame {
  width: 320px;
  border-radius: 15px;
  background-color: var(--menu-background);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 20px 0px;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: -330px;
  transition: left 200ms;
  z-index: 10;
}
.menu-wrapper .menu-frame .title {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
  padding: 0 20px;
  margin-bottom: 18px;
  color: var(--menu-title-color);
}
.menu-wrapper .menu-frame li {
  margin-bottom: 5px;
  padding: 0px 10px;
}
.menu-wrapper .menu-frame li a {
  display: block;
  color: var(--menu-link-color);
  height: 36px;
  line-height: 36px;
  border-radius: 6px;
  font-weight: bold;
  border-radius: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 34px;
  padding-right: 10px;
  position: relative;
  transition: background 400ms, color 400ms;
}
.menu-wrapper .menu-frame li a::before {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: var(--menu-link-dot-color);
  border-radius: 100%;
  top: 50%;
  left: 17px;
  transform: translate(-50%, -50%);
  transition: width 400ms, height 400ms, background 400ms;
}
.menu-wrapper .menu-frame li a:hover {
  background-color: var(--menu-link-hover-background);
  color: rgba(255, 255, 255, 0.97);
}
.menu-wrapper .menu-frame li a:hover::before {
  width: 7px;
  height: 7px;
  background-color: rgba(255, 255, 255, 0.9);
}

.manu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/*iframe樣式*/
.iframe-container {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  padding: 10px;
  z-index: 11;
}
@media screen and (min-width: 576px) {
  .iframe-container {
    padding: 25px;
  }
}
.iframe-container .iframe_fun_bar {
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  background: #e5e0df;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.iframe-container .iframe_fun_bar .url_name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
  margin-right: 20px;
}
.iframe-container .iframe_fun_bar .url_fun {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.iframe-container .iframe_fun_bar .link-new {
  position: relative;
  margin-right: 17px;
}
.iframe-container .iframe_fun_bar .link-new::before {
  content: "開啟新視窗";
  padding: 5px 8px;
  border-radius: 6px;
  background: #fff;
  color: #333;
  display: block;
  white-space: nowrap;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  visibility: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transition: opacity 250ms;
}
.iframe-container .iframe_fun_bar .link-new:hover::before {
  visibility: visible;
  opacity: 1;
}
.iframe-container .iframe_fun_bar .link-new svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: #000000;
}
.iframe-container .iframe_fun_bar .close-btn {
  width: 12px;
  height: 12px;
  cursor: pointer;
}
.iframe-container iframe {
  display: block;
  width: 100%;
  height: calc(100% - 38px);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: #fff;
}

.podcast-player {
  width: 100%;
  max-width: 660px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  position: fixed;
  left: 50%;
  bottom: -180px;
  -ms-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 11;
  opacity: 0;
  transition: bottom 400ms, opacity 400ms;
}
.podcast-player.show {
  bottom: 15px;
  opacity: 1;
}
.podcast-player iframe {
  display: block;
  width: 100%;
}
.podcast-player .close-btn {
  width: 14px;
  height: 14px;
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
  fill: #ffffff;
}

/*社群分享*/
.share-sidebar {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 75px;
  right: 3%;
  opacity: 0;
  transition: opacity 400ms;
  pointer-events: none;
  z-index: 10;
}
@media screen and (min-width: 768px) {
  .share-sidebar {
    top: 3%;
    bottom: auto;
  }
}
.share-sidebar.show {
  opacity: 1;
  pointer-events: auto;
}
.share-sidebar a {
  margin-bottom: 10px;
  transition: transform 250ms;
}
@media screen and (min-width: 768px) {
  .share-sidebar a:hover {
    transform: scale(1.1);
  }
}
.share-sidebar section {
  display: none;
}
@media screen and (min-width: 768px) {
  .share-sidebar section {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (min-width: 768px) {
  .share-sidebar .mobile-share {
    display: none;
  }
}
.share-sidebar svg {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  fill: var(--share-icon-color);
  box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.1);
}

/*置頂按鈕*/
.gotop {
  position: fixed;
  bottom: -30px;
  right: 3%;
  cursor: pointer;
  transition: bottom 250ms, transform 250ms;
  z-index: 10;
}
@media screen and (min-width: 768px) {
  .gotop:hover {
    transform: scale(1.1);
  }
}
.gotop.show {
  bottom: 30px;
}
.gotop.white svg {
  fill: #ffffff;
}
.gotop svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: var(--share-icon-color);
  transition: fill 400ms;
}/*# sourceMappingURL=style.css.map */