/*****************************************/
.breadcrumb {
  font-size: 0.95rem;
  padding: 3px 0;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.breadcrumb li{
  color: var(--color-master);
}
.breadcrumb li + li::before {
  content: ">";
  margin: 0 0.25em;
  color: #888;
}
.breadcrumb a {
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb a .icon-home{
  position: relative;
  top: 2px;
  display: inline-block;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background-color: var(--bg-master);
  background-image: url(../style/icon_home.svg);
  background-size: 80%;
  background-position: center center;
  margin-right: 0.125em;
}
/*****************************************/
.main-column-full-menu{
  clear: both;
  width: 100%;
  text-align: center;
}
.main-column-full-menu ul{
  display: block;
  width: 100%;
  padding: 3px 0;
  margin: 0;
  list-style: none;
}
.main-column-full-menu ul li{
  display: inline-block;
}
.main-column-full-menu a{
  text-decoration: none;
  color: #000000;
  display: inline-block;
  padding: 8px 16px;
  margin: 0 0 4px 0;
  background-color: #d2d2d2;
  border-radius:5px;
  font-size: 1.1em;
}
.main-column-full-menu a.current{
  color: #ffffff;
  background-color: var(--bg-master);
}
.main-column-full-menu a:hover{
  color: #000000;
  background-color: var(--hover-bg);
}
/*****************************************/
.page-option{
  position: relative;
  z-index: 2;
  text-align: center;
  display: block;
  margin-top: 1em;
  padding: 1em 0px;
  background-color: #ececec;
  border-radius: 10px;
}
.page-option .box{
  position: relative;
  display: inline-block;
  padding-top: 12px;
  margin: 0 8px;
}
.page-option .box label{
  position: absolute;
  left: 5px;
  top: 0;
  padding: 0 3px;
  background-color: #ececec;
  font-size: 0.8em;
  border-radius: 3px;
}
/*****************************************/
/*****************************************/
.page-option input{
  padding: 5px;
  margin-bottom: 5px;
  background-color: #fff;
  border-radius:5px;
  border: #444445 1px solid;
  font-family: "Microsoft JhengHei", "PingFang TC", "Heiti TC", "黑體", sans-serif;
  appearance:none;
  -moz-appearance:none; /* Firefox */
  -webkit-appearance:none; /* Safari 和 Chrome */
  font-size: 1.1em;
}
.page-option select{
  padding: 5px;
  margin-bottom: 5px;
  background-color: #fff;
  border-radius:5px;
  border: #444445 1px solid;
  font-family: "Microsoft JhengHei", "PingFang TC", "Heiti TC", "黑體", sans-serif;
  font-size: 1.1em;
}
.page-option button{
  padding: 6px 10px;
  margin-bottom: 5px;
  min-width: 60px;
  border-radius:5px;
  border: none;
  color: #ffffff;
  background-color: #0d3e5c;
  appearance:none;
  -moz-appearance:none; /* Firefox */
  -webkit-appearance:none; /* Safari 和 Chrome */
  font-family: "Microsoft JhengHei", "PingFang TC", "Heiti TC", "黑體", sans-serif;
  font-size: 1.1em;
}
.page-option button:hover{
  color: #000000;
  background-color: var(--hover-bg);
}
/*****************************************/
.bg-line{
  display: block;
  width: 100%;
  height: 1em;
  background-image: url(../style/bg_line.svg);
  background-repeat: repeat-x;
  background-size: contain;
  margin-top: 1em;
}
/*****************************************/
/*************************************/
/*PAGE*/
.page_container{
  display: block;
  width:100%;
  height:auto;
  text-align:center;
  margin:0px 0 15px 0;
  background-color: #f2f2f2;
  border-radius: 20px;
  padding: 3px;
}
#page_block{
  display:inline-block;
  width:auto;
  padding:0;
  width:100%;
  text-align:center;
  font-size: 0.9em;
}
ul#page_block {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}
ul#page_block li{
  display: inline-block;
}
ul#page_block .page_prev {
  border-right: 1px dotted #aaa;
}
ul#page_block .page_next{
  border-left: 1px dotted #aaa;
}

.page_block_see{
  display:inline-block;
  color:#06F;
  height:28px;
  line-height:28px;
}
#page_block a,
#page_block span.info,
#page_block span.page_prev,
#page_block span.page_next{
  display:inline-block;
  text-decoration: none;
  padding: 0 5px;
}
#page_block a:hover{
  color:#069;
}
#page_block .page{
  padding:0 7px 0 7px;
  margin:0 -3px 0 0;
}
#page_block .page_prev{
  border-right:1px dotted #aaa;
}
#page_block .page_next{
  border-left:1px dotted #aaa;
}
#page_block .page_back{

}
.page_container_prev_next{
  width:100%;
  text-align:center;
  color:var(--theme_master_color);
  padding:20px 0 0 0;
  margin:0 0 10px 0;
}
.page_container_prev_next .page_block a{
  margin:0 10px 0 10px;
  color:#666665;
}
.page_container_prev_next .page_block a:hover,
.page_block a:hover{
  color:#069;
}
.page_block .jump{
  cursor:pointer;
}
.page_block .page_block_row{
  display: inline-block;
  margin: 0 5px 5px 0;
}
.page_block_showpage{
  display:inline-block;
  padding:0;
  text-align:center;
}
.page_block_showpage a{
  color:#666;
  display:inline-block;
  zoom:1;
  line-height:27px;
  margin:0;
  padding:0px 10px;
  -webkit-border-radius:25px;
  -moz-border-radius:25px;
  border-radius:25px;
}
.page_block_showpage a.page_block_see{
  background-color:var(--theme_master_color);
  display:inline-block;
  color:#FFF;
  font-weight:bold;
}
.page_block_showpage a:hover{
  color:var(--theme_master_color);
}
.page_block_showpage a.page_block_see:hover{
  color:#FFF;
}
.page_block_showpage .page_back{
  display:inline-block;
  padding:0;
  margin:0;
  border:none;
}
.page_block_showpage .page_prev{
  display:inline-block;
  padding:0 5px 0 0;
  margin:0 5px 0 0;
  border:none;
}
.page_block_showpage .page_next{
  display:inline-block;
  padding:0 0 0 5px;
  margin:0 0 0 5px;
  border:none;
}
/********************************/
article.site section.page h2:not(.fc-toolbar-title){
  text-align: left;
  position: relative;
  display: block;
  width: 100%;
  margin: 1em auto;
  background-color: transparent;
  border-bottom: 2px solid #d6d6d6;
  letter-spacing: 0.08em;
  padding: 8px 0;
  margin-top: 0;
  border-radius: 0; 
}
article.site section.page h2:not(.fc-toolbar-title)::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 180px;
  height: 6px;
  border-radius: 5px;
  background-color: var(--bg-master);
  display: block;
}
.main_date{
  display: block;
}
.main_date ul.date-meta{
  padding: 0;
  margin: 0;
  display: block;
}
.main_date ul.date-meta li{
  display: inline-block;
}
.main_date ul.date-meta li:not(:first-child)::before {
  content: "／";
}
.main_date ul.date-meta-mode2{
  padding: 0;
  margin: 0 auto 1em auto;
  display: block;
  list-style: none;
  line-height: 2em;
  background-color: #ececec;
  padding: 1em;
  border-radius: 0.5em;
  font-size: 1.05em;
}
.main_date ul.date-meta-mode2 li{

}
.HTML_info{
  clear:both;
  width:100%;
  letter-spacing:1px;
  font-size: 1.25rem;
  line-height:1.65em;
  margin:0 0 20px 0;
  word-break: break-all;
  text-align: justify;
}
.HTML_info border,
.HTML_info border img,
.HTML_info img,
.HTML_info iframe{
  max-width:100% !important;
}
/***/
.pic_left{
    float: left; 
    margin-top: 5px;
    margin-right: 8px;
}
.pic_right{
    float: right; 
    margin-top: 5px;
    margin-left: 8px;
}
.pic_left img{
    width:380px;
}
.pic_right img{
    width:380px;
}
.pic_top{
    margin-bottom: 8px;
}
.pic_down{
    margin-top: 8px;
}
@media screen and (max-width:480px) {
  .pic_left img{
    max-width:100%;
  }
  .pic_right img{
    max-width:100%;
  }
}
/***/
.attachment{
  display: block;
  width: 100%;
}
.attachment .title{

}
ul.ul_attachment{
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.ul_attachment li{
  display: block;
  width: 100%;
  background-color: #e6fcfb;
  font-size: 1.1em;
}
ul.ul_attachment li a{
  display: block;
  width: 100%;
  padding: 0.5em;
  color: #000;
  word-break: break-all;
  text-decoration: none;
}
ul.ul_attachment li:nth-of-type(odd){
  background-color: #dcf1f0;
}
ul.ul_attachment li:hover{
  background-color: #ffffcc;
}
/********************************/
table.custom1 {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  text-align: left;
}
table.custom1 thead {
}
table.custom1 th,
table.custom1 td {
  padding: 12px;
  border: 1px solid #ddd;
}
table.custom1 tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
table.custom1 tbody tr:hover {
  background-color: #f1f1f1;
}
table.custom1 td.no-wrap {
  white-space: nowrap;
}
table.custom1 th.no-wrap {
  white-space: nowrap;
}
table.custom1  a {
  color: #0073e6;
  text-decoration: none;
  font-weight: bold;
}
table.custom1 a:hover {
  text-decoration: underline;
}
table[summary="輔導團列表"] th,
table[summary="DOC列表"] th{
  background-color: #aac9ff;
}
.text-center {
  text-align: center;
}
/********************************/
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-responsive table {
  width: 100%;
  min-width: 600px; /* 可根據實際欄位數調整 */
  border-collapse: collapse;
}
/********************************/
/***數位分群-20220516***/
.level{
  display: inline-block;
  background-color: #ececec;
  border-radius: 8px;
  width: fit-content;
  width: -moz-fit-content;
  max-width: 300px;
  padding: 10px;
  margin: 0 auto 20px auto;
  vertical-align: top;
}
.level .column{
  display: block;
  margin:10px auto 0px auto;
  text-align:text;
  width: fit-content;
  width: -moz-fit-content;
}
.level .column .box{
  display: block;
  margin: -1px 0 0 0;
}
.level .column .box .level_block{
  display: inline-block;
  margin: -1px 0 0 0;
  font-size:0.750em;
  width:26px;
  height:26px;
  line-height:0px;
  border:1px solid #999;
  letter-spacing:1px;
  vertical-align: middle;
}
.level .column .box .level_block.lv1{
  background:#ffffdb;
}
.level .column .box .level_block.lv2{
  background:#ffff8b;
}
.level .column .box .level_block.lv3{
  background:#ffdb84;
}
.level .column .box .level_block.lv4{
  background:#ffc75c;
}
.level .column .box .level_title{
  display: inline-block;
  margin: 0 0 0 0px;
  font-size: 0.938em;
}
/***/
.level ul {
  clear: both;
  width: 100%;
  margin: 0px auto;
  text-align: center;
  list-style: none;
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(4,1fr);
  padding: 0;
}
.level ul li.areaname{
  text-align: left;
  height: 26px;
  line-height: 26px;
  white-space: nowrap;
  margin: 0;
  padding: 0 5px 0 0;
}
/***/
.mentor{
  width:100%;
  margin:0 auto 40px auto;
  text-align:center;
}
.mentor a{
  text-decoration: none;
  padding:0 0 3px 0;
  border-bottom:1px dashed #666;
}
/*************************************/
ul.lists-page{
  display: grid;
  gap: 1em;
  /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
  grid-template-columns: repeat(3,1fr);
  padding: 0;
  margin: 0 0 2em 0;
  list-style: none;
}
ul.lists-page.mode-photo{
  grid-template-columns: repeat(4,1fr);
}
ul.lists-page li{
  display: block;
  border: 1px solid #ccc;
  border-radius: 1em;
}
ul.lists-page.mode-photo li{
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
ul.lists-page li:hover{
  background-color: #ffffee;
}
ul.lists-page li a{
  display: block;
  height: 100%;
  text-decoration: none;
  border-radius: 0.75em;
  padding: 0.75em;
}
ul.lists-page.mode-photo li a{
  border-radius: 5px;
  padding: 0.5em;
}
ul.lists-page li .left_column .pic{
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 0.5em;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  background-color: #cccccc;
}
ul.lists-page li .left_column img{
  width: 100%;
  border-radius: 0.5em;
}
ul.lists-page.mode-photo li .left_column img{
  border-radius: 2px;
}
ul.lists-page li .contain .labels{
  display: block;
}
ul.lists-page li .contain .labels .label{
  padding: 0 0 4px 4px;
  border-radius: 5px;
  font-size: 0.9em;
  white-space: nowrap;
  color: #555556;
}
ul.lists-page li .contain .labels .label:first-child,
ul.lists-page li .contain .labels .label[aria-label="DOC"]{
  padding: 0 0 4px 0;
}
ul.lists-page li .contain .labels .label:not(:first-child):not([aria-label="DOC"])::before {
  content: "／";
}
ul.lists-page li .contain .title{
  margin: 0.5em 0;
  font-size: 1.1em;
  word-break: break-all;
  text-align: justify;
  font-weight: bold;
}
ul.lists-page.mode-photo li .contain .title{
  font-size: 1em;
  font-weight: normal;
  margin: 0;
}
/*************************************/
/*box_course*/
.course_list_mode {
  display: none;
}
.course_list_mode_show{
  display:block;
}
.box_course .left .date_column{
  width:160%;
  float:left;
  font-size:0.938em;
  color:var(--theme_master_color);
  
  letter-spacing:1px;
  margin:0 0 15px 0;
}
.box_course .left .date_column .date{
  float:left;
  width:auto;
  margin:0 15px 0 0;
}
.box_course .left .date_column .time{
  float:left;
  width:auto;
  margin:2px 15px 0 0;
  font-size: 0.938em;
}
.box_course .left .address{
  float:left;
  width:80%;
  font-size:0.938em;
  color:#666666;
  
  line-height:18px;
  margin:10px 0 0 0;
}
.box_course .left .join_button{
  float:left;
  width:85px;
  min-width:80px;
  margin:10px 0 0 0;
}
.box_course .left .join_button a{
  color:#ffffff;
  background:#e08f11;
  padding:2px 8px;
  font-size:0.875em;
  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  border-radius:5px;
}
.box_course .left .join_button a:hover{
  position:relative;
  top:-1px;
}
/*************************************/
.week_commend_list{
  position: relative;
  width: 100%;
  clear: both;
  margin: 10px auto;
  /*overflow: hidden;*/
}
.week_commend_list .box_active{
  display:inline-block;
  width: 100%;
  border:none;
  margin:0;
  position:relative;
  z-index: 2;
  top:0;
  background:#EDF4E6;
  border-radius: 1em;
}
.week_commend_list .box_active.bg1{
  background:#EDF4E6;
}
.week_commend_list .box_active.bg2{
  background:#F5F1EB;
}
.week_commend_list .box_active.bg3{
  background:#EBF3F4;
}
.week_commend_list .box_active.bg4{
  background:#ffeddf;
}
.week_commend_list .box_active.bg5{
  background:#F5F0FF;
}
.week_commend_list .box_active.bg6{
  background:#f1eded;
}
.week_commend_list .box_active.bg7{
  background:#f7f3e7;
}
.week_commend_list .box_active a{
  display: block;
  text-decoration: none;
  padding: 1em;
  border-radius: 0.5em;
  position:relative;
  z-index: 2;
}
.week_commend_list .box_active .bg-text{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  font-family: Arial;
  line-height: 0.8;
}
.week_commend_list .box_active .bg-text::after{
  position: absolute;
  bottom: -0.5rem;
  right: 0.5rem;
  content: "";
  color: #ffffff;
  font-size: 5em;
  white-space: nowrap;
  aria-hidden: true;
  role: presentation;
  font-weight: bold;
  opacity: 1;
}
.week_commend_list .box_active .bg-text.text1::after{
  content: "Story";
}
.week_commend_list .box_active .bg-text.text2::after{
  content: "Lecturer";
}
.week_commend_list .box_active .bg-text.text3::after{
  content: "Local";
}
.week_commend_list .box_active .bg-text.text4::after{
  content: "Feature";
}
.week_commend_list .box_active .bg-text.text5::after{
  content: "Actives";
}
.week_commend_list .box_active .bg-text.text6::after{
  content: "Photo";
}
.week_commend_list .box_active .bg-text.text7::after{
  content: "Advocacy";
}
.week_commend_list .box_active .pic{
  display: inline-block;
  width:40%;
}
.week_commend_list .box_active .pic ._img{
  display: block;
  width:100%;
  padding-bottom:56.25%;
  background-repeat:no-repeat;
  background-position: center;
  background-size: cover;
  border: 5px solid #ffffff;
  margin:0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
}
.week_commend_list .box_active a:hover .pic ._img{
  transform: rotate(-1.5deg);
}
.week_commend_list .right_column{
  display: inline-block;
  width:calc(60% - 3em);
  margin: 20px 0 0 2em;
  text-align: left;
  vertical-align: top;
}
.week_commend_list .box_active .right_column .labels{
  display: block;
}
.week_commend_list .box_active .right_column .labels .label{
  padding: 0 6px;
  background-color: #fff;
  border-radius: 5px;
  font-size: 0.9em;
  display: inline-block;
}
.week_commend_list .box_active .right_column .title{
  color:var(--color-master);
  width:100%;
  margin:6px 0;
  padding:0 0 6px 0;
  font-weight: bold;
  font-size: 1.6em;
  word-break: break-all;
}
.week_commend_list .box_active .right_column .desc{;
  line-height:1.65em;
  font-size: 1.05em;
  width:100%;
  text-align: justify;
  word-break: break-all;
  padding-bottom: 3em;
}
.week_commend_list .box_active .right_column .desc::after{
  content:'...(詳細內容)';
  padding: 0 8px;
  display: inline-block;
}
.week_commend_list a:hover{
  color: #000000;
}
/*************************************/
/**********************************************************/
.main_title_column{
  width:100%;
  border-bottom:1px dashed #CCCCCC;
  
  overflow:hidden;
  padding:10px 0 10px 0;
  margin:0 0 15px 0;
  color:var(--theme_master_color);
}
.main_title_column ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.main_title_column ul a{
  position: relative;
  display: block;
  text-decoration: none;
  word-break: break-all;
}
.main_title_column ul a:hover{
  background-color: var(--hover-bg);
}
.main_title_column ul a[target="_blank"] {
  position: relative;
  padding-right: 1.5em;
}
.main_title_column ul a[target="_blank"]::after {
  content: "";
  position: absolute;
  right: 0.25em;
  top: 0.25em;
  opacity: 0.66;
  display: block;
  width: 0.6em;
  height: 0.6em;
  background-image: url(../style/icon_button_link_black.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
.main_title_column .left{
  float:left;
  width:100%;
}
.main_title_column .left.full_width{
  width:100%;
}
.main_title_column .left .title{
  font-size:1.375em;
  line-height:26px;
  margin:5px 0 0 0;
}
.main_title_column .right{
  float:right;
  width:30%;
  text-align:right;
}
.main_title_column .right .link{
  font-size:0.875em;
  color:#cc0000;
}
.main_title_column .right img{
  vertical-align:middle;
}
/**********************************************************/
section.page ol.sitemap-list {
  list-style-type: decimal;
  counter-reset: main-counter;
  padding-left: 1.5em;
}

section.page ol.sitemap-list > li {
  counter-increment: main-counter;
  margin-bottom: 1em;
}

section.page ol.sitemap-list > li > span {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5em;
}

section.page ol.sitemap-list > li > ol {
  list-style: none;
  counter-reset: sub-counter;
  margin-left: 1.5em;
  padding-left: 0;
}

section.page ol.sitemap-list > li > ol > li {
  counter-increment: sub-counter;
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.3em;
}

section.page ol.sitemap-list > li > ol > li::before {
  content: counter(main-counter) "." counter(sub-counter) ". ";
  position: absolute;
  left: 0;
  width: 2em;
  text-align: right;
  color: #555;
}
/**********************************************************/
.pswp__img {
  object-fit: contain !important;  /* ✅ 等比縮放，圖片完整顯示 */
}
.pswp__custom-caption {
  color: white;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  padding: 12px;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 9999;
  max-width: 90%;
  margin: 0 auto;
  border-radius: 6px;
}
/**********************************************************/