/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
@import url(swiper.css);
@import url(font-icons.css);
@import url(animate.css);
@import url(magnific-popup.css);
@import url(style.css);
@import url(dark.css);
@import url(colors.css);
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap");

#logo img {
  height: 60px !important;
}

body {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 300;
}

.heading-block h1,
.heading-block h2,
.heading-block h3,
.heading-block h4,
.emphasis-title h1,
.emphasis-title h2,
.lead,
#page-title.page-title-parallax h1,
#page-title.page-title-parallax span,
.product-title h3,
.title-block h1,
.title-block h2,
.title-block h3,
.title-block h4,
.fancy-title h1,
.fancy-title h2,
.fancy-title h3,
.fancy-title h4,
.fancy-title h5,
.fancy-title h6,
.product-price {
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  letter-spacing: 1px;
}

.heading-block h2 {
  font-size: 36px;
}

.heading-block>span:not(.before-heading),
.dark .heading-block>span:not(.before-heading) {
  letter-spacing: 3.5px;
}

.section h2 {
  font-size: 36px !important;
}

.dark .primary-menu:not(.not-dark) .sub-menu-container,
.dark .primary-menu:not(.not-dark) .mega-menu-content,
.sub-menu-container {
  border-top-color: #3e5977;
}

.dark .primary-menu:not(.not-dark) .sub-menu-container .menu-item:hover>.menu-link {
  color: #e58c23;
}

.line,
.double-line {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.line.line-sm {
  margin: 1.5rem 0;
}

.button.button-border {
  border-width: 1px;
  font-weight: 500;
}

.heading-block::after {
  border-top: 2px solid #3e5977;
}

.product-price {
  font-size: 1rem;
}

.color,
.h-text-color:hover,
a.h-text-color:hover,
.grid-filter.style-3 li.activeFilter a,
.faqlist li a:hover,
.tagcloud a:hover,
.nav-tree li:hover>a,
.nav-tree li.current>a,
.nav-tree li.active>a {
  color: #ee5d22 !important;
}

.page-item.active .page-link {
  border-color: #e58c23 !important;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: auto;
}

/* ----------------------------------------------------------------
	輪播圖-new
-----------------------------------------------------------------*/
.revo-slider-emphasis-text {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -1px;
  font-family: "Poppins", sans-serif;
  padding: 15px 20px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.revo-slider-desc-text {
  font-size: 20px;
  font-family: "Lato", sans-serif;
  width: 650px;
  text-align: center;
  line-height: 1.5;
}

.revo-slider-caps-text {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 3px;
  font-family: "Poppins", sans-serif;
}

.tp-video-play-button {
  display: none !important;
}

.tp-caption {
  white-space: nowrap;
}

.hades.tparrows {
  width: 40px !important;
}

.title-img {
  width: 250px;
}

.hades .tp-arr-allwrapper {
  display: none;
}

/* ----------------------------------------------------------------
	輪播圖-old
-----------------------------------------------------------------*/
.swiper-container-horizontal>.swiper-scrollbar {
  top: 50%;
  bottom: auto;
  left: 50%;
  margin-left: 20%;
  width: 200px;
  height: 2px;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 2px;
}

.swiper-scrollbar-drag {
  background: #000;
}

.slide-number {
  opacity: 1;
  bottom: 10px;
  text-align: left;
  right: auto;
}

.slide-number-current {
  top: auto;
  bottom: 0;
  font-size: 30px;
  font-weight: 700;
}

.slide-number span {
  margin-left: 20px;
  font-size: 16px;
}

.slide-number-total {
  font-size: 13px;
  line-height: 28px;
  left: 29px;
}

.swiper-navs {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  margin-top: 60px;
  margin-left: 20%;
}

.slider-arrow-left,
.slider-arrow-right {
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.7);
  width: 36px;
  height: 36px;
}

.slider-arrow-right {
  left: 45px;
}

.slider-arrow-left i,
.slider-arrow-right i {
  display: block;
  width: 36px;
  height: 36px;
  font-size: 16px;
  line-height: 34px;
  margin: 0 auto;
  color: #000;
}

.slider-arrow-right i {
  margin-left: -1px;
}

.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
}

.dark .slider-arrow-left,
.dark .slider-arrow-right {
  border-color: rgba(255, 255, 255, 0.7);
}

.dark .swiper-container-horizontal>.swiper-scrollbar {
  background-color: rgba(255, 255, 255, 0.4);
}

.dark .swiper-scrollbar-drag {
  background: #fff;
}

.dark .slide-number,
.dark .slider-arrow-left i,
.dark .slider-arrow-right i {
  color: #fff;
}

@media (min-width: 576px) and (max-width: 767px) {
  .swiper-container-horizontal>.swiper-scrollbar {
    top: auto;
    left: auto;
    bottom: 70px;
    right: 30px;
    width: 100px;
    height: 2px;
    transform: translateY(0);
  }

  .swiper-navs {
    left: auto;
    top: auto;
    bottom: 30px;
    right: 115px;
    margin: 0;
  }
}

.slider-element .slider-product-desc {
  position: absolute;
  top: auto;
  bottom: 0;
  left: auto;
  right: 0;
  width: 65%;
  z-index: 2;
  overflow: hidden;
}

.slider-element .slider-product-desc a .icon-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 99;
  color: #000;
  font-size: 20px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #fff;
  border-radius: 50%;
  text-align: center;
  padding-left: 4px;
  margin-top: -20px;
  margin-left: -20px;
  -webkit-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
}

.slider-element .slider-product-desc a:hover .icon-play {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.blurred-box:after {
  content: "";
  width: 130%;
  height: 130%;
  background: inherit;
  position: absolute;
  left: -25px;
  top: -25px;
  background-color: rgba(255, 255, 255, 0.2);
  -webkit-filter: blur(20px);
  -o-filter: blur(20px);
  filter: blur(20px);
}

.si-line:hover,
.si-colored.si-line {
  background-color: #00ba01 !important;
}

.slider-caption .title {
  width: 200px;
  height: auto;
  margin-left: 10%;
}

@media (max-width: 576px) {
  .swiper-container-horizontal>.swiper-scrollbar {
    display: none;
  }

  .swiper-navs {
    right: 0px;
  }

  .dark #header,
  #header.dark {
    z-index: 9999;
  }

  #slider.revslider-wrap {
    margin-top: -60px !important;
    margin-bottom: -60px !important;
  }
}

/* ----------------------------------------------------------------
	Header
-----------------------------------------------------------------*/
#header.transparent-header.dark:not(.sticky-header) #header-wrap {
  background: rgba(0, 0, 0, 0.25);
}

.dark .menu-item:hover>.menu-link {
  color: white;
}

.style-6 .menu-container>.menu-item>.menu-link::after,
.style-6 .menu-container>.menu-item.current>.menu-link::after {
  height: 5px;
  border-top: 5px solid #ee5d22;
}

.heading-block>span:not(.before-heading) {
  margin-top: 0px;
  color: #ee5d22;
}

.heading-block::after {
  border-top: none;
  width: 2px;
  height: 85px;
  background-color: #3e5977;
  margin-top: 10px !important;
}

.owl-carousel .owl-dots .owl-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px #3e5977 solid;
  background-color: transparent;
  opacity: 1;
}

.owl-carousel .owl-dots .owl-dot.active,
.owl-carousel .owl-dots .owl-dot:hover {
  opacity: 1;
  background-color: #3e5977;
}

.menu-container>.menu-item:not(.mega-menu) .sub-menu-container {
  padding: 0px;
}

.dark .primary-menu:not(.not-dark) .sub-menu-container,
.dark .primary-menu:not(.not-dark) .mega-menu-content,
.sub-menu-container,
.mega-menu-content {
  background-color: rgba(0, 0, 0, 0.7);
  border: none;
  border-top: 2px solid #3e5977;
}

.dark .primary-menu:not(.not-dark) .sub-menu-container .menu-item>.menu-link,
.sub-menu-container .menu-item>.menu-link {
  color: white;
}

.dark .primary-menu:not(.not-dark) .sub-menu-container .menu-item:hover>.menu-link,
.sub-menu-container .menu-item:hover>.menu-link {
  background-color: rgba(0, 0, 0, 0.7);
}

/* ----------------------------------------------------------------
	BG
-----------------------------------------------------------------*/
.bg1 {
  background-image: url(../images/bg1.jpg);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: cover;
}

.bg2 {
  background-image: url(../images/bg2.jpg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
}

.bg3 {
  background-image: url(../images/bg3.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.bg4 {
  background-image: url(../images/bg4.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.page-bg {
  background-image: url(../images/bg.jpg);
  background-position: top center;
  background-size: cover;
  background-repeat: repeat-y;
}

/* ----------------------------------------------------------------
	法會活動
-----------------------------------------------------------------*/
.activity-box {
  padding: 6rem 4rem;
}

.text-box {
  background-color: rgba(238, 93, 34, 0.9);
}

.text-box h4 {
  color: white;
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
}

.text-box .button::before {
  content: "";
  display: block;
  width: 25px;
  height: 45px;
  background-size: cover;
  background-image: url(../images/arrow.svg);
  background-repeat: no-repeat;
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -22.5px;
  webkit-transform: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.text-box .button small {
  display: block;
  text-transform: capitalize;
}

.text-box .button:hover {
  color: #ee5d22 !important;
}

.text-box .button:hover::before {
  background-image: url(../images/arrow-hover.svg);
  right: 15px;
}

/* ----------------------------------------------------------------
	七事供養&請尊佛
-----------------------------------------------------------------*/
.section.parallax h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: white;
  margin-top: 1rem;
}

.section.parallax .text-center h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section .lead {
  font-weight: 300;
}

/* ----------------------------------------------------------------
	竹慶本樂仁波切老師
-----------------------------------------------------------------*/
.teacher-box {
  margin-right: -25px;
  margin-left: -25px;
}

.teacher-box h2 {
  color: #000;
  font-family: "Noto Serif TC", serif;
  font-weight: 600;
  font-size: 2.5rem;
  letter-spacing: 3px;
}

.teacher-box .col-md-4 {
  padding-right: 25px;
  padding-left: 25px;
}

.teacher-box .col-md-8 {
  border-left: #ee5d22 2px solid;
  padding-right: 25px;
  padding-left: 25px;
}

.teacher-box .button {
  background-color: black;
}

.teacher-box p {
  padding-right: 20%;
}

/* ----------------------------------------------------------------
	功能連結
-----------------------------------------------------------------*/
.index-link h4 {
  color: rgba(62, 89, 119, 0.5);
}

.index-link h4:hover {
  color: rgba(62, 89, 119, 0.8);
}

.index-link .owl-nav [class*="owl-"] {
  opacity: 1;
}

.index-link {
  padding-left: 3rem;
  padding-right: 3rem;
}

.index-link .owl-nav [class*="owl-"] {
  color: rgba(62, 89, 119, 0.5);
  width: 20px;
  height: 50px;
  line-height: 50px;
  font-size: 50px;
  left: 0px;
  border: none;
  background-color: transparent !important;
}

.index-link:hover .owl-nav [class*="owl-"] {
  left: 0px;
  color: rgba(62, 89, 119, 0.8) !important;
  background-color: transparent !important;
}

.index-link:hover .owl-nav {
  left: 0px;
}

.index-link:hover .owl-nav .owl-next {
  left: auto;
  right: 0px;
}

.index-link .owl-nav .owl-next {
  left: auto;
  right: 0px;
}

.dark #footer,
#footer.dark {
  border-top: none;
  background-image: url(../images/footer-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

#copyrights {
  padding: 20px 0;
}

.si-line:hover,
.si-colored.si-line {
  background-color: #10b111 !important;
}

/* ----------------------------------------------------------------
	內頁標題
-----------------------------------------------------------------*/
#page-title {
  background-size: cover;
  background-position: center center;
  padding: 120px 0;
}

#page-title.page-title-dark h1 {
  color: white;
  letter-spacing: 1px;
}

#page-title.page-title-dark span {
  font-size: 1.25rem;
  letter-spacing: 3.5px;
  color: #ee5d22 !important;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 300;
}

#page-title.page-title-dark p {
  color: white;
  margin-bottom: 0;
}

/* ----------------------------------------------------------------
	師長介紹
-----------------------------------------------------------------*/
.teacher-list .fbox-media {
  text-align: center;
  margin-top: -1rem;
  margin-bottom: 1rem;
}

.teacher-list .fbox-media img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
}

.teacher-list .fbox-content {
  text-align: center;
}

.teacher-list .fbox-content h3 {
  color: #3e5977;
  font-size: 1.5rem;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 1px;
}

.teacher-list .fbox-content p {
  height: 110px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.teacher-list .fbox-content .more {
  position: relative;
  margin-top: 1rem;
  display: block;
  background-color: #ee5d22;
  padding: 0.5rem;
  border-radius: 0 0 0.25rem 0.25rem;
  text-indent: -9999px;
  webkit-transform: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.teacher-list .fbox-content .more:hover {
  background-color: #ff8f43;
}

.teacher-list .fbox-content .more::before {
  content: "";
  display: block;
  width: 10px;
  height: 18px;
  background-size: cover;
  background-image: url(../images/arrow.svg);
  background-repeat: no-repeat;
  position: absolute;
  right: 30px;
  top: 50%;
  margin-top: -9px;
  webkit-transform: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.teacher-list .fbox-content .more:hover:before {
  right: 20px;
}

.teacher_info {
  padding: 40px;
  background-image: url(../images/bg5.jpg);
  background-size: 100%;
}

.teacher_info .fbox-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: #eee 10px solid;
  padding: 0;
  margin-bottom: 0;
}

.teacher_info h3,
.ms-staff-carousel .ms-staff-info h3 {
  color: #3e5977;
  font-size: 1.5rem;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 1px;
  font-weight: 500 !important;
}

.teacher_info h4 {
  margin-top: -10%;
  margin-bottom: 5%;
  color: #ee5d22;
}

.teacher_info span {
  font-size: 8rem;
  color: rgba(0, 0, 0, .05);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

.teacher_info p {
  text-align: left;
  color: #000;
}

.ms-staff-carousel {
  max-width: 100% !important;
}

.ms-staff-carousel .ms-staff-info {
  min-height: 170px !important;
}

.ms-staff-info p {
  max-width: 50%;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ----------------------------------------------------------------
	心的研究所
-----------------------------------------------------------------*/
.slider-banner {
  background-position: center center !important;
}

.school-box {
  overflow: hidden;
}

.school-box .product-title h3 a {
  color: #ee5d22;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 58px;
}

.school-box .product-title h3 a:hover {
  color: #e58c23;
}

.school-box .product-desc {
  border-top: 5px #ee5d22 solid;
}

.school-box .product-price {
  display: inline-block;
  color: #3e5977;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
  border-bottom: 2px #3e5977 solid;
}

.title-block h3,
.amount,
.fancy-title h3 {
  color: #3e5977;
}

.fbox-bg.fbox-center .fbox-icon {
  background-color: transparent;
}

.fancy-title::before,
.fancy-title::after {
  border-top: 3px double #3e5977;
}

.form-group.form-check {
  padding-left: 2.25rem;
}

.product-desc .form-group {
  font-family: 'Poppins', sans-serif;
  color: #555;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* ----------------------------------------------------------------
	認識那瀾陀菩提．台中
-----------------------------------------------------------------*/
.timeline .list {
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
}

.timeline .list p {
  margin-bottom: 0;
}

.timeline .list:first-child {
  border-right: 1px #3e5977 dashed;
  padding-right: 4rem;
}

.timeline .list:last-child {
  margin-top: 6rem;
  padding-left: 4rem;
}

.timeline .list .timeline-box {
  position: absolute;
  border: 2px solid #3e5977;
  background-color: #FFF;
  padding-top: 0;
  text-indent: -9999px;
  top: 50%;
  left: auto;
  right: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: -7px;
}

.timeline .list .timeline-box .timeline-divider {
  position: absolute;
  top: 4px;
  left: auto;
  right: 15px;
  width: 50px;
  height: 0;
  border-top: 1px dashed #3e5977;
}

.timeline .list:last-child .timeline-box {
  right: auto;
  left: -7px;
}

.timeline .list:last-child .timeline-box .timeline-divider {
  left: 15px;
  right: auto;
}

.timeline .list h3 {
  color: #3e5977;
  font-size: 1.5rem;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 1px;
  font-weight: 600 !important;
  margin-bottom: 1rem;
}

.timeline.dark .list:first-child {
  border-color: #FFF;
}

.timeline.dark .list .timeline-box {
  border-color: #FFF;
  background-color: #1E2A36;
}

.timeline.dark .list .timeline-box .timeline-divider {
  border-color: #FFF;
}

.timeline.dark .list h3 {
  color: #fff;
}

.feature-box.contact {
  background-color: white;
  padding: 0 1rem 1rem;
  min-height: 140px;
}

.feature-box.contact .fbox-icon {
  margin-bottom: 1rem;
}

.feature-box.contact .fbox-icon i {
  background-color: #3e5977 !important;
  color: white;
  border-radius: 50%;
  line-height: 64px;
  font-size: 2rem;
}

.feature-box.contact .subtitle {
  font-size: 0.875rem;
}

/* ----------------------------------------------------------------
	仁波切開示
-----------------------------------------------------------------*/
.videos-list .portfolio-desc {
  padding: 20px;
}

.videos-list .portfolio-desc h3 {
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  letter-spacing: 1px;
}

/* ----------------------------------------------------------------
	活動回顧
-----------------------------------------------------------------*/
.blog-box .entry-image img {
  border-radius: 0px;
}

.blog-box .entry-title,
.blog-box .entry-meta ul,
.blog-box .entry-content {
  padding: 0 1rem;
}

.blog-box .entry-image {
  margin-bottom: 20px;
}

.blog-box .entry-title h2 a,
.blog-detail .entry-title h2,
.product-title h3 a {
  font-size: 1.25rem;
  color: #3e5977;
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  letter-spacing: 1px;
}

.blog-box .entry-title h2 a:hover,
.product-title h3 a:hover {
  color: #1E2A36;
}

.blog-box .entry-content {
  font-size: 0.875rem;
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-detail .entry-title h2 {
  font-size: 2rem;
}

.blog-detail .tagcloud.tagcloud a {
  border: 1px solid #3e5977;
  background-color: #3e5977;
  color: white;
}

.blog-detail .tagcloud.tagcloud a:hover {
  border-color: #ee5d22 !important;
  background-color: #ee5d22;
  color: white !important;
}

.blog-box .more-link {
  font-size: 0.875rem;
}

/* ----------------------------------------------------------------
	隱私權政策
-----------------------------------------------------------------*/
.text ul,
.text ol {
  margin-left: 1rem;
}

.text ul li,
.text ol li {
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
  padding: .5rem 0;
}

.text ul li:last-child,
.text ol li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.text hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* ----------------------------------------------------------------
	會員中心
-----------------------------------------------------------------*/
.member-list {
  font-size: 0.8125rem;
}

.member-list ul {
  list-style: none;
}

.member-list ul span {
  display: inline-block;
  width: 100px;
  font-weight: bold;
  color: #333;
}

/* ----------------------------------------------------------------
	虛空光明建設
-----------------------------------------------------------------*/
.periodicalUL {
  list-style: none;
  overflow: hidden;
}

.periodicalUL li {
  border: 1px solid rgba(62, 89, 119, 0.8);
  letter-spacing: normal;
  width: 25%;
  float: left;
  text-align: center;
  border-right: none;
  border-bottom: none;
}

.periodicalUL li:nth-child(4),
.periodicalUL li:nth-child(8),
.periodicalUL li:last-child {
  border-right: 1px solid rgba(62, 89, 119, 0.8);
}

.periodicalUL li:nth-child(5),
.periodicalUL li:nth-child(6),
.periodicalUL li:nth-child(7),
.periodicalUL li:nth-child(8),
.periodicalUL li:nth-child(9),
.periodicalUL li:nth-child(10),
.periodicalUL li:nth-child(11),
.periodicalUL li:nth-child(12) {
  border-bottom: 1px solid rgba(62, 89, 119, 0.8);
}

.periodicalUL li:nth-child(9),
.periodicalUL li:nth-child(10),
.periodicalUL li:nth-child(11),
.periodicalUL li:nth-child(12) {
  border-top-width: 0;
}

.periodicalUL li:nth-child(even) .button {
  border-left-width: 0px;
}

.periodicalUL li .photo {
  display: inline-block;
  width: 150px;
  height: 200px;
  background-size: 105% auto;
  background-position: center center;
  background-repeat: no-repeat;
  margin-top: 1.5rem;
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.periodicalUL li .photo:hover {
  background-size: 110% auto;
}

.periodicalUL li .title {
  color: white;
  margin-bottom: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 50px;
  margin: .5rem;
}

.periodicalUL li .title i {
  margin-right: 5px;
}

.periodicalUL li .title:hover {
  opacity: .8;
}

.story-list h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height: 75px;
}

.story_text {
  padding: 40px;
  background-image: url(../images/bg5.jpg);
  background-size: 100%;
}

.story_text h3 {
  color: #3e5977;
  font-size: 1.5rem;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 1px;
  font-weight: 500 !important;
  margin-bottom: 2rem;
}

.story_text h4 {
  color: #ee5d22;
}

.story_text p {
  margin-bottom: .5rem;
}

@media (max-width: 1280px) {
  .menu-link {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 992px) {
  #header {
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
  }

  #wrapper {
    padding-top: 60px; /*!important;*/
  }

  .activity-box {
    padding: 4rem 1rem;
  }

  .ms-staff-info p {
    max-width: 90%;
  }

  .slider-banner {
    min-height: 50vh !important;
  }
}

@media (max-width: 767px) {
  .timeline .list {
    border-left: 1px #3e5977 dashed;
    margin-left: 1.5rem;
    padding-left: 3rem;
  }

  .timeline .list:first-child {
    border-right: none;
    padding-right: 15px;
    padding-bottom: 0;
  }

  .timeline .list:last-child {
    margin-top: 0;
    padding-left: 3rem;
  }

  .timeline .list .timeline-box {
    left: -7px;
  }

  .timeline .list .timeline-box .timeline-divider {
    left: 15px;
    width: 30px;
  }

  .timeline.dark .list {
    border-color: #FFF;
  }

  .member-list img {
    margin-bottom: 5px;
  }

  .periodicalUL li {
    width: 100%;
  }

  .periodicalUL li {
    border-right: 1px solid rgba(62, 89, 119, 0.8) !important;
  }

  .periodicalUL li:nth-child(even) .button {
    border-left-width: 1px;
  }
}

@media (max-width: 576px) {

  .title-img {
    width: 150px;
    margin-left: 60% !important;
  }

  .heading-block::after {
    height: 55px;
  }

  .heading-block>span:not(.before-heading) {
    font-style: italic;
  }

  #page-title.page-title-parallax h1 {
    font-size: 32px;
  }

  .bg4 {
    background-size: auto 120%;
    background-position: -40px -140px;
  }

  .teacher-box .col-md-8 {
    border-left: none;
  }

  .teacher-box p {
    padding-right: 0;
  }
}

.mfp-close {
  color: #999;
}

.heading-block {
  margin-bottom: 30px;
}

.col-padding {
  padding: 3rem;
}

p,
pre,
ul,
ol,
dl,
dd,
blockquote,
address,
table,
fieldset,
form {
  margin-bottom: 20px;
}

.section.parallax {
  background-size: 120% auto;
  background-position: center;
}

.section h2 {
  font-size: 48px;
}

.bg-grey {
  background-image: url(../images/bg-grey.jpg);
  background-size: cover;
}

.modal1 .block {
  position: relative;
}

.modal1 .block .mfp-close {
  color: #999;
  display: block !important;
}

.table-responsive .table.min-width {
  min-width: 800px;
}

/* Open Scene Start */
.open-scene {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-position: center;
  background-color: white;
  z-index: 999999;
  transition: 1.6s opacity ease-in-out 1.6s;
}

.open-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(../images/bg3.jpg);
  background-position: left;
  background-size: cover;
  opacity: 0;
  transition: 0.8s opacity ease-in-out 0.8s;
  z-index: 1;
}

.open-logo {
  position: relative;
  top: 0;
  width: 80vw;
  max-width: 1280px;
  margin: 20px auto;
  height: 60px;
  background-image: url(../images/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: 2s opacity ease-in-out 0.8s;
  z-index: 2;
}

.open-caption {
  position: absolute;
  font-family: "Noto Serif TC", serif;
  writing-mode: vertical-rl;
  top: 50vh;
  left: 50vw;
  font-size: 30px;
  letter-spacing: 4px;
  font-weight: 500;
  transform: translate(-50%, -50%);
  color: #4a4a4a;
  min-height: 400px;
  z-index: 3;
}

.open-caption-item {
  animation: fadeInCaption 1.5s ease-in-out;
}

@keyframes fadeInCaption {
  0% {
    display: none;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

/* Open Scene End */

/* Slogan Start */

.slogan-long-wrap {
  position: absolute;
  top: 30vh;
  left: 30vw;
  font-family: "Noto Serif TC", serif;
  writing-mode: vertical-rl;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 1));
  color: #ffffff;
  z-index: 2;
  min-width: 160px;
}

.slogan-title {
  position: relative;
  font-size: 44px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: 6px;
  margin-left: 40px;
}

.slogan-title::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 200px;
  background-color: #ffffff;
  top: 0;
  left: -24px;
  border-radius: 1px;
  transition: opacity 0.35s ease-in-out;
  opacity: 0;
}

.slogan-title.show-line::before {
  opacity: 1;
}

.slogan-title::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 200px;
  background-color: #ffffff;
  top: 80px;
  right: -24px;
  border-radius: 1px;
  transition: opacity 0.35s ease-in-out;
  opacity: 0;
}

.slogan-title.show-line::after {
  opacity: 1;
}

.slogan-desc {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 4px;
}

.slogan-desc-next {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 4px;
}

/* Slogan Ended */

/* ----------------------------------------------------------------
	虛空藏護法計畫
-----------------------------------------------------------------*/

/* Beginning */
.charity-since h1,
.charity-since h3,
.charity-info h3,
.charity-info p,
.charity-quote h2,
.charity-plan__content h2,
.charity-faq__title,
.charity-faq__content p {
  font-family: "Noto Serif TC", serif;
}

.charity-since__heading h1,
.charity-since__heading-sec h1 {
  color: #3E5977;
}

.charity-since .page-bg::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 90%;
  bottom: 0;
  background-color: #F2F2F2;
  z-index: -1;
}

.charity-since__container {
  position: relative;
  margin-right: 10%;
}

.charity-since__container .charity-since__heading {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  writing-mode: vertical-rl;
}

.charity-since__img {
  width: 80%;
}

/* Text Content */
.charity-info__container {
  position: relative;
  margin-left: 10%;
}

.charity-info__text h3 {
  color: #EE5D22;
}

.charity-info__text h3:after {
  content: '';
  display: block;
  border: 1px solid #EE5D22;
  max-width: 250px;
  margin-top: 6px;
}

.charity-info__text div h3 {
  color: #3E5977;
}

.charity-info__text div h3::after {
  display: none;
}

.charity-info__text div p span {
  color: #ee5d22;
}

.charity-info__img {
  position: fixed;
  right: 0;
  max-width: 50%;
}

/* Slider */

.charity-plan__container {
  padding: 0;
}

.charity-plan__slider {
  display: flex;
  max-width: 100vw;
  margin-left: auto;
}

.charity-plan__slider.owl-carousel .owl-nav [class*=owl-] {
  opacity: 1;
}

.charity-plan__slider .card {
  flex: 1;
  margin: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.charity-plan__slider .card .charity-plan__img {
  position: relative;
  width: 100%;
  max-height: 576px;
  filter: brightness(0.75);
}

.charity-plan__slider .card .charity-plan__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.charity-plan__slider .card .charity-plan__content {
  position: absolute;
  bottom: 0;
  z-index: 1;
  padding: 24px 20px;
}

.charity-plan__content h2 {
  color: #fff;
  margin-bottom: 12px;
}

/* faq */
.charity-faq__title--active {
  border-bottom: 1px solid rgba(0, 0, 0, 0) !important;
}

.charity-faq__title--active i {
  transform: rotate(-90deg);
}

.charity-faq__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #444444;
  font-size: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.charity-faq__title div img {
  margin-right: 12px;
  vertical-align: baseline;
}

.charity-faq__content {
  display: none;
}

.charity-faq__content p {
  padding: 0 0 20px 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* RWD */
@media (max-width: 1024px) {
  .charity-since__container {
    margin-right: 8%;
  }

  .charity-info__img {
    max-width: 36%;
  }

}

@media (max-width: 768px) {

  .charity-since__heading h1,
  .charity-since__heading-sec h1 {
    font-size: 1.625rem;
  }

  .charity-plan__content h2 {
    font-size: 1.5rem;
  }

  .charity-faq__title div {
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .charity-since .page-bg::after {
    height: 86%;
  }

  .charity-since__container {
    margin-right: 4%;
  }

  .charity-since__img {
    width: 76%;
  }

  .charity-since__heading h1 {
    font-size: 1.25rem;
  }

  .charity-info__img {
    display: none;
  }

  .charity-plan__content h2 {
    font-size: 1.25rem;
  }

  .charity-faq__title {
    font-size: 1.25rem;
  }

}

@media (max-width: 320px) {
  .charity-since__heading h1 {
    margin: 0;
  }

  .charity-since__img {
    width: 90%;
  }

  .charity-faq__title {
    font-size: 1.2rem;
  }

  .charity-faq__title div {
    padding-right: 6px;
  }

  .charity-faq__title div img {
    margin-right: 6px;
  }

  .charity-faq__content p {
    padding: 0 0 20px 0;
  }
}