/************ search # + class name ************/

/*====================================================
# rwd
==================================================== */

@media (max-width: 576px) {
  .mobile-noshow {
    display: none;
  }
}

/*====================================================
# title-area
==================================================== */
.title-area {
  padding: 30px 40px;
  position: relative;
}

.ex-maintitle {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 3px;
  line-height: 1;
  color: #212121;
  position: relative;
}

.ex-maintitle.en {
  font-size: 24px;
  letter-spacing: 0px;
}

.ex-subtitle {
  font-style: italic;
  font-size: 18px;
  color: #999999;
}

/*====================================================
# btn-all
==================================================== */
.btn-all {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2rem;
  transition: all 0.2s linear;
  border: 2px solid var(--sub-colorC);
  border-radius: 25px;
  font-size: 16px;
}

a.btn-all {
  text-decoration: none;
  color: #333333;
  margin: 2rem 0;
  color: var(--sub-colorC);
}

.btn-all>i {
  margin-right: 5px;
  margin-left: 5px;
  font-size: 20px;
  transition: all 0.4s ease-in;
}

.btn-all:hover>i {
  transform: translateX(10px);
}

.btn-all:hover {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  transform: translateY(-2px);
  background-color: #fff;
}

/*====================================================
# btn-back
==================================================== */
a.btn-back {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2rem;
  transition: all 0.2s linear;
  border-radius: 10px;
  text-decoration: none;
  color: #212121;
}

a.btn-back:hover {
  padding-right: 10px;
  color: var(--main-colorC);
}

.btn-back::before {
  font-family: "bootstrap-icons";
  content: "\F129";
  font-size: 30px;
  padding-right: 6px;
  color: var(--main-colorC);
}

/*====================================================
# btn-return
==================================================== */

.btn-return {
  position: absolute;
  top: 50px;
  border: 3px solid #212121;
  color: #212121;
  display: block;
  padding: 3px 20px;
  border-radius: 20px;
  font-size: 22px;
  transition: all 0.3s ease;
}

.btn-return:hover {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .btn-return {
    display: none;
    font-size: 16px;
    left: 5px;
    padding: 5px 10px;
  }
}

/*====================================================
# btn-side
==================================================== */

a.btn-side {
  background-color: var(--main-colorC);
  color: #fff;
  position: fixed;
  bottom: 15%;
  right: 6px;
  font-size: 18px;
  writing-mode: vertical-lr;
  padding: 20px 10px;
  z-index: 10;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  text-decoration: none;
  transition: all 0.3s;
}

a.btn-side:hover {
  color: #212121;
  background-color: #ffe500;
}

/*====================================================
# search-bar
==================================================== */
.search-input:placeholder {
  color: var(--lightgray);
  opacity: 0.6;
}

.search-bar {
  border-radius: 20px;
  background-color: #ffffff;
  padding-right: 12px;
  height: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: #333333;
  /*  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;*/
  overflow: hidden;
  border: 2px #000000 solid;
}

.search-input {
  border: none;
  flex: 1;
  outline: none;
  height: 100%;
  padding: 0 20px;
  font-size: 16px;
  background-color: #ffffff;
  color: #333333;
}

/*====================================================
# share-btn
==================================================== */
.share-dropdown {
  position: relative;
  display: inline-block;
}

.share-btn {
  font-size: 14px;
  transition: all 0.3s;
  border: 2px solid #212121;
  padding: 5px 10px;
  border-radius: 20px;
}

.share-btn:hover,
.share-btn:focus {
  background-color: var(--main-colorC);
}

.dropdown-list-container {
  min-width: 120px;
  display: none;
  position: absolute;
  background-color: var(--main-colorC);
  border-radius: 10px;
  opacity: 0.9;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border: 2px solid #212121;
  overflow: hidden;
}

.dropdown-list-container a {
  font-size: 14px;
  padding: 12px 16px;
  text-decoration: none;
  color: black;
  display: block;
  text-align: left;
}

.dropdown-list-container a:hover {
  color: #333333;
  background-color: #f6f6f6;
}

.show {
  display: block;
}

/*====================================================
# theme-card
==================================================== */
.theme-card {
  border-radius: 10px;
  margin-bottom: 2rem;
}

.c-img {
  overflow: hidden;
  max-height: 250px;
}

.c-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.theme-card-title {
  color: var(--sub-colorC);
  font-size: 20px;
  font-weight: 600;
}

.theme-card-text {
  line-height: 1.6;
}

/*====================================================
# info-box
==================================================== */

.info-box {
  position: relative;
  height: 19rem;
  color: #ffffff;
  background-color: #efefef;
  overflow-y: hidden;
  box-shadow: 0.1rem 0.1rem 1rem rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.info-box a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.info-box-title {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0;
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  transform: translateY(-160%);
  transition: transform 0.3s;
}

.info-box-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.info-box-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 200%;
  position: absolute;
  width: 100%;
  top: 0;
  transition: transform 0.3s;
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(60%);
}

.info-box-body {
  position: relative;
  flex-grow: 1;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.5s 0.1s;
}

.info-box-body::after {
  font-family: "bootstrap-icons";
  content: "\F285";
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
  text-align: center;
  color: #333333;
  position: absolute;
  right: 10%;
  top: 40%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--main-colorY);
}

.info-box-body .subtitle {
  font-size: 24px;
  line-height: 1.2;
  padding-bottom: 15px;
}

.info-box a:hover~.info-box-overlay,
.info-box a:focus~.info-box-overlay {
  transform: translateY(-10%);
}

.info-box a:hover~.info-box-overlay .info-box-title,
.info-box a:focus~.info-box-overlay .info-box-title {
  transform: translateY(0);
  opacity: 0;
}

.info-box a:hover~.info-box-overlay .info-box-body,
.info-box a:focus~.info-box-overlay .info-box-body {
  opacity: 1;
}

/*====================================================
# forum-card
==================================================== */
.forum-card {
  position: relative;
  color: #ffffff;
  text-align: left;
  background-color: #212121;
  font-size: 16px;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.forum-card * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}

.forum-card img {
  position: relative;
  max-width: 100%;
  vertical-align: top;
}

.forum-card figcaption {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  padding: 20px;
}

.forum-card .info {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* Multi-line settings */
  -webkit-line-clamp: 3;
  height: 60px;
  line-height: 20px;
}

.forum-card p {
  font-size: 14px;
  margin: 0 0 15px;
}

.forum-card a {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
}

.forum-card-more {
  position: absolute;
  bottom: 20px;
  right: 1.5rem;
  font-size: 14px;
  color: var(--main-colorC);
}

.forum-card:hover img,
.forum-card.hover img {
  opacity: 0.4;
}

.forum-card:hover figcaption,
.forum-card.hover figcaption {
  opacity: 1;
}

.forum-card-title {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* Multi-line settings */
  -webkit-line-clamp: 2;
  height: 40px;
  line-height: 20px;
}

.forum-card-title a {
  color: var(--dark-colorC);
  transition: 0.3s;
}

.forum-card-title a:hover {
  color: var(--sub-colorC);
}


/*====================================================
# link-card
==================================================== */
.link-card {
  position: relative;
  display: block;
  overflow: visible;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.link-card .link-card-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.link-card:hover .link-card-overlay {
  opacity: 1;
}

.link-card-image {
  width: 100%;
}

.link-card-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.link-card:hover .link-card-details {
  top: 50%;
  left: 50%;
  opacity: 1;
}

.link-card-overlay::after {
  font-family: "bootstrap-icons";
  content: "\F285";
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
  text-align: center;
  color: #333333;
  background-color: var(--main-colorC);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: absolute;
  bottom: 8%;
  right: 10%;
}


.link-card-details p {
  color: #ffffff;
  font-size: 18px;
}

.fadeIn-left {
  left: 20%;
}

/*====================================================
# sp-card
==================================================== */
.sp-card-area {
  padding: 20px;
  position: relative;
}

.sp-wrapper {
  position: relative;
}

.sp-card {
  position: relative;
  width: 100%;
  margin: auto;
  border-radius: 12px;
}

.sp-top {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  z-index: 10;
}

.sp-top img {
  width: 50px;
}

.sp-info {
  padding: 10px 10px 20px;
}

.sp-info:hover .sp-name,
.sp-info:hover .sp-form,
.sp-info:hover .sp-title {
  color: #2199ff;
  text-decoration: none;
}

.sp-name {
  color: var(--sub-colorC);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: 48px;
  line-height: 24px;
}

.sp-form,
.sp-title {
  font-size: 15px;
  color: #666666;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  max-height: 24px;
  line-height: 24px;
}


/* Hide the tooltip content by default */
[data-tooltip]:before {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
  position: absolute;
  bottom: -50%;
  left: 0%;
  margin-bottom: 5px;
  margin-left: -50px;
  padding: 7px;
  width: 200px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}


/* Show tooltip content on hover */
[data-tooltip]:hover:before {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}

/* ====================================================
# badge-key 
==================================================== */

.badge-key {
  position: absolute;
  top: 15px;
  left: 10%;
  font-size: 14px;
  padding: 0px 8px;
  color: #fff;
  background-color: #C13724;
  border-radius: 0 10px 10px 0;
}

/* ====================================================
# te-area  
==================================================== */
.te-area {
  margin: 15px 0;
}

.te-cover {
  border: 1px solid #212121;
}

.te-tag {
  padding-bottom: 10px;
}

.te-tag span {
  /*  background-color: #1068ac;*/
  font-size: 15px;
  padding: 3px 8px;
  color: #388e77;
  border: 1px #388e77 solid;
}

.te-title {
  font-size: 22px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.te-info {
  padding-top: 10px;
}

.te-info span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 576px) {
  .te-info {
    display: none;
  }

  .te-title {
    font-size: 18px;
    line-height: 1.5;
    overflow: visible;
  }
}

/*====================================================
# signup-area
==================================================== */
.signup-area {
  background-size: cover;
  background: linear-gradient(to bottom,
      rgba(41, 48, 69, 0.1) 0%,
      rgba(41, 48, 69, 0.2) 0%,
      rgba(0, 0, 0, 0.65) 100%),
    url(../img/bg-inner.jpg) no-repeat center center;
  background-attachment: fixed;
  height: 495px;
  display: flex;
  align-items: center;
}

.signup-area-title {
  text-align: center;
  color: #ffffff;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.signup-area-info {
  font-size: 2rem;
  line-height: 2;
  font-weight: 400;
}

.signup-area-info span {
  font-size: 1.2rem;
}

.btn-signup {
  letter-spacing: 0.25rem;
  font-size: 20px;
  border-radius: 20px;
  background-color: var(--main-colorC);
  box-shadow: #dbbf1d 0px 4px 0 0;
  transition: 0.3s;
}

.btn-signup:hover {
  background-color: #c4aa1a;
  transform: translate(0px, 2px);
}

@media (max-width: 576px) {
  .signup-area {
    background-attachment: initial;
  }

  .signup-area-title {
    font-size: 2rem;
  }

  .signup-area-info {
    font-size: 1.5rem;
  }
}

.btn-signupX {
  color: #585c69;
  letter-spacing: 0.25rem;
  font-size: 20px;
  border-radius: 20px;
  background-color: #9aafaf;
  box-shadow: #585c69 0px 4px 0 0;
}

/*====================================================
# listcard
==================================================== */
.listcard {
  position: relative;
  border: 1px solid;
  padding: 15px 10px 10px;
  border-radius: 10px;
  margin: 15px 0;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

.listcard-tag {
  display: inline;
  color: #ffffff;
  border-radius: 10px;
  position: absolute;
  top: -15px;
  padding: 0 10px;
  line-height: 1.5;
}

.listcard-info {
  font-style: italic;
  color: var(--lightgray);
}

.listcard-txt {
  color: #333333;
}

/* --------顏色區分--------- */

.list-ses {
  color: var(--color-ses);
}

.ses-tag {
  background-color: var(--color-ses);
}

.list-key {
  color: var(--color-key);
}

.key-tag {
  background-color: var(--color-key);
}

.list-tec {
  color: var(--color-tec);
}

.tec-tag {
  background-color: var(--color-tec);
}

.list-eve {
  color: var(--color-eve);
}

.eve-tag {
  background-color: var(--color-eve);
}

.list-lab {
  color: var(--color-lab);
}

.lab-tag {
  background-color: var(--color-lab);
}

/*====================================================
# info-icon
==================================================== */
.info-icon {
  padding: 15px 0;
  display: inline-flex;
  align-items: center;
}

.border-icon {
  display: block;
  color: #001432;
  border: 2px solid #001432;
  border-radius: 50%;
  line-height: 40px;
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  transition: 0.2s;
  margin: 0 3px;
}

.border-icon:hover {
  color: #ffff;
  border-color: #25b7d3;
  background-color: #25b7d3;
}

/*====================================================
# pd-card 參展產品
==================================================== */
.pd-card {
  border-radius: 10px;
  transition: 0.2s;
  overflow: hidden;
}

.pd-card:hover {
  transform: translateY(2px);
}

.pd-card-info h6 {
  font-weight: 400;
  padding-top: 6px;
}


.pd-card-info .txt {
  color: #212121;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  height: 54px;
  line-height: 18px;
}

/*====================================================
# ee-card
==================================================== */
.ee-card {
  width: 100%;
  margin: 15px auto;
  border-radius: 10px;
  overflow: hidden;
}

/*====================================================
# logo-card
==================================================== */
.logo-card {
  position: relative;
  display: block;
  max-width: 250px;
  overflow: hidden;
  /*  border: 1px #000 solid;*/
  margin: 1em 0;
}

.logo-card .logo-card-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.logo-card:hover .logo-card-overlay {
  opacity: 1;
}

.logo-card-image {
  width: 100%;
}

/* ====================================================
# Tooltips
==================================================== */

[tooltip] {
  position: relative;
}

[tooltip]::before,
[tooltip]::after {
  text-transform: none;
  font-size: 0.9em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  position: absolute;
  display: none;
  opacity: 0;
}

[tooltip]::before {
  content: "";
  border: 5px solid transparent;
  z-index: 1001;
}

[tooltip]::after {
  content: attr(tooltip);
  font-family: "Segoe UI", Arial, sans-serif;
  text-align: center;
  min-width: 8em;
  max-width: 16em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.5em 1em;
  border-radius: 20px;
  /*  box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);*/
  background: #020204;
  color: #fff;
  z-index: 1000;
}

[tooltip]:hover::before,
[tooltip]:hover::after {
  display: block;
}

[tooltip=""]::before,
[tooltip=""]::after {
  display: none !important;
}

[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
  bottom: 100%;
  border-bottom-width: 0;
  border-top-color: #111;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
  bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
  left: 50%;
  transform: translate(-50%, -0.5em);
}

[tooltip]:not([flow])::before,
[tooltip][flow^="up-left"]::before {
  bottom: 100%;
  border-bottom-width: 0;
  border-top-color: #111;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up-left"]::after {
  bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip][flow^="up-left"]::before {
  left: 25%;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up-left"]::after {
  left: 50%;
}

[tooltip]:not([flow])::before,
[tooltip][flow^="up-right"]::before {
  bottom: 100%;
  border-bottom-width: 0;
  border-top-color: #111;
  display: none;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up-right"]::after {
  bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip][flow^="up-right"]::before {
  left: 75%;
  transform: translate(-50%, -0.5em);
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up-right"]::after {
  left: 50%;
  transform: translate(-50%, -0.5em);
}

[tooltip][flow^="down"]::before {
  top: 100%;
  border-top-width: 0;
  border-bottom-color: #020204;
}

[tooltip][flow^="down"]::after {
  top: calc(100% + 5px);
}

[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
  left: 50%;
  transform: translate(-50%, 0.5em);
}

[tooltip][flow^="down-left"]::before {
  top: 100%;
  border-top-width: 0;
  border-bottom-color: #020204;
}

[tooltip][flow^="down-left"]::after {
  top: calc(100% + 5px);
}

[tooltip][flow^="down-left"]::before {
  left: 30%;
}

[tooltip][flow^="down-left"]::after {
  left: 50%;
}

[tooltip][flow^="down-right"]::before {
  top: 100%;
  border-top-width: 0;
  border-bottom-color: #020204;
}

[tooltip][flow^="down-right"]::after {
  top: calc(100% + 5px);
}

[tooltip][flow^="down-right"]::before {
  left: 70%;
  transform: translate(-85%, 0.5em);
}

[tooltip][flow^="down-right"]::after {
  left: 50%;
  transform: translate(-50%, 0.5em);
}

[tooltip][flow^="left"]::before {
  top: 50%;
  border-right-width: 0;
  border-left-color: #020204;
  left: calc(0em - 5px);
  transform: translate(-0.5em, -50%);
}

[tooltip][flow^="left"]::after {
  top: 50%;
  right: calc(100% + 5px);
  transform: translate(-0.5em, -50%);
}

[tooltip][flow^="right"]::before {
  top: 50%;
  border-left-width: 0;
  border-right-color: #020204;
  right: calc(0em - 5px);
  transform: translate(0.5em, -50%);
}

[tooltip][flow^="right"]::after {
  top: 50%;
  left: calc(100% + 5px);
  transform: translate(0.5em, -50%);
}

[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="up-left"]:hover::before,
[tooltip][flow^="up-left"]:hover::after,
[tooltip][flow^="up-right"]:hover::before,
[tooltip][flow^="up-right"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after,
[tooltip][flow^="down-left"]:hover::before,
[tooltip][flow^="down-left"]:hover::after,
[tooltip][flow^="down-right"]:hover::before,
[tooltip][flow^="down-right"]:hover::after {
  animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
  animation: tooltips-horz 300ms ease-out forwards;
}

@-moz-keyframes tooltips-vert {
  to {
    opacity: 0.9;
    transform: translate(-50%, 0);
  }
}

@-webkit-keyframes tooltips-vert {
  to {
    opacity: 0.9;
    transform: translate(-50%, 0);
  }
}

@-o-keyframes tooltips-vert {
  to {
    opacity: 0.9;
    transform: translate(-50%, 0);
  }
}

@keyframes tooltips-vert {
  to {
    opacity: 0.9;
    transform: translate(-50%, 0);
  }
}

@-moz-keyframes tooltips-horz {
  to {
    opacity: 0.9;
    transform: translate(0, -50%);
  }
}

@-webkit-keyframes tooltips-horz {
  to {
    opacity: 0.9;
    transform: translate(0, -50%);
  }
}

@-o-keyframes tooltips-horz {
  to {
    opacity: 0.9;
    transform: translate(0, -50%);
  }
}

@keyframes tooltips-horz {
  to {
    opacity: 0.9;
    transform: translate(0, -50%);
  }
}

/*====================================================
# sub-nav
==================================================== */

.sub-nav {
  background-color: var(--subnav-color);
  border-top: 2px solid var(--main-black);
  border-bottom: 2px solid var(--main-black);
  font-size: 18px;
  letter-spacing: 0.2rem;
  top: 70px;
  z-index: 10;
}

.sub-nav .nav-item {
  position: relative;
}

.sub-nav .nav-item::before {
  content: "|";
  position: absolute;
  top: 15px;
}

.sub-nav .nav-item:first-child:before {
  content: "";
  display: none;
}

.sub-nav .nav-item:hover:after {
  display: block;
}

.sub-nav a {
  transition: all 0.2s ease;
  color: var(--main-black);
  padding: 15px 20px;
}

.sub-nav a:hover,
.sub-nav a.active {
  color: var(--color-key);
  text-shadow: 1px 2px 1px rgb(255 255 255 / 60%);
  font-weight: 500;
}

.sub-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: -5px;
  display: block;
  width: 50px;
  height: 5px;
  background-color: var(--color-key);
}

@media (max-width: 1200px) {
  .sub-nav {
    top: 45px;
  }
}

/*====================================================
# exhibition-directory 品牌樣式
==================================================== */

.exd-card {
  position: relative;
  transition: all 0.2s;
  margin-bottom: 25px;
}

.exd-card:hover {
  transform: translateY(-4px);
}

.exd-card a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


.exd-card img {
  display: block;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.exd-card:hover img {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.exd-card h5 {
  font-size: 18px;
  min-height: 45px;
}

.exd-card h6 {
  font-weight: 400;
  color: #999999;
}


/*====================================================
# session-item 
==================================================== */
.session-item {
  width: 100%;
  padding: 20px;
  background-color: #ffffff;
  margin: 25px 0;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.se-left {
  padding-right: 25px;
}

.se-right {
  padding-left: 25px;
  border-left: 2px solid #efefef;
}

.session-time {
  word-spacing: 3px;
}

.session-item-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 8px;
}

.session-item-txt p {
  font-size: 16px;
  margin: 0;
}

.session-item-txt .collapse:not(.show) {
  height: 82px !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.session-item-txt .collapsing {
  min-height: 82px !important;
}

.session-item-txt a.collapsed:after {
  content: '顯示更多';
}

.session-item-txt a:not(.collapsed):after {
  content: '顯示更少';
}

.session-item-txt a:not(.collapsed) i {
  transform: rotate(180deg);
  display: inline-block;
}

.session-item-txt .six-line-clamp {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}


.session-item .spkers-group {
  margin: 12px;
  color: #666666;
}

.spkers-group .sp-desc {
  color: #787878;
  font-size: 16px;
}

.spkers-group .sp-desc::before {
  content: "/";
  padding: 0px 5px;
}

.session-img {
  width: 50px;
  border-radius: 50%;
  border: 1px solid #dfdfdf;
  margin-right: 6px;
}

.session-info {
  color: #999999;
  font-size: 15px;
}

.session-info li {
  padding-bottom: 10px;
}

.session-info li span {
  color: #001432;
}

.session-btn {
  font-size: 16px;
  border: 1px solid #0072C5;
  padding: 3px 10px;
  border-radius: 20px;
  transition: all 0.2s;
}

.session-btn:hover {
  color: #fff;
  background-color: #0072C5;
}

.sp-badge {
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  padding: 0 8px;
  margin-left: 5px;
  color: #FF624B;
  background-color: #f8f5f2;
}

@media (max-width: 576px) {
  .spkers-group .sp-desc::before {
    display: none;
  }

  .spkers-group .sp-desc {
    padding-left: 60px;
    line-height: 1.6;
  }

  .session-item .spkers-group {
    background-color: transparent;
  }

  .se-left {
    padding: 10px;
  }

  .se-right {
    border: 0;
  }

  .session-item {
    padding: 15px;
    margin: 20px auto;
  }

}

/*====================================================
# resource-box
==================================================== */

.resource-box {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  margin-bottom: 20px;
  transition: all 0.2s;
}

.resource-box:hover {
  box-shadow: rgba(0, 114, 197, 0.3) 0px 0px 0px 2px;
}

.resource-box h5 {
  font-size: 18px;
}

.ellipsis-multiple {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* Multi-line settings */
  -webkit-line-clamp: 3;
  height: 66px;
  line-height: 22px;
}

/*====================================================
#  論壇列表、內頁新增浮動按鈕 v20250220
==================================================== */

.join-banner {
  position: fixed;
  right: 0;
  bottom: 80px;
  border-radius: 10px;
  z-index: 1000;
  animation: up-down 3s infinite;
}

.join-banner img {
  width: 300px;
}

.join-banner img:hover {
  filter: brightness(120%);
}

.join-banner-m {
  position: fixed;
  bottom: 0;
  text-align: center;
  display: block;
  width: 100%;
  padding: 15px;
  transition: all 0.3s;
  color: #fff;
  background: linear-gradient(60deg, #29ABE2 0%, #00DCFF 100%);
  z-index: 1000;
}

.join-banner-m h4 {
  font-size: 20px;
  font-weight: 600;
}

.join-banner-m p {
  font-size: 18px;
  line-height: 20px;
  margin-bottom: 0;
}

.join-banner-m:hover {
  background: linear-gradient(-60deg, #29ABE2 0%, #00DCFF 100%);
}

/*====================================================
# .forum-list-card /主題論壇總覽頁2025new
==================================================== */
.forum-list-card {
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.forum-list-card:hover {
  color: #008dff;
  transform: translateY(-5px);
}

.forum-list-card a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.forum-list-card img {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border: 1px solid #efefef;
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
  margin-bottom: 15px;
}

.forum-list-card p {
  font-size: 17px;
  line-height: 28px;
  margin-bottom: 0;
}

.forum-list-card .ellipsis-multiple {
  height: 84px;
}