@charset "UTF-8";
/* page_single-custom 單篇-自定義 */

.page_single-custom {
}

/* 日期與閱覽人數 */
.page_single-custom .single_info {
	overflow:hidden;
	padding:0 0 40px;
	color:#666;
}
.page_single-custom .single_info .date,
.page_single-custom .single_info .visit {
	display:inline-block;
	padding:10px 20px 0 0;
}

/* 代表圖 */
.page_single-custom .portrait {
	display:none;
	margin-bottom:20px  
}

/* 摘要 */
.page_single-custom .summary {
	display:none;
	border:2px solid #f7f7f7;
	font-style:italic;
	padding:20px;
	margin-bottom:40px;
}


/* 內容/編輯器 */
.page_single-custom .editor {
	/*padding-bottom:40px;*/
}

.page_single-custom .editor .left{
    padding:70px 0;
    display:flex;
}

.page_single-custom .editor .right{
    padding:70px 0;
    display:flex;
    flex-direction: row-reverse;
}

.page_single-custom .editor .center{
    padding:70px 0;
    display:flex;
    flex-direction: column-reverse;
}
.page_single-custom .center .mb-pic{
    display:none;
}
.page_single-custom .center .text-area{
    flex-direction: row !important;
    align-items: flex-end;
    padding-bottom:20px;
}
.page_single-custom .center p{
    padding-bottom: 12px;
    margin-right: 10px;
}
.page_single-custom .editor h3{
    font-size: 2.5vmax;
    font-family: Noto Sans TC;
    line-height: 1.5;
}
.page_single-custom .editor .sub{
    font-size: 4vmax;
    font-family: Noto Sans TC;
    padding-left: 23px;
}
.page_single-custom .editor p{
    padding-left:23px;
}
.page_single-custom .about-us .text-area{
    display:flex;
    flex-direction: column;
    justify-content: center;
    font-weight:500;
}
/* FB留言 */
.page_single-custom .fb_message {
	padding:50px 0;
}

@media only screen and (max-width: 991px) {
	.page_single-custom {
    }
	.page_single-custom .single_info {
	    padding:0 0 30px;
	}
    .page_single-custom .editor p {
        padding-left: unset; 
    }
    .page_single-custom .editor .sub{
        padding-left:10px;
        font-size: 3.5vmax;
    }
    .page_single-custom .editor .left{
        flex-direction: column;
        padding-top:0;
    }
    .page_single-custom .editor .right{
        flex-direction: column;
        padding-top:0;
    }
     .page_single-custom .editor .center{
        flex-direction: column;
        padding-top:0;
    }
    .page_single-custom .center .text-area{
        display:block;
        flex-direction: unset; 
        align-items: unset;
        padding: 30px 15px 0;
    }
    .page_single-custom .center p{
        margin-right:0;
        padding-left:23px;
    }

    .page_single-custom .about-us .text-area{
        padding-top:30px;
    }
}
@media only screen and (max-width: 600px) {
    .page_single-custom .center .mb-pic{
        display:block;
    }
     .page_single-custom .center .pc-pic{
        display:none;
    }
}
/*時間軸標題*/
#timeline .timeline-titleArea {
    margin-bottom: 90px;
    text-align: center;
    color: #fff;
    padding: 35px 4%;
    position:relative;
}
#timeline .timeline-title {
	text-align:left;
	color:#333;
    background:#fff;
    z-index:5;
    padding-top:5px;
    position: relative;
    font-size: 2.8rem;
    padding-bottom: 18px;
}
#timeline .timeline-sub {
    color:#caae7e;
    float: left;
    letter-spacing: 7px;
    font-size: 1.4rem;
    background:#fff;
    line-height:1.6;
}
.deco_border {
    width: 106px;
    height: 165px;
    border: 2px solid #caae7e;
    position: absolute;
    left: 0%;
    top: 0%;
    z-index: -1;
}
@media only screen and (max-width: 991px) {
    #timeline .timeline-titleArea{
        margin-bottom:unset;
        padding:0 0 35px 0;
    }
    #timeline .timeline-title{
        text-align:center;
        font-size:28px;
    }
    .deco_border {
    display: none;
    }
    #timeline .timeline-sub {
    float: unset;
    }
}

/*時間軸標題END*/

/*時間軸*/
@media only screen and (max-width: 991px) {
#timeline {
    padding: 0 0 !important;
}
}
@media (min-width: 1000px) {
  #timeline .demo-card:nth-child(even) .head::before, #timeline .demo-card:nth-child(odd) .head::before {
    position: absolute;
    content: "";
    width: 9px;
    height: 9px;
    background-color: #bdbdbd;
    border-radius: 9px;
    box-shadow: 0px 0px 2px 8px #f7f7f7;
  }
    #timeline .demo-card .no-head::before{
        content:'';
        display:none;
    }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
  order: 1;
}

.demo-card:nth-child(2) {
  order: 3;
}

.demo-card:nth-child(3) {
  order: 2;
}
.demo-card:nth-child(4) {
  order: 4;
}


#timeline {
  padding: 100px 0;
}
#timeline .demo-card-wrapper {
  position: relative;
  margin: auto;
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper {
    display: flex;
    flex-flow: column wrap;
    align-content: center;
    width: 100%;
    height: 2000px;
    margin: 0 auto;
  }
}
#timeline .demo-card-wrapper::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid rgba(51, 51, 51, 0.4);
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper::after {
    border-left: 2px solid;
    border-image: linear-gradient(#ffffff, #333333,#ffffff) 30;
  }
}
#timeline .demo-card {
  position: relative;
  display: block;
  margin: 10px auto 80px;
  max-width: 94%;
  z-index: 2;
}
@media (min-width: 480px) {
  #timeline .demo-card {
    /*max-width: 60%;*/
    box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
  }
}

@media (min-width: 1000px) {
  #timeline .demo-card {
    max-width: 450px;
    height: auto;
    margin: 90px;
    margin-top: 45px;
    margin-bottom: 45px;
  }
  #timeline .demo-card:nth-child(odd) {
    margin-right: 45px;
  }

  #timeline .demo-card:nth-child(odd) .head::before {
    left: 491.5px;
  }
  #timeline .demo-card:nth-child(even) {
    margin-left: 45px;
  }

  #timeline .demo-card:nth-child(even) .head::before {
    right: 489.5px;
  }
  #timeline .demo-card:nth-child(2) {
    margin-top: 332px;
  }
  #timeline .demo-card:nth-child(3){
    margin-top: 47px;
  }
  #timeline .demo-card:nth-child(4){
    margin-top: 682px;
  }
}
#timeline .demo-card .head {
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 400;
}
#timeline .demo-card .head h2 {
  text-transform: uppercase;
  font-size: 1.3rem;
  font-family: serif;
  font-weight: inherit;
  letter-spacing: 2px;
  margin: 0;
  padding: 10px;
  line-height: 1rem;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 {
    font-size: 165%;
    line-height: 1.2rem;
  }
}
#timeline .demo-card .body {
  background: #fff;
  border: 1px solid rgba(191, 191, 191, 0.4);
  border-top: 0;
  padding: 15px;
}
@media (min-width: 1000px) {
  #timeline .demo-card .body {
    height: auto;
  }
}
#timeline .demo-card .head{
  display: block;
}
#timeline .demo-card .body p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 15px;
}
#timeline .demo-card .body img {
  display: block;
  width: 100%;
}
#timeline .demo-card--step1 {
  background-color: #333;
}
#timeline .demo-card--step1 .head::after {
  border-color: #333;
}
#timeline .demo-card--step2 {
  background-color: #333;
}
#timeline .demo-card--step2 .head::after {
  border-color: #333;
}
#timeline .demo-card--step3 {
  background-color: #333;
}
#timeline .demo-card--step3 .head::after {
  border-color: #333;
}
#timeline .demo-card--step4 {
  background-color: #333;
}
#timeline .demo-card--step4 .head::after {
  border-color: #333;
}
