
/*-------------------------Ray 新增wcm 樣式開始---------------------------*/

/*---------標題樣式設定開始---------*/
.wcm-title {
	float: left;
	width: 100%;
	font-family: "微軟正黑體";
	font-size: 120%;
	margin-bottom: 15px;
	line-height: 23px;
	color: #FFF;
    overflow: hidden;
}
.wcm-title span {
    position: relative;
    float:left;
    padding:10px 15px 12px 35px;
    min-height:43px;
    margin-left: -20px;
    margin-right: 20px;
    -webkit-transform:skew(-30deg);
    -moz-transform: skew(-30deg);
    -o-transform: skew(-30deg);
}
.wcm-title span p {
    background-image: url(../../images/wcm-title-icon00.svg);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding:0 22px 0 22px;
    -webkit-transform:skew(30deg);
    -moz-transform: skew(30deg);
    -o-transform: skew(30deg);
}

.wcm-icon-color01 span {background-color:#2d5891;}
.wcm-icon-color02 span {background-color:#1dcaff;}
.wcm-icon-color03 span {background-color:#8c6edb;}
.wcm-icon-color04 span {background-color:#ea3d5f;}
.wcm-icon-color05 span {background-color:#ff7800;}
.wcm-icon-color06 span {background-color:#ffc400;}
.wcm-icon-color07 span {background-color:#4dd333;}

/*次標樣式*/
.wcm-subtitle {
    float: left;
	width: 100%;
}
.wcm-subtitle span {
    float:left; 
    background-repeat: no-repeat;
    background-position: 10px 13px;
    padding:10px 15px 10px 35px;
    min-height:43px;
}

.subtitle-color01 span {color:#2d5891;background-image: url(../../images/wcm-title-icon01.svg);}
.subtitle-color02 span {color:#1dcaff;background-image: url(../../images/wcm-title-icon02.svg);}
.subtitle-color03 span {color:#8c6edb;background-image: url(../../images/wcm-title-icon03.svg);}
.subtitle-color04 span {color:#ea3d5f;background-image: url(../../images/wcm-title-icon04.svg);}
.subtitle-color05 span {color:#ff7800;background-image: url(../../images/wcm-title-icon05.svg);}
.subtitle-color06 span {color:#ffc400;background-image: url(../../images/wcm-title-icon06.svg);}
.subtitle-color07 span {color:#4dd333;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 {padding-left: 1.5em;}
.wcm-text-data ol,.wcm-table ol {list-style-type: decimal;}
.wcm-text-data ul,.wcm-table ul,.wcm-text-data ol li,.wcm-text-data ul li,.wcm-table ol li,.wcm-table ul li {list-style-type: inherit;}
.wcm-text-data a,.wcm-table a {color: #0099FF; text-decoration: underline;}
.wcm-text-data a:hover,.wcm-table 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-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; word-wrap: break-word; word-break: normal;}
.wcm-table td {text-align: left;}
.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: #2d5891;}
.wcm-table-style01 table,.wcm-table-style01 td,.wcm-table-style01 th { border-color:#a8c0df;}
.wcm-table-style01 th {background-color: #5982b9; color:#ffffff;}
/*樣式一*/

/*樣式二(藍)*/
.wcm-table-style02 caption {background-color: #62c0ff;}
.wcm-table-style02 table,.wcm-table-style02 td,.wcm-table-style02 th { border-color:#c6f2ea;}
.wcm-table-style02 th {background-color: #9ae1eb;}
/*樣式二*/

/*樣式三(紫)*/
.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);}/*(虛線)*/
/*分隔線*/
/*------------輔助設定--------------*/

/*文字分欄設定*/
.text-flex {display: -webkit-flex; display: flex; width:100%;} 
.text-flex div {-webkit-flex: 1;flex: 1; padding-right: 15px;}

/*-------------------------Ray 新增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; background-color: #fff; margin-bottom: 20px;}

.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;
}

.timeline .years {display: inline-block; text-align: center; background-color: rgba(0%,10%,20%, 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:#28a9e2;}
.timeline-color01 .time span:first-child {background-color:#1577a2;}
.timeline-color01 .time:before {border-color: transparent transparent transparent #1577a2;}
.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:#cad330;}
.timeline-color02 .time span:first-child {background-color:#aab411;}
.timeline-color02 .time:before {border-color: transparent transparent transparent #aab411;}
.timeline div[class*=timeline-color02]:nth-of-type(odd) .time:before {border-color: transparent #aab411 transparent transparent ;}

.timeline-color03 .time,.timeline-color03 .time:after {background-color:#ffa64c;}
.timeline-color03 .time span:first-child {background-color:#d08921;}
.timeline-color03 .time:before {border-color: transparent transparent transparent #d08921;}
.timeline div[class*=timeline-color03]:nth-of-type(odd) .time:before {border-color: transparent #d08921 transparent transparent ;}

.timeline-color04 .time,.timeline-color04 .time:after {background-color:#ee5b27;}
.timeline-color04 .time span:first-child {background-color:#d64c1b;}
.timeline-color04 .time:before {border-color: transparent transparent transparent #d64c1b;}
.timeline div[class*=timeline-color04]:nth-of-type(odd) .time:before {border-color: transparent #d64c1b transparent transparent ;}

.timeline-color05 .time,.timeline-color05 .time:after {background-color:#bc9bc8;}
.timeline-color05 .time span:first-child {background-color:#956da3;}
.timeline-color05 .time:before {border-color: transparent transparent transparent #956da3;}
.timeline div[class*=timeline-color05]:nth-of-type(odd) .time:before {border-color: transparent #956da3 transparent transparent ;}

.timeline-color06 .time,.timeline-color06 .time:after {background-color:#66c7d0;}
.timeline-color06 .time span:first-child {background-color:#198690;}
.timeline-color06 .time:before {border-color: transparent transparent transparent #198690;}
.timeline div[class*=timeline-color06]:nth-of-type(odd) .time:before {border-color: transparent #198690 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---*/

/*---文字縮排功能---*/

/*中文縮排1.5個字*/
.indent01{margin-left: 2.25em; text-indent: -2.25em;}
/*數字縮排1.5個字*/
.indent-num01{margin-left: 0.8em; text-indent: -0.8em;}