/******************************************

session-page & lab-page & speaker-page 

                內頁共用樣式

********************************************/

/*====================================================
# session-page 區塊樣式
==================================================== */

.ses-info {
  position: relative;
}

.ses-speaker {
  padding-bottom: 4em;
  padding-top: 0;
}

.ses-agenda {
  padding: 3em 1em 5em;
}

@media (max-width: 576px) {

  .ses-info,
  .ses-speaker {
    padding: 20px 15px;
  }
}

/*====================================================
# speaker-page 區塊樣式
==================================================== */
/* .spk-inner-kv {
  position: absolute;
  height: 200px;
} */

.spk-speaker {
  padding: 30px 20px 50px;
}

.spk-inner-top {
  position: relative;
  background-image: linear-gradient(20deg, rgba(0, 220, 255, 0.9) 0%, rgba(0, 220, 255, 0.5) 37%, rgba(0, 220, 255, 0.2) 100%), url(../img/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 3rem 2rem;
}

.spk-intro {
  color: #fff;
  text-shadow: 1px 1px 1px #212121;
}

.spk-intro h2 {
  font-weight: 700;
}

.spk-speaker .nav-pills {
  display: inline-flex;
  background-color: #efefef;
  border-radius: 25px;
}

.spk-speaker .nav-pills .nav-item {
  letter-spacing: 0.2rem;
  padding: 10px;
}

.spk-speaker .nav-pills .nav-link {
  padding: 6px 30px;
}

.spk-speaker .nav-pills .nav-link.active,
.spk-speaker .nav-pills .show>.nav-link {
  border-radius: 20px;
}

.spk-topimg {
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  background-color: #ffffff;
  max-width: 255px;
  display: block;
  margin: 0 auto;
}

.spk-speaker .spk-name {
  font-size: 28px;
  font-weight: 700;
  padding-top: 20px;
  color: #001432;
}

.spk-speaker .spk-title {
  color: var(--lightgray);
  line-height: 1.5;
  font-size: 16px;
}

.spk-info {
  font-size: 16px;
  line-height: 22px;
  color: #999999;
  margin-bottom: 10px;
}


.rated-card {
  background-color: #efefef;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 20px 0px 0px 0px;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.badge-list {
  text-align: center;
  border-top: 1px dashed #151313;
  padding: 2rem 0;
}

.badge-item {
  position: relative;
  display: inline-block;
  margin: 0 5px;
}

.badge-list .rage {
  width: 250px;
}

.badge-list .top {
  width: 55px;
}

.badge-list .top[data-tooltip]:before {
  margin-left: 0px;
  z-index: 99;
}

.spk-agenda {
  padding: 1em 0.5em 4em;
}


@media (max-width: 576px) {
  .info-icon {
    line-height: 3;
  }
}

/*====================================================
# ses-info
==================================================== */
.info-time {
  font-weight: 500;
  font-size: 20px;
}

.ses-info h4 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-colorC);
}

.info-txt h5 {
  font-size: 18px;
  font-weight: 600;
  padding: 16px;
  color: var(--dark-colorC);
  background-color: #eeeeee;
  border-radius: 6px;
}

.session-spimg {
  position: relative;
  overflow: visible;
  border-radius: 10px;
}

.session-spimg img {
  width: 100%;
  display: block;
}

.session-spimg .sp-top {
  right: 5px;
  width: 30px;
}

@media (max-width:576px) {
  .session-spimg .sp-top {
    width: 20px;
  }
}

.session-sp {
  padding-left: 20px;
}

.session-sp h6 {
  color: #001432;
  font-size: 16px;
  font-weight: 600;
}

.session-sp .name {
  font-size: 22px;
  font-weight: 600;
}

.session-sp .name,
.session-sp .companey,
.session-sp .title {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.session-sp .companey {
  font-size: 18px;
}

.session-sp .title {
  font-size: 16px;
}

.co-write {
  padding-top: 10px;
}

.co-write h6 {
  font-weight: 400;
  font-size: 14px;
  color: #999999;
}

.ses-info .session-btn {
  padding: 10px 25px;
  margin-right: 10px;
}

.stick {
  position: -webkit-sticky;
  position: sticky;
  top: 148px;
}

.info-area {
  border: 1px dashed #999;
  border-radius: 10px;
  padding: 20px;
}

.info-area p {
  font-size: 16px;
  line-height: 24px;
  color: #999999;
}

.info-area p span {
  color: #001432;
}

/* tip */
.tip {
  position: relative;
  display: inline-block;
}

.tip .tiptext {
  display: none;
  font-size: 14px;
  text-align: left;
  line-height: 18px;
  width: 280px;
  background-color: #333;
  color: #fff;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 0;
  padding: 6px;
  margin-left: -40px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tip .tiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 17%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
}

.tip:hover .tiptext {
  display: block;
  opacity: 1;
}



/*====================================================
# btn-briefing
==================================================== */
.btn-briefing {
  font-size: 15px;
  background-color: #ffffff;
  border: 2px solid #212121;
  transition: all 0.2s ease-in-out;
}

.link {
  background-color: var(--main-colorC);
}

.none {
  background-color: var(--lightgray);
  color: #ffffff;
  pointer-events: none;
  cursor: default;
}

.btn-cowriting {
  background-color: #fb6b30;
  border: 2px solid #212121;
  color: #ffffff;
  transition: all 0.2s ease-in-out;
}

.btn-briefing:hover,
.btn-cowriting:hover {
  transform: translateY(5px);
  background-color: var(--main-colorY);
}

/*====================================================
# pdf-area
==================================================== */
.pdf-area {
  padding-top: 1rem;
}

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

/*====================================================
# info-txt
==================================================== */
.info-txt {
  margin: 2rem 0;
  padding: 2rem 0;
  /* border-bottom: 1px dashed #151313; */
}

/*====================================================
# spinfo-card
==================================================== */
.spinfo-card {
  display: block;
  position: relative;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: all 0.5s ease;
  margin-bottom: 2rem;
  max-width: 250px;
}

.spinfo-card:hover {
  border: 2px solid var(--main-colorC);
  transform: translateY(-2px);
}

.spinfo-card .sp-top {
  right: 5%;
}

.spinfo-left {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background-color: #fff;
}

.spinfo-left img {
  width: 100%;
  display: block;
}

.spinfo-right {
  padding: 15px 20px 30px;
}

.spinfo-name {
  font-size: 20px;
  font-weight: 500;
}

.spinfo-title {
  font-size: 15px;
  line-height: 1.2;
  color: var(--lightgray);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.spinfo-card:hover .info-more {
  -webkit-transform: translate(-50%, 50%);
  -ms-transform: translate(-50%, 50%);
  transform: translate(-50%, 50%);
  opacity: 1;
}

.info-more {
  -webkit-transform: translate(-50%, 125%);
  -ms-transform: translate(-50%, 125%);
  transform: translate(-50%, 125%);
  border-radius: 25px;
  background-color: var(--main-colorC);
  color: #212121;
  padding: 8px 16px;
  display: inline-block;
  text-decoration: none;
  position: absolute;
  left: 50%;
  bottom: 0;
  opacity: 0;
  transition: 0.25s ease;
}



/*====================================================
# more-box
==================================================== */

.more-box {
  position: relative;
  border-radius: 15px;
  background-color: #fff;
  padding: 20px;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  min-height: 202px;
}

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

.more-box:hover {
  transform: translateY(-4px);
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.more-link {
  color: var(--sub-colorC);
}

.more-box:hover .more-link {
  color: var(--main-colorC);
}

.more-box-time {
  color: #333;
  padding-bottom: 6px;
}

.more-box-title {
  font-size: 18px;
  color: #0072c5;
  font-weight: 600;
  line-height: 22px;
  /* overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;  
  height: 42px; */
}

.more-box-name {
  padding-top: 8px;
  font-size: 16px;
  line-height: 20px;
  color: #999999;
}

.more-box-txt {
  margin-bottom: 6px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 28px;
  height: 84px;
}

.more-box p {
  font-size: 16px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .more-box {
    min-height: auto;
  }
}