@charset "utf-8";

/* CSS Document */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200;500;700;900&display=swap");
* {
  font-family: "Noto Sans TC", sans-serif, "Microsoft JhengHei";
}

body {
  padding-top: 60px;
  width: 100%;
}
h3 {
  font-family: "Noto Serif TC", serif;
  padding-top: 100px;
  margin-bottom: 30px;
  font-size: 1.5rem;
}
*:focus {
  outline: 0 !important;
}

a {
  color: #f04553;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #f04553;
  text-decoration: none;
}

section {
  border-bottom: 1px solid #c4c4c4;
  padding-bottom: 2rem;
}

.containerx {
  width: 100%;
  min-height: calc(100vh - 212px);
}

.learn-more {
  font-size: 16px;
  text-align: center;
  padding-bottom: 10px;
}

.warning {
  background-color: #ebebeb;
}

.w-box {
  width: 100%;
  max-width: 998px;
  margin: 0 auto;
  position: relative;
  padding: 10px 0;
  display: flex;
  align-items: center;
  font-weight: 300;
  letter-spacing: 0.1rem;
}

.w-left {
  width: 280px;
  font-size: 24px;
  text-align: center;
}

.w-right {
  flex: 1;
  font-size: 13px;
}

.mask {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 99;
  display: none;
}

.hide-xs {
  display: block;
}

.show-xs {
  display: none;
}

.show-md {
  display: none;
}

.show-ss {
  display: none;
}

.red {
  color: #f04553;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  height: 60px;
  background-color: #d70c18;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown > .dropdown-toggle:active {
  pointer-events: none;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-item:active {
  background-color: #fff;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: none;
  float: none;
  min-width: 120px;
  padding: 0;
  margin: -10px 0 0 0;
  font-size: 14px;
  color: #2d3945;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 0;
  border-radius: 16px;
  box-shadow: 2px 8px 16px rgba(45, 57, 69, 0.12);
  overflow: hidden;
}

.dropdown-menu a.dropdown-item {
  line-height: 40px;
  padding: 5px 15px;
  font-size: 14px;
  color: #2d3945;
}

.dropdown-menu a.dropdown-item:hover {
  color: #2d3945;
}

.navbar {
  height: 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0;
}

.logo {
  position: absolute;
  display: flex;
  top: 10px;
  align-items: center;
}

.logo:hover {
  text-decoration: none;
}

.logo img {
  width: auto;
  height: 40px;
}
.logo span {
  display: inline-block;
  width: 11px;
  border-left: solid 1px #fff;
  margin-left: 10px;
  height: 36px;
}
.logo img.logob {
  width: auto;
  height: 36px;
}
.menu-box {
  display: block;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: flex-end;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.menu-box li {
  display: inline-block;
  padding: 0 7.5px;
}

.menu-box li a {
  font-family: "Microsoft JhengHei";
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 60px;
}

.menu-box span {
  padding: 10px 0 10px 0;
  display: none;
}

.menu-box li a:hover,
.menu-box li.active a {
  color: #fff;
  text-decoration: none;
}

.event-box {
  text-align: center;
}
.event-box .title {
  font-family: "Noto Serif TC", serif;
  font-weight: 700;
  color: #e80000;
  font-size: 26px;
  text-align: center;
}
.sub-title {
  font-size: 1.5rem;
}
.red-title {
  font-size: 22px;
  padding: 1.25rem 50px;
  margin: 1rem 0;
  background-color: #e80000;
  color: #ffffff;
  text-align: center;
}
.text-contain {
  padding: 1rem;
  text-align: left;
  font-size: 20px;
}
.gray-notice {
  font-size: 20px;
  color: #9e9e9e;
}
.button-borde {
  border: 1px solid #e80000;
  font-size: 24px;
  padding: 0.8rem;
  min-width: 285px;
  display: inline-block;
  text-align: center;
  margin: auto;
  background-color: #ffffff;
}
.button-borde:hover {
  color: #ffffff;
  background-color: #e80000;
  transition: all 0.3s ease-in-out;
}
.text-danger {
  color: #e80000;
}

.navbar-nav {
  width: 100%;
  flex-direction: none;
}

.footer-copyright {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 56px;
  overflow: hidden;
}

.footer-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 56px;
  padding-left: 30px;
  width: 423px;
  background-color: #DEDEDE;
}

.copyright {
  background-color: #d70c18;
  font-size: 12px;
  font-family: "Microsoft JhengHei";
  font-weight: 500;
  line-height: 56px;
  padding-left: 120px;
  flex: 1;
  display: inline-block;
}

.fixed-btn {
  position: fixed;
  bottom: 20px;
  right: 10px;
  display: flex;
  flex-direction: column;
  transition: bottom 0.2s ease-in-out;
}
.fixed-btn.scroll-to-bottom {
  bottom: 210px;
}

.fixed-btn a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #d70c18;
  border: 2px solid #ffffff;
  width: 115px;
  height: 115px;
  color: #ffffff;
  transition: box-shadow 0.2s ease-in-out;
}
.fixed-btn a:nth-child(1) {
  margin-bottom: 10px;
}
.fixed-btn a:nth-child(2) {
  margin-bottom: 10px;
}
.fixed-btn a:hover {
  box-shadow: 0px 4px 16px rgba(215, 12, 24, 0.54);
}

.fixed-btn img {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}

.fixed-cookie {
  background-color: #e80000;
}

label,
button.fixed-button {
  color: #fff;
  padding: 8px 24px;
  border: solid 1px #fff;
  text-align: center;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
button.fixed-button:hover {
  background-color: #ffffff;
  color: #e80000;
}


.wrapper input[type="checkbox"]:checked ~ .fixed-cookie {
  background-color: #c4c4c4;
}

p.fixed-cookie {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 300;
  text-align: justify;
}

.cookie-link {
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease-in-out;
}
.cookie-link:hover {
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

@media (max-width: 1440px) {
  .footer-logo {
    width: 260px;
  }
}

@media (max-width: 1200px) {
  header {
    padding: 0 40px 0 40px;
    margin-right: -5px;
  }
}

@media (max-width: 1024px) {
  body {
    padding-top: 60px;
  }
  .containery {
    overflow: hidden;
  }
  .footer-copyright {
    height: auto;
  }
  .copyright {
    padding-left: 20px;
  }
  .warning {
    background-color: #ebebeb;
  }
  .w-box {
    display: block;
    align-items: center;
    font-weight: 300;
    letter-spacing: 0.1rem;
    padding: 10px 15px;
  }
  .w-left {
    font-weight: 700;
    width: 100%;
    font-size: 16px;
    text-align: left;
  }
  .w-right {
    width: 100%;
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 53px;
  }
  .copyright {
    height: 36px;
    font-size: 12px;
    line-height: 36px;
    text-align: center;
    width: 100%;
    display: block;
    padding: 0;
  }
  .copyright span {
    display: none;
  }
  .footer-logo {
    display: none;
  }
  .button_container {
    position: absolute;
    top: 16.5px;
    left: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    z-index: 100;
    transition: opacity 0.25s ease;
  }
  .button_container.active {
    top: 16.5px;
    height: 20px;
    width: 20px;
  }
  .button_container:hover {
    opacity: 0.9;
  }
  .button_container.active .top {
    -webkit-transform: translateY(10px) translateX(0) rotate(45deg);
    transform: translateY(10px) translateX(3px) rotate(45deg);
    background-color: #fff;
    width: 100%;
  }
  .button_container.active .middle {
    opacity: 0;
    background: #fff;
  }
  .button_container.active .bottom {
    -webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
    transform: translateY(-8px) translateX(3px) rotate(-45deg);
    background: #fff;
    width: 100%;
  }
  .button_container span {
    border: none;
    height: 2px;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0;
    transition: all 0.35s ease;
    cursor: pointer;
    background-color: #fff;
  }
  .button_container span:nth-of-type(2) {
    top: 9px;
    width: 100%;
  }
  .button_container span:nth-of-type(3) {
    top: 18px;
  }
  .menu-box span {
    margin-top: 20px;
    display: block;
    padding: 20px 0;
    background-color: #eeeeee;
    text-align: center;
    width: 100%;
  }
  .menu-box li a:hover,
  .menu-box li.active a {
    color: #2d3945;
  }
  .menu-box .dropdown-menu {
    position: static;
    transform: translateX(0);
    padding: 30px 0;
    margin: 0;
    background-color: #737980;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  .dropdown > .dropdown-toggle:active {
    pointer-events: auto;
  }
  .menu-box .dropdown-menu.fix {
    margin-bottom: -20px;
  }
  .dropdown:hover > .dropdown-menu {
    display: none;
  }
  .dropdown.show > .dropdown-menu {
    display: block;
  }
  .menu-box .dropdown-menu a.dropdown-item {
    line-height: 40px;
    padding: 5px 0 5px 50px;
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    background-color: #737980 !important;
  }
  .dropdown-menu a.dropdown-item {
    color: #2d3945;
  }
  .menu-box .dropdown .dropdown-toggle::after {
    display: inline-block;
    content: "";
    font-family: "FontAwesome";
    content: "\f107";
    font-size: 24px;
    color: #525c66;
    position: absolute;
    right: 50px;
    top: 15px;
    margin-left: 0;
    vertical-align: 0;
    border: 0;
  }
  .menu-box .dropdown.show .dropdown-toggle::after {
    content: "\f106";
  }
  .menu-box .dropdown.show .dropdown-toggle {
    border: none;
    outline: none;
    box-shadow: none;
  }
  header {
    height: 53px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    padding: 0;
  }
  h3 {
    padding-top: 50px;
  }
  .logo {
    left: 60px;
    top: 9px;
  }
  .logo img {
    width: auto;
    height: 34px;
  }
  .menu-box {
    position: absolute;
    top: 53px;
    left: 0;
    width: 100%;
    height: auto;
    display: none;
    padding: 20px 0;
    background-color: #fbfbfb;
    background-image: url(../images/menu.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
  }
  .menu-box li {
    display: block;
    padding: 0;
  }
  .menu-box li a {
    display: block;
    color: #2d3945;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    padding: 20px 0 20px 50px;
  }
  .navbar {
    height: 53px;
    width: 100%;
  }
  .navbar.fix {
    height: 53px;
    width: 100%;
    margin-left: -40px;
  }
  .logo span {
    font-size: 18px;
    line-height: 1;
    margin-left: 10px;
    padding-top: 3px;
  }
  .hide-xs {
    display: none;
  }
  .show-xs {
    display: block;
  }
  .event-box .title {
    font-size: 1.25rem;
  }
  .red-title {
    font-size: 1rem;
    padding: 1.25rem 10px;
  }
  .sub-title {
    font-size: 1.25rem;
  }
  .text-contain {
    font-size: 0.9rem;
  }
  .gray-notice {
    font-size: 0.875rem;
  }
  .button-borde {
    min-width: 250px;
    font-size: 1.25rem;
  }
  .fixed-btn a {
    width: 80px;
    height: 80px;
    font-size: 0.875rem;
  }
  .fixed-btn img {
    width: 24px;
    height: 24px;
    margin-bottom: 0;
  }
}

@media (max-width: 420px) {
  .hide-ss {
    display: none;
  }
  .show-ss {
    display: block;
  }
  .copyright {
    height: 25px;
    line-height: 1;
    padding: 6px 0;
    margin: 0 !important;
  }
  .logo img.logob {
    width: auto;
    height: 30px;
  }
}

@media (max-width: 320px) {
  .menu-box {
    max-height: calc(100vh - 60px);
    overflow: scroll;
  }
}

ul {
  padding-inline-start: 24px;
}

.big-dot {
  list-style-type: none;
  position: relative;
}

.big-dot::before {
  content: "●";
  position: absolute;
  top: 0;
  left: -22px;
}
.article {
  margin-block-end: 0;
}
