*{
    text-transform: math-auto;
    font-family: 'Microsoft JhengHei', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.clr {
    clear: both;
}

.t4-content-inner {
    background-color: #fdf9f2;
}


#colorbox.droppics #cboxNext:focus,
#colorbox.droppics #cboxPrevious:focus,
#colorbox.droppics #cboxClose:focus{
    border: 5px dotted red;
    opacity: 1;
}


.pagination .fa-angle-double-left:before {
    content: "\f100 最前";
}
.pagination .fa-angle-left:before {
    content: "\f104 前頁";
}

.pagination .fa-angle-right:before {
    content: "下頁 \f105";
}
.pagination .fa-angle-double-right:before {
    content: "最後 \f101";
}
#t4-main-body{
  padding-top:1rem;
}

/*網站地圖*/
span.menu-item-title {
    color: #000;
}
.image-title{
    display: none;
}

/*網頁路徑,麵包屑*/
.breadcrumb li:first-child {
    display: unset;
}

.breadcrumb .divider:before{
    content: ">";
    color: #000;
}
.breadcrumb a{
    color: #000;
}

/*首頁輪播*/
div#t4-sideshow {
    margin-top: 35px;
}

/*語言切換*/
.mod-languages .lang-inline a{
    color: #222;
}
div.mod-languages ul li.lang-active a{
    color: #fff;
}

div.mod-languages ul li.lang-active {
    background-color: #8C7103;
}

div.mod-languages li {
    margin: 0.2rem;
}

/*主選單*/

html[lang="en-gb"] .t4-megamenu .navbar-nav > li > a, 
html[lang="en-gb"] .t4-megamenu .navbar-nav > li > .nav-link,
html[lang="en-gb"] .t4-megamenu .navbar-nav > li > a .menu-item-title {
    font-size: 0.85em;
    font-weight: 300;
}

body.pt-0 .t4-main-body{
    padding-top:0rem;
}

/*感動回顧目錄連結*/
.layout-protfilo .flex-container.space-between {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 20px auto;
}
.layout-protfilo .menu .btn {
    margin: 0 20px;
}

.layout-protfilo .flex-item .btn.btn-clapboard{
    color: #296426;
   font-size: 1.3rem;
    letter-spacing: 0.5rem;
}
html[lang="zh-tw"] .layout-protfilo .flex-item .btn.btn-clapboard:before {
    content: url(/images/clickboard-2.png);
    position: relative;
    left: 0em;
}
.layout-protfilo .flex-item .btn.btn-clapboard:before {
    content: url(/images/clickboard-2.png);
    position: relative;
    left: -2em;
}
.layout-protfilo .flex-item .btn.btn-clapboard:after {
    content: url(/images/clickboard-1.png);
    position: relative;
    bottom: -0.5em;
    left: 1em;
}

/*感動回顧彈出播放*/
.modal-open .modal.doc-protfilo{
    background-color: #ffffff00;
}

/*感動回顧活動花絮*/
.droppicspictures .wimg.droppicslightbox{
    display: none;
}

.droppicspictures .wimg.droppicslightbox:first-child{
    display: unset;
}

#t4-header .navbar-brand.logo-image {
    max-width: 230px;
}

/*masthead*/
#t4-masthead.t4-masthead .container-fluid,
#t4-masthead-m.t4-masthead-m .container-fluid{
    padding-right:0;
    padding-left: 0;
}
@media (min-width: 768px) {
    .t4-masthead-inner {
        padding: 7rem 0;
    }
}
.t4-masthead .t4-masthead-detail {
    max-width: unset;
    margin-left: unset;
    margin-right: auto;


}
.t4-masthead .t4-masthead-detail h2{
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}
#t4-main-body{
    background-color: #fdf9f2;
}
.h3-deco h3{
  color: #1a53a4;

}

.btn.btn-info {
    background-color: #007399;
    border-color: #007399;
}
.btn-info {
    --t4-btn-color: #fff;
    --t4-btn-bg: #007399;
    --t4-btn-border-color: #007399;
    --t4-btn-hover-color: #000;
    --t4-btn-hover-bg: #31d2f2;
    --t4-btn-hover-border-color: #25cff2;
    --t4-btn-focus-shadow-rgb: 11, 172, 204;
    --t4-btn-active-color: #000;
    --t4-btn-active-bg: #3dd5f3;
    --t4-btn-active-border-color: #25cff2;
    --t4-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --t4-btn-disabled-color: #000;
    --t4-btn-disabled-bg: #0dcaf0;
    --t4-btn-disabled-border-color: #0dcaf0;
}
.btn-info:hover {
    color: #ffffff;
    background-color: #007399;
    border-color: #005875;
}

.t4-header .header-wrap {
    min-height: 70px;
}
.mod-finder .input-group{
    align-items: center;
}
/*小螢幕module*/
@media (max-width: 767.98px) {
    .module {
        margin-top: 0rem;
    }
  .accessibility{
  display:none;
}
}

/*投稿*/
.font-large label.cf-label {
    font-size: 1.4rem;
}

.callfor {
 border-top: 5px solid #45b244;
}

/*與我聯絡*/

.contactus .cf-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: min-content; 
  grid-column-gap: 20px;
  grid-row-gap: 0px;
}




.contactus .cf-fields .cf-control-group[data-name="html_4"] {
 grid-area: 1 / 1 / 5 / 2; 
 background-color: #fff;
 border-top: 5px solid #45b244;
}
.contactus .cf-fields .cf-control-group[data-name="html_4"] h3 {
    color: #084035;
    font-size: 1.5rem;
    font-weight: 600;
}
.contactus .cf-fields .cf-control-group[data-name="html_4"] p {
    line-height: 2em;
    font-size: 1.15rem;
}
.contactus .cf-fields .cf-control-group[data-name="name"] {
 grid-area: 1 / 2 / 2 / 3; 
}
.contactus .cf-fields .cf-control-group[data-name="email"] {
 grid-area: 2 / 2 / 3 / 3; 
}
.contactus .cf-fields .cf-control-group[data-name="message"] {
 grid-area: 3 / 2 / 4 / 3; 
}
.contactus .cf-fields .cf-control-group[data-name="submit_2"] {
 grid-area: 4 / 2 / 5 / 3; 
}
.contact .contact-links ul.nav li a {
    background-color: #f8f9fa;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    line-height: 1;
    padding: 1.2em 1.5em;
}

/*大圖輪播*/
@media (max-width: 576px) {
    .t4-section-inner.container-fluid{
      padding:0;
    }
  .t4-col.container{
      padding:0;
    }
}

/*首頁影音專區*/
body.modal-open .home-mod .modal {
    background-color: #212529c4;
    top: 4px;
    bottom: 4px;
    left: 4px;
    margin-left: 4px;
    width: 99%;
}

.home-mod .modal .modal-dialog{
    max-width: 80%;
    
}
.home-mod a.video-item-link:hover {
    cursor: pointer;
}

.video-item .owl-carousel {
  position: relative;
  padding-top: 40px; /* 給上方留出箭頭空間 */
}
.video-item .owl-nav {
  position: absolute;
  top: 45%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none; /* 避免干擾內部點擊 */
}
.video-item div.owl-carousel div.owl-nav > button.owl-prev,
.video-item div.owl-carousel div.owl-nav > button.owl-next{
    color: #fff;
    background-color: #f0f8ff2b;
    font-size: 2em;
}

.video-item .owl-nav button {
  pointer-events: auto; /* 還原按鈕本身的互動 */
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
}


/*英文頁首*/
.layout-english .t4-section-inner.container-fluid .header-block{
    padding: 0px;
}
.layout-english h3.module-title{
    font-size:1rem;
    color:#1a53a4;
}

.layout-english h3.module-title:before{
    content:"▌";
}

/*無障礙*/
#T.accessibility{
  color:blue;
}

#center-content.accessibility,
#left-sidebar.accessibility{
 color:#fff;
}
#center-content.accessibility:focus,
#left-sidebar.accessibility:focus{
  background-color:orange;
}

.acm-owl.multi-item .owl-item a.multi-item-link .item img{
    margin:2px 0;
}

.owl-item a.multi-item-link:focus .item img{
    outline: 2px solid orange;
}



/*無障礙*/
.owl-item:active,
.owl-item:focus,
.owl-item:focus-visible,
.owl-item:focus-within,
.owl-item .item:active,
.owl-item .item:focus,
.owl-item .item:focus-visible,
a:hover,a:active,a:focus,a:focus-visible,
a.btn.btn-clapboard:focus,
.navbar li.nav-item:focus a,
.navbar li.nav-item:focus-visible ,
.navbar li.nav-item .nav-link:focus-visible{
    /*outline:2px dotted red;*/
    background-color: orange;
}
.new-line+a:focus{
    background-color: orange;
}
.nav-item.dropdown.parent:focus-within>.dropdown-menu{
    display:block;
    opacity:1;
    transform:scale(1,1);
    }
.ext-link span.menu-item-title:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  padding-left:5px;
    content: '\f35d';}
.t4-footnav .t4-module .navbar .nav > li a.nav-link:hover, 
.t4-footnav .t4-module .navbar .nav > li a.nav-link:focus, 
.t4-footnav .t4-module .navbar .nav > li a.nav-link:active,
a.dropfile-file-link:focus,
a.dropfile-file-link:focus-visible {
    color: var(--footer-link-hover-color);
    outline:2px dotted red;
    background-color: orange;
}
.side-title.welcome{
  color: #386EA8;
  font-weight: 400;
  font-size: 1.6rem;
}
.side-title.welcome:before{
  content: url('/images/參觀訊息/ico-car.png');
}
span.time {
    float: right;
}

/*網站導覽*/
     .t4-mod-wrap.sitemap{
        padding-top: 0;
        padding-bottom: 0;
    }
    .sitemap ul.mod-menu,
     .sitemap ul.navbar-nav{
      flex-direction: column;
      margin: 0;
    }

     .sitemap ul.mod-menu.mod-list>li,
     .sitemap ul.navbar-nav > li {
      list-style: none; /* 取消預設的項目符號 */
      counter-increment: item; /* 每個 li 遞增計數器 */
    }

     .sitemap ul.mod-menu.mod-list>li ul >li
    {
      counter-increment: itemb; /* 每個 li 遞增計數器 */

    }
     .sitemap ul.mod-menu.mod-list>li a:before,
     .sitemap ul.navbar-nav > li a:before {
        content: counters(item, "-") " ";
    }

     .sitemap ul.mod-menu.mod-list ul.mod-menu__sub a:before{
        content: counters(item, "-") "-" counters(itemb, "-") "";
    }
     .sitemap ul.mod-menu.mod-list ul.mod-menu__sub {
    padding-left: 30px;
    }



/*優選影片列表頁面*/
 .winning-videos .item-content .intro-conten{
    display: none;
 }
/*優選影片內容頁面*/
 .item-page.layout-2 .bottom-article-info {
    max-width: 1168px;
}


/*//置頂選單*/
.header-r {
    display: inline-flex;
    align-items: end;
}

.ontop-menu nav.navbar ul.nav.navbar-nav span {
    font-size: 0.85rem;
}
.ontop-menu nav.navbar ul.nav.navbar-nav  {
    display: inline-flex;
    flex-flow: nowrap;
}
.ontop-menu ul.nav.navbar-nav a:after{
    content: "|";
}
.ontop-menu ul.nav.navbar-nav li:last-child a:after{
    content: unset;
}
.header-wrap .ontop-menu  .navbar > .navbar-nav .nav-link {
    margin-left: 0.1rem;
}

.ontop-menu ul.nav.navbar-nav a > span{
    padding:0 5px;
}

.mod-search{
    margin-top:1rem;
}
 /*droppics相簿Default*/
.wimg.droppicslightbox .thumb-desc {
    margin-bottom: -30px;
    color: #000;
    font-weight: 400;
    font-size: 1.1rem !important;
}

#colorbox.droppics .showcaption span, 
.showcaption span {
    /*position: relative!important;*/
}
.thumb-caption{
  font-size:1.1rem!important;
}
.thumb-desc{
  font-size:0.85rem!important;
}

div[id^='droppicsgallery'].droppicsgallerydefault .wimg.droppicslightbox {
  height:unset!important;

}


div[id^='droppicsgallery'].droppicsgallerydefault .img{
/*   margin-top: 10px !important;*/
   border-style: unset!important;
}
div[id^='droppicsgallery'].droppicsgallerydefault .droppicslightbox a{
    height:100%;
    display: grid;
    justify-content: space-around;
    align-content: center;
    border:1px solid #ccc;
    box-shadow: unset;
    -moz-box-shadow: unset;
    -webkit-box-shadow: unset;
    
}
@media(max-width: 767.98px) {
    div[id^='droppicsgallery'].droppicsgallerydefault .wimg {
        width: calc(50% - 10px)!important;
    }
  .wimg.droppicslightbox {
    margin-top: 30px;
    }
}

/*dropimgs*/
.nivo-controlNav {
  position: relative;
    bottom: 65px;
    z-index: 999;
}
.droppicsgallerycarousel .nivo-caption{
  display:none!important;
}




/*內頁寬度*/
.item-page.layout-default.no-sidebar .top-article-info {
     max-width: unset; 
}

.item-page.layout-default.no-sidebar .bottom-article-info, 
.item-page.layout-default.no-sidebar .full-image {
     max-width: unset;
}


#t4-section-2{
    padding-top:20px;
}
@media (min-width: 992px) {
    .t4-footnav .container {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

.item-page .page-header h2,
h2.page-subtitle {
    font-size: 1.55rem;
}


/*小圖輪播*/

.小圖輪播{
  margin:2rem 0;
}



/*內頁標題*/
.item-page.layout-default.no-sidebar .top-article-info{
    text-align: left;
    margin-left: unset;
}

/*首頁-最新消息2*/
.mod-articles-doc .module-ct .mod-articles-items{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    list-style: none;
}

.mod-articles-doc .module-ct .mod-articles-items li:first-child {
  grid-area: 1 / 1 / 4 / 2;
  margin-right: 20px;
}

.mod-articles-doc .module-ct .mod-articles-items li:nth-child(2){
    grid-area: 1 / 2 / 2 / 3;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.mod-articles-doc .module-ct .mod-articles-items li:nth-child(3){
    grid-area: 2 / 2 / 3 / 3;
}
.mod-articles-doc .module-ct .mod-articles-items li:nth-child(4) {
 grid-area: 3 / 2 / 4 / 3;
}

.mod-articles-doc .module-ct .mod-articles-items .item-image {
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    width: 300px;
    height: 200px;
}
.mod-articles-doc .module-ct .mod-articles-items h3.mod-articles-title{
    margin-top: 0;
}
.mod-articles-doc .module-ct .mod-articles-items h3.mod-articles-title a{
    color: #000;

}
.mod-articles-doc .module-ct .mod-articles-items .item-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.mod-articles-doc .module-ct .mod-articles-items .mod-articles-date {
    color: #8A6700;
}
.mod-articles-doc .module-ct .mod-articles-items .mod-articles-date .icon-calendar{
    display: none;
}

/*首頁-最新消息*/
.home-mod{
    margin-top: 2rem;
}

.home-mod h2{
    color: rgb(8, 64, 53);
    font-size: 2.1rem;
    font-weight: 300;
    letter-spacing: 0.7rem;
    text-align: center;
}
.home-mod h2:before,
.home-mod h2:after{
    content:"+";
    font-weight: 900;
}

.home-mod.home-news .blog-item{
    margin: 10px 0;
}
.home-mod.home-news h3{
    margin-top: 0px;
    font-size: 1.1em;
    font-weight: 500;
}
.home-mod.home-news h3 a{
    color:#000;    
}
.home-mod.home-news .item-date{
    font-size: 0.9em;
    color: #8A6700;

}
.layout-protfilo h3 {
    text-align: center;
    color: #084035;
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.7rem;
}

.layout-protfilo h3:before,
.layout-protfilo h3:after{
    content:"+";
}

.layout-protfilo p.intro{
    background-color: #eee;
    font-size: 1.48rem;
    padding: 25px;
    margin-top: 20px;
}

.layout-protfilo .owl-carousel {
  position: relative;
  padding-top: 40px; /* 給上方留出箭頭空間 */
}
.layout-protfilo .owl-nav {
  position: absolute;
  top: 45%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none; /* 避免干擾內部點擊 */
}
.layout-protfilo div.owl-carousel div.owl-nav > button.owl-prev,
.layout-protfilo div.owl-carousel div.owl-nav > button.owl-next{
    color: #fff;
    background-color: #f0f8ff2b;
    font-size: 2em;
}

.layout-protfilo .owl-nav button {
  pointer-events: auto; /* 還原按鈕本身的互動 */
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
}

hr.new-line + a {
    padding: 3px 5px;
    float: right;
    /* text-align: right; */
    outline: 1px solid #ccc;
    border-radius: 5px;
  background-color:#fff;
      z-index: 2;
    position: relative;
    font-size: 0.8rem;
}
hr.new-line{
  margin-bottom: -15px;
  }


/*defult-blog 所有活動*/

.all-events .columns-4 .row .item {
  width:calc(25% - 10px);
  margin-bottom: 30px;
}

.all-events .columns-3 .row .item {
  width:calc(33% - 10px);
  margin-bottom: 30px;
}

.all-events .columns-2 .row .item {
  width:calc(50% - 10px);
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .all-events .columns-2 .row .item {
  width:calc(100% - 10px);
  margin-bottom: 30px;
    }
  }
.all-events .item .item-inner {
    padding: 1px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 8%), 0 6px 20px 0 rgba(0, 0, 0, 8%);
    height: 100%;
}
.all-events .item .item-inner .item-content{
    padding: 25px;
}
.all-events .blog-items .category-name{
  display: none;
}

.com-content-category-blog__pagination{
    padding-bottom: 3em;
}

/*defult-blog 所有活動--內頁*/
.all-events .top-article-info .article-info .category-name span[itemprop=genre] {
  font-size: 1.65rem;
  color: #1a53a4;
  font-weight: 800;
}


.all-events.item-page .top-article-info .page-header h2{
    color: #000;
}

.all-events.item-page .top-article-info .page-header h2:before{
  content:"";
}

 /*masonry blog，好客研習、*/
.blog-items.masonry-2 .item-inner {
    padding: 1px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 8%), 0 6px 20px 0 rgba(0, 0, 0, 8%);
}

.blog-items.masonry-2 .item-content{
    padding:0px 20px;
}
.page-header h2 a, .categories-list h2 a{
    color: #000;
    font-weight: 300;
}


.items-row .item p.readmore .btn{
    background-color: #fe6e70;
    color:#fff;
    border-radius: 20px;
}

.items-row .item p.readmore {
    text-align: right;
  margin-bottom: 0rem;
}
.items-row .item p.readmore a.btn-readmore:before {
    content: ">";
}
#t4-topbar{
    display:none;
}
#t4-header{
    background-color: #fafafa;
}

#t4-footer{
    background-color: #000;
}
#t4-header .navbar-brand.logo-text .site-name{
    font-size: 1.8rem;
    letter-spacing: 8px;
    font-weight: 400;
    color: #e59100;
    margin-bottom: 0rem;
    line-height: 1.3;
    margin-left: 20px;
}
@media (max-width: 576px) {
  .logo-text h1 {
    margin-top: 0;
}

@media(max-width: 700px){
  .logo-text h1 {
    padding-top: 15px;
}
}
  
#t4-header .navbar-brand.logo-text .site-name{
    font-size:1.3rem;
    }
}

/*主選單花腰帶*/

.belt .t4-mainnav-r {
    padding: 10px 0;
}

.belt {
    background-color: #fdf9f2;
    border-top:1px solid #f1ece2;
    border-bottom: 1px solid #f1ece2;
    }
.belt .mx-auto {
    margin: 0 auto !important;
}

.belt .t4-megamenu .navbar-nav > li > a, 
.belt .t4-megamenu .navbar-nav > li > .nav-link{
  padding: 14px 20px 14px 1rem;
}
.belt .navbar ul.navbar-nav >li > a >span{
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.25rem;
    font-weight: 400;
}
.belt .navbar ul.navbar-nav >li > a span.menu-item-title:after{
    padding-left:23px;
}


.belt .navbar ul.navbar-nav >li:last-child > a span.menu-item-title:after{
    content:unset;
}
.belt ul.navbar-nav li:last-child{
    border-bottom: unset;
}


.belt ul.navbar-nav ul.dropdown-menu.show{
  padding:0px;
}

.belt .t4-megamenu .dropdown-menu {
  padding:0px;
  border-radius: 0 0 0.25rem 0.25rem;
}

.belt .t4-megamenu .dropdown-menu li.nav-item{
  border-bottom:1px solid #ddd;
  padding:0px;
}

.belt .t4-megamenu .dropdown-menu li:last-child.nav-item{
  border-bottom: unset;
}
.belt .t4-megamenu  li.nav-item.active{
  border-top: 1px solid #44b244;
  padding: 0px;
}
.belt .t4-megamenu  li.nav-item.active a span{
  color: #2e762c;

}
.belt .t4-megamenu .dropdown-menu li.nav-item a{
  padding:10px 10px 10px 20px;
  
  transition: all 0.7s;
}


@media (max-width: 1200px) {
  .belt .navbar ul.navbar-nav >li > a >span{
      font-size: 1rem;
      font-weight: 400;
  }
  .belt .t4-megamenu .navbar-nav > li > a, 
  .belt .t4-megamenu .navbar-nav > li > .nav-link{
    padding: 10px 5px 10px 0.5rem;
  }
  .belt .navbar ul.navbar-nav >li > a span.menu-item-title:after{
      padding-left:10px;
  }
}



/*選單水平*/
.horiz ul.navbar-nav{
    flex-direction: row;
    margin: 0 auto;
    }
.t4-footer .horiz{
  padding-top:0;
  padding-bottom:0;
}
.t4-footer .horiz ul.navbar-nav{
    flex-direction: row;
    margin: unset;
    }
.horiz.t4-module .navbar .nav > li a.nav-link {
    color: var(--color-light);
    }

.t4-footer .horiz .nav > li:before {
    content: "|";
}
.t4-footer .horiz nav.navbar{
/*    align-items: left;*/
}
/*頁尾選單*/
#t4-footer .horiz ul.navbar-nav li a{ 
  color: #fff;
  
}

/*宣傳連結*/
.promotion .item-title{
  display:none;
}

/*頁尾訊息*/
.footer-info{
  color:#fff;
  font-size:1rem;
  padding-bottom:20px;
}






/*英文頁面腰帶*/
.eng-belt {
    height: 60px;
}


/*頁尾資訊*/
.t4-footer .footer-info{
  padding-top: 20px;
  color:#fff;
  font-size:1.1rem;
}
.t4-footer .footer-info p {
    line-height: 1.5;
}

/*參訪統計*/
.jsvisitcounter .table{
    font-size:1rem;
}
.counter {
    color: #fff;
}
.digit-0, .digit-1, .digit-2, .digit-3, .digit-4, .digit-5, .digit-6, .digit-7, .digit-8, .digit-9{
    background: unset!important;
    color: #fff;
    display:unset!important;
}


