/************ 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;
}

.title-deco {
  position: absolute;
  width: 50px;
  left: 210px;
  top: 30px;
}

.title-deco::before,
.title-deco-pd1::before,
.title-deco-pd2::before {
  content: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='a' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 25'%3E%3Cg%3E%3Ccircle cx='10' cy='12.5' r='5.5' fill='%232ed1f7'/%3E%3Cpath d='M10,7.5c2.76,0,5,2.24,5,5s-2.24,5-5,5-5-2.24-5-5,2.24-5,5-5m0-1c-3.31,0-6,2.69-6,6s2.69,6,6,6,6-2.69,6-6-2.69-6-6-6h0Z' fill='%23212121'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='30' cy='12.5' r='5.5' fill='%23f249db'/%3E%3Cpath d='M30,7.5c2.76,0,5,2.24,5,5s-2.24,5-5,5-5-2.24-5-5,2.24-5,5-5m0-1c-3.31,0-6,2.69-6,6s2.69,6,6,6,6-2.69,6-6-2.69-6-6-6h0Z' fill='%23212121'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='50' cy='12.5' r='5.5' fill='%23ffd803'/%3E%3Cpath d='M50,7.5c2.76,0,5,2.24,5,5s-2.24,5-5,5-5-2.24-5-5,2.24-5,5-5m0-1c-3.31,0-6,2.69-6,6s2.69,6,6,6,6-2.69,6-6-2.69-6-6-6h0Z' fill='%23212121'/%3E%3C/g%3E%3C/svg%3E");
  width: 50px;
  height: 12px;
}

.title-deco-pd1,
.title-deco-pd2 {
  position: absolute;
  width: 50px;
}

.title-deco-pd1 {
  left: 0;
}

.title-deco-pd2 {
  right: 0;
  top: 30px;
}

/*====================================================
# btn-all
==================================================== */
.btn-all {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.3rem;
  transition: all 0.2s linear;
  background: #fff;
  border: 2px solid #212121;
  border-radius: 25px;
  font-size: 1.1em;
  padding: 4px;
}

a.btn-all {
  text-decoration: none;
  color: #333333;
  margin: 2rem 0;
}

.btn-all>i {
  color: var(--main-colorC);
  margin-right: 5px;
  margin-left: 5px;
  font-size: 20px;
  transition: all 0.4s ease-in;
}

.btn-all:hover>i {
  transform: translateX(10px);
  color: #ff006c;
}

.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);
  color: #ff006c;
}

/*====================================================
# 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: 13px;
  transition: all 0.3s;
  border: 2px solid #212121;
  padding: 3px 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;
  height: 12rem;
  background-color: #efefef;
  /* overflow: hidden; */
  margin-bottom: 2rem;
  box-shadow: rgb(0 0 0 / 10%) 0px 4px 12px;
}

.forum-content {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
}

.forum-card a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.forum-card-title {
  font-size: 18px;
  padding: 1.2rem 2.5rem 1rem;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.6);
}

.forum-card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.forum-card-overlay {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  transition: transform 0.3s;
  transform: translateY(66%);
}

.forum-card-body {
  position: relative;
  flex-grow: 1;
  padding: 0 2.5rem 1rem;
  transition: opacity 0.2s;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
}

/* .forum-card-body::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-colorY);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: absolute;
  right: 10%;
  bottom: 15%;
} */

.forum-card a:hover~.forum-card-overlay,
.forum-card a:focus~.forum-card-overlay {
  transform: translateY(0%);
}

.forum-card a:hover~.forum-card-overlay .forum-card-body,
.forum-card a:focus~.forum-card-overlay .forum-card-body {
  opacity: 1;
}

.forum-card .forum-card-tag {
  transition: 0.3s ease-in-out;
}

.forum-card:hover .forum-card-tag {
  opacity: 0;
}

@media (max-width: 540px) {
  .forum-card {
    position: relative;
    color: #ffffff;
    height: 10rem;
    background-color: #efefef;
    margin-bottom: 2rem;
    box-shadow: #212121 0px 1px 2px, #212121 0px 0px 0px 2px;
  }

  .forum-card-title {
    position: absolute;
    top: -23%;
    padding: 0.8rem;
    width: 100%;
    height: 100%;
  }
}

/*====================================================
# forum-card-tag
==================================================== */
.forum-card-tag {
  position: absolute;
  color: #ffffff;
  padding: 0 20px;
  top: 15px;
  z-index: 5;
  left: -10px;
  box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
  font-size: 14px;
  box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

/* ----------四種顏色區分------------ */
.topic-tag {
  background-color: var(--sub-colorC);
}

.brand-tag {
  background-color: var(--sub-colorY);
}

.only-tag {
  background-color: var(--main-colorM);
}

.keynote-tag {
  color: #333333;
  background-color: var(--main-colorY);
}

/*====================================================
# link-card
==================================================== */
.link-card {
  position: relative;
  display: block;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  /* box-shadow: #212121 0px 1px 2px, #212121 0px 0px 0px 2px; */
}

.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-colorY);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: absolute;
  bottom: 8%;
  right: 10%;
}

.link-card-details p {
  color: #ffffff;
  font-size: 20px;
}

.fadeIn-left {
  left: 20%;
}

/*====================================================
# sp-card
==================================================== */
.sp-card-area {
  padding: 20px;
  position: relative;
}

.sp-card {
  width: 90%;
  margin: auto;
}

.sp-info {
  padding: 10px 10px 20px;
  text-align: center;
}

.sp-info:hover .sp-name,
.sp-info:hover .sp-title,
.sp-info:hover .sp-title .from {
  color: #2199ff;
  text-decoration: none;
}

.sp-name {
  color: var(--sub-colorC);
  font-weight: 600;
  font-size: 20px;
}

.sp-title {
  color: #666666;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.4;
  font-size: 15px;
}

.sp-title .from {
  color: var(--darkgray);
}

/* ====================================================
# badge-key 
==================================================== */

.badge-key {
  position: absolute;
  top: calc(100% - 185px);
  left: 0;
  font-size: 14px;
  padding: 0px 8px;
  color: #000000;
  /* border: 2px solid #212121; */
  background-color: #ffee60;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* ====================================================
# 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;
  /* border-top: 3px solid #212121;
  border-bottom: 3px solid #212121; */
  height: 600px;
  display: flex;
  align-items: center;
}

.signup-area-title {
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: -1px -1px 0 #212121, 0 -1px 0 #212121, 1px -1px 0 #212121,
    1px 0 0 #212121, 1px 1px 0 #212121, 0 1px 0 #212121, -1px 1px 0 #212121,
    -1px 0 0 #212121;
}

.signup-area-info {
  font-size: 2rem;
  line-height: 2;
}

.signup-area-info span {
  font-size: 1.2rem;
}

.btn-signup {
  letter-spacing: 0.25rem;
  font-size: 20px;
  border-radius: 20px;
  background-color: #ffd803;
  box-shadow: #dbb602 0px 4px 0 0;
  transition: 0.3s;
}

.btn-signup:hover {
  background-color: #dbb602;
  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 {
  text-align: center;
  color: #585c69;
  font-size: 20px;
  border-radius: 25px;
  line-height: 2.5;
  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;
}

.border-icon {
  display: inline-block;
  color: #212121;
  border: 2px solid #212121;
  border-radius: 50%;
  line-height: 40px;
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  transition: 0.2s;
}

.border-icon:hover {
  color: #ffff;
  border-color: #25b7d3;
  background-color: #25b7d3;
}

/*====================================================
# pd-card 參展產品
==================================================== */
.pd-card {
  display: flex;
  position: relative;
  align-items: center;
  margin: 15px 30px;
  transition: 0.5s ease;
  min-height: 180px;
}

.pd-card:hover {
  transform: translateY(2px);
}

.pdcard-left {
  position: absolute;
  overflow: hidden;
  width: 150px;
  left: -50px;
  box-shadow: rgb(0 0 0 / 10%) 0px 4px 12px;
  border: 1px solid #efefef;
  background-color: #ffffff;
  height: 150px;
}

.pdcard-left img {
  width: 100%;
}

.pdcard-right {
  border: 2px solid #dddddd;
  padding: 15px 20px 15px 140px;
  background-color: #ffffff;
  width: 480px;
  min-height: 120px;
}

.pdcard-title {
  font-size: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdcard-txt {
  color: #000;
  font-size: 16px;
  padding-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdcard-from {
  color: var(--lightgray);
}

@media (max-width: 576px) {
  .pd-card {
    display: block;
    margin: 15px 0;
  }

  .pdcard-left {
    position: relative;
    left: 27%;
    bottom: -20px;
  }

  .pdcard-right {
    padding: 30px 20px 15px;
    width: 100%;
    min-height: auto;
  }

  .pdcard-txt {
    display: none;
  }
}

/*====================================================
# ee-card
==================================================== */
.ee-card {
  width: 100%;
  margin: 15px auto;
}

/*====================================================
# 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%;
}

/*.logo-card-details {
  position: absolute;
  text-align: center;
  padding-left: 1.2em;
  padding-right: 1.2em;
  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;
}*/

/*.logo-card:hover .logo-card-details {
  top: 50%;
  left: 50%;
  opacity: 1;
}
*/
/*
.logo-card-overlay::after {
  font-family: 'bootstrap-icons';
  content: "\F285";
  font-size: 12px;
  font-weight: 600;
  line-height: 2;
  text-align: center;
  color: #333333;
  background-color: var(--main-colorY);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  position: absolute;
  bottom: 8%;
  right: 10%;
}*/

/*.logo-card-details p {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
}*/

/* ====================================================
# 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;
  }
}