/*=================================================================
                             Color
=================================================================*/
:root {

  /* 自訂區 */
  --color1: #eda231;
  --color2: hsla(39, 100%, 62%, 1);

  --money: #d29e75;
  /* --yellow: #AAA; */

}

/*=================================================================
                             頁面
=================================================================*/
/*== Logo ==*/
@media (min-width: 992px){
  .header_nav {
    padding-top: .75em;}
  .header .navbar-brand img {
    height: 70px;}
}

.page_section {
  padding-bottom: 2.5em;
}

/* @media (min-width: 1024px) {
  .content_block table tr th,
  .content_block table tr td {
    border: 1px solid #000;}    
} */

/*== Menu ==*/
.header_nav nav ul ul ul {
  top: 60px;}
.header_nav nav .sub_menu li {
  width: 290px;
  height: 60px;}
.header_nav nav ul .sub_menu li a,
.header_nav nav ul .sub_menu ul li a {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 290px;
  height: 60px;}
.header_nav nav ul li:last-child ul.sub_menu li ul {
  left: 100%;}

/*== News Section ==*/
.main_content .news_section {
  background-color: #f2efe7;
  opacity: 0.8;
  background-image:  radial-gradient(#dad5c8 1px, transparent 1px), radial-gradient(#dad5c8 1px, #f2efe7 1px);
  background-size: 20px 20px;
  background-position: 0 0,10px 10px;}

/*== 活動區塊 ==*/
.custom_column .custom_wrap .custom_content {
  scrollbar-width: thin;
  overflow-y: auto;
  scrollbar-gutter: none;}
.custom_content::-webkit-scrollbar {
  width: 10px;}
.custom_content::-webkit-scrollbar-track {
  background-color: #F2F2F2;}
.custom_content::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background-color: #DDD;
  -webkit-box-shadow: inset 2px 2px 5px 0 rgba(#fff, 0.5);
          box-shadow: inset 2px 2px 5px 0 rgba(#fff, 0.5);}

/*== Title ==*/
.section_title .title {
  color: #0081c7;}
.section_title .title_img,
.section_title.page_title .title_img {
  background: #eda231;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
}
.title_img i {
  color: #FFF;
  line-height: 50px;
  vertical-align: middle;
}
.section_title.page_title .title_img i {
  min-width: 31px;
  min-height: 28px;
  display: inline-block;
}

/*== Footer ==*/
#footer_toggle {
  z-index: 3;  
  position: absolute;
  left: 50%;
  top: -20px;
  padding: 10px;
  width: 40px;
  height: 40px;  
  background: hsla(4, 95%, 72%, 1);
  background: var(--color1);
  text-align: center;
  border-radius: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);}
.footer_area {
  padding: 0;
  background: url(../images/bg_footer.png) repeat center center;
  background-size: cover;  
}
#footer {
  padding-top: 2.5rem;}
.section_footer {
  background-color: #333;}
.section_footer a,
.section_footer p,
.section_footer h6,
.section_footer span {
  color: #E6E6E6;}
.section_footer .modal a,
.section_footer .modal p {
  color: #333;}
@media (min-width: 992px){
  .footer_logo:lang(zh-TW) {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
            flex: 0 0 25%;
    max-width: 25%;}
  .footer_followus {
    padding-right: 0;}
}

/* 公益彩券icon */
.icon_charity {
  width: 130px;}

/*== 手機版下方bar ==*/
.fixed_bottom a,
.fixed_bottom .share_wrap {
  padding: .5rem 0;}
.fixed_bottom .col-3:first-child a {
  color: #fff;
  background-color: var(--color1);}
.fixed_bottom .col-3:first-child i {
  color: #fff;}
@media (max-width: 480px) {
  .fixed_bottom {
    height: 90px;}
}


/*== 內頁 ==*/
.page_main {
  margin-top: 7.5em;}

/*==================================
               捐款內頁
====================================*/
.container-xl {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;}
@media (min-width: 1200px){
  .container-xl {
      max-width: 1440px;}
}
@media screen and (min-width: 992px) {
  .section_content.ct #info {
    height: 840px;}  
}
@media screen and (max-width: 991px) {
  .d-none#info + .b-morelines_section_button {
    display: none;}
}

main:not(.main_content) .help_section .d-lg-none.page_tabs .nav-link, 
main:not(.main_content) .nav.page_tabs .nav-item .nav-link {
  color: #FFF;
  background: hsla(0, 100%, 100%, .4);}
main:not(.main_content) .help_section .d-lg-none.page_tabs .nav-link.active, 
main:not(.main_content) .page_section .page_tabs .nav-item .nav-link.active {
  color: var(--color1);
  background: hsla(0, 100%, 100%, 1);}

/*== Readmore ==*/
.b-morelines_section_button {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 5px;
  color: #FFF;
  border-top: 1px solid #777;}
.b-morelines_section_button:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: -30px;
  right: 0;
  width: 100%;
  height: 35px;
  background: -webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.1)),color-stop(75%, #fff));
  background: linear-gradient(to bottom,rgba(255,255,255,.1),#fff 75%)}


.pay_group button[paytypename="LINE Pay" i] img {
  width: 100%;
  height: 24px;
}
.pay_group button[paytypename="全支付"] img, 
.pay_group button[paytypename="PX Pay"] img, 
.pay_group button[paytypename="悠遊付"] img {
  width: 100%;
  height: 30px;
}
/*== 大事紀 ==*/
@media (min-width: 768px) {
  .cd_timeline_content .cd_timeline_detail {
    padding: 1rem 0;}
  #cd_timeline:before {
    top: 25px;
    height: 96%;}
  .cd_box {
    top: 5px;}
  .cd_timeline_content .cd_timeline_detail:before {
    top: 20px;}
}
@media (max-width: 480px) {
  #cd_timeline:before {
    height: 98%;}
  .history_content {
    padding: 0;}
  .cd_timeline_content .cd_timeline_detail:before {
    top: 20px;
    left: -15.5%;}
  
}
@media (max-width: 390px) {
  .cd_timeline_content .cd_timeline_detail:before {
    left: -17.5%;}
}
@media (max-width: 360px) {
  .cd_timeline_content .cd_timeline_detail:before {
    left: -20.5%;}
}

/*==================================
          contents_project_ct
====================================*/
.contents_project_ct {
  margin-top: 6.5em;
  background: url(../images/shattered_@2X.png) repeat center center;
}
.contents_project_ct .breadcrumb li,
.contents_project_ct .breadcrumb-item+.breadcrumb-item::before,
.contents_project_ct .title,
.contents_project_ct .txt_title,
.contents_project_ct .page_btnGroup button,
.contents_project_ct .share_wrap i,
.contents_project_ct .stepwizard_top .text-active,
.contents_project_ct .post_prev a, 
.contents_project_ct .post_next a, 
.contents_project_ct .post_back a {
  color: #FFF;}
.contents_project_ct .breadcrumb li a {
  color: var(--color1);}
.contents_project_ct #info,
.contents_project_ct #stepwizard_info {
  border-radius: 5px;}
.contents_project_ct #info {
  padding: 10px;
  background:hsla(0, 100%, 100%, .2);}
.contents_project_ct #stepwizard_info {
  padding: 20px 10px;
  background:hsla(0, 100%, 100%, 1);}
.contents_project_ct .stepwizard.page .stepwizard_btn {
  margin: 20px 0;}

.contents_project_ct .mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, 
.contents_project_ct .mCS-light-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  width: 10px;
  background: #EEE;}
.contents_project_ct .mCS-dark-3.mCSB_scrollTools .mCSB_draggerRail, 
.contents_project_ct .mCS-light-3.mCSB_scrollTools .mCSB_draggerRail {
  background-color: rgba(0,0,0,.6);}
.contents_project_ct .mCS-dark-3.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar {
  background-color: #AAA;}

/*==================================
               團體會員
====================================*/
/*== 地圖 ==*/
.tw_text {
  font-size: 12px;
  fill: #444;}
.tw_text.red {
  font-size: 11px;
  fill: #F00;}
#twMap a:hover .tw_text {
  fill: #F00;}
/*== 北中南東離 ==*/
.tw_north {
  fill: #8dd0d5;
  stroke: #FFF;
  stroke-width: 1px;}
.tw_north:hover { fill: #b5dfe3; }
.tw_central {
  fill: #b9cfeb;
  stroke: #FFF;
  stroke-width: 1px;}
.tw_central:hover { fill: #d7e3f4; }
.tw_south {
  fill: #f2c0c7;
  stroke: #FFF;
  stroke-width: 1px;}
.tw_south:hover { fill: #f6d5da; }
.tw_east {
  fill: #fae395;
  stroke: #FFF;
  stroke-width: 1px;}
.tw_east:hover { fill: #fcf1cf; }
.tw_surrounding {
  fill: #bedb8f;}
.tw_surrounding:hover { fill: #d5e6b3; }

/*== tab-Pane ==*/
/*== 工作站區塊 ==*/
.group_block {
  margin-bottom: 10px;
  padding: 10px;
  background-color: #fff2df;
  border-left: 5px solid #ff7a18;
  border-radius: 8px;}
.group_block ul {
  margin-bottom: 0;
  padding-left: 20px;}

.group_title {
  padding: 0px 10px;  
  color: #349db2;
  font-size: 24px;
  text-align: center;
  line-height: 1.5;
  font-weight: 600;}

.group_text {
  padding: 0 5px;}
.group_list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #eee;}
.group_list li span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;}
.group_list li i {
  display: inline-block;
  width: 30px;
  color: #5ebaba;}

.photo_section{
  background-image: none;
}
.photo_section:before{
  background: hsla(15, 100%, 60%, 0.5);
}