.tab-level,
.tab-level:hover {
  color: #313131;
}

.tab-level.active {
  color: var(--sb-tab-text) !important;
}

#carousel-banner .carousel-indicators {
  margin-bottom: 0.4rem;
}

#carousel-banner > .carousel-inner .carousel-item {
  width: 100%;
  height: 520px;
  height: 690px;
}

#carousel-banner > .carousel-inner .carousel-item .img-box {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.carousel-item .carousel-indicators {
  height: 150px;
}

@media (max-width: 991px) {
  #carousel-banner > .carousel-inner .carousel-item {
    height: 380px;
    height: 500px;
  }
  .carousel-item .carousel-indicators {
    height: 100px;
    font-size: 0.7em;
  }
}
@media (max-width: 767px) {
  #carousel-banner > .carousel-inner .carousel-item {
    height: 200px;
    height: 260px;
  }
  .carousel-item .carousel-indicators {
    height: 50px;
    font-size: 0.4em;
  }
}
@media (max-width: 480px) {
  #carousel-banner > .carousel-inner .carousel-item {
    height: 180px;
    height: 230px;
  }
  .carousel-pn {
    font-size: 1.5rem;
  }
}

@media (width < 768px) {
  #carousel-banner .carousel-indicators {
    margin-bottom: 0.2rem;
  }
  .carousel-pn {
    font-size: 0.8rem;
  }
}

.focus-pic {
  max-height: 45px;
  margin-right: 3.5%;
}

.tags {
  position: absolute;
  left: 0;
  top: 0;
  padding: 5px 15px;
  background-color: gray;
  /*background: rgba(174, 100, 21, 0.8);*/
  color: #fff;
  z-index: 10;
  font-size: 17px;
  border-radius: 0 0 12px 0;
}

@media (max-width: 480px) {
  .tags {
    padding: 4px 10px;
    font-size: 14px;
    border-radius: 0 0 12px 0;
    top: 0;
    left: 0;
  }
}

.video_name {
  font-weight: bold;
  margin-bottom: 1.5vh;
  font-size: 22px;
  min-height: 45px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sale_price {
  font-size: 28px;
  color: #f05249;
  margin-right: 3px;
}

@media (max-width: 480px) {
  .video_name {
    font-size: 18px;
    min-height: 43px;
  }

  .sale_price {
    font-size: 20px;
  }
}

/*===== 學員見證 =====*/
.student_box {
  margin: 0 5px 6vh;
  padding: 3vh 0 1.5vh;
}

.st_name {
  font-weight: bold;
  margin-bottom: 1vh;
  font-size: 20px;
  padding: 0 10px;
}

.student_box p {
  margin-bottom: 15px;
}

.student_img {
  position: relative;
  text-align: center;
}

.student_img img {
  width: 100%;
  max-width: 115px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.talk-icon {
  position: absolute;
  background: url(/public/image/web_home/talk-icon.svg) no-repeat;
  width: 50px;
  height: 37px;
  left: 50%;
  top: 42px;
  margin-left: -95px;
}

.student_box:hover .talk-icon {
  animation: updown 0.35s ease-in-out alternate infinite;
  -webkit-animation: updown 0.35s ease-in-out alternate infinite;
}

/*===== 14日課程 免費體驗 =====*/
.free-pic {
  display: block;
  background: #f8f8f8 url(/public/image/web_home/Free-trial.jpg) no-repeat
    center;
  background-size: cover;
  background-size: 100%;
  min-height: 720px;
}

.data-content {
  padding: 8vh 2vw;
  width: 100%;
  max-width: 65%;
}

/*===== 公益關懷 學習零距離 =====*/

.charity-wrap {
  width: 100%;
}
.charity-wrap:hover {
  color: #333333;
}

.charity-box {
  position: relative;
}

.charity-box img {
  width: 100%;
  height: auto;
  max-width: 800px;
  padding: 40px 80px;
}

.charity-box h3 {
  position: absolute;
}

.charity-icon:before {
  display: inline-block;
  content: url(/public/image/web_home/heart-icon.svg);
  width: 45px;
  height: 40px;
  vertical-align: top;
  margin-right: -10px;
}

.charity-icon {
  line-height: 1.3;
}

.charity-icon b {
  display: block;
  /*	margin-left: 100px;*/
}

@media screen and (max-width: 1280px) {
  .charity-box h3 {
    font-size: 32px;
  }
  .charity-icon:before {
    width: 30px;
    height: 26px;
    margin-right: 0;
  }
}

@media screen and (max-width: 992px) {
  .free-pic {
    background-size: 120%;
    min-height: 600px;
  }

  .charity-box img {
    max-width: 750px;
    padding: 10vh 6vw;
  }

  .charity-box h3 {
    font-size: 32px;
  }

  .data-content {
    max-width: 85%;
  }
}
@media screen and (max-width: 767px) {
  .charity-box {
    min-height: 380px;
  }
  .charity-box img {
    padding: 8vh 5vw;
  }
}

@media screen and (max-width: 480px) {
  .free-pic {
    min-height: 380px;
  }
  .charity-box {
    min-height: 300px;
  }
  .charity-box h3 {
    font-size: 26px;
  }
  .charity-box img {
    padding: 4.5vh 5vw;
  }
}

/*===== 教育文章 =====*/
.news-box {
  padding: 8px;
  padding-right: 15px;
  margin-bottom: 30px;
}

.news-title {
  overflow: hidden;
  text-overflow: ellipsis;
  /*white-space: nowrap;*/
  display: -webkit-box;
  -webkit-line-clamp: 1; /*行數*/
  -webkit-box-orient: vertical;
}

.news-content {
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4; /*行數*/
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

.news-image {
  float: left;
  width: 340px;
  height: 140px;
  margin-right: 20px;
}

.background-center {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 767px) {
  .news-image {
    float: initial;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 414px) {
  .news-content {
    font-size: 14px;
  }
}

/*--------------------------------*/

.swiper {
  padding-bottom: 3.4rem;
}
.swiper-button-prev {
  bottom: 0;
  top: auto;
  left: 45%;
  background-image: url("/public/image/web_home/chevron-left-solid.svg");
  background-repeat: no-repeat;
  background-size: 80% auto;
  background-position: center;
}
.swiper-button-next {
  bottom: 0;
  top: auto;
  right: 45%;
  background-image: url("/public/image/web_home/chevron-right-solid.svg");
  background-repeat: no-repeat;
  background-size: 80% auto;
  background-position: center;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}
@media (max-width: 767px) {
  .swiper {
    padding-bottom: 0;
  }
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

/*plyr自訂樣式*/
.plyr__poster {
  display: block !important;
}

/* 透明固定背景圖 */
.trans-bg {
  background-image: url("/public/image/bg-1407022414.jpg");
  background-color: rgba(255, 255, 255, 0.8);
  background-blend-mode: lighten;
  background-size: contain;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* 翻頁鐘 */
.tick {
  font-size: 1.5em;
  white-space: nowrap;
  font-family: arial, sans-serif;
}

.tick-flip,
.tick-text-inline {
  font-size: 1.5em;
}

.tick-label {
  font-size: 1.5em;
}

.tick-char {
  width: 1.5em;
}

.tick-text-inline {
  display: inline-block;
  text-align: center;
  min-width: 1em;
}

.tick-text-inline + .tick-text-inline {
  margin-left: -0.325em;
}

.tick-group {
  /* margin: 0 0.5em; */
  text-align: center;
}

.tick-text-inline {
  color: rgb(90, 93, 99) !important;
}

.tick-label {
  color: rgb(255, 255, 255) !important;
}

.tick-flip-panel {
  color: rgb(0, 0, 0) !important;
}
/*
.tick-flip {
  font-family: !important;
}
*/
.tick-flip-panel-text-wrapper {
  line-height: 1.45 !important;
}

.tick-flip-panel {
  background-color: rgb(255, 255, 255) !important;
}

.tick-flip {
  border-radius: 0.12em !important;
}
