@charset "utf-8";
@import url("navigation.css");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap");
@import url("https://fonts.googleapis.com/css?family=Oswald&display=swap");


:root {
  --primary-color: #f59d54;
  --secondry-color: #c6c4f8;
  --third-color: #c8f5f3;
  --fourth-color: #e4c5e1;
  --header-color: #141436;
  --border-color: #4b3897;
  --primary-gradient: linear-gradient(0deg, rgba(141, 183, 223, 1) 0%, rgba(211, 232, 253, 1) 100%);
  --box-shadow: 0 2rem 3rem -1rem rgba(0, 0, 0, 0.1);
}


* {
  box-sizing: border-box;
}

::selection {
  background-color: var(--secondry-color);
  color: #fff;
}

/*  scrollbar
------------------------------------- */

.M-card-body::-webkit-scrollbar {
  width: 5px;
}

.M-card-body::-webkit-scrollbar-button {
  width: 5px;
  height: 5px;
}

.M-card-body::-webkit-scrollbar-track {
  border-radius: 10px;
}

.M-card-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.M-card-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/*  img
------------------------------------- */

img {
  max-width: 100%;
  width: auto;
  border-radius: 15px;
  transition: all 0.3s;
}

@media screen and (max-width: 767px) {
  img {
    border-radius: 10px;
  }
}

main a img:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
  transform-origin: center center;
}

hr {
  border-top: 0px;
  border-bottom: 1px solid var(--border-color);
  margin: 20px 0;
}

.shadow {
  -webkit-filter: drop-shadow(10px 6px 6px rgba(0, 0, 0, 0.4));
  filter: drop-shadow(10px 6px 6px rgba(0, 0, 0, 0.4));
}

/*  html
------------------------------------- */

html {
  font-size: 17px;
}

@media screen and (max-width: 1400px) {
  html {
    font-size: 15px;
  }
}

@media screen and (max-width: 1000px) and (min-width: 767px) {
  html {
    font-size: 13px;
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: 15px;
  }
}

/*  body
------------------------------------- */

body {
  font-family: Roboto Condensed, Microsoft JhengHei, fantasy, Arial, Helvetica,
    sans-serif;
  line-height: 1.6;
  color: #000;
  margin: 0px;
  padding: 0px;
  letter-spacing: 0px;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

ul {
  list-style: none;
}

p {
  margin-top: 10px;
  margin-bottom: 10px;
}

/*  h1~h4
------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: "Oswald", "Microsoft Yahei", sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: 38px;
  font-weight: 600;
}

h2 {
  font-size: 28px;
  font-weight: 600;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 28px;
    font-weight: 600;
  }

  h2 {
    font-size: 20px;
    font-weight: 700;
  }
}

.modal {
  display: none;
}

/*  figure
------------------------------------- */

ul {
  padding-inline-start: 0px;
}

figure {
  display: block;
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding: 0.6vw;
}

figcaption {
  line-height: 1.3;
}

/*breadcrumb
========================================== */

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 10px;
}

@media only screen and (min-width: 767px) {
  .breadcrumb {
    position: absolute;
    top: 0;
    left: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .breadcrumb {
    font-size: 12px;
  }
}

.breadcrumb ol li {
  list-style: none;
}

.breadcrumb-item+.breadcrumb-item {
  padding-left: 0.5rem;
  word-break: break-word;
}

.breadcrumb-item+.breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  color: #6c757d;
  content: "/";
}

.breadcrumb-item+.breadcrumb-item:hover::before {
  text-decoration: underline;
}

.breadcrumb-item+.breadcrumb-item:hover::before {
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--primary-color);
}

/*J-marquee
========================================== */

.J-marquee {
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.J-marquee.alert {
  background-image: linear-gradient(45deg, #ce4aad, #7c5acc, #ce4aad, #7c5acc);
  background-size: 300% 300%;
  animation: gradientBG 3s ease infinite;
  box-shadow: 0 5px 8px rgb(190 77 179 / 40%);
  border-radius: 8px;
}

.J-marquee #text_box {
  display: inline-block;
  overflow: hidden;
  line-height: 0;
  height: 36px;
  width: 100%;
}

.J-marquee #text_box h6,
.J-marquee #text_box h6 a {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  padding: 7px 10px;
}

@media (max-width: 600px) {
  .J-marquee #text_box {
    height: 58px;
  }
}

.marquee-close {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 8px;
  margin-right: 5px;
}

.marquee-close:before {
  content: "✖";
  padding: 10px 5px;
}

/*內頁版型
========================================== */

main {
  min-height: 70vh;
}

.L-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

#L-main-row {
  position: relative;
  display: flex;
  gap: 30px;
  padding-top: 20px;
}

@media only screen and (max-width: 767px) {
  .L-container {
    padding: 0px;
  }

  #L-main-row {
    padding: 10px;
    padding-top: 0px;
  }
}

.reverse {
  flex-direction: row-reverse;
}

#L-main-row .main {
  width: 80%;
}

#L-main-row .left {
  width: 20%;
}

@media only screen and (max-width: 767px) {
  #L-main-row .main {
    width: 100%;
  }

  #L-main-row .left {
    display: none;
  }
}

/* 左側 */

#L-main-row .left .M-card-body {
  max-height: 470px;
  overflow-y: scroll;
  line-height: 1.2;
}

#L-main-row .left .M-card-body ul {
  margin: 0 !important;
}

#L-main-row .left .M-card:nth-child(1) a:hover,
#L-main-row .left .M-card:nth-child(1) a.active {
  color: var(--secondry-color);
}

#L-main-row .left .M-card:nth-child(1) li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

#L-main-row .left .M-card:nth-child(1) li:nth-last-child(1) {
  border-bottom: 0px !important;
}

#L-main-row .left .M-card:nth-child(1) li dl {
  border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
}

#L-main-row .left .M-card:nth-child(1) li dd {
  margin-inline-start: 20px;
}

/* 內頁banner */

@media only screen and (min-width: 767px) {
  .M-banner {
    margin-top: 20px;
  }

  .M-banner img {
    border-radius: 10px;
    min-height: 180px;
    object-fit: cover;
  }
}

@media only screen and (max-width: 767px) {
  .M-banner img {
    border-radius: 0px !important;
    min-height: 120px;
    object-fit: cover;
  }
}

/* 手機版內頁選單 */
@media only screen and (min-width: 900px) {
  .main .M-card:nth-child(1) {
    box-shadow: 0 2rem 4rem rgb(0 0 0 / 0) !important;
    padding: 0 !important;
  }

  .main .M-card:nth-child(1) .btn {
    display: none;
  }
}

.main .M-card:nth-child(1) {
  margin: 5px 0;
  border: 0px;
}

.main .M-card:nth-child(2) {}

/* M-aside-nav */

.aside li {
  padding: 5px 0;
  border-bottom: 1px solid var(--border-color);
}

.aside li:nth-last-child(1) {
  border-bottom: 0px;
}

.aside li .badge {
  display: none;
}

.aside li b {
  font-weight: 400;
}

/*  M-card 
------------------------------------- */

.M-card {
  margin: 20px 0;
  padding: 20px 1vw 20px 2vw;
  border-radius: 1vw;
}

.M-card-body {
  padding-right: 1vw;
}

.index-type-left .M-card,
.index-type-right .M-card {
  padding: 20px !important;
  line-height: 1.2;
}

.index-type-left .M-card h3,
.index-type-right .M-card h3 {
  margin: 0 !important;
}

.promo-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1vw;
  text-align: center;
}

.promo-tabs figure {
  aspect-ratio: auto 2 / 0.8;
}

.game-article-new {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 2vw 2.5vw;
  text-align: center;
}

.game-article-new figure {
  aspect-ratio: auto 1 / 1;
}

@media screen and (max-width: 500px) {
  .game-article-new {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .promo-tabs {
    grid-template-columns: 1fr;
  }
}

.M-card-more {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.M-card-more .btn {
  background-color: transparent;
  padding: 3px 20px !important;
  color: #fff;
  border: 1px solid #634BC2;
}

.M-card-more .btn:hover {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #fff;
}

/*  .btn 按鈕系統
------------------------------------- */

.btn-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 10px 0;
}

@media only screen and (max-width: 767px) {
  .btn-block .btn {
    flex: 1;
  }
}

.btn {
  background-color: var(--primary-color);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  transition: all 0.3s;
  margin: 10px 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn:hover {
  background-color: var(--secondry-color);
  color: #fff;
}

.btn-gray {
  background-color: transparent !important;
  color: #fff !important;
  border: 1px solid #fff;
}

.btn-gray:hover {
  background-color: var(--primary-color) !important;
  color: #fff !important;
}

.btn-primary {
  background-color: rgb(190, 77, 179);
  background-image: linear-gradient(45deg, #ce4aad, #7c5acc, #ce4aad, #7c5acc);
  background-size: 300% 300%;
  animation: gradientBG 3s ease infinite;
  box-shadow: 0 5px 8px rgb(190, 77, 179, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 5px 8px rgb(190, 77, 179, 0);
}

.btn-success {
  background-color: rgb(0, 200, 255);
  box-shadow: 0 5px 8px rgb(0, 200, 255, 0.4);
}

.btn-success:hover {
  background-color: rgb(0, 150, 255);
  box-shadow: 0 5px 8px rgb(0, 200, 255, 0);
}

.btn-ph {
  background-color: rgb(255, 144, 52);
  box-shadow: 0 5px 8px rgb(255, 144, 52, 0.4);
}

.btn-ph:hover {
  background-color: rgb(252, 132, 33);
  box-shadow: 0 5px 8px rgb(253, 161, 86, 0);
}

.btn-ph::before {
  content: "";
  width: 30px;
  height: 20px;
  display: inline-block;
  background-image: url("../userfiles/system/flag-ph.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
  border: 1px solid #fff;
}

.btn-in {
  background-color: rgb(37, 202, 166);
  box-shadow: 0 5px 8px rgb(37, 202, 166, 0.4);
}

.btn-in:hover {
  background-color: rgb(14, 177, 141);
  box-shadow: 0 5px 8px rgb(37, 202, 166, 0);
}

.btn-in::before {
  content: "";
  width: 30px;
  height: 20px;
  display: inline-block;
  background-image: url("../userfiles/system/flag-in.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
  border: 1px solid #fff;
}

@keyframes gradientBG {
  0% {
    background-position: 0 100%;
  }

  50% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0 100%;
  }
}

/* 頁數 */

.M-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
}

.btn-group a {
  margin: 2px;
}

.btn-group .btn {
  width: 34px;
  height: 34px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  line-height: 1;
}

.btn-group .btn:hover {
  background-color: var(--secondry-color);
}

.icon-left-open::after {
  content: "❮";
}

.icon-right-open::after {
  content: "❯";
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

/*  index-type
------------------------------------- */
.index-owl-carousel {
  width: 100%;
  aspect-ratio: auto 7 / 1;
}

@media only screen and (max-width: 767px) {
  .index-owl-carousel {
    width: 100%;
    aspect-ratio: auto 2 / 1;
  }
}

.index-type {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  grid-gap: 2vw;
}

.index-type-left .M-card ul li,
.index-type-right .M-card ul li {
  border-bottom: 1px solid var(--border-color);
}

.index-type-left .M-card ul li a,
.index-type-right .M-card ul li a {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  line-height: 1.2;
  align-items: center;
}

.index-type-left .M-card ul li a img,
.index-type-right .M-card ul li a img {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  object-fit: cover;
}

@media screen and (max-width: 1200px) {
  .index-type {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-gap: 2.5vw;
  }

  .index-type-right {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .index-type {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2.5vw;
  }

  .index-type-left,
  .index-type-right {
    display: none;
  }
}

/* .index-type-left li*/

.index-type-left li,
.index-type-right li {
  padding: 5px 0;
  border-bottom: 1px solid var(--border-color);
}

.index-type-left li:nth-last-child(1),
.index-type-right li:nth-last-child(1) {
  border-bottom: 0px;
}

.index-type-left .badge,
.index-type-right .badge {
  display: none;
}

.index-type-left li b,
.index-type-right li b {
  font-weight: 400;
}

.index-type-right .M-card-body {
  max-height: 400px;
  overflow-y: scroll;
}

.nav-style-3 {
  padding: 5px;
}

.owl-carousel .owl-item img {
  padding: 5px;
}

/*  games-list 
------------------------------------- */

.game-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 2.5vw;
}

@media screen and (max-width: 1200px) and (min-width: 767px) {
  .game-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media only screen and (max-width: 767px) {
  .game-list {
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
  }
}

/*  games-info
------------------------------------- */

.games-info {
  padding-bottom: 20px;
  margin-bottom: 20px;
}

@media screen and (min-width: 767px) {
  .games-info {
    display: grid;
    grid-template-columns: 360px 1fr;
  }

  .games-info-text {
    padding-left: 20px;
  }
}

.games-info-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 767px) {
  .games-info-img img {
    margin-bottom: 20px;
  }
}

.games-info-text .btn-block {
  justify-content: left !important;
}

/*  guides 
------------------------------------- */

.guides-box figure {
  display: grid;
  grid-template-columns: 20% 1fr;
  grid-gap: 3vw;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.guides-box .col-img {
  display: flex;
  justify-content: center;
  align-items: center;
}


@media only screen and (max-width: 500px) {
  .guides-box figure {
    grid-template-columns: 33% 1fr;
  }

  .guides-box figure h2 {
    font-size: 15px;
  }

  .guides-box figure .txt {
    font-size: 13px;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

}



/*  other
------------------------------------- */

.products-list {
  display: inline-block;
  width: 20%;
  padding: 2%;
}

.products-list h3 {
  font-size: 16px;
}

.LH20 {
  padding-bottom: 20px;
}

/*  text-editor 
------------------------------------- */

.M-card-body-text h1,
.M-card-body-text h2,
.M-card-body-text h3,
.M-card-body-text h4 {
  margin-top: 30px !important;
}

.text-editor h1,
.text-editor h2,
.text-editor h3,
.text-editor h4 {
  margin-top: 30px !important;
}

/* text-editor ul li
========================================== */

.text-editor ul {
  list-style-type: none !important;
  padding: 0px !important;
  margin: 0px !important;
}

.text-editor ul li {
  position: relative;
  list-style-position: outside !important;
  padding: 8px 0 8px 25px;
}

.text-editor ul li::before {
  content: "◈";
  position: absolute;
  top: 6px;
  left: 0;
  font-size: 20px;
}

.text-editor ul li ul li::before {
  content: "◈" !important;
  position: absolute;
  top: 6px;
  left: 0;
  font-size: 20px;
}

/* text-editor  ol
========================================== */

.text-editor ol {
  counter-reset: myCounter;
  margin-left: 0;
  padding-left: 25px;
}

.text-editor ol li {
  position: relative;
  padding: 5px 12px;
  list-style: none;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.text-editor ol li:before {
  content: counter(myCounter);
  counter-increment: myCounter;
  position: absolute;
  top: 6px;
  left: -25px;
  width: 22px;
  height: 22px;
  padding: 1px;
  text-align: center;
  border-radius: 500px;
  border: 1px solid #fff;
  line-height: 1.5;
  font-size: 15px;
}








/* M-card-body-text ul li
========================================== */

.M-card-body-text ul {
  list-style-type: none !important;
  padding: 0px !important;
  margin: 0px !important;
}

.M-card-body-text ul li {
  position: relative;
  list-style-position: outside !important;
  padding: 8px 0 8px 25px;
}

.M-card-body-text ul li::before {
  content: "◈";
  position: absolute;
  top: 6px;
  left: 0;
  font-size: 20px;
}

.M-card-body-text ul li ul li::before {
  content: "◈" !important;

  position: absolute;
  top: 6px;
  left: 0;
  font-size: 18px;
}

/* M-card-body-text  ol
========================================== */

.M-card-body-text ol {
  counter-reset: myCounter;
  margin-left: 0;
  padding-left: 25px;
}

.M-card-body-text ol li {
  position: relative;
  padding: 5px 12px;
  list-style: none;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.M-card-body-text ol li:before {
  content: counter(myCounter);
  counter-increment: myCounter;
  position: absolute;
  top: 6px;
  left: -25px;
  width: 22px;
  height: 22px;
  padding: 1px;
  text-align: center;
  border-radius: 500px;
  border: 1px solid #fff;
  line-height: 1.5;
  font-size: 15px;
}

.text-editor .table-box {
  width: 100%;
  overflow-x: auto;
}

.text-editor table {
  width: 100%;
}

/* .text-editor table th,
.text-editor table td {
  padding: 5px 10px;
  border-width: 1px;
  border-color: rgba(0, 0, 0, 0.1);
  border-style: solid;
}

.text-editor table thead {
  background: var(--third-color);
}

.text-editor table thead th,
.text-editor table thead td {
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.text-editor table tr:nth-child(even) {
  background: #f8f8f8;
}

 */

.iframe-outbox {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.iframebox {
  --aspect-ratio: 16/9;
  /*  長寬比 1:1 3:2 4:3 16:9  */
  position: relative;
  height: 0;
  padding-bottom: calc(100% / (var(--aspect-ratio)));
  margin: 35px 0;
}

.iframebox iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  background-color: #ffffff;
  box-shadow: 0 2rem 3rem -1rem rgba(0, 0, 0, 0.3);
}

.img-box {
  text-align: center;
}

.img-box img {
  margin: 30px auto;
  max-width: 100%;
}

/*  sitemap-info
------------------------------------- */

.sitemap-info h2 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.sitemap-info h2:after {
  position: absolute;
  top: 51%;
  overflow: hidden;
  width: 100%;
  height: 1px;
  content: "";
  background-color: #333;
}

.sitemap-info .card-header {
  font-size: 22px;
  font-weight: 800;
}

/*  footer
------------------------------------- */

footer {
  padding: 0 20px;
  color: #fff;
}

footer a {
  color: #fff;
}

footer .logo {
  margin-top: 30px;
  text-align: center;
}

footer h2 {
  font-size: 20px;
  font-weight: 500;
}

@media screen and (min-width: 900px) {
  #L-footer-row {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-gap: 4vw;
    font-size: 13px;
    line-height: 1.4;
  }
}

.L-footer-col ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 5px 10px;
}

@media screen and (max-width: 1400px) and (min-width: 767px) {
  .L-footer-col ul {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media only screen and (max-width: 767px) {
  .L-footer-col ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
}



#L-footer-row .navigation-link {
  padding: 0px 0px !important;
}

#L-footer-row ul li.active a {
  color: var(--primary-color) !important;
}

#L-footer-row .link {
  padding: 20px;
}

#L-footer-row .navigation-link {
  border-bottom: solid 0px rgba(255, 255, 255, 0.05) !important;
}

@media screen and (max-width: 900px) {

  #L-footer-row .information {
    display: none;
  }

  #L-footer-row .link {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
  }

}

/*  backtotop
------------------------------------- */
#backtotop {
  position: fixed;
  right: 25px;
  bottom: 100px;
  opacity: 0;
  visibility: hidden;
  margin: 0;
  z-index: 999;
  transition: 0.35s;
}

#backtotop.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

#backtotop a {
  text-decoration: none;
  border: 0 none;
  display: block;
  width: 60px;
  height: 60px;
  background-color: var(--secondry-color);
  opacity: 1;
  transition: all 0.3s;
  border-radius: 50%;
  text-align: center;
  font-size: 25px;
}

body #backtotop a {
  color: #fff;
}

#backtotop a:after {
  content: "⇡";
  position: relative;
  display: block;
  top: 50%;
  -webkit-transform: translateY(-55%);
  transform: translateY(-55%);
}

@media (max-width: 767px) {
  #backtotop {
    right: 10px;
    bottom: 120px;
  }

  #backtotop a {
    width: 37px;
    height: 37px;
  }
}

/* 廣告 */
.floating-box {
  width: 125px;
  text-align: right;
  display: scroll;
  position: fixed;
  top: 20vw;
  left: 0px;
  z-index: 999;
  line-height: 0.7;
}

.floating-box-img img {
  width: 100%;
  border-radius: 5px 0 0 5px;
  border: 3px solid #fff;
  padding: 0 !important;
}

@media only screen and (max-width: 1600px) {
  .floating-box {
    top: 10vw;
    transform: scale(0.8);
    transform-origin: bottom right;
  }
}

@media only screen and (max-width: 1200px) {
  .floating-box {
    transform: scale(0.7);
  }
}

@media only screen and (max-width: 767px) {
  .floating-box {
    position: absolute;
    top: 0;
    transform: scale(0.5);
    transform-origin: bottom right;
  }
}

/*img-inline
========================================== */

.img-inline div {
  display: inline !important;
}

.img-inline .img-box img {
  margin: 0px auto;
  border-radius: 3px !important;
}

/*content-catalog
========================================== */

.catalog-btn {
  width: 33px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: fixed;
  top: 26vh;
  right: 0px;
  transition: all 0.5s ease;
  border-radius: 10px 0 0 10px;
  writing-mode: vertical-lr;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, .2);
  border-right: 0px;
  background-color: #352978;
  color: rgba(255, 255, 255, .85);

}



.catalog-btn-active {
  right: 199px;
}

.content-catalog {
  width: 200px;
  min-height: 250px;
  max-height: 55vh;
  position: fixed;
  top: 20vh;
  right: -200px;
  border-radius: 8px 0 0 8px;
  transition: all 0.5s ease;
  background-color: #352978;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  margin: 20px 0;
  padding: 10px 10px 10px 20px;
  box-shadow: 0 5rem 5rem rgba(0, 0, 0, 0.5);
  overflow-y: scroll;
  z-index: 9990;

}

.content-catalog-open {
  right: 0px;
}

.content-catalog a {
  color: #fff;
  text-decoration: none;
}

.content-catalog a:hover,
.content-catalog a:active {
  color: var(--primary-color) !important;

}

.content-catalog h2 {
  font-size: 14px;
  margin: 8px 0 !important;
  padding: 0;

}

.content-catalog h3 {
  font-size: 13px;
  padding: 5px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 !important;
}

.content-catalog::-webkit-scrollbar {
  width: 5px;
}

.content-catalog::-webkit-scrollbar-button {
  width: 5px;
  height: 5px;
}

.content-catalog::-webkit-scrollbar-track {
  border-radius: 10px;
}

.content-catalog::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.content-catalog::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media only screen and (max-width: 767px) {
  .catalog-btn {
    top: 170px;
  }

  .content-catalog {
    top: 100px;

  }
}











/*custom
========================================== */


body {
  background-color: var(--header-color);
  color: rgba(255, 255, 255, .85);
}


a {
  text-decoration: none;
  color: rgba(255, 255, 255, .9);
  transition: all 0.1s;
}

a:hover {
  color: var(--secondry-color);
}

h1,
h2,
h3,
h4 {
  font-weight: 500 !important;
}


header {
  background-color: var(--header-color);
  min-height: 60px;
}

.breadcrumb-item.active {
  color: var(--secondry-color) !important;
}

.navigation-logo a img {
  height: 75px !important;
  padding: 0px 20px !important;
  display: block;
}

.M-banner img {
  box-shadow: 2rem 8rem 9rem rgba(115, 74, 228, 0.5);
}

.M-card {
  background-color: var(--header-color);
  color: rgba(255, 255, 255, .85);
  border: 1px solid #473397;
  box-shadow: 0 9rem 10rem rgba(115, 74, 228, 0.3);
}



.M-card .M-banner {
  margin-top: 0px !important;
}

@media only screen and (max-width: 767px) {
  .M-card {
    border: 0px;
    padding: 15px !important;
    border-radius: 10px !important;
  }
}



.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  background-color: #070720;
  color: #fff;
  border-color: #070720 #070720 #fff;
}

.navigation-menu .active a {
  color: var(--primary-color) !important;
  border-bottom: 4px solid  var(--primary-color) !important;
}

.navigation-item:nth-last-child(1) .navigation-link {
  margin-top: 20px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 50px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 4s;
  background: linear-gradient(-45deg, rgba(255, 255, 255, 0) 57%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0) 63%);
  background-size: 500% 500%;
  animation: gradientBG 5s ease infinite;
}

.navigation-item:nth-last-child(1) .navigation-link:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

footer .navigation-item:nth-last-child(1) .navigation-link {
  margin: 2px 0% !important;
  background-color: var(--primary-color) !important;
  border: 0px;
}



@media only screen and (max-width: 979px) {
  .navigation-item:nth-last-child(1) .navigation-link {
    width: 80%;
    margin: 2px 10%;
    border: 0px;
    background: linear-gradient(-45deg, var(--primary-color) 57%, var(--primary-color) 60%, var(--primary-color) 63%);
  }

  footer .navigation-item:nth-last-child(1) .navigation-link {
    margin: 2px 0% !important;
  }

}




/*main
========================================== */

.main h1 {
  background-image: linear-gradient(111deg, #d5fff9, #7efceb 50%, #7efceb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


#L-main-row .left .M-card:nth-child(1) {
  background-image: linear-gradient(300deg, var(--header-color)50%, #4f3b97 100%) !important;
  color: #fff;

}

#L-main-row .left .M-card:nth-child(1) h3 {
  color: var(--secondry-color);
}


#L-main-row .left .M-card:nth-child(1) a {
  color: #fff;
}



.sort-title p {
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
  margin: 40px 0;
  font-weight: 700;
  font-size: 20px;
  color: var(--third-color);

}

.sort-title p:before,
.sort-title p:after {
  position: absolute;
  top: 45%;
  overflow: hidden;
  width: 50%;
  height: 8px;
  content: "";
  border-top: 3px dotted rgba(255, 255, 255, 0.6);

}

.sort-title p:before {
  margin-left: -50%;
  text-align: right;
}



table,
table a {
  color: #000 !important;
}




.text-editor h2 {
  color: var(--secondry-color);
  font-weight: 400;

}

.text-editor h3 {
  color: var(--third-color);
  font-weight: 400;

}




.text-editor .table-box {
  width: 100%;
  overflow-x: auto
}

.text-editor table {
  border-collapse: collapse;
  min-width: 100%;
  margin: 20px 0 !important;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  color: #162C2C;
}

.text-editor table p {
  margin: 1px !important
}

.text-editor table th,
.text-editor table td {
  padding: 5px 10px;
  border: 1px solid #90C6C4;
  line-height: 1.5 !important
}

.text-editor table thead {
  background: #90C6C4
}

.text-editor table th {
  background: #90C6C4 !important;
  font-weight: 400;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.text-editor table thead th {
  border-color: rgba(255, 255, 255, 0.3) !important;
}


.text-editor table thead tr:nth-child(1) {
  line-height: 1.2 !important;
}


.text-editor table tr:nth-child(odd) {
  background: #DBECEA
}

.text-editor table tr:nth-child(odd) th {
  background: #90C6C4 !important;
}

@media only screen and (max-width: 767px) {
  .text-editor table {
    font-size: 13px;
  }

  .text-editor table th,
  .text-editor table td {
    padding: 5px 5px;
  }

}

.text-editor table img {
  border-radius: 5px;
  max-width: 100%;
  margin: 5px 0 !important
}

.text-editor table ul li {
  padding: 2px 0 2px 25px !important
}

.text-editor table ul li {
  text-align: left !important
}

.text-editor table ul li::before {
  color: var(--fourth-color);
  top: 0 !important
}


.text-editor ol li:before {
  background-color: rgba(255, 255, 255, 0.2) !important;
}



footer .logo img {
  height: 75px;
}

#backtotop a {
  background-color: var(--primary-color) !important;
}