@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: "cwTeXYen";
  src: url("../vendor/jf-openhuninn-1.1/fonts/jf-openhuninn-11.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  --font-sans: "cwTeXYen", "Noto Sans TC", sans-serif;
  /* --font-serif: "Noto Sans TC", "georgia", serif; */
  font-weight: 300;
  font-size: 18px;
  line-height: 34px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}




:root {
  --main-color: #5d4b8c;
  /*深藍1*/
  --main2-color: #863516;
  /*深藍2*/
  --main3-color: #3b3286;
  /*橙色*/
  --main4-color: #f5f9ff;
  /*淺色*/


}

.region>* {
  margin: 0;
}

.editingAdd {
    position: absolute;
    top: 10px;
    left: 0; z-index:5
}

.home-add {
  top: 35px !important;
}

#add_normal {
  position: relative;
  top: 0;
  padding: 10px;
}

.boxing {
  margin: 30px 0;
}

.editingAdd a {
  background-color: #ffd800;
  padding: 3px 15px;
  border-radius: 15px;
  color: #000;
}

.editingAdd a:hover {
  background-color: #cbff0f;
  color: #000;
}

.view-content {
  clear: both;
}

.swiper-slide .editing a {
  display: block !important;
}

#banner_editing {
  position: absolute;
  left: 45px;
  z-index: 2;
}

.topBanner_editing {
  bottom: 50px !important;
  top: auto !important;
}

.editing {
  position: absolute;
  z-index: 4;
  top: 5px;
  left: 5px;
}

.editing a {
  /* Override the .focusable height: auto */
  width: 30px !important;
  font-size: 0;
  border-radius: 50%;
  /* Override the .focusable height: auto */
  height: 30px !important;
  background-color: #ffd800;
  text-indent: -9999px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3e%3cg%3e%3cpath fill='%23000000' d='M14.545 3.042l-1.586-1.585c-.389-.389-1.025-.389-1.414 0l-1.293 1.293 3 3 1.293-1.293c.389-.389.389-1.026 0-1.415z'/%3e%3crect fill='%23000000' x='5.129' y='3.8' transform='matrix(-.707 -.707 .707 -.707 6.189 20.064)' width='4.243' height='9.899'/%3e%3cpath fill='%23000000' d='M.908 14.775c-.087.262.055.397.316.312l2.001-.667-1.65-1.646-.667 2.001z'/%3e%3c/g%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 20px 20px;
}

.editing a:hover {
  background-color: #cbff0f;
}

li .editing a {
  display: none !important;
}

li:hover .editing a {
  display: block !important;
}

.slick-slide:hover .editing a {
  display: block !important;
}

a:link {
  text-decoration: none;
}

#main_content a:link {
  color: #00266e;
  text-decoration: none;
}

#main_content a:hover {
  text-decoration: underline;
}

#sermon ul li:hover {
  color: #5c439c
}


.clear {
  clear: both;
}

img {
  border: 0;
}

div,
ul li {
  margin: 0px auto;
  padding: 0px;
}

.pager {
  display: inline-block;
}

#page-wrapper {}

#page img {
  max-width: 100%;
}

#page .term-tree-list {
  position: relative;
  margin-top: 15px;
}

#page .term-tree-list .term {
  list-style: none;
  margin: 0;
  padding: 5px 0 5px 30px;
}

#page .term-tree-list .term::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  background-color: var(--main-color);
  -webkit-mask-image: url(../images/tag1.svg);
  mask-image: url(../images/tag1.svg);
  background-size: cover;
  width: 20px;
  height: 26px;
}

#page .term-tree-list .selected {
  font-weight: normal;
  text-decoration: underline;
}

#block_publication {
  margin: 0 0;
}

.screen {
  position: relative;
  padding: 0px 30px;
  max-width: 1600px;
  margin: 0 auto;
}

.container {
  max-width: 100%;
}

.wide-content {
  width: auto;
  margin: 0;
}

.breadcrumb {
  font-size: 15px;
  padding: 0 15px;
}

.breadcrumb a {
  color: var(--main-color);
}

.block-views-blockslideshow-block-1 {
  position: relative;
}

#news1,
#news2,
#news3 {
  max-width: 80% !important;
}

h1,
h2,
h3 {
  /* font-weight: 600; */
  margin: 0;
}

h4,
h5,
h6 {
  font-weight: 400;
  margin: 0;
}

h1 {
    font-size: 38px;
    line-height: 42px;
    color: #5d4b8c;
    text-transform: uppercase;
    margin: 20px 0 20px 0;
    padding: 0;font-weight: 600;
}

h2 {
  font-size: 28px;
  line-height: 32px;
  color: #7a67ab;
  margin: 25px 0 15px 0;
  padding: 0;
}

h3 {
  font-size: 26px;
  line-height: 32px;
  color: #7a67ab;
  margin: 20px 0 10px 0;
  padding: 0;
  position: relative;
}

#page:not(.page-index) h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 50px;
  height: 3px;
  background: #7a67ab;
  transition: width 0.3s ease;
}

h3:hover::before {
  width: 100px;
}

h4 {
  font-size: 23px;
  margin: 15px 0 10px 0;
  color: #5d4b8c;
  line-height: 33px;
  padding: 0;
}

h5 {
  font-size: 23px;
  margin: 15px 0 10px 0;
  color: #7a67ab;
  line-height: 33px;
  padding: 0;
}

h6 {
  font-size: 23px;
  margin: 15px 0 10px 0;
  color: #7a67ab;
  line-height: 33px;
  padding: 0;
}

.title,
.blocktitle,
.sch_highlights b,
#banner_title h1,
.banner_title h1 {
  /* font-family: "Playfair Display", serif; */
  font-optical-sizing: auto;
  font-weight: 550;
  font-style: normal;
  margin: 15px 0;
  padding: 5px 0;
  font-size: 34px;
  line-height: 42px;
  letter-spacing: 0;
  position: relative;
  color: #5d4b8c;
}

p {
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1.6;
}

/* .blocktitle {
  text-align: center;
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--main-color);
  line-height: 42px;
} */

.block__title {}

.region--secondary-menu,
.region--secondary-menu {
  margin: 0;
}

.menu--sidebar .is-active,
#block-olivero-main-menu .is-active {
  font-weight: 600;
  color: var(--main-color) !important;
}

#header_top {}

#header {
  min-height: 250px;
  z-index: 2;
  width: 100%;
  position: absolute;
}

#header .screen {
  display: flex;
  padding: 0;
  align-items: center;
}

#header .logo {
  margin-left: 0;
}

.sticky {
  z-index: 10;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}

.sticky #header {
  position: fixed;
  top: 0px;
  z-index: 10;
  width: 100%;
  /* box-shadow: 0 0 3px rgba(0, 0, 0, .2); */
  min-height: auto;
  max-width: 100%;
}

.site-branding {
  margin-left: 0;
  padding: 10px 0 10px 10px;
}

.right_top {
  display: inline-flex;
  width: 80%;
}
.js-form-submit{ color:#fff !important}
#lang {
  margin: 10px 0;
  padding: 0;
  float: right;
}

#lang ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

#lang ul li {
  margin: auto 5px;
}

#lang ul li a {
  background: #ddd;
  color: #000;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.9em;
}

#lang ul li a:hover {
  background: var(--main2-color);
  color: #fff;
}

#lang ul li a.is-active {
  background: var(--main-color);
  color: #fff;
}

#page-wrapper {
  overflow: hidden;
}

#page img {
  max-width: 100%;
}

.home_zoneA {
  /* background: #bbb8e5; */
  background: #fff;
  position: relative;
  padding: 50px 0
}

.home_zoneA::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/web/bg.png") no-repeat;
  background-size: cover
}

.home_zoneB {
  background-color: #6a4a95;
}

.home_zoneC {
  background: #ededed;
}

.view-more,
.view-more2 {
  margin: 0 auto;
  /* padding: 50px 0 0 0; */
  text-align: center;
}

.more-link {
  position: relative;
}

.more-link a {
  font-size: 20.5px;
  line-height: 32px;
  padding: 10px 150px 10px 120px;
  background: #ffffff;
  border: 2px solid #2c3cb0;
  border-radius: 23px;
}

.more-link a:hover {
  padding: 10px 150px 10px 120px;
}

.view-more a {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  transition: background-position 0.5s ease, padding-left 0.5s ease;
}

.view-more a:hover {
  transition: background-position 0.5s ease, padding-left 0.5s ease;
  background-color: var(--main-color);
  color: #fff;
  background-position: right 20px center;

  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.view-more2 a {
  position: relative;
  display: inline-block;
  padding: 10px 35px;
}

.view-more2 a::before,
.view-more2 a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-style: solid;
  border-radius: 8px;
  border-color: var(--main3-color);
  transition: transform 0.3s ease;
}

.view-more2 a::before {
  border-width: 2px 0 2px 0;
  transform: scaleX(0);
}

.view-more2 a::after {
  border-width: 0 2px 0 2px;
  transform: scaleY(0);
}

.view-more2 a:hover::before,
.view-more2 a:hover::after {
  transform: scale(1, 1);
}

.region--breadcrumb {
  background: #fff;
  margin: 0 0 50px 0;
  padding: 10px 0 0 0;
}

.news_tag {
  position: absolute;
  left: -5px;
  top: -5px;
  background-image: url(../images/icon/i_news.png);
  width: 90px;
  height: 44px;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

.news_tag2 {
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(../images/icon/i_news2.png);
  width: 90px;
  height: 28px;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

#logo {}

#logo img {
  max-height: 80px;
  height: auto;
}

.sch_highlights {
  background: url(../images/ctcampus/bg_main.png) no-repeat center top;
  padding: 50px 0;
  background-size: cover;
}

.sch_highlights .title {
  padding: 5px 0 5px 5%;
}

/* .sch_highlights .title::before {
  z-index: 0;
  position: absolute;
  pointer-events: none;
  content: "";
  left: -46%;
  width: 50%;
  height: 3px;
  background: #313cae;
  top: 28px;
} */

[data-aos="sch_highlights_animate"].aos-animate .title::before {
  content: "";
  z-index: 0;
  position: absolute;
  pointer-events: none;
  left: -46%;
  width: 50%;
  height: 3px;
  background: #313cae;
  top: 28px;
  opacity: 0;
  animation: rightAnimate 0.25s linear;
  animation-fill-mode: forwards;
}

@keyframes rightAnimate {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scaleX(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
    transition: 1s ease-in-out 3s;
  }
}

.sch_highlights b {
  color: #fff;
  font-size: 28px;
  line-height: 34px;
  padding: 0;
  margin: 0;
}

.sch_highlights ul {
  display: grid;
  padding: 50px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}

.sch_highlights ul li {
  width: calc(100% - 2px);
  padding: 1px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.sch_highlights ul li span,
.sch_highlights .boxing {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  color: #fff;
  font-size: 21.5px;
  padding: 30px 0;
  background: linear-gradient(0deg,
      rgba(44, 51, 98, 1) 20%,
      rgba(44, 51, 98, 0) 100%);
  margin: 0;
}

.bg_god_msg {
  background: url(../images/ctcampus/students.png) no-repeat left center #2f3563;
  padding: 50px 0;
  justify-content: center;
  align-items: center;
}

.bg_god_msg .screen {
  background: url(../images/ctcampus/sch_logo.png) no-repeat right center;
  background-size: auto 75%;
}

.bg_god_msg .title {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.bg_god_msg .contents {
  float: right;
  width: 45%;
  color: #fff;
  background: rgba(47, 53, 99, 0.7);
  margin: 90px 0;
  padding: 15px;
}

.bg_whystcc {
  background: url(../images/ctcampus/stcc_intro.png) no-repeat #222a5b;
  background-position: 100% 0%;
  background-size: auto 100%;
  padding: 50px 0;
  justify-content: center;
  align-items: center;
}

.bg_whystcc .title {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.bg_whystcc ul {
  list-style: none;
  margin: 0 0 0 -3.3%;
  padding: 20px 0;
}

.bg_whystcc ul li {
  float: left;
  width: calc(50% - 3.3%);
  margin: 0 0 30px 3.3%;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 0px 0;
  color: #fff;
  font-size: 42px;
  line-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #222a5b6b;
}

.bg_whystcc ul li .box_why {
  margin: 0px 0;
  position: relative;
}

.bg_whystcc .contents {
  width: 65%;
  float: left;
}

.node__content {
  clear: both;
}

.node__content time {
  display: block !important;
  margin-bottom: 10px;
}

#banner_title,
.banner_title,
#nonbanner_title {
  background-image: url(../images/ctcampus/inner_banner.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  pointer-events: none;
  background-position: center center;
}

#banner_title h1,
.banner_title h1,
#nonbanner_title h1 {
  color: #fff;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
  padding: 200px 0 30px 5%;
  margin: 0; font-size:33px; line-height:38px;
  z-index: 1;
}



#banner_title::after,
.banner_title::after,
#nonbanner_title::after {
  pointer-events: none;
  content: "";
  background: url(../images/ctcampus/sub_title.png) no-repeat left bottom;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#nonbanner_title {
  background: url(../images/ctcampus/bg_news.png) no-repeat bottom center;
}

#nonbanner_title h1 {
  padding: 220px 0 40px 5%;
  color: var(--main-color);
  text-shadow: 0 0 0;
}

#nonbanner_title::after {
  display: none;
}

#nonbanner_title h1::before {
  background: var(--main2-color);
  bottom: 58px;
}

#block_latest-news {
  padding: 100px 0;
}

#block_latest-news li a{
  width:100%;
}

#block_latest-news .blocktitle {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  font-size: 24px;
  line-height: 36px;
}

/* #block_latest-news .blocktitle p {
  background: #fdfefe;
  padding: 10px 30px;
  display: inline;
} */

.btn_back {
  margin: 0px auto;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.btn_back a {
  display: inline-block;
  padding: 10px 50px;
  color: #fff !important;
  background: linear-gradient(to left, #a64f86 50%, #feb811 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.5s ease-out;
}

.btn_back a:hover {
  background-position: left bottom;
  color: #000 !important;
}

[data-aos="block_latest-new_animation"].aos-animate#block_latest-news::before {
  content: "";
  position: absolute;
  width: 80%;
  height: calc(100% - 140px - 17vh);
  top: 140px;
  z-index: 0;
  left: 10%;
  background: linear-gradient(to right, #313cae 0%, #313cae 100%),
    linear-gradient(to top, #313cae 50%, transparent 50%),
    linear-gradient(to top, #313cae 50%, transparent 50%),
    linear-gradient(to right, #313cae 0%, #313cae 100%),
    linear-gradient(to left, #313cae 0%, #313cae 100%);
  background-position-x: 0%, 0%, 0%, 0%, 0%;
  background-position-y: 0%, 0%, 0%, 0%, 0%;
  background-repeat: repeat, repeat, repeat, repeat, repeat;
  background-size: auto, auto, auto, auto, auto;
  background-size: 100% 4px, 4px 200%, 4px 200%, 0% 4px, 0% 4px;
  background-position: 50% 100%, 0% 0%, 100% 0%, 100% 0%, 0% 0%;
  background-repeat: no-repeat, no-repeat;
  transform: scaleX(0) rotate(180deg);
  animation: transformAnimation 0.5s ease-in-out 0.5s forwards,
    positionAnimation 0.5s ease-in-out 1s forwards,
    sizeAnimation 0.5s ease-in-out 1.5s forwards;
}

@keyframes transformAnimation {
  0% {
    transform: scaleX(0) rotate(180deg);
  }

  100% {
    transform: scaleX(1) rotate(180deg);
  }
}

@keyframes positionAnimation {
  0% {
    background-position: 50% 100%, 0% 0%, 100% 0%, 100% 0%, 0% 0%;
  }

  100% {
    background-position: 50% 100%, 0% 100%, 100% 100%, 100% 0%, 0% 0%;
  }
}

@keyframes sizeAnimation {
  0% {
    background-size: 100% 4px, 4px 200%, 4px 200%, 0% 4px, 0% 4px;
  }

  100% {
    background-size: 200% 4px, 4px 400%, 4px 400%, 55% 4px, 55% 4px;
  }
}

.video_theme {
  max-width: 80%;
  margin: 50px auto;
}

.slider-slogan {
  position: absolute;
  bottom: 15%;
}

.slider-slogan .slogan_text {
  font-size: 2.5em;
  padding: 0.55em;
  line-height: 1.85em;
  color: #fff;
  background: #086cc2a1;
}

.slogan_left {
  left: 0;
}

.slogan_right {
  right: 0;
}

.view-empty {
  clear: both;
}

footer {
  background: #4b3e90;
  color: #fff;
  padding: 25px 0;
  font-size: 14px;
}

footer .text-content,
footer a {
  color: #333;
  font-size: 14px;
}

footer .power {
  float: right;
}

footer .copyright {
  float: left;
}

footer .copyright a,
footer .power a {
  color: #fff;
  text-decoration: underline;
}

#main_content {
  float: right;
  width: 77%;
  min-height: 500px;
}

#sidebar-nav {
  float: left;
  width: 21%;
}

.history_timeline .blocktitle {
  margin: 0;
  padding: 50px 0;
  color: #fff;
}
#block-olivero-contactinformation{ clear:both; }
#ctd-fliters .form--inline .form-actions {
  margin: auto;
}

#ctd-fliters {
  margin-block-end: var(--sp1);
  text-align: right;
}

.contextual-region .view-header {
  margin-block-end: var(--sp1) !important;
}

/* Table */
#main_content table {
  border-collapse: separate;
  width: 100%;
  line-height: 33px;
  border: 1px solid var(--main-color);
  margin: 0;
  border-spacing: 0;
  overflow: hidden;
  table-layout: fixed;
}
#main_content  .js-drupal-fullcalendar table {
  line-height: 23px;
  border: 0px solid var(--main-color);
}

#main_content tr:nth-child(even) td {
  background: #f2f2f2;
  color: #333;
  padding: 5px;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  vertical-align: top;
}

#main_content tr:nth-child(odd) td {
  background: #fff;
  color: #333;
  padding: 5px;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  vertical-align: top;
}
.fc-event-dot{ display:none}
.calendar_edit{ font-size:12px; color: #FF0 !important; position:relative; top:auto; left:auto;}

#main_content  .js-drupal-fullcalendar table tr:nth-child(odd) td, #main_content  .js-drupal-fullcalendar table tr:nth-child(even) td {padding: 0px;}

.fc-list-table td   {padding: 10px !important;}

.fc-day-grid-event .fc-content {
  white-space: unset;font-weight: 100 !important;color: #fff !important;
}
.fc-toolbar h2{ padding:0;}
.fc-day-grid-event .fc-time{ font-weight:100;}
.fc .fc-row .fc-content-skeleton table, .fc .fc-row .fc-content-skeleton td, .fc .fc-row .fc-mirror-skeleton td {

  border-color: #ddd;
}
.fc-list-item b{ display:none !important}


.eventtype{ font-size:14px; text-align:right}
#main_content table ul,
table ol {
  margin: 0;
}
.title_a{ font-size:19px; font-style: italic;}
#main_content tr th {
  background: var(--main-color);
  color: #fff;
  padding: 5px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  vertical-align: top;
}

#main_content tr:nth-child td { text-align: left !important}
.text-align-center{ text-align: left !important}

.location {
  width: 100%;
  margin: 20px 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

iframe {
  width: 100%;
  min-height: 350px;
}

/* Template */
.tpl-info time,
.block-info time,
.node__content time {
  position: relative;
  display: inline-block;
  padding: 0px 0;
}

.index_block {
  background: none;
}

.index_block b {
  display: block;
}

#page time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  background-color: var(--main-color);
  -webkit-mask-image: url(../images/date.svg);
  mask-image: url(../images/date.svg);
  background-size: cover;
  width: 20px;
  background: #645391;
  height: 21px;
}

#page time {
  text-align: left;
  padding-left: 30px;
}

.block-info {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
}

.block-info li {
  position: relative;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.tpl-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tpl-info li {
  position: relative;

}



.tpl-info li a {
  color: #333;
  display: block;
  width: 100%;
}

.tpl-info li a:hover {
  color: #333;
}

.tpl-info li b,
.block-info li b {
  display: block;
}

.tpl-info figure img,
.block-info figure img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  opacity: 1;
}

.tpl-info figure:hover img,
.block-info figure:hover img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  opacity: 0.8;
}

.tpl-info figure,
.block-info figure {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.template-A ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.template-A ul li {
  width: calc(100% - 30px);
  background: #fff;
  padding: 15px;
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  text-align: center;
}

.template-B ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.template-B ul li {
  width: calc(100% - 30px);
  background: #fff;
  padding: 15px;
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  text-align: center;
}

.template-C ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.template-C ul li {
  width: calc(100% - 30px);
  padding: 15px;
  display: flex;
  align-items: center;
  text-align: center;
}

/* template-D */

.template-D ul {
  margin: 0 0 0 0%;
  border-top: 2px solid #f00;
}

.template-D ul li {
  display: flex;
  background: #fff;
  padding: 10px 0;
}

.template-D ul li .date span {
  padding: 0px 0 0px 28px;
  background-size: 16px 15px;
  font-weight: bold;
  color: #666;
  font-weight: 400;
  /* font-family: "Oswald", "微軟正黑體", sans-serif; */
}

.template-D ul li .number {
  flex-basis: 10%;
  padding: 5px 10px;
  font-size: 16px;
  margin: 0;
  text-align: left;
  font-weight: bold;
  color: #666;
  font-weight: 400;
  /* font-family: "Oswald", "微軟正黑體", sans-serif; */
}

.template-D ul li .title {
  flex-basis: 50%;
  padding: 5px 10px;
  font-size: 16px;
  line-height: 21px;
  text-shadow: 0 0 0;
  margin: 0;
  text-align: left;
  font-weight: 400;
  color: #333;
  margin: 0 5%;
  /* font-family: "Oswald", "微軟正黑體", sans-serif; */
}

.template-D ul li .download {
  flex-basis: 24%;
  font-size: 16px;
  padding: 0;
  margin: 0;
  text-align: right;
  padding: 5px 20px;
}

.template-D ul li .download a {
  background: url(../images/icon/icon_download.png) no-repeat left;
  background-position: 3px 5px;
  padding: 6px 0 6px 30px;
  line-height: 19px;
  background-size: 23px 23px;
  display: inline;
  font-weight: bold;
  color: #666;
  /* font-family: "Oswald", "微軟正黑體", sans-serif; */
  transition: all 0.3s ease;
}

.template-D ul li .download a:hover {
  background: url(../images/icon/icon_download.png) no-repeat left;
  background-position: 3px 8px;
  color: #666;
  background-size: 23px 23px;
}

.template-D ul li .date {
  flex-basis: 16%;
  font-size: 16px;
  padding: 5px 5px 5px 10px;
  margin: 0;
  text-align: left;
  font-weight: bold;
  color: #666;
}

.template-D ul li p {
  width: auto;
  font-size: 15px;
  font-weight: bold;
  color: #666;
}

.template-D ul li .date time {
  padding: 0px 0 0px 28px;
  background-size: 16px 15px;
  color: #666;
  font-weight: 400;
  /* font-family: "Oswald", "微軟正黑體", sans-serif; */
}

.date time {
  background: url(../images/icon/icon_calendar.png) no-repeat;
  padding: 8px 20px 8px 25px;
  font-size: 16px;
  line-height: 15px;
  display: inline-block;
  background-size: 18px 20px;
  background-position: 0px 25%;
}

@media screen and (max-width: 567px) {
  .template-D ul li {
    flex-direction: column;
  }

  .template-D ul li>div {
    width: 100%;
    padding: 5px 10px !important;
    box-sizing: border-box;
  }

  .template-D ul li .date {
    padding: 5px 10px !important;
  }

  .template-D ul li .date span {
    font-size: 16px;
    background-size: 20px !important;
    background-position: 0 50%;
    background-size: 20px;
    padding: 5px 5px 5px 30px;
    display: block;
    color: #fc2130;
    font-size: 16px;
    line-height: 19px;
    display: block;
  }

  .template-D ul li a {
    display: inline-block;
    padding: 0px 0;
    width: 100%;
  }

  .template-D ul li a:hover {
    color: #333;
    text-decoration: none;
  }

  .template-D ul li .date span {
    padding: 0px 0 0px 28px;
    background-size: 16px 15px;
  }

  .template-D ul li .number {
    flex-basis: 24%;
    padding: 5px 10px;
    font-size: 16px;
    margin: 0;
    text-align: left;
  }

  .template-D ul li .title {
    flex-basis: 50%;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 19px;
    text-shadow: 0 0 0;
    margin: 0;
    text-align: left;
  }

  .template-D ul li .download {
    flex-basis: 20%;
    font-size: 16px;
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .template-D ul li .download a {
    background: url(../images/icon/icon_download.png) no-repeat left;
    background-position: 3px 5px;
    padding: 6px 0 6px 30px;
    line-height: 19px;
    color: #555;
    background-size: 23px 23px;
    display: block;
  }

  .template-D ul li .download a:hover {
    background: url(../images/icon/icon_download.png) no-repeat left;
    background-position: 3px 8px;
    color: #666;
    background-size: 23px 23px;
  }

  .template-D ul li .date {
    flex-basis: 16%;
    font-size: 16px;
    padding: 5px 5px 5px 10px;
    margin: 0;
    text-align: left;
  }

  .template-D ul li p {
    width: auto;
    font-size: 15px;
  }
}

#block_gallery {
  margin: -90px 0 50px 0;
}

#block_gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.Block_A ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.Block_A ul li {
  position: relative;
  width: 100%;
}

.Block_B ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.Block_B ul li {
  position: relative;
  width: 100%;
  background: #fff;
}

.Block_C ul {
  margin: 0;
  padding: 0;
}

.Block_C ul li {
  position: relative;
  width: 100%;
  background: #fff;
  margin: 0 0 30px 0;
}

.Block_C ul li .cover {
  float: left;
  width: 38%;
}

.Block_C ul li .content {
  float: right;
  width: 60%;
  padding: 15px 0;
}

.Block_C ul li b {
  font-size: 28px;
  line-height: 42px;
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
  margin-bottom: 15px;
}

.public_add {
  top: -98px;
}

.flip_btn,
.pdf_btn {
  display: inline-block;
  margin-top: 15px;
}

.pdf_btn {
  margin-left: 15px;
}

.flip_btn a {
  background: var(--main-color);
  color: #fff !important;
  padding: 10px 20px;
}

.pdf_btn a {
  background: var(--main2-color);
  color: #fff !important;
  padding: 10px 20px;
}

.news-card {
  border: 0px solid aqua;
  margin: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  flex: 1;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 80%);
  z-index: 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: relative;
  z-index: -1;
}

.news-card__text-wrapper {
  position: relative;
  padding: 5px 10px 15px 10px;
  width: calc(100%);
  color: #333;
  background-color: #fff;
  transition: background-color 1.5s ease;
}

.news-card__title {
  transition: color 1s ease;
  margin-bottom: 0.5rem;
}

.news-card__details-wrapper {
  max-height: 0;
  opacity: 0;
  transition: max-height 1.5s ease, opacity 1s ease;
}

@media (min-width: 900px) {
  .news-card:hover .news-card__details-wrapper {
    max-height: 20rem;
    opacity: 1;
  }

  .news-card:hover .news-card__text-wrapper {
    background-color: #eae0f0;
  }

  .news-card:hover .news-card__title {
    color: yellow;
  }
}

.articles {
  padding: 1em;
}

.articles:hover:before {
  width: 100%;
}

.articles::before {
  content: "";
  position: absolute;
  bottom: 0px;
  height: 2px;
  width: 0%;
  background: var(--main-color);
  right: 0px;
  transition: width 0.4s;
}

/* End Template */

/* Category */
.category {
  float: left;
  background: #ebeff2;
  padding: 8px 10px;
  border-radius: 8px;
  margin: 9px 0;
  z-index: 1;
  position: relative;
}

.category ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category ul li {
  display: inline-block;
}

.category ul li a {
  display: block;
  padding: 5px 20px;
  font-size: 1.3em;
  text-decoration: none;
  color: #333333;
  font-weight: 400;
  margin: 0 10px;
}

.category ul li+li {
  border-left: 1px dotted #666;
}

.category ul li a,
.category ul li a:after,
.category ul li a:before {
  transition: all 0.5s;
}

.category ul li a:hover {
  color: var(--main-color);
}

#ctd-fliters .button {
  background: var(--main-color);
}

#ctd-fliters select {
  color: var(--main-color);
}

.fc-unthemed th{ background:#333; color:#fff;}
#ctd-fliters select {
  font-size: 16px; padding:5px ;
  height: 40px; min-width:100px;
}
#ctd-fliters .button {
  font-size: 18px; padding:10px 30px;
  height: 45px; margin:10px 0 0 0;
}

/* stroke */
.category.stroke ul li a,
.category.fill ul li a {
  position: relative;
}

.category.stroke ul li a:after,
.category.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: ".";
  color: transparent;
  background: var(--main-color);
  height: 2px;
}

.category.stroke ul li a:hover:after {
  width: 100%;
}

.category.fill ul li a {
  transition: all 2s;
}

.category.fill ul li a:after {
  text-align: left;
  content: ".";
  margin: 0;
  opacity: 0;
}

.category.fill ul li a:hover {
  color: #fff;
  z-index: 1;
}

.category.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}

/* SHIFT */
.category.shift ul li a {
  position: relative;
  z-index: 1;
}

.category.shift ul li a:hover {
  color: #91640f;
}

.category.shift ul li a:after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 1px;
  content: ".";
  color: transparent;
  background: var(--main-color);
  visibility: none;
  opacity: 0;
  z-index: -1;
}

.category.shift ul li a:hover:after {
  opacity: 1;
  visibility: visible;
  height: 100%;
}

.category .current a,
.category .current a:hover {
  color: #fff;
  background: var(--main-color);
}

/* Keyframes */
@-webkit-keyframes fill {
  0% {
    width: 0%;
    height: 1px;
  }

  50% {
    width: 100%;
    height: 1px;
  }

  100% {
    width: 100%;
    height: 100%;
    background: var(--main-color);
  }
}

/* Keyframes */
@-webkit-keyframes circle {
  0% {
    width: 1px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 1px;
    z-index: -1;
    background: var(--main-color);
    border-radius: 100%;
  }

  100% {
    background: var(--main-color);
    height: 1000%;
    width: 1000%;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 0;
  }
}

/* End Category */

.sitemap-item {
  margin: 0px auto;
  padding: 0;
}

.sitemap-item ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sitemap-item ul ul {
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
  margin: 10px;
  padding: 0 25px;
  list-style-type: initial;
}

.sitemap-item ul li {
  width: 100%;
  margin: 0;
  padding: 0;
}

.sitemap-item ul li a,
.sitemap-item ul li span {
  padding: 10px 15px;
  display: block;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease;
}

.sitemap-item ul li a {
  color: var(--main-color);
}

.sitemap-item ul li span {
  color: #555;
}

.sitemap-item ul li a:hover {
  background: var(--main2-color);
  color: #fff;
}

.sitemap-item ul li ul li a,
.sitemap-item ul li ul li span {
  padding: 5px 0 5px 0px;
  display: block;
  border-bottom: 0;
  font-size: 1em;
  font-weight: 300;
}

.sitemap-item ul li ul li a:hover {
  background: none;
  color: var(--main2-color);
}

.sidebar-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  background: url(../images/ctcampus/bg_news.png) no-repeat bottom center;
  background-size: cover;
}

.sidebar-nav ul a.is-active {
  color: var(--main2-color) !important;
}

.sidebar-nav ul ul {
  background: #eee;
  font-size: 17px;
  line-height: 27px;
}

.sidebar-nav .metismenu {
  padding: 15px;
  font-size: 1.15em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.sidebar-nav .metismenu a.current {
  color: var(--main-color);
}

.sidebar-nav .metismenu li+li {
  margin-top: 5px;
}

.sidebar-nav .metismenu li:first-child {
  margin-top: 5px;
}

.sidebar-nav .metismenu li:last-child {
  margin-bottom: 5px;
}

.sidebar-nav .metismenu>li {
  /*-webkit-box-flex: 1;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;*/
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
}

.sidebar-nav .metismenu a {
  position: relative;
  display: block;
  padding: 5px 35px 5px 15px;
  color: #333333;
  outline-width: 0;
  transition: all 0.3s ease-out;
}

.sidebar-nav .metismenu ul a {
  padding: 5px 35px 5px 30px;
}

.sidebar-nav .metismenu ul ul a {
  padding: 5px 35px 5px 45px;
}

.sidebar-nav .mm-active {
  color: var(--main-color) !important;
}

.sidebar-nav .metismenu a:hover,
.sidebar-nav .metismenu a:focus,
.sidebar-nav .metismenu a:active,
.sidebar-nav .metismenu .mm-active>a {
  color: var(--main-color);
  text-decoration: none;
}

.subjectlists {
  position: relative;
  margin: 0 auto;
  padding: 0 !important;
  max-width: 1000px;
  list-style: none;
  text-align: center;
}

.subjectlists figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.subjectlists figure figcaption::before,
.subjectlists figure figcaption::after {
  pointer-events: none;
}

.subjectlists figure figcaption,
.subjectlists figure figcaption>a {
  position: absolute;
  background: #0c335b38;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.subjectlists figure figcaption>a {
  z-index: 1;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.subjectlists figure h2,
.subjectlists figure p {
  margin: 0;
}

.subjectlists figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

figure.effect-honey {
  background: #4a3753;
  min-height: 180px;
}

figure.effect-honey img {
  opacity: 0.9;
  max-width: 125%;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}

figure.effect-honey:hover img {
  opacity: 0.5;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--main2-color);
  content: "";
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  font-style: normal;
  bottom: 0;
  left: 0;
  padding: 0.5em 1.5em;
  color: #fff;
  text-shadow: 0 0 8px #000000a1;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.view-subjects {
  background: #fff;
  padding: 0;
  margin: 0;
  clear: both;
  border-bottom: 1px solid #4c4185;
}

.subjectpage {
  border: 0;
  margin: 0 5px;
  border-bottom: 0px dotted #ddd !important;
}

.subjectpage a {
  padding: 15px 15px;
}

.subjectpage:nth-child(n + 2) {
  border-left: 1px dotted #cccccc !important;
}

#block-sidebar-nav {}

#block-sidebar-nav h2 {
  padding: 30px 0;
  background: var(--main-color);
  color: #fff;
  margin: 0;
  text-align: center;
}

#block-sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#block-sidebar-nav ul li {
  float: none;
  border-bottom: 1px solid #ddd;
  position: relative;
}

#block-sidebar-nav ul li a {
  padding: 15px;
  display: block;
}

.subjectlist ul {
  list-style: none;
  margin: 0;
  padding: 15px;
}

.subjectlist ul li {
  float: none;
  border-bottom: 1px solid var(--main3-color);
  position: relative;
}

.subjectlist ul li a {
  padding: 15px 15px 15px 30px;
  display: block;
  font-size: 21px;
  line-height: 27px;
}

.subjectlist ul li a::before {
  content: "\2022";
  /* font-family: Arial; */
  position: absolute;
  color: var(--main2-color);
  left: 0;
  top: 19px;
  font-size: 50px;
  font-weight: 400;
}

.contact_area {
  padding: 30px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.contact_area::before {
  z-index: 1;
  position: absolute;
  pointer-events: none;
  content: "";
  background-image: url(../images/ctcampus/bg_contact.png);
  background-size: cover;
  height: 100%;
  width: 100%;
}

.contact_info {
  color: #fff;
  position: relative;
  z-index: 1;
  vertical-align: bottom;
  display: table-cell;
}

.eclass {
  vertical-align: bottom;
  display: table-cell;
  z-index: 1;
  position: relative;
}

.eclass a {
  background: #fc4;
  color: #2f3563;
  padding: 5px 20px;
  border-radius: 8px;
}

.eclass a:hover {
  background: #313cae;
  color: #fc4;
}

.contact_info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact_info ul li {
  float: left;
  width: 100%;
  margin: 5px 0;
}

.contact_info ul li+li {
  width: 50%;
}

.contact_info ul li span {
  background: url(../images/ctcampus/i_address.png) no-repeat left center;
  padding: 5px 0 5px 35px;
  min-width: 115px;
  display: inline-block;
}

.contact_info ul li+li span {
  background: url(../images/ctcampus/i_tel.png) no-repeat left center;
}

.contact_info ul li+li+li span {
  background: url(../images/ctcampus/i_fax.png) no-repeat left center;
}

.contact_info ul li+li+li+li span {
  background: url(../images/ctcampus/i_email.png) no-repeat left center;
}

.contact_info ul ul li {
  width: auto;
  margin: 5px 5px 0px 5px;
}

.contact_info ul ul li img {
  width: 30px !important;
}

.contact_info ul li a {
  color: #fff;
  text-decoration: underline;
}

.menu_arrow ul::before {
  background-color: white;
  /* Desired color */
  -webkit-mask: url(../images/triangle-up.svg) no-repeat center;
  mask: url(../images/triangle-up.svg) no-repeat center;
  mask-size: cover;
  background-size: cover;
  content: "";
  position: absolute;
  pointer-events: none;
  width: 50px;
  height: 15px;
  top: -15px;
  z-index: 111;
  left: 15px;
}

@media screen and (max-width: 1400px) {
  .menu_center ul::before {
    left: auto;
    right: 15px;
  }
}

.menu_arrow ul ul::before {
  display: none;
}

.cd-top {
  display: inline-block;
  position: fixed;
  opacity: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  height: 50px;
  width: 50px;
  bottom: 50px;
  right: 50px;
  z-index: 10;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  border: 1px solid #fff;
  box-shadow: 0px 0px 5px #999;
  background: #6a4a95 url(../images/ctcampus/cd-top-arrow.svg) no-repeat center center;
  border-radius: 50%;
}

.cd-top:hover {
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
  background: #40498a url(../images/ctcampus/cd-top-arrow.svg) no-repeat center center;
}

.cd-top.cd-is-visible {
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-fade-out {
  opacity: 0.9;
}

.no-touch .cd-top:hover {
  background-color: #40498a;
  opacity: 1;
}

.cover_bg {
  display: flex;
  justify-content: center;
  align-items: normal;
  padding: 50px 0px;
  width: 100%;
  position: relative;
  min-height: 350px;
  background: url(../images/school.png) no-repeat left top;
  background-position-y: top;
  background-attachment: scroll;
  background-size: auto;
  background-attachment: fixed;
  background-blend-mode: multiply;
  background-size: 100%;
  background-position-y: 30%;
}

.index_info {
  position: relative;
  z-index: 1;
  top: 50%;
  left: 0%;
  transform: translateY(-56%);
  text-shadow: #010101a1 1px 0 10px;
  color: #fff;
  font-size: 27px;
  text-align: center;
  line-height: 38px;
  /* font-family: "Playfair Display", serif; */
  font-optical-sizing: auto;
  font-weight: 550;
}



.list-item ul {
  display: block;
}

.list-item .content {
  display: flex;
  float: left;
  margin: 0;
  width: 70%;
}

.list-item .content_b  {
}

.list-item .content time {
  flex: 0 0 20%;
  white-space: nowrap;
}

.list-item .content .notice_no {
  flex: 0 0 10%;
}

.list-item .content b {

}

.list-item .content .download {
  flex: 0 0 20%;
}

.list-item ul li {
  background: none;
  box-shadow: none;
  padding: 15px;
  text-align: left;
  background: #fff;
  margin: 10px 0;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  border-radius: 16px;
  background: #fff
}

.list-item ul li:hover {
  background: #e3d8ff !important;
}

.list-item ul li:nth-child(2n+1) {
  background: #efefef
}

.list-item ul li ul li {
  box-shadow: 0 0 5px rgba(0, 0, 0, .0);
  background: none !important
}

.list-item ul li ul li:nth-child(2n+1) {
  background: none !important
}

.list-item .content .download a {
  background: url(../images/icon/icon_download.png) no-repeat left;
  background-position: 3px 5px;
  padding: 8px 0 3px 30px;
  line-height: 19px;
  color: #555;
  background-size: 23px 23px;
  display: block;
  transition: all 0.3s ease 0s;
}

.list-item .content .download a:hover {
  background: url(../images/icon/icon_download.png) no-repeat left;
  background-position: 3px 8px;
  color: #666;
  background-size: 23px 23px;
}


/* toolbar */
#toolbar-item-administration-tray {
  margin: 0 !important;
  padding: 0 !important;
}

#toolbar-item-user {
  min-width: unset !important;
}

/* full page */
.fullPage #main_content {
  width: 100%;
}

/* home_zoneA */
/* .home_zoneA .region {
  display: flex;

  flex-wrap: wrap
} */

#block-olivero-views-block-latestnews-block {
  width: calc(37.5% - 20px);
  border-radius: 25px;
  float: left;
  background-color: #4b3e8e; color: white;
}

#block-olivero-views-block-sermon-block-1 {
  width: calc(37.5% - 20px);
  /* background: #4b3e8e;
  border-radius: 25px; */  float: left;
}

#block-olivero-views-block-usefullinks-block-1-2 {
  width: calc(23% - 20px) ; float: left;
}

.home_zoneA .region>* {
  margin: 10px;
}


/* header */


.header {
  display: flex;
  position: relative;
}

.header .logo {
  display: flex;
  left: 10px;
  position: relative;
  flex-direction: column;
  white-space: nowrap;
  float: right;
  height: 115px;
  background: #fff;
  width: calc(100% + 340px);
  padding: 0;
  margin: 0;
}

.header .logo a {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
}

.header .logo .logo_img {
  width: 200px;
  height: 200px;
  float: left;
  background: #fff;
  margin: 0;
  border-radius: 0 0 50% 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  margin-top: 15px;
  display: flex;
  align-items: center;
  z-index: 6;
}

.header .logo img {
  width: 55%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.header .logo .text-content {
  position: relative;
  height: 125px;
  padding: 0;
  margin: 0;
  z-index: 6;
}

.header .logo .text-content .line1 {
  font-size: 16px;
  font-weight: 300;
  color: #666;
  width: 100%;
  margin: 0;
}

.header .logo .text-content .line2 {
  font-size: 24px;
  color: #6a4a95;
  width: 100%;
  margin: 0;
}

.header .text-content-text {
  position: absolute;
  bottom: 10px;
  font-family: "cwTeXYen", "Noto Sans TC", sans-serif;
  bottom: 0;
  margin-bottom: 30px;
  padding-left: 10px;
  line-height: normal;
}

.header .icon_top {
  width: 100%;
  position: absolute;
  top: 0;
  height: 105px;
}

.header .icon_top .links_top {

  height: 100%;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: auto;
  margin: 0;
}
#content .editingAdd { right:0  ; left: auto;}

.header .icon_top .links_top ul.links_icon {
  display: flex;
  list-style: none;
  margin: 0;
  float: right;
  align-items: baseline;
  justify-content: flex-end
}

.header .icon_top .links_top ul.links_icon li {
  margin: 0 5px;
}

.header .icon_top .links_top ul.links_icon li img {
  height: 50px;
}

#nav-wrap {
  margin: 0;
  background: #5d4b8c;
  width: calc(100% - 100px);
  float: right;
  right: 0;
  margin-left: 100px;
  position: absolute;
  border-bottom-right-radius: 30px;
  z-index: 4;
}

ul#main-menu {
  width: calc(100% - 100px);
}

/* latest news - blocks */
#block_latest-news {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 20px;
  position: relative;
   min-height:400px; max-height:400px; 
}

#block_latest-news .more-link {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}

#block_latest-news .more-link a {
  background: #fff;
  border-radius: 0 25px 0 50%;
  padding: 10px 20px;
  border: 0;
  transition: all 0.3s ease;
  display: block;
}

#block_latest-news .more-link a:hover {
  padding: 10px 30px !important;
}

#block_latest-news .section-header {
  margin: 0;
  padding: 0;
}

#block_latest-news .blocktitle p {
  font-size: 32px;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  line-height: 1.2;
  margin: 0;
  padding-left: 0;
  gap: 0;
}

#block_latest-news .blocktitle p span {
  display: inline-block;
  width: 46px;
  height: 37px;
  background-image: url(../images/web/icon_news.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
  position: relative;
}

#block_latest-news .Block_A {
  background-color: #ffffffb5;
  border-radius: 25px;
  height: 100%;
  overflow: auto;
  margin: 0;padding: 10px;
}

#block_latest-news .news-item {
  display: flex;
  align-items: flex-start;
  transition: transform 0.3s ease, background-color 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: none;
  padding: 0px;
  margin: 0;
  gap: 0px;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  overflow: hidden;
}

#block_latest-news .news-item:hover {
  background-color: #f9f5fc;
  box-shadow: 0 2px 8px rgba(74, 0, 114, 0.1);
}

#block_latest-news .news-date {
     background-color: #7066af;
    color: white;
    border-radius: 8px;
    text-align: center;
    display: block;
    border: 1px solid #7c7386;
    float: left;
    margin: 0 0px 0 0;
    overflow: hidden;
    padding: 2px;
    width: 50px;
}

#block_latest-news .news-date .day {
  font-size: 22px; line-height:25px;
  font-weight: bold;
  display: block;
  height: 60%;
  line-height: 36px;
  background-color: #7066af;
}

#block_latest-news .news-date .month {
      font-size: 14px;
    background: #4c4092;
    display: block;
    height: 40%;
    line-height: 22px;
    border-radius: 6px;
}

#block_latest-news .news-content {
      width: calc(100% - 60px);
    float: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 5px 0;
    overflow: hidden;
}

#block_latest-news .news-content h3 {
  margin: 0 0 5px 0;
  font-size: 21px;
  color: #6a4a95;
  transition: color 0.3s ease;
  border-bottom: 0;
  padding: 0;
  font-weight: 500;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}

#block_latest-news .news-item:hover .news-content h3 {
  color: #4a0072;
}

#block_latest-news .news-content p {
  margin: 0;
  font-size: 17px;
  color: #333;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  flex: 1;
  word-break: break-word;
}

#block_latest-news li  a{
  width:100%;
  padding: 5px;
}

#block_latest-news .news-item-more {
  margin-left: auto;
  font-size: 17px;
  color: #4a0072;
  text-decoration: none;    padding: 5px 0;
    width: auto;
  padding: 5px 0; white-space:nowrap;
}

#block_latest-news .news-item-more:hover {
  text-decoration: underline;
}

/* sermon - block */
#sermon b { margin-bottom:15px; font-size:36px; }

 #block-sermon {
  background: url("../images/web/new_bg.png") no-repeat;
  background-size: cover;
  padding: 20px;
  border-radius: 25px;
    min-height:400px; max-height:400px; 
} 

.template_list ul li span {  color:#5d4b8c;}

#block-sermon .section-header {
  padding: 0;
  margin: 0;
}

#block-sermon .blocktitle {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  font-size: 24px;
  line-height: 36px;
}

#block-sermon .blocktitle p {
  font-size: 32px;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  line-height: 1.2;
  margin: 0;
  padding-left: 0;
  gap: 0;
}

#block-sermon .blocktitle p span {
  display: inline-block;
  width: 24px;
  height: 37px;
  background-image: url(../images/web/icon_talk.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
}

#block-sermon .sermon-info {
  margin-top: 15px;
  padding: 20px 0 ;
  background: #fff;
  width: 100%;
  border-radius: 20px;
  color: #000;
  flex: 1;min-height: 310px;overflow-y: scroll;
  max-height: 310px;
}

#block-sermon .sermon-info li {
  list-style: none;
  margin: 0;
  padding: 0 40px;
}
#block-sermon .sermon-info li { border-bottom:1px dotted #666; padding:5px 0px}

#block-sermon .sermon-title-live {
  font-size: 20px; line-height:23px;
  margin-bottom: 5px;
  color: #6a4a95;
}

#block-sermon .sermon-meta {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
  font-size: 13px;
  flex-wrap: wrap;
}
.sermon-details{ clear:both; line-height:15px}
#block-sermon .sermon-meta .icon {
  padding: 0;
}

#block-sermon .sermon-meta .icon .fa-calendar-alt {
  -webkit-mask: url("../images/web/SVG/lecture_date.svg") no-repeat center;
  mask: url("../images/web/SVG/lecture_date.svg") no-repeat center;
  mask-size: contain;
  width: 23px;
  height: 25px;
  background: #fff;
  margin: 0;
  padding: 0;
}

#block-sermon .sermon-meta .icon .fa-clock {
  -webkit-mask: url("../images/web/SVG/time.svg") no-repeat center;
  mask: url("../images/web/SVG/time.svg") no-repeat center;
  mask-size: contain;
  width: 23px;
  height: 25px;
  background: #4b3e8e;
  margin: 0;
  padding: 0;
}

#block-sermon .sermon-meta span:nth-child(1) {
  background: rgb(75, 62, 142);
  color: #fff;
}

#block-sermon .sermon-meta span:nth-child(2) {
  background-color: #f0e8f7;
  color: rgb(75, 62, 142);
}

#block-sermon .sermon-meta span:nth-child(2) span {
  background: none
}

#block-sermon .sermon-meta span {
  display: flex;
  align-items: center;
  padding: 2px 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: fit-content;
}


#block-sermon .sermon-meta .icon {
  margin-right: 5px;
}

#block-sermon .sermon-details p {
  margin: 5px 0;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
}

#block-sermon .sermon-details p strong {
  color: #6a4a95;
}

#block-sermon .slick-slide {
  margin: 0;
}

#block-sermon .slick-dots li button:before {
  color: #999;
}

#block-sermon .slick-dots li.slick-active button:before {
  color: #4b3e8e;
}

#block-sermon .slick-dots li button:before {
  width: 100%;
  line-height: 70px;
} 

.swiper-pagination-bullet-active{
  background: #4b3e8e !important;
}

/* useful links - block */
.useful-links {
  width: 100%;
  height: 400px; 
  display: flex;
  flex-direction: column;
}


.useful-links .tpl-info {
  display: flex
  ;
      gap: 20px;
      flex-direction: column;
      height: 100%;
      margin: 0;
      padding: 0;
      list-style: none;
}

.useful-links .tpl-info li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  margin: 0;
}


.useful-links .tpl-info li:nth-child(1) a.quick-link-card {
  background: url(../images/web/banner_cross.png);
  background-size: cover;
  background-repeat: no-repeat; gap:10px;
}

.useful-links .tpl-info li:nth-child(2) a.quick-link-card {
  background: url(../images/web/banner_live.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.quick-link-card {
  display: flex;
}

.quick-link-card:hover {
  background-color: #6a1b9a;
  box-shadow: 0 8px 20px rgba(74, 0, 114, 0.2);
}

.quick-link-card .icon {
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.quick-link-card .icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.quick-link-card:hover .icon {
  transform: scale(1.2);
}

.quick-link-card span {
  font-size: 24px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.quick-link-card:hover span {
  transform: scale(1.1);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* .useful-links .quick-link-card {
  aspect-ratio: 1.5 / 1;
} */

.useful-links .quick-link-card .background-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.useful-links .quick-link-card .icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search_m{ display:none}

.useful-links .quick-link-card .icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.useful-links .quick-link-card {
  padding: 0px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 100%;gap: 10px;
}


.useful-links .quick-link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  transition: all 0.4s ease;
}

.useful-links .quick-link-card:hover {
  transform: translateY(-10px);
  background-color: #6a1b9a;
}

.useful-links .quick-link-card:hover::before {
  background: rgba(74, 0, 114, 0.6);
}

.useful-links .quick-link-card .icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.useful-links .quick-link-card:hover .icon {
  transform: scale(1.2);
}

.useful-links .quick-link-card span:not(.icon) {
  font-size: 25px;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  color: white;
}

.useful-links .quick-link-card:hover span:not(.icon) {
  transform: scale(1.1);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* activity - block */
#block_activity {
  padding: 40px 0px;
  border-radius: 10px;
}

#block_activity .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

#block_activity .blocktitle {
  font-size: 32px;
  color: #fff;
  font-weight: bold;
}

#block_activity .view-more {
  margin: 0;
}

#block_activity .view-more .more-link a {
  display: inline-block;
  padding: 6px 48px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
  transition: all 0.3s ease;
  border: 0;
  border-radius: 20px;
}

#block_activity .view-more .more-link a {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#block_activity .view-more .more-link a::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #fff, #fff);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

#block_activity .view-more .more-link a:hover {
  color: #666;
}

#block_activity .view-more .more-link a:hover::before {
  left: 0;
}

#block_activity .blocktitle {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  font-size: 24px;
  line-height: 36px;
}

#block_activity .blocktitle p {
  font-size: 32px;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  line-height: 1.2;
  margin: 0;
  padding-left: 0;
  gap: 0;
}

#block_activity .blocktitle p span {
  display: inline-block;
  width: 50px;
  height: 39px;
  background-image: url(../images/web/icon_events.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
}

#block_activity .Block_A {
  border-radius: 30px;
  background: #e2d9da;
  padding: 50px;
}

#block_activity .activities-grid ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  list-style: none;
}

#block_activity .activities-grid ul li{
  display: flex;
}



#block_activity .activity-card a {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex
;
  position: relative;
  border-bottom: 3px solid #a592b7;
  padding: 20px;
  align-items: flex-start;
}

.swiper-slide {
  margin-top: 48px
}

#block_activity .activities-grid li+li+li {
  border-bottom: none
}

#block_activity .activity-card a:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
  background: #fff;
  cursor: pointer;
  border-bottom: 3px solid #4b3e8e;
}

#block_activity .card-image-container {
  width: 50%;
  overflow: hidden;
  position: relative;
}

#block_activity .card-image-container img {
  object-fit: cover;
  transition: transform 0.3s ease;
  height: 100%;
  border-radius: 16px;
  width: 100%;
  border: 3px solid #6a4a95;
}



#block_activity .date-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(123, 79, 171);
  color: #fff;
  /* width: 80px;
  height: 80px; */
    width: clamp(50px, 10vw, 80px);
    height: clamp(50px, 10vw, 80px);

  border-radius: 50%;
  text-align: center;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;

}



#block_activity .date-badge .day {
  font-size: clamp(16px, 4.3vw, 30px);
  display: block;
}

#block_activity .date-badge .month {
  font-size: clamp(12px, 2.3vw, 18px);
  display: block;
  color: #f7dd4c;
}

#block_activity .card-content {
  padding: 15px;
  width: 50%;
}

#block_activity .card-content h3 {
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 32px;
  color: #6a4a95;
  border-bottom: 0px;
  font-weight: 300;
  position: relative;
}

#block_activity .card-content p {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* recording - block */
#block_recording {
  padding: 50px 0;
}

#block_recording .section-header {
  position: relative;
}

#block_recording .blocktitle {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  font-size: 24px;
  line-height: 36px;
  margin-bottom: 50px;
}


#block_recording .blocktitle p span {
  display: inline-block;
  width: 27px;
  height: 42px;
  background-image: url(../images/web/icon_talkb.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
}

#block_recording .blocktitle p {
  font-size: 32px;
  color: #675aac;
  display: flex;
  align-items: center;
  position: relative;
  line-height: 1.2;
  margin: 0;
  padding-left: 0;
  gap: 0;
}

#block_recording .view-more {
  margin: 0;
  position: absolute;
  top: 0;
  right: 0;
}

#block_recording .view-more .more-link a {
  display: inline-block;
  padding: 6px 48px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(to right,
      rgba(105, 74, 148, 1),
      rgba(105, 74, 148, 0.3));
  transition: all 0.3s ease;
  border: 0;
  border-radius: 20px;
}

#block_recording .view-more .more-link a {
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #fff;
  background: linear-gradient(to right,
      rgba(105, 74, 148, 1),
      rgba(105, 74, 148, 0.3));
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#block_recording .view-more .more-link a::before {
  content: "";
  position: absolute;
  right: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(105, 74, 148, 1);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

#block_recording .view-more .more-link a:hover {
  color: #fff;
}

#block_recording .view-more .more-link a:hover::before {
  right: 0;
}

#block_recording .recording-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0 0 0;
}

#block_recording .recording-card {
  background-color: #675aac;
  color: #fff;
  border-radius: 20px;
  padding: 5%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  display: flex;
  flex-direction: column;    box-shadow: none;
}

#block_recording .recording-card a {
  display: flex;
  gap: 5%;
  align-items: center;
  color: #fff;
  height: 100%;
  text-decoration: none;
}

#block_recording .recording-card:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

#block_recording .recording-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

#block_recording .recording-icon {
  position: relative;
  /* width: 35%; */
  height: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

#block_recording .recording-icon::before {
  /* content: "";
  background: url("../images/web/icon_talk.png") no-repeat;
  position: absolute;
  width: 20px;
  height: 30px;
  z-index: 1;
  background-size: contain; */
  content: "";
  background: url(../images/web/icon_talk.png) no-repeat;
  position: absolute;
  width: 20px;
  /* height: 30px; */
  z-index: 1;
  left: 0;
  background-size: contain;
  aspect-ratio: 49 / 76;
  top: 0;
}

#block_recording .recording-card h3 {
  font-size: 19px;
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 300;
  border-bottom: 0;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

#block_recording .recording-card p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 5px;
  opacity: 0.9;
}

#block_recording .recording-info {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#block_recording .recording-info time {
  padding-left: 0
}

#block_recording .recording-info time::before {
  display: none
}

/* message sector */

.main-message-section {
  background-color: rgba(106, 74, 149, 0.7);
  color: #fff;
  padding: 60px 20px;
  text-align: center;

  position: relative;
  overflow: hidden;
}

.main-message-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/web/bg_church.png);
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.main-message-section>* {
  z-index: 2;
  position: relative;
}

.main-message-section .subtitle {
  font-size: 21px;
  margin-bottom: 5px;
}

.main-message-section .main-title {
  font-size: 48px;
  font-weight: 300;
  padding: 0;
  margin-bottom: 5px;
  color: #fff;
  line-height: 1.3;
}

.main-message-section .message-content p {
  font-size: 19px;
  line-height: 1.8;
  margin: 0 auto 5px auto;
  color: #fff;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.main-message-section .scripture-reference {
  font-size: 19px;
  color: #fff;
}


/* contact - block */
#block_contact.contact-section {
  background: linear-gradient(135deg, #6b4595 0%, #8b5ec7 100%);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

#block_contact.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 20px);
  animation: backgroundMove 20s linear infinite;
}

#block_contact .contact-content {
    margin: 0 auto;
    display: flex
;
    /* gap: 40px; */
    position: relative;
    flex-wrap: wrap;
    z-index: 1;
    /* justify-content: space-around; */
}

.contact-block:nth-child(2){
      margin: 0 16% !important;
    display: flex
;
}

  #block_contact .contact-content>* {
    margin: 0;
}  

@media screen and (max-width:960px) {
#block_contact .contact-content {
     gap: 40px; 
}


    #block_contact .contact-content>* {
 flex:1;
 
}  

}

#block_contact .contact-block h3 {
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
}

#block_contact .contact-block h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s ease;
}

#block_contact .contact-block:hover h3::after {
  width: 80px;
}

#block_contact .contact-info a {
  color: #fff;
  text-decoration: underline;
}

#block_contact .contact-info p {
  margin: 10px 0;
  transition: transform 0.3s ease;
}

#block_contact .business-hours {
  list-style: none;
  padding: 0;
  margin: 0
}

#block_contact .business-hours li {
  margin: 0;
  display: flex;
  transition: transform 0.3s ease;
}

#block_contact .business-hours li:hover {
  transform: translateX(10px);
}

#block_contact .business-hours span {
  white-space: nowrap
}

#block_contact .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

#block_contact .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#block_contact .social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

#block_contact .social-icon img {}

@keyframes backgroundMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 100% 100%;
  }
}



/* sidebar style */
.sidebar-style-1 .metismenu {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(93, 75, 140, 0.08);
}

.sidebar-style-1 .metismenu a {
  color: #5d4b8c;
  border-radius: 8px;
}

.sidebar-style-1 .metismenu a:hover,
.sidebar-style-1 .metismenu .mm-active>a {
  background: #5d4b8c;
  color: #fff !important;
}

/* media */
@media screen and (min-width: 961px) {
  .header .logo .logo_img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 1px 1px 6px rgb(0 0 0 / 10%);
    pointer-events: none;
  }
}


@media (max-width: 1200px) {
  .header {
    margin: 0;
  }

  .region--home-top {
    grid-template-columns: 70% 30% !important;
    grid-template-rows: auto auto;
  }

  .region--home-top>div:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .region--home-top>div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .region--home-top>div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  #block_activity .activity-card a{
    flex-direction: column;
  }

  #block_activity .card-image-container,#block_activity .card-content{
    width:100%;
  }
}

@media (max-width: 960px) {
  #nav-wrap {
    z-index: 6;
  }

  .header {
    height: auto;
    padding: 0;
    margin: 0;
  }

  .header .logo {
    width: 100%;
    max-width: 1600px;
    margin: 0;
    padding: 0;
    left: 0;
  }

  .header .logo .logo_img {
    width: 120px;
    height: 120px;
    border-radius: 0;
    margin-top: 0;
    display: flex;
    background: none;
    align-items: center;
  }

  .header .text-content-text {
    margin-top: 20px;
    margin-left: -20px;
    top: 0;
    height: fit-content;
  }

  .header .links_icon {
    float: left !important;
    margin-left: 105px !important;

  }

  .main-message-section .message-content p {
    white-space: normal !important;
  }


}

@media (max-width: 768px) {
  #block_recording .recording-carousel {
    padding: 10px;
  }


  .region--home-top {
    grid-template-columns: 100% !important;
    grid-template-rows: auto auto auto;
  }

  .region--home-top>div:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .region--home-top>div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .region--home-top>div:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .useful-links .tpl-info {
    flex-direction: column;
  }

  .useful-links .quick-link-card {
    aspect-ratio: unset !important;
  }

  #block_latest-news .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  #block_latest-news .news-date {
    margin-right: 0;
    margin-bottom: 10px;
  }

  #block-sermon .sermon-meta {
    flex-direction: column;
    gap: 8px;
  }

  .whc-contact-section-content {
    flex-direction: column;
  }

  .whc-contact-section-block {
    text-align: center;
  }

  .whc-contact-section-block h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .business-hours li {
    align-items: center;
    gap: 5px;
  }

  .social-icons {
    justify-content: center;
  }

  .main-title {
    font-size: 28px;
  }

  footer .copyright,
  footer .power {
    text-align: center;
    width: 100%;
  }

  #block_latest-news .news-item {
    height: 100px;
    min-height: 100px;
    max-height: 100px;
  }
  
  #block_latest-news .news-content h3 {
    font-size: 18px;
    -webkit-line-clamp: 2;
  }
  
  #block_latest-news .news-content p {
    font-size: 15px;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 576px) {
  #block_activity .activities-grid {
    grid-template-columns: 1fr;
  }

  #block_recording .sermon-card {
    flex: 0 0 85%;
    max-width: 300px;
  }

  .main-title {
    font-size: 24px;
  }

  .main-message-section .message-content p {
    font-size: 15px;
  }

  #block_latest-news .news-item {
    height: 90px;
    min-height: 90px;
    max-height: 90px;
  }
  
  #block_latest-news .news-content h3 {
    font-size: 16px;
    -webkit-line-clamp: 1;
  }
  
  #block_latest-news .news-content p {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }
}

#sermon_news b {
  font-size: 26px;
  color: #4b3e8e;
  margin-bottom: 10px;
}

#sermon_news ul {
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  list-style: none
}

#sermon_news li {
  box-shadow: none;
  white-space: nowrap;
  padding: 0 !important;
  margin-bottom: 10px !important;
}

#sermon_news time {
  padding-left: 0;
}

#sermon {
  display: block;
  padding: 10px 20px; width:100%;
}

.content b {
  font-size: 25px;
  color: #5d4b8c;
}

#sermon ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

#sermon time::before {
  display: none
}

#sermon time {
  padding: 0
}

#sermon ul li {
  padding: 0; margin:0;
}

/* audio */
audio {
  margin: 10px 0;
}


.template_list {
  width: 100%;
}

.template_list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.template_list ul li {
  flex: 1;
  padding: 0px;
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
  align-content: space-between;
}

.template-A ul li+li .template_list ul li {
  align-content: center;
}

.template_list ul li span {
  width: 100%;
}

.template-A ul li+li .template_list ul li span {
  display: none
}

.template_list ul li a {
  color: #5d4b8c;
  line-height: 20px;
}

#template_list_media_group {
  display: flex;
  flex-wrap: wrap; align-content: baseline;
}

#template_header {
  margin: 0;
  padding: 15px;
}

#template_header ul {
  padding: 15px
}

#template_list_mp3 {
  min-width: 260px;
}



.header #block-olivero-search-form-narrow {
  margin: 0 10px 0 0
}


.header #search-block-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #003d93;
  padding: 0px 5px 0px 5px;
}

.header #search-block-form:hover {
  width: 300px;
}

.header #edit-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #003d93;
  width: 45px;
  height: 45px;
  border-radius: 50px;
}

.header .button--primary {
  -webkit-mask: url("../images/web/SVG/i_search.svg") no-repeat center;
  mask: url("../images/web/SVG/i_search.svg") no-repeat center;
  mask-size: contain;
  background: #fff;
  width: 20px;
  height: 20px;
  padding: 0px;
  border: none;
  cursor: pointer;
  margin: 10px;
}

.header .button--primary:hover {
  background: #555;
}

.header .button--primary::after {
  content: "";
}

#edit-keys {
  outline: none;
  padding: 5px;
  height: 40px; min-height:40px;
}

#edit-keys:focus,
.button--primary:focus {
  outline: 2px solid #007BFF;
}

.js-form-type-search {
  margin: 0;
  border-radius: 50px;
  overflow: hidden;
}

#block-olivero-headertop {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

#block-sermon {}


#block-sermon .field-content li {
  overflow-y: auto;
}

.category_news {
  float: right;
  width: 20%
}

.swiper {
  width: 100%;
  height: 100%;
}


#block-sermon .swiper-pagination {
    position: relative !important;
}

.region--content{
  margin-bottom: 50px;
}

.template-AX{ 
  margin-bottom:30px;
  border: 1px solid var(--main-color);
}

.template-AX ol , .template-AX ul { 
  list-style:none; 
  margin:0; 
  padding:0;
}

.template-AX ol li{ 
  list-style:none; 
  font-size:17px; 
  line-height:23px; 
  position:relative; 
  text-align: left;
}


.template-AX ol li span { 
  width:100%; 
  background:#5d4b8c; 
  color:#fff; 
  display:block;    
  padding: 10px;
}

.template-AX ol li+li ul li span { 
  display:none 
} 

.template-AX ol li p{     
  padding: 10px;
  margin: 0;
}

.template-AX ol li p time{ 
  padding:0px 0 !important
}

#template_list_notice { display: flex; width:auto}
#template_list_media_group img{ height:30px; margin:0}
#template_list_notice a { display: inline-block; padding:2px 3px}
.aaud{ margin:0  ; padding:10px 0 ; display:inline-block}
.template-AX ul li { 
  padding: 0;
  border-bottom: 1px solid #ddd;
}


.template-AX ul li time { 
  position:relative; 
}

.template-AX ul li time::before { 
  display:none; 
}

.template-AX #template_list_media_group { 
  width:10%; 
  text-align: center;
  padding-left: 0;
}

.template-AX ol li:nth-child(even){ 
  background:#f7f4ff;
}  

.template-AX ol li ul li:nth-child(even){ 
  background: none !important;
}  


#main_content #calendar tr th{
  border: 0;
}

#main_content  #calendar  tr:nth-child(odd) td{
  padding: 0;
}

#main_content #calendar table{
  border: 0;
}

@media (max-width: 768px) {
  #block_recording .recording-card {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    padding: 4%;
  }
  
  #block_recording .recording-card a {
    gap: 4%;
  }
  

}



@media (max-width: 576px) {
  #block_recording .recording-icon{
    width: 35%;
  }


  #block_recording .recording-card{
    height: auto;
    min-height: auto;
    max-height: none;
  }



  
}

#block-sermon .swiper-button-prev {

  width: 40px !important;
  height: auto !important;
  top: 50% !important;

  background: url("../images/web/left.png") !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  opacity: 0.5 !important;
  aspect-ratio: 1 / 1 !important;
  left: 0 !important;
  position: absolute !important;
  z-index: 10 !important;
}

#block-sermon .swiper-button-next {
width: 40px !important;
  height: auto !important;
  top: 50% !important;
  background: url("../images/web/right.png") !important;
    background-repeat: repeat;
    background-size: auto;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  aspect-ratio: 1 / 1 !important;
  right: 0 !important;
}



@media (max-width: 576px) {
  #block-sermon .swiper-button-prev , #block-sermon .swiper-button-next{
    display: none !important;
  }
  #block-sermon .sermon-info li{
    padding: 0 20px  !important;
  }
}