@charset "UTF-8";
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.custom-newscarousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.custom-carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.custom-carousel-track {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  /* 平滑動畫，但在無縫重置時我們會用 JS 暫時關閉它 */
  -webkit-transition: -webkit-transform 0.4s ease-in-out;
  transition: -webkit-transform 0.4s ease-in-out;
  transition: transform 0.4s ease-in-out;
  transition: transform 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
}

.custom-carousel-slide {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0; /* 防止卡片被擠壓 */
  padding: 5px;
  overflow: hidden;
}

.custom-carousel-slide .card-body {
  background: #efefef;
  padding: 15px;
  border-radius: 8px;
}

.custom-carousel-controls {
  text-align: center;
  margin-top: 15px;
}

.btn-carousel {
  padding: 8px 16px;
  margin: 0 5px;
  cursor: pointer;
}

/*---客製樣式---*/
.card-body .news-info {
  background: #363636;
  padding: 10px 8px;
  margin-top: -15px;
  border-radius: 0px 0px 20px 20px;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
.card-body time.news-date {
  font-size: 16px;
  color: #ccc;
  float: left;
}
.card-body span.news-type {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: block;
}
.card-body span.news-type a {
  color: #fff;
  padding-left: 8px;
}
.card-body img {
  padding: 15px 0 15px;
}
.card-body h3 {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  text-align: justify;
  line-height: 1.2em;
  height: 85px;
  overflow: hidden;
  font-family: "Chiron GoRound TC", sans-serif;
}
.card-body p.news-subtitle {
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.card-body p.news-excerpt {
  font-size: 14px;
  color: #666666;
  letter-spacing: 1px;
  text-align: justify;
  max-height: 66px;
  overflow: hidden;
}

button.btn-carousel.toggle-autoplay {
  display: none;
}

button.btn-carousel.prev,
button.btn-carousel.next {
  border: 0;
  border-radius: 4px;
}
button.btn-carousel.prev:hover,
button.btn-carousel.next:hover {
  background: #d6efff;
  -webkit-box-shadow: 0 2px 2px #ccc;
          box-shadow: 0 2px 2px #ccc;
}

/*--------第二組-----------------*/
.newsinfo_box2 .card-body {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -webkit-flex-flow: column-reverse;
      -ms-flex-flow: column-reverse;
          flex-flow: column-reverse;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.newsinfo_box2 .card-body .news-info {
  background: transparent;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: end;
      -ms-flex-pack: end;
          justify-content: end;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.newsinfo_box2 .card-body .news-info time.news-date {
  color: #085d94;
}
.newsinfo_box2 .card-body .news-info span.news-type a {
  color: #085d94;
}
.newsinfo_box2 .newsbox {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-flow: column;
      -ms-flex-flow: column;
          flex-flow: column;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0 0 30px;
}
.newsinfo_box2 .newsbox img {
  width: 100%;
}

/*--------第3組 額外客製組----------------*/
.idec-newscarousel-track-container2 .card-body {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -webkit-flex-flow: column-reverse;
      -ms-flex-flow: column-reverse;
          flex-flow: column-reverse;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.idec-newscarousel-track-container2 .card-body .news-info {
  background: transparent;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: end;
      -ms-flex-pack: end;
          justify-content: end;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.idec-newscarousel-track-container2 .card-body .news-info time.news-date {
  color: #085d94;
}
.idec-newscarousel-track-container2 .card-body .news-info span.news-type a {
  color: #085d94;
}
.idec-newscarousel-track-container2 .newsbox {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-flow: column;
      -ms-flex-flow: column;
          flex-flow: column;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0 0 30px;
}
.idec-newscarousel-track-container2 .newsbox img {
  width: 100%;
}/*# sourceMappingURL=news_carousel.css.map */