/*-------------------------wcm 樣式開始---------------------------*/

.layoutContent {
    overflow: hidden;
    padding:1rem;
    font-family: "Microsoft Jhenghei", "微軟正黑體", "Trebuchet MS", Arial, Helvetica, sans-serif;
    line-height: 1.5;
    color: #3b3b3b;
}

/*---------標題樣式設定開始---------*/
.wcm-title {
    float: left;
    width: 100%;
    padding-left: 35px;
    font-family: 微軟正黑體;
    font-size: 130%;
    margin-bottom: 15px;
    line-height: 23px;
    background-repeat: no-repeat;
    background-position: 5px 3px;
}

.wcm-icon-color01 {background-image: url(../../images/wcm-title-icon01.svg);}
.wcm-icon-color02 {background-image: url(../../images/wcm-title-icon02.svg);}
.wcm-icon-color03 {background-image: url(../../images/wcm-title-icon03.svg);}
.wcm-icon-color04 {background-image: url(../../images/wcm-title-icon04.svg);}
.wcm-icon-color05 {background-image: url(../../images/wcm-title-icon05.svg);}
.wcm-icon-color06 {background-image: url(../../images/wcm-title-icon06.svg);}
.wcm-icon-color07 {background-image: url(../../images/wcm-title-icon07.svg);}
/*---------標題樣式設定結束---------*/

/*---------純文字設定開始-----------*/
.wcm-text-data {
	float: left;
	width: 100%;
	margin-bottom: 20px;
}
/*---------純文字設定結束-----------*/

/*---------編輯器清單設定開始--------*/
.wcm-text-data ol,.wcm-text-data ul,.wcm-table ol,.wcm-table ul,.wcm-viewbox ol,.wcm-viewbox ul {padding-left: 1.5em;} 
.wcm-text-data ol,.wcm-table ol,.wcm-viewbox ol {list-style-type: decimal;}
.wcm-text-data ul,
.wcm-table ul,
.wcm-viewbox ul,
.wcm-text-data ol li,
.wcm-text-data ul li,
.wcm-table ol li,
.wcm-table ul li,
.wcm-viewbox ol li,
.wcm-viewbox ul li {list-style-type: inherit;}
.wcm-text-data a,.wcm-table a,.wcm-viewbox a {color: #0099FF; text-decoration: underline;}
.wcm-text-data a:hover,.wcm-table a:hover,.wcm-viewbox a:hover {color: #0066FF;}
/*---------編輯器清單設定結束-------*/

/*--------------------------------圖文設定開始----------------------------------*/
/*純圖*/
/*一圖*/
.wcm-photo {float: left;width: 100%; text-align:center; padding-bottom: 2%;}
.wcm-photo img {float: none; vertical-align: inherit;}
/*二圖*/
.wcm-photo-double {float: left; width: 100%; text-align:center; padding-bottom: 2%; display:flex;}
.wcm-photo-double figure { flex: 1; margin:0px 5px;}
.wcm-photo-double figure:first-child {margin-left:0;}
.wcm-photo-double figure:last-child {margin-right:0;}
.wcm-photo-double img {float: none; vertical-align: inherit;}
/*純圖*/

/*左圖右文+左文右圖*/
.wcm-viewbox {
	float: left;
	width: 100%;
	padding-bottom: 2%;
}
.wcm-photoL,.wcm-textR,.wcm-photoR,.wcm-textL {float: left; width: 48%; padding-right:1%; padding-left:1%;}
.wcm-photoL,.wcm-photoR {text-align:center;}
.wcm-photoL img,.wcm-photoR img {float: none;}
/*左圖右文+左文右圖*/

/*文繞左、右圖*/
.wcmphotoLr img { display: inline-block; min-width:35%; max-width:50%; float: left; padding-right:15px; padding-bottom:10px;}
.wcmphotoRr img { display: inline-block; min-width:35%; max-width:50%; float: right; padding-left:15px; padding-bottom:10px;}
/*文繞左、右圖*/

@media only screen and (min-width: 0px) and (max-width: 580px) {
	.wcm-photoL,.wcm-textR,.wcm-photoR,.wcm-textL {
		float: left;
		width: 100%;
		padding-right: 0%;
		padding-left: 0%;
		padding-top: 5px;
		padding-bottom: 5px;
    }
	.wcmphotoLr img,.wcmphotoRr img {
		min-width: auto; 
		max-width:100%; 
		padding-left:0; 
		padding-right:0; 
	}
    .wcm-photo-double,.wcm-photo-double figure {display:block;flex:none;margin:0;}
    .wcm-photo-double img {width:100%;}
}
/*------------------------------------圖文設定結束-----------------------------------*/

/*------------表格設定--------------*/
/*基本款*/
.wcm-table table {float:left; width: 100%; margin-bottom: 3%;}
.wcm-table table caption {padding: 5px; width: 100%; color:#ffffff;}
.wcm-table table,.wcm-table td,.wcm-table th {border: solid 1px #585858;text-align: center;vertical-align: middle; word-wrap: break-word; word-break: normal;}
.wcm-table td,.wcm-table th {padding:5px;}
.wcm-table th {background-color: rgb(204,204,204);}
.wcm-odd tr:nth-child(odd) {background: #f4f4f4;}
/*基本款*/

/*樣式一(藍)*/
.wcm-table-style01 caption {background-color: #62c0ff;}
.wcm-table-style01 table,.wcm-table-style01 td,.wcm-table-style01 th { border-color:#c6f2ea;}
.wcm-table-style01 th {background-color: #9ae1eb;}
/*樣式一*/

/*樣式二(靛)*/
.wcm-table-style02 caption {background-color: #788dd8;}
.wcm-table-style02 table,.wcm-table-style02 td,.wcm-table-style02 th { border-color:#c0cff5;}
.wcm-table-style02 th {background-color: #abbaeb;}
/*樣式二*/

/*樣式三(紫)*/
.wcm-table-style03 caption {background-color: #b18abf;}
.wcm-table-style03 table,.wcm-table-style03 td,.wcm-table-style03 th { border-color:#ead5f2;}
.wcm-table-style03 th {background-color: #ebc1fa;}
/*樣式三*/

/*樣式四(紅)*/
.wcm-table-style04 caption {background-color: #f69aa9;}
.wcm-table-style04 table,.wcm-table-style04 td,.wcm-table-style04 th { border-color:#ffe2e7;}
.wcm-table-style04 th {background-color: #ffd5dc;}
/*樣式四*/

/*樣式五(橙)*/
.wcm-table-style05 caption {background-color: #fca164;}
.wcm-table-style05 table,.wcm-table-style05 td,.wcm-table-style05 th { border-color:#ffe7d6;}
.wcm-table-style05 th {background-color: #ffd9c1;}
/*樣式五*/

/*樣式六(黃)*/
.wcm-table-style06 caption {background-color: #f7c856;}
.wcm-table-style06 table,.wcm-table-style06 td,.wcm-table-style06 th { border-color:#ffefbd;}
.wcm-table-style06 th {background-color: #ffe6aa;}
/*樣式六*/

/*樣式七(綠)*/
.wcm-table-style07 caption {background-color: #b4dd44;}
.wcm-table-style07 table,.wcm-table-style07 td,.wcm-table-style07 th { border-color:#e7f8bb;}
.wcm-table-style07 th {background-color: #d5f384;}
/*樣式七*/
/*------------表格設定--------------*/

/*------------輔助設定--------------*/
/*分隔線*/
.wcm-line {
	float: left;
	height: 1px;
	width: 100%;
	margin-bottom: 3%;
	background-repeat: repeat-x;
	background-position: left center;
}
.wcmlinestyle01 {background-image: url(../../images/wcm-line01.gif);}/*(實線)*/
.wcmlinestyle02 {background-image: url(../../images/wcm-line02.gif);}/*(虛線)*/
/*分隔線*/
/*------------輔助設定--------------*/




/*-------------------------wcm 樣式結束---------------------------*/

/*---特殊客製wcm內頁-年譜時間軸---*/

.timeline {width:100%; display: block; background: url(../../images/timeline-line.svg) repeat-y center 10px; text-align:center; }

.timeline:before {content: ''; display:block; width:100%; height:50px;  background: url(../../images/timeline-arrow.svg) no-repeat center top white; margin-bottom: 20px;}
.timeline2:before {background: url(../../images/timeline-arrow2.svg)no-repeat center top white;}

.timeline:after {
    content: 'Start'; 
    display: block; 
    width:70px; 
    height:70px; 
    background-color:#eeeeee; 
    color:#ea3d5f; 
    text-align: center; 
    line-height: 70px; 
    margin-left: calc(50% - 35px); 
    margin-top: 50px;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
}
.timeline2:after {content: 'End'; }
.timeline .years {display: inline-block; text-align: center; background-color: rgba(0%,0%,0%, 0.75); color:#fff; padding: 3px 20px 3px 20px; margin:0 0 15px 0; font-size: 0.935em;}

.timeline .years-block {font-size: 0px;}

.timeline-data { text-align:left; margin-right:calc(50% + 26px); margin: 10px 0; width:100%; display:block; width:calc(50% - 26px);}

.timeline div[class*=timeline-data]:nth-of-type(odd) {margin-left:calc(50% + 26px);}



.timeline-data .time {float:left; width:100%; background-color:#dbdbdb; color: #fff; font-size: 1em; position: relative;}

.timeline-data .time:before {
    content: ''; 
    position: absolute; 
    right:0;
    top:50%;
    margin-right: -20px;
    margin-top: -7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 20px;
    border-color: transparent transparent transparent #198690;
}

.timeline-data .time:after {
    content: '';
    position: absolute; 
    right:0;
    top:50%;
    margin-right: -32px;
    margin-top: -5px;  
    width:12px; 
    height:12px; 
    background-color: #c4c4c4;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.timeline div[class*=timeline-data]:nth-of-type(odd) .time:before {
    left:0;
    margin-left: -20px; 
    border-width: 7px 20px 7px 0px; 
    border-color: transparent #9d9d9d transparent transparent;
}
.timeline div[class*=timeline-data]:nth-of-type(odd) .time:after {
    left:0;
    margin-left: -32px;
}

.timeline-data .time span {float:right; padding:5px 20px;}
.timeline-data .time span:first-child {background-color: #9d9d9d; font-size: 1em; }
.timeline div[class*=timeline-data]:nth-of-type(odd) span {float:left;}

.timeline-text {display: -webkit-flex;display: flex; padding-top:5px; width:100%;}
.timeline-text div {-webkit-flex: 1; flex: 1; margin:8px;}


/*timelinecolor set*/
.timeline-color01 .time,.timeline-color01 .time:after {background-color:#fbe251; color: #2a57a6;}
.timeline-color01 .time span:first-child {background-color:#2a57a6; color: #fff;}
.timeline-color01 .time:before {border-color: transparent transparent transparent #2a57a6;}
.timeline div[class*=timeline-color01]:nth-of-type(odd) .time:before {border-color: transparent #1577a2 transparent transparent ;}

.timeline-color02 .time,.timeline-color02 .time:after {background-color:#2a57a6;}
.timeline-color02 .time span:first-child {background-color:#fbe251; color:#2a57a6;}
.timeline-color02 .time:before {border-color: transparent transparent transparent #fbe251;}
.timeline div[class*=timeline-color02]:nth-of-type(odd) .time:before {border-color: transparent #fbe251 transparent transparent ;}


@media only screen and (min-width: 0px) and (max-width: 440px) {
    .timeline-data .time span {width:100%;}
    .timeline-data .time:before {margin-top: -23px;}
    .timeline-data .time:after {margin-top: -22px;}
}
/*---特殊客製wcm內頁-公司沿革時間軸 END---*/