@charset "utf-8";
/* CSS Document */

html,
body {
  font-family: 'Lato', 'Noto Sans TC', sans-serif;
  font-weight: 400;
  font-size: 19.5px;
  color: #444;
  line-height: 32px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background-color: #EDEDED;
}



:root {
  --main-color: #654210;
  --main2-color: #b8840a;
  --main3-color: #333333;
  --main4-color: #f5f9ff;


}

.region>* {
  margin: 0;
}

.editingAdd {
  position: absolute;
  top: -35px;
}

.home-add {
  top: -15px !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: 2;
  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: #fd9300;
  text-decoration: none;
}

#main_content a:hover {
  color: #666;
  text-decoration: underline;
}

.clear {
  clear: both
}

img {
  border: 0;
}

div,
ul li {
  margin: 0px auto;
  padding: 0px;
}

.pager {
  display: inline-block
}

#page.full #main_content {
  width: 100%;
}

#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: 1800px;
  margin: 0 auto
}

.container {
  max-width: 100%
}

.wide-content {
  width: auto;
  margin: 0
}

.breadcrumb {
  font-size: 15px; margin-bottom:20px;
  padding: 10px 0; border-bottom:1px solid #ddd; float: left; width:100%
}

.breadcrumb a {
  color: var(--main-color);
}

.breadcrumb a:hover {
  color: #4a2628
}

.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: var(--main-color);
  text-transform: uppercase;
  padding-bottom: 20px;
  font-weight: 400;
}

h2 {
  font-size: 34px;
  line-height: 38px;
  color: #404040;
  padding-bottom: 20px;
  font-weight: 400;
}

h3 {
  font-size: 26px;
  line-height: 32px;
  color: var(--main3-color);
  margin-bottom: 20px;
  padding: 5px 0;
  font-weight: 300;
  position: relative;
}

#main_content h3::after {
  content: "";
  background: #4a2628;
  width: 30px;
  height: 5px;
  position: absolute;
  bottom: -5px;
  left: 0;
}


h4 {
  font-size: 23px;
  margin: 0px;
  color: #f2a200;
  line-height: 33px;
  padding: 5px 0;
}

h5 {
  font-size: 23px;
  margin: 0px;
  color: var(--main2-color);
  line-height: 33px;
  padding: 5px 0;
}

h6 {
  font-size: 23px;
  margin: 0px;
  color: var(--main3-color);
  line-height: 33px;
  padding: 5px 0;
}

.title,
.blocktitle,
/* .sch_highlights b, */
#banner_title h1,
.banner_title h1 {
  font-optical-sizing: auto;
  font-style: normal;
  margin: 15px 0;
  padding: 5px 0;
  font-size: 34px;
  line-height: 42px;
  letter-spacing: 0;
  position: relative;
  color: ##044487;
  ;
}



p {
  margin: 0px;
  padding: 0px
}

.blocktitle {
  font-size: 26px;
  color: var(--main-color);
  line-height: 34px; margin:0 0 15px 0; text-transform: uppercase;
}

.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 {
  width: 100%;
  position: relative;
  background: url(../images/web/bg_top.png) no-repeat center center #fdf7ed;
  background-size: cover;
}
#header .screen{
  background: url(../images/web/building.png) no-repeat ; background-size: auto 93%;
  background-position: 45% 100%;
}
  
#header a {
  display: flex;
  align-items: center;flex-shrink: 1;
}


#main_menu {
  padding: 0;
  margin: 0;
  width: 100%; 
  background: url(../images/web/bg_menu.png) #5f3700; background-size:auto 55px;
}



#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;
  margin-right: 0;
  width: 60%
}

#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: .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 {}

#page img {
  max-width: 100%;
}

.home_zoneA {
  padding: 50px 0 20px 0; background:#fff0da;
}

.home_zoneB {
background: url(../images/web/bg_main.png) #fff0da no-repeat top center; background-size: cover; min-height:350px; padding:120px 0 40px 0
}

.home_zoneC {
  background-color: #fff;
}

.useful-links{ float:left; width:48%; margin-bottom:50px; position:relative;}
.useful-links .blocktitle{ color:#fff;}
.useful-links ul li a { display: block; border-radius: 16px; overflow: hidden;border: 3px solid #f6df61;}
.useful-links ul li a  figure { margin: 0;}

.social_media{ float:right ;/*width:20%;*/ z-index:1; margin-top:90px; position:relative; }
.social_media ul li { padding:0 5px;}
.social_media ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display:flex;
}

.social_media ul li {
    transition: transform 0.3s ease-in-out;
}


.social_media ul li:hover {
    transform: scale(1.2); 
}

.social_media ul li img{ height:45px; width: auto; max-width: none !important}


.top_area{ position:absolute; right:0; top:0;}
.bg_eclass{ position: relative; float: right;}
.eclass_button { position: relative;  right: 0;  float: right;}
#sumbit { background: #fc9200;  border: 0;  color: #fff;  padding:8px 12px ; font-size:15px; line-height:19px;  border-radius:8px;font-family: var(--font-sans); cursor: pointer;
 }
#sumbit:hover { background: #ff8a00; color:#fff;}
.bg_eclass ul { float: left; position:relative;
  background: #835f2b;
   border-bottom-left-radius: 16px; border-left: 2px solid #6c4616;  border-bottom: 2px solid #6c4616; 
  padding: 15px 15px ;list-style: none;  margin: auto;    display: flex;
  align-items: center;
  justify-content: center;}
  
.bg_eclass ul::after{ position:absolute; width:50%; right:-50%; content:""; background: #835f2b; height:calc(100% + 4px); border-bottom: 2px solid #6c4616;  pointer-events:none;}
  
.bg_eclass ul li{  float: left;  width: auto;margin: 0 5px;}

.bg_eclass #UserLogin ,.bg_eclass  #UserPassword  {max-width: none;  min-height: 35px;  padding: 5px;border: none;width: 120px;  
border-radius: 10px;  box-shadow: inset -1px 0 3px 1px rgba(0, 0, 0, 0.3333); font-size:15px; line-height:19px;  } 
.bg_eclass .title { font-size:15px; line-height:19px;  font-weight: 500;  color: #fff;}




.more-link { position:absolute; top:15px; right:10px; overflow: visible;
}

.more-link a {
  font-size: 14px; 
  line-height: 19px;
  color: #fff; display:block;
  padding: 8px 40px 8px 15px;
  background: url(../images/web/i_more.png) #4a2628 no-repeat;
  border-radius: 12px;
  background-size: auto 12px;
  background-position: 90% 50%;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, background-position 0.3s ease; /* 添加平滑過渡效果 */
}

.more-link a:hover {
  transform: scale(1.2); /* 放大 1.2 倍 */
  background-color: #6b3a3c; /* 改變背景顏色 */
  color: #ffd700; /* 改變文字顏色 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 添加陰影效果 */
  background-position: 85% 50%; /* 改變背景圖的位置 */
}






.region--breadcrumb {
  margin: 0 0 20px 0;
  padding: 0px 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 {
  padding: 40px 0;
}

#logo img,
.logo_text h2.name-chinese,
.logo_text h3.name-english {
  -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;
}

#logo img {
  max-height: 120px;
  height: auto;
}

.header_area , .top_area , #logo , .social_media {
  transition: opacity 0.5s ease, transform 0.5s ease; /* 添加動畫效果 */ 
}

@media screen and (min-width:961px) {
  .sticky .header_area .top_area , .sticky .header_area #logo  ,  .sticky .social_media{
  opacity: 0; /* 透明度變為 0 */
  transform: translateY(-20%); /* 完全向上移出視窗 */
  position: absolute; /* 切換為絕對定位，避免保留高度 */pointer-events: none;
  right:0;
}
}





[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;
  }
}

#page {
  background: #f8eed7;
  overflow-x: hidden
}

.node__content {
  clear: both;
}

.node__content time {
  display: block !important;
  margin-bottom: 10px;
}


#banner_title,
.banner_title,
#nonbanner_title {
  background-image: url(../images/web/bg_news.png);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  pointer-events: none;
  background-position: center bottom;
  text-align: center;
}




.banner_img {
  position: relative; background-size:cover; background-position: center top; background-repeat:no-repeat;
  
  background-image: url(../images/web/curve.png);
  right: 0;
  width: 100%;
    background-size: auto;
  background-size: 100% auto ; 
}
/*
.banner_img::before{
  position: absolute;
  width: 100%; bottom:0;
  content: "";
  background:url(../images/web/bg_banner.png); height:115px;
  pointer-events: none;
}*/

.banner_img .title{
      position: relative;
    float: left;
    margin: 90px 0 90px 50px;
    font-weight: 400;
    font-size: 38px;
    line-height: 40px;
    color: #404040; text-shadow: 0 0 3px rgba(0,0,0,.2);
    display: inline-block; padding-left:50px;
}
.banner_img .title::before{content:""; background:#ffd664; width:26px; height:26px; pointer-events:none; left:10px; top:14px; position: absolute; border-radius:50%;}

.black_title {
  padding: 100px 0 100px 0;
  margin: 0;
  z-index: 1;
  width: 50%;
  margin-left: 0;
}

.banner_title h1 {
  color: #4a2628;
  text-transform: uppercase;
}

#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;
}





.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, #4a2628 50%, #fc9200 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .5s ease-out;
  
}

.btn_back a:hover {
  background-position: left bottom;
  color: #fff !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%; max-width:60%;
}

.slider-slogan .slogan_text {
  font-size: 30px;
  padding: 15px;
  line-height: 38px;
  color: #fff;
  background: #6d4a1bbd;
}

.slogan_left {
  left: 0;border-top-right-radius: 16px;
border-bottom-right-radius: 16px; overflow: hidden
}

.slogan_right {
  right: 0; border-top-left-radius: 16px;
border-bottom-left-radius: 16px;overflow: hidden
}

.view-empty {
  clear: both
}

footer {
  background: #fff;
  color: #333;
  padding: 30px 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: #2f3563;
  text-decoration: underline
}

#main_content {
  float: right;
  width: 76%;
  line-height: 33px;
  min-height: 500px;
}

#sidebar-nav {
  float: left;
  width: 21%;
  margin-bottom: 50px;
}


.useful-links ul {
  display: grid;
  list-style: none;
  padding: 15px; border-radius:16px;
  margin: 0; background:#fff;
  grid-template-columns: repeat(3, 1fr);
  column-gap: gap: 15px;
}

.useful-links ul li {
  width: calc(100% - 10px);
  position: relative;
  padding: 5px;
}

.history_timeline .blocktitle {
  margin: 0;
  padding: 50px 0;
  color: #fff;
}

#ctd-fliters .form--inline .form-actions {
  margin: auto
}

#ctd-fliters {
  margin-block-end: var(--sp1);
  text-align: right;
  float: right;
}




/* Table */
#main_content table ,table {
 border-collapse: collapse;
  width: 100%;
  line-height: 33px;
  margin: 0; background:#fddc18;
}
.main_calenadr table {background:none}
.main_calenadr tr:nth-child(even) td,.main_calenadr tr:nth-child(odd) td{border:none; background: none}
.main_calenadr tr th {background: none}

#main_content tr:nth-child(even) td, tr:nth-child(even) td {

  color: #333;
  padding: 5px;border: 1px solid rgb(255, 203, 82);
}

#main_content tr:nth-child(odd) td,tr:nth-child(odd) td {
  background: #fff;
  color: #333;
  padding: 5px; border: 1px solid rgb(255, 203, 82);
}

#main_content table ul,
table ol {
  margin: 0;
}

#main_content tr th,tr th {
  background: #4a2628;border: 1px solid rgb(255, 203, 82);
  color: #fff;
  padding: 5px;
}

.location {
  width: 100%;
  margin: 20px 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, .2);
}

iframe {
  width: 100%;
  min-height: 470px;
}


.boxing img { border-radius:16px; }
/* Template */
.tpl-info time,
.block-info time,
.node__content time {
  position: relative;
  display: inline-block;
  padding: 0px 0; color:#ffa31a;
}

.block-info time::before{ display:none;}
.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: 18px;
  height: 19px;
}

#page time {
  text-align: left;
}



#block_activity time::before {
  display: none;
}

.block-info {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none
}

.block-info li {
  position: relative;
}


.tpl-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tpl-info li {
  position: relative;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  background: #fff;
}

.tpl-info li:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
}

.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 ,.useful-links figure  img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  opacity: 1;
}

.tpl-info figure:hover img,
.block-info figure:hover img ,.useful-links figure:hover   img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  opacity: .8;
}

.tpl-info figure,
.block-info figure,.useful-links 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(1, 1fr);
  gap: 10px;
}
.template-B ul li .cover { background:#fc9200; box-shadow:0 0 0; color:#fff !important ; padding:5px 0}
#page  .template-B ul li time { color:#fff !important;}


.template-B ul li {
  width: calc(100% - 30px);
  background: #fff;
  padding: 15px;
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  text-align: center; position:relative;
}

.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;
}

.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 { list-style:none; margin:0; padding:0;
max-height: 350px; min-height:350px;  overflow-y: auto;
}

.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 {
  
  position: relative;
  overflow: hidden;
  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;
  width: calc(100%);
  color: #333;
  background-color: #fff;
  transition: background-color 1.5s ease;
}

.news-card__title {
  transition: color 1s ease;
  margin-bottom: .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: 10px 35px; box-shadow:0 0 3px rgba(0,0,0,.2)}

.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;
  padding: 5px 10px;
  margin: 5px 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 .5s;
}

.category ul li a:hover {
  color: var(--main-color);
}

#ctd-fliters .button {
  background: var(--main-color);
}

#ctd-fliters select {
  color: var(--main-color);
}

#ctd-fliters .button,
#ctd-fliters select {
  font-size: 16px;
  line-height: 24px;
  height: 50px;
}


/* 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; border-top:1px dotted #ddd;
}

.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 .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: 50px 0;
  overflow: hidden;
  position: relative;
background: url(../images/web/bg_menu.png) #5f3700;
    background-size: auto;
  background-size: auto 55px; border-top:2px solid #f3c933;
}



.contact_info {
  color: #fff; float:left; width:48%;
  position: relative;
  z-index: 1;
}
.contact_info .footer_logo{ padding-bottom:30px}
.contact_info .footer_logo img{ max-height:85px; }

.google_map{ float:right; width:48%; }
.google_map iframe{ border:2px solid #fff; box-shadow: 0 0 5px rgba(0,0,0,.2) ; border-radius:16px; min-height:250px;}

.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; font-size:15px; 
}

.contact_info ul li {
  float: left; position:relative;
  width: 100%;
  margin: 5px 0; 
}
.contact_info ul li span{ padding-left:45px;}

.contact_info ul li+li {
  width: 50%;
}

.contact_info ul li::before  {
  background: url(../images/web/i_map.png) no-repeat center center #f3c933; background-size: auto 24px;
  border-radius:50%; content:""; width:30px; height:30px; position:absolute; left:5px; top:0; 
}
.contact_info ul li+li::before  { background: url(../images/web/i_tel.png) no-repeat center center #f3c933; background-size: auto 24px;  }
.contact_info ul li+li+li::before  { background: url(../images/web/i_fax.png) no-repeat center center #f3c933; background-size: auto 24px;  }
.contact_info ul li+li+li+li::before  { background: url(../images/web/i_mail.png) no-repeat center center #f3c933; background-size: auto 24px;  }



.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;
}


.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; border-radius:50%;
  background: rgb(253, 220, 24) url(../images/ctcampus/cd-top-arrow.svg) no-repeat center center
}

.cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
  background: #4a2628 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: .9;
}

.no-touch .cd-top:hover {
  background-color: #835f2b;
  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-weight: 400;
  font-size: 27px;
  text-align: center;
  line-height: 38px;
  font-optical-sizing: auto;
}



.list-item {
  padding: 15px;
}

.list-item ul {
  display: block;
}

.list-item .content {
  display: flex;
  margin: 0;
  width: 100%;
}

.list-item .content time {
  flex: 0 0 20%;
  white-space: nowrap
}

.list-item .content .notice_no {
  flex: 0 0 10%;
}

.list-item .content b {
  flex: 0 0 50%;
}

.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-bottom: 5px;
  width: 100%
}


.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
}

/* school highlights */


/* latest news */

#block_latest-news .header {
  position: relative;
}

.block-info li{ font-size:16px; line-height:21px; position:relative; }

#block_latest-news ul li a { display:block; padding:10px 20px 10px 40px; border-radius:12px;   }
#block_latest-news ul li::before { position:absolute; background: url( "../images/web/i_news2.png") no-repeat center center #4a2628; border-radius:50%; left:10px; top:5px; width:30px; height:30px; background-size:auto 20px; content:""; pointer-evens:none; transition: all 0.3s ease-in-out;
  opacity: 0; }

#block_latest-news ul li:hover::before { left:0px; top:5px; opacity:1; }

#block_latest-news ul li+li { border-top:1px solid #ddd;}
#block_latest-news ul li+li:nth-child(even) a { background:#ffffda; }
.tpl-info time , .node__content time { padding-left:27px;}

#block_latest-news { float:left; width:31%; border-radius:16px; background:#fff; padding:15px 1%; position:relative; }
#block_activity{ float:left; width:31%; border-radius:16px; background:#fff; margin-left:3.3%; padding:15px 1%; position:relative;}
#block_latest-awards{ float:right; width:31%; background:#fddc18; padding:15px 1% 15px 1%; position:relative;border-top-left-radius: 16px;
border-bottom-left-radius: 16px;  }
#block_latest-awards::after{position:absolute; width:50%; right:-50%; top:0; content:""; background: #fddc18; height:calc(100% + 0px); pointer-events:none;}
#block_latest-awards .index_block { border-radius:16px; background:#fcfcee; padding:10px; }

#block_activity .cover{ width:40%}
#block_activity .content{ width:55%; margin-left:5%;}


#block_latest-awards ul li::before { position:absolute; background: url(../images/web/i_awards.png) no-repeat center center #ffb84e; border-radius:50%; left:0px; top:5px; width:30px; height:30px; background-size:auto 20px; content:""; pointer-evens:none; transition: all 0.3s ease-in-out;
  opacity: 1; }


#block_latest-news .blocktitle {

}

#block_latest-news .blocktitle p {
  margin: 0;
  padding: 0;

}

#block_latest-news .block-info>div {
  margin-bottom: 10px;
}

#block_latest-news .news-card {
  background-color: white;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s;
}

#block_latest-news .news-card:hover {
  transform: translateY(-3px);
}

#block_latest-news .news-card a {
  display: block;
  text-decoration: none;
}

#block_latest-news .news-card__text-wrapper {
  display: flex;
  align-items: center;
}

#block_latest-news .date {
  display: flex;
  align-items: center;
  min-width: 120px;
}

#block_latest-news .date time {
  position: relative;
  padding-left: 25px;
  font-size: 17px;
  color: #000;
  white-space: nowrap;
}

#block_latest-news .date time:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23821024"><path d="M9,10H7V12H9V10M13,10H11V12H13V10M17,10H15V12H17V10M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V8H19V19Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

#block_latest-news .title {
  font-size: 17px;
  line-height: 1.3;
  color: #d33c57;
  flex-grow: 1;
}

#block_latest-news .view-more {
  text-align: right;
  padding: 0;
  margin: 0;
}



@media (max-width: 768px) {

  #header .social-container {
    position: static;
  }



  #block_latest-news .news-card__text-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

.latest_news_bg>img {
  clip-path: polygon(0px 10%, 100% 0px, 100% 70%, 0px 80%);
  object-fit: cover;
}

.latest_news_bg .title {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.latest_news_bg {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  background: linear-gradient(to bottom, #ededed 50%, #ffffff 50%);
}



#block_latest-news .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}



.latest_news_bg>* {
  width: 50%;
}

/* toolbar */
#toolbar-item-administration-tray {
  padding: 0 !important;
  margin: 0 !important;
}

/* menu */




.logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.logo_img,
.site-branding__logo {
  max-height: 80px;
}

.logo_text {
  margin-left: 15px;
  display: flex;
  flex-direction: column;
  /* gap: 4px; */
}

.logo_text h2.name-chinese {
  font-size: 32px;
  font-family: 'Noto Serif HK', serif;
  color: #b80d42;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  font-weight: bold;
  border: 0;
}

.logo_text h3.name-english {
  font-size: 16px;
  color: #333;
  line-height: 1.3;
  margin: 5px 0 0 0;
  padding: 0;
  border: none;
}

#header>.screen>div:nth-child(2) {
  width: 100%;
}

#main-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #b80d42;
  box-shadow: none;
  border-radius: 0;
}

#main-menu>li {
  flex: 1;
  text-align: center;
  border: none;
  margin: 0;
}

#main-menu>li>a {
  display: block;
  color: #fff;
  font-size: 18px;
  padding: 15px 5px;
  background: #b80d42;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}



.social-container {
  display: flex;
  align-items: center;
  padding: 10px 0;
  background-image: linear-gradient(to right, rgba(249, 249, 249, 0.1), #f9f9f9 20%);
  position: absolute;
  top: 0;
  right: 0;
  margin-right: -100vw;
  padding-left: 20%;
  padding-right: 100vw;
  overflow: hidden;
}

.connect-text {
  color: #777;
  font-size: 16px;
  margin-right: 15px;
}

.divider {
  width: 1px;
  height: 25px;
  background-color: #ddd;
  margin: 0 15px;
}

.social-icons {
  display: flex;
  align-items: center;
}

.icon {
  color: #666;
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.instagram:hover {
  color: #C13584;
}

.facebook:hover {
  color: #3b5998;
}

.youtube:hover {
  color: #FF0000;
}


@media screen and (max-width: 768px) {

  .side-by-side .text-container {
    flex: none !important;
  }
}


/* menu */
.site-branding {
  display: block;
  float: left;
  flex-shrink: 0;
  align-items: center;
  min-width: auto;
  min-height: auto;
  margin-inline: 0;
  padding-block: 0;
  padding-inline-start: 0;
  padding-inline-end: 0;
}


/* activity highlights blocks */
#block_activity li { margin-bottom:10px; padding:5px; }

#block_activity li:nth-child(even) { background:#f0f0f0; }


#block_activity li a{
  list-style: none; 
}
#block_activity li a{display:flex; align-items: center; justify-content: center; }

#block_activity li:not(:first-child) a {
  display: flex;
}

.cover { border-radius:16px; border:2px solid #fff; box-shadow:0 0 5px rgba(0,0,0,.2); overflow:hidden;}
.cover img{ }

.awards-block {
  margin: 0 auto;
  padding: 20px;
  overflow: hidden;
}

.awards-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.awards-title-main {
  font-size: 32px;
  font-weight: 400;
}

.activity {
  color: #c91c24;
}

.highlights {
  color: #222;
}

.more-btn {
  background-color: transparent;
  color: white;
  padding: 8px 25px;
  border: none;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #c91c24;
  z-index: -1;
  transform: skewX(-15deg);
  transition: all 0.3s;
}

.more-btn:hover::before {
  background-color: #9a241e;
  transform: skewX(0);
}

.more-btn svg {
  margin-left: 10px;
  transition: transform 0.3s;
}

.more-btn:hover svg {
  transform: translateX(5px);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 15px;
}

.awards-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: all 0.4s ease;
}

.awards-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.awards-item:hover img {
  transform: scale(1.05);
}

.awards-item:first-child {
  grid-column: span 6;
  grid-row: span 2;
}

.awards-item:not(:first-child) {
  grid-column: span 3;
  display: flex;
}

.awards-item .image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.awards-item:not(:first-child) .image-container {
  width: 50%;
  flex: 1;
}

.awards-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  aspect-ratio: 10 / 5;
  display: block;
}

.awards-item:first-child .text-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  transition: background 0.3s ease;
}

.awards-item:first-child:hover .text-container {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.awards-item:not(:first-child) .text-container {
  flex: 1;
  padding: 15px;
  background-color: #fff;
  transition: background-color 0.3s ease;
  width: 100%;
}

.awards-item:first-child .awards-date {
  background: #9a241e;
  padding: 0 12px;
  border-radius: 26px;
  color: #fff;
}

.awards-date {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
}

.awards-date svg {
  margin-right: 5px;
  width: 16px;
  height: 16px;
}

.awards-title:first-child {
  font-size: 27px !important;
}

.awards-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  transition: transform 0.3s ease;
  border: 0;
  font-size: 17px;
}

.awards-item:first-child .awards-title {
  color: #fff;
  font-size: 20px;
}

.awards-item:not(:first-child) .awards-title {
  color: #333;
}

.awards-item:hover .awards-title {
  transform: translateY(-3px);
}

.awards-item:not(:first-child) .awards-date {
  color: #666;
}

.awards-block .more-btn:hover::before {
  background-color: #a1a1a1;
  transform: skewX(0);
}

.awards-block .more-btn:hover {
  color: #222;
}

.awards-block .more-btn:hover svg path {
  fill: #222;
}

.awards-block {
  margin: 0 auto;
  padding: 20px;
  overflow: hidden;
}

@media (max-width: 992px) {
  .awards-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .awards-item:first-child {
    grid-column: span 6;
  }

  .awards-item:not(:first-child) {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {

  .awards-item:not(:first-child) .text-container {
    flex: none !important;
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .awards-item:first-child {
    grid-column: span 2;
  }

  .awards-item:not(:first-child) {
    grid-column: span 2;
    flex-direction: column;
  }

  .awards-item:not(:first-child) .image-container {
    width: 100%;
  }
}

/* school highlights */
.sch_highlights {
  padding: 40px 0 100px 0;
  text-align: center;
  color: #fff;
}

.sch_highlights h2 {
  color: rgba(19, 42, 78, 0.9, 1);
  border-bottom: 2px solid #ffe400;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 70px;
  display: inline-block;
  padding: 10px 0;
}

.sch_highlights ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.sch_highlights ul li {
  float: left;
  width: 25%;
  position: relative;
  overflow: hidden;
}

.sch_highlights ul li h5 {
  color: #fff;
  transition: all 0.3s ease;
}

.sch_highlights ul li:hover h5 {
  color: #ffe400;
}

.sch_highlights ul li span {
  padding: 30px 0;
  display: flex;
  justify-content: center;
}

.sch_highlights ul li span img {
  width: 70px;
  height: auto;
}

.sch_highlights ul li figure {
  background: rgba(100, 54, 14, 1);
  width: 100%;
  margin: 0;
  padding: 0;
}

.sch_highlights ul li+li figure {
  background: rgba(136, 26, 13, 1);
}

.sch_highlights ul li+li+li figure {
  background: rgba(40, 39, 38, 1);
}

.sch_highlights ul li+li+li+li figure {
  background: rgba(187, 116, 10, 1);
}

.sch_highlights ul li figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
}

.sch_highlights .hover01 figure:hover img {
  opacity: 0.5;
  transform: scale(1.1);
}

.sch_highlights ul li .banner_desc {
  position: absolute;
  bottom: calc(0% + 0px);
  z-index: 1;
  padding: 100px 2.5% 35px;
  width: 100%;
  left: 0;
  text-align: center;
  background: rgb(20, 43, 80);
  background: linear-gradient(0deg,
      rgba(20, 43, 80, 1) 20%,
      rgba(20, 43, 80, 0) 100%);
  pointer-events: none;
}

.sch_highlights ul li+li .banner_desc {
  background: rgb(136, 26, 13);
  background: linear-gradient(0deg,
      rgba(136, 26, 13, 1) 20%,
      rgba(136, 26, 13, 0) 100%);
}

.sch_highlights ul li+li+li .banner_desc {
  background: rgb(40, 39, 38);
  background: linear-gradient(0deg,
      rgba(40, 39, 38, 1) 20%,
      rgba(40, 39, 38, 0) 100%);
}

.sch_highlights ul li+li+li+li .banner_desc {
  background: rgb(187, 116, 10);
  background: linear-gradient(0deg,
      rgba(187, 116, 10, 1) 20%,
      rgba(187, 116, 10, 0) 100%);
}

.sch_highlights li {
  position: relative;
}

.sch_highlights li .editing {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 11;
}

.sch_highlights li:hover .editing {
  display: block;
}

@media screen and (max-width: 960px) {
  .sch_highlights {
    background-size: cover;
    padding: 50px 20px;
  }

  .banner_desc img {
    width: 70px;
  }
}


/* 
[data-aos][data-aos][data-aos-delay="200"] {
  transition-delay: 0;
}

[data-aos][data-aos][data-aos-delay="200"].aos-animate {
  transition-delay: 0.2s;
}

body[data-aos-duration="400"] [data-aos] {
  transition-duration: 0.4s;
}

[data-aos][data-aos][data-aos-delay="400"] {
  transition-delay: 0;
}

[data-aos][data-aos][data-aos-delay="400"].aos-animate {
  transition-delay: 0.4s;
}

[data-aos][data-aos][data-aos-delay="600"] {
  transition-delay: 0;
}

[data-aos][data-aos][data-aos-delay="600"].aos-animate {
  transition-delay: 0.6s;
}

[data-aos][data-aos][data-aos-duration="700"] {
  transition-duration: 0.7s;
}

body[data-aos-easing="ease"] [data-aos] {
  transition-timing-function: ease;
}

[data-aos^="fade"][data-aos^="fade"] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos^="fade"][data-aos^="fade"].aos-animate {
  opacity: 1;
  transform: translateZ(0);
}

[data-aos="fade-up"] {
  transform: translate3d(0, 100px, 0);
}

[data-aos="fade-left"] {
  transform: translate3d(100px, 0, 0);
} */

/* Proverb Block */
.bible-block {
  align-items: center;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.bible-banner {
  display: flex;
  background-color: white;
  padding: 10px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 1600px;
  margin: 0 auto;
  align-items: center;
  z-index: 1;
  position: absolute;
  overflow: hidden;
}

.cross-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cross {
  width: 60px;
  height: 80px;
  object-fit: contain;
}

.verse-container {
  flex: 1;
  margin-left: 10px;
  line-height: 23px;
}

.text-container h3 {
  font-weight: 300;
}

.text-container h3::after {
  display: none;
}

.verse-title {
  color: #cc2833;
  margin: 0;
  padding: 0;
  font-size: 24px;
}

.verse-text {
  color: #333;
  font-size: 17px;
}

.verse-reference {
  color: #333;
  font-size: 17px;
}

/* footer */
.school-footer {
  background-image: url(/dev/scc/core/themes/olivero/images/web/bg_contact.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  width: 100%;
  overflow: hidden;
  padding: 2% 0;
}

.school-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3%;
}

.school-footer .school-branding {
  display: flex;
  align-items: center;
  margin-right: 20px;
  flex: 1;
}

.school-footer .logo-container {
  margin-right: 15px;
}

.school-footer .school-logo {
  width: 80px;
  height: auto;
}

.school-footer .school-name {
  color: white;
  margin: 0;
}

.school-footer .name-chinese {
  font-weight: bold;
  font-family: 'Noto Serif HK', serif;
  font-size: 34px;
  color: #fff;
  margin: 0;
  padding: 0;
  border: 0;
}

.school-footer .name-chinese::after {
  display: none;
}

.school-footer .name-english {
  margin: 0;
  padding: 0;
  font-weight: normal;
  color: #fff;
  font-size: 21px;
  border: 0;
}

.school-footer .contact-info {
  background-color: #f9e9ed;
  padding: 20px;
  border-radius: 5px 0 0 5px;
  color: #333;
  width: 50%;
  flex: 1;
  position: relative;
  margin-right: -100vw;
  padding-right: 100vw;
}

.school-footer .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.school-footer .contact-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.school-footer .contact-row .contact-item {
  flex: 1;
}

.school-footer .icon-container {
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.school-footer .contact-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.school-footer .info-text {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.school-footer .label {
  color: #7d2638;
}

.school-footer .value {
  font-size: 14px;
}

.school-footer .view-map-btn,
.school-footer .transportation-btn {
  background-color: transparent;
  color: white;
  padding: 8px 25px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  line-height: 1;
  height: auto;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.school-footer .view-map-btn::before,
.school-footer .transportation-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #7d2638;
  z-index: -1;
  transform: skewX(-15deg);
  transition: all 0.3s;
}

.school-footer .view-map-btn:hover::before,
.school-footer .transportation-btn:hover::before {
  background-color: #5e1c29;
  transform: skewX(0);
}

.school-footer .view-map-btn:hover,
.school-footer .transportation-btn:hover {
  color: white;
}

@media (max-width: 768px) {
  .school-footer .footer-content {
    flex-direction: column;
  }



}

/* page style override */

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

div,
ul li {
  margin: 0 auto;
  padding: 0;
}

.wrap {
  width: 100%;
  min-height: 100%;
}

.screen {
  min-width: 300px;
  max-width: 1680px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
  box-sizing: border-box;
}

.container {
  height: auto;
  min-height: 500px;
  overflow: hidden;
  padding: 20px 0;
}

.container .screen {
  padding: 0 15px;
}


#full_content,
.full #main_content {
  max-width: 90%;
  margin: 0 auto;
  float: none
}


#main_content hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}


#main_content h3 span.highlight {
  background-color: rgba(212, 172, 13, 0.15);
  padding: 2px 8px;
  border-radius: 3px;
}



#main_content h5 {
  font-size: 20px;
  margin: 0 0 15px 0;
  color: #7E191B;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.5px;
}

#main_content h5::before {
  content: "▪";
  margin-right: 8px;
  color: #D4AC0D;
}

#main_content h6 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #5a1213;
  line-height: 1.5;
  font-weight: normal;
  text-transform: none;
}

#main_content p {
  margin: 0 0 15px 0;
  padding: 0px;
}

/* sidebar override */
.sidebar-nav {
  background-color: #fff; border-radius:16px; overflow:hidden
}

.sidebar-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .metismenu {
  padding: 5px 10px;
  font-size: 1em;
  display: flex;
  flex-direction: column;
}

.sidebar-nav .metismenu li {
  margin: 0 0 0px 0;
}

.sidebar-nav .metismenu a {
  position: relative;
  display: block;
  padding: 5px 15px;
  color: #495057;
  outline-width: 0;
  transition: all .3s ease-out;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
}


.sidebar-nav .metismenu ul {
  background-color: transparent;
  padding-left: 15px;
  border-left: 2px solid #dee2e6;
  margin-top: 4px;
  font-size: 0.95em;
}

.sidebar-nav .metismenu ul a {
  padding: 5px 15px;
}

.sidebar-nav .metismenu ul ul {
  padding-left: 15px;
}

.sidebar-nav .metismenu ul ul a {
  padding: 5px 15px;
}

.sidebar-nav .metismenu a:hover,
.sidebar-nav .metismenu a:focus {
  background-color: #e9ecef;
  color: #345678;
}

.sidebar-nav .metismenu a:hover::after,
.sidebar-nav .metismenu a:focus::after {
  opacity: 1;
  color: #345678;
}

.sidebar-nav .metismenu li.mm-active>a,
.sidebar-nav .metismenu a.is-active,
.sidebar-nav .metismenu a.current {
  color: #fff !important;
  background-color: #4a2628;
}

.sidebar-nav .metismenu li.mm-active>ul {
  border-left-color: #666;
}

.sidebar-nav>ul {
  background: #f8f9fa;
}

.download_area{ background:#fff; border-radius: 16px; padding:12.5px;}

table {
  width: 100%;
  border-collapse: collapse;
  margin:  0;
  font-size: 15px;
}

main-color {
  background-color: #7E191B;
  color: #ffffff;
  font-weight: 400;
  text-align: center;
  padding: 10px 10px;
}
#main_content table p { margin:0;}

.template-B ul li table td {   padding: 5px 5px; }

table td {
  text-align: center;
  padding: 10px 15px;
  vertical-align: middle;
}

table tr:nth-child(even) {
  background-color: #f9f5f5;
}

#dncalendar-container table tr:nth-child(even) {
    background: none !important;
}

table tr:hover {
  background-color: #f1e8e8;
}

#dncalendar-container table tr:hover{
   background: none !important;
}

/* change */
.logo_text h3.name-english {
  font-size: 19px;
  font-weight: bold;
}

#main-menu>li>a {
  font-weight: 500;
}

ul#main-menu li a {
  font-size: 18px;
  font-weight: 400;
}

ul#main-menu li ul li a {
  font-size: 15px;
}



.boxing .title {
      display: inline-table;
    font-size: 34px;
    line-height: 38px;
    margin: 15px 0 15px 0;
    font-weight: 500;    padding: 5px 0;    color: var(--main3-color);
    position: relative;
}

.boxing .title::after {
content: "";
  background: #ffd664;
  width: 20px;
  height: 20px;
  pointer-events: none;
  left: -18px;
  top: -5px;
  position: absolute;
  border-radius: 50%;
}


/* index - calendar */

.main_calenadr{

    float: left;
    width: 48%;
    margin-left: 4%;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    position: relative;
    background: #fbfcee;
    padding: 0 30px;
}

.main_calenadr #dncalendar-container{
      width: 100%;        margin-bottom: 50px;
}


.main_calenadr::after {
    position: absolute;
    width: 50%;
    right: -50%;
    top: 0;
    content: "";
    background: #fbfcee;
    height: calc(100% + 0px);
    pointer-events: none;
}


button.show_more {
  margin-top: 10px;
  background: #4a2628;
  border-radius: 3px;
  color: #ffff;
  cursor: pointer;    margin-bottom: 5px;
}

.hidden_body{
  display: none;
}

.hidden_body,
.hidden_body p {
  white-space: normal;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-all;
  hyphens: auto;
}