/*********** 前後台編輯器區塊共用的CSS設定 ***********/
.index-about-title {
    color: #70AC92;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    font-size: 25px;
}
.pro-editor .row,
.about-editor .row,
.notice-editor .row {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.pro-editor .col,
.about-editor .col,
.notice-editor .col {
    display: table-cell;
    vertical-align: middle;
}
.pro-editor .col1 ,
.about-editor .col1,
.notice-editor.col1  {
    vertical-align: top;
    padding-right: 4px;
}
.about-editor .col2 {
    width: 70%;
    padding: 0 2%;
}
.notice-editor .col2 {
    width: 40%;
    padding: 0%;
}
.pro-editor .col2 {
    width: 52%;
    padding: 0%;
}
.about-editor-title {
    color: #70AC92;
    font-size: 26px;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;
    margin: 10px 0;
}
.products-editor-pic {
    float: right;
    width: 400px;
    margin: 0 0 10px 30px;
}
.contact-editor .row {
    margin: 0 -2%;
}
.contact-editor .col {
    float: left;
    padding: 0 2%;
}
.contact-editor .col1 {
    width: 44%;
}
.contact-editor .col2 {
    width: 56%;
}
.contact-map {
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.25);
    border: 8px solid #fff;
}
.contact-map iframe {
    display: block;
    max-height: 100%;
}
.contact-info-list {
    color: #555;
    font-size: 14px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.contact-info-list li {
    position: relative;
    padding: 2px 0 2px 40px;
    margin: 8px 0;
    line-height: 25px;
}
.contact-info-list li:before {
    content: '';
    display: inline-block;
    background: url('../../images/common/contact/info_ic.png') no-repeat;
    width: 25px;
    height: 25px;
    position: absolute;
    left: 0;
    top: 0;
}
.contact-info-list li.tel:before  { background-position: 0 0; }
.contact-info-list li.mail:before { background-position: 0 50%; }
.contact-info-list li.addr:before { background-position: 0 100%; }
.contact-info-list a:hover {
    text-decoration: underline;
}
.notice-editor-title {
    color: #70AC92;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.04em;
    margin: 0 0 0.4em;
}
.notice-editor-title img {
    vertical-align: text-bottom;
}
.terms-title {
    color: #C6000B;
    font-size: 18px;
    margin: 0 0 0.5em;
}
.news-editor{
    max-width: 1000px;
    margin: 0 auto;
}

/*--------------about page CSS---------------*/
.about-page {

    margin: auto;
}
.about-page .row {
    margin:0 auto 50px;
    display:flex;
    align-items:center;
}

.about-page .col {
    width:50%
}
.about-page .col.fit{
    width: fit-content;
}
.about-page .col.long_w{
    width: 65%;
}
.about-page .col+.col {
    margin-left: 4%;
}
.about-page .col.about{
    border-left:5px solid #ddd5a5;
    padding-left: 15px;
}
.about-page .col.about2 .about_txt{
    padding-right: 50%;
}
.about-page .col.about2 .about_txt.txt2{
    position: relative;
    box-sizing: border-box;
    padding: 20px 48% 20px 20px;
    margin-top: 45px;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ddd5a5+0,ddd5a5+100&1+0,0.2+100 */
    background: -moz-linear-gradient(left,  rgba(221,213,165,1) 0%, rgba(221,213,165,0.2) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(221,213,165,1) 0%,rgba(221,213,165,0.2) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(221,213,165,1) 0%,rgba(221,213,165,0.2) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd5a5', endColorstr='#33ddd5a5',GradientType=1 ); /* IE6-9 */
}
.about-page .col.about2 .about_txt.txt2:before{
    content: '';
    display: block;
    width: 187px;
    height: 418px;
    position: absolute;
    background: url(../../images/common/about/ab_pic3.png) 50% 50%  no-repeat;
    bottom: 0;
    right: 0;
}
.about-page .col.about2 .about_txt.txt2 .title{
    font-size: 22px;
    color: #7F5F00;
    font-weight: bold;
    margin: 0 0 10px;
}
.about-page .col.about2 .about_txt.txt2 .title.t2{
    margin: 0;
    font-size: 18px;
    color:#393939;
    line-height: 1.5;
}
.about-page .col.about2 .about_txt.txt2 .title.t2:before{
    display: none;
}
.about-page .col .title {
    color: #393939;
    font-size: 22px;
    text-align: left;
    margin: 0 0 15px;
    line-height:1;
}
.about-page .col .title span{
    color:#7F5F00;
    font-size: 26px;
    border-right: 2px solid #DDD5A5;
    padding-right: 10px;
    margin-right: 10px;
    font-weight: bold;
}
.about-page .col .title.t2 {
    font-size:22px;
    color:#B8191E;
    position: relative;
    font-weight: bold;
    line-height: 1.2;
    font-family: 'Roboto','微軟正黑體', sans-serif;
}
.about-page .col.about .title.t2{
    font-size: 18px;
    letter-spacing: 0;
}
.about-page .col .title.t2:before{
    content:'';
    display:inline-block;
    width:25px;
    height:1px;
    margin-right:10px;
    background:#B8191E;
    position:relative;
    top:-6px;
}
.about-page .col .txt {
    text-align: center;
    margin: auto;
}
.about_pic{
    text-align: left;
}

/*----- history -----*/
.row.history{
    display: flex;
    margin-bottom: -15px;
}
.row.history .col{
    display:flex;
}
.row.history .col:nth-child(1){
    width: 15%;
    justify-content: center;
    align-items:flex-start;
}
.row.history .col:nth-child(2){
    width: 90%;
    border-left:1px solid #b4272d;
    position:relative;
    margin-top: 8px;
}
.row.history .col:nth-child(2):before{
    content:'';
    display:block;
    background: #b4272d;
    width: 9px;
    height: 9px;
    border-radius:20px;
    position:absolute;
    left:-5.5px;
    top: 0;
}
.row.history .col:nth-child(2) ul{
    margin:0;
    padding-bottom: 30px;
}
.row.history .col .year{
    font-size: 30px;
    line-height: 1;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}
.row.history .col .txt{
    width: 100%;
    padding: 0 20px 40px;
    margin-bottom: 40px;
    border-bottom: 1px dotted #dcdcdc;
    margin-left: 20px;
}
.row.history .col .txt .list{
    
}
.row.history .col .txt .pic{
    display: flex;
    justify-content: flex-start;
    width: 30%;
}
.row.history .col .txt .pic img{
    margin:0 5px;
    border-radius: 100%;
    border: 5px solid #ecdfce;
}
@media screen and (max-width: 1280px) {
    .pro-editorr .row, 
    .pro-editor .col,
    .notice-editor .row, 
    .notice-editor .col,
    .about-editor .row,
    .about-editor .col {
        display: block;
        width: auto;
    }
    .about-editor .row {
        max-width: 900px;
        margin: 0 auto;
    }
    .pro-editor .col1,
    .notice-editor .col2,
    .about-editor .col1 {
        padding: 0;
        margin-bottom: 4px;
        text-align: center;
    }
    .about-editor .col2 {
        padding: 0%;
    }
}
@media screen and (max-width: 767px) {
    .products-editor-pic {
        float: none;
        width: auto;
        text-align: center;
    }
    .contact-editor {
        padding: 0 2%;
    }
    .contact-editor .col {
        width: 100%;
        padding: 0;
        
    }
    .contact-map {
        margin-bottom: 1.8em;
    }
    .news-editor{
        max-width:auto;
    }

    .about-page .row {
         flex-wrap:wrap;
             margin: 0 auto 20px;
    }
    .about-page .row .col{
        width:100%;
        margin:0 auto 20px;
    }
    .about-page .col.about2 .about_txt {
        padding-right: 40%;
    }
    .about-page .col .title span{
        font-size:22px;
    }
    .about-page .col .title{
        font-size:18px;
    }
    .about-page .col .title.t2{
        font-size:18px;
    }
    .about_pic{
        text-align: center;
    }
    /*----- history -----*/
    .row.history{
        flex-direction:column;
        margin-bottom: -30px;
    }
    .row.history .col:nth-child(1){
        justify-content: flex-start;
        width:100%;
        margin-bottom: -6px;
    }
    .row.history .col:nth-child(2){
        width:100%;
        margin-top: 0;
    }
    .row.history .col .year{
        width:100px;
        height:40px;
        line-height:40px;
        background:#b4272d;
        color:#fff;
        text-align:center;
    }
    .row.history .col .txt {
        width: 100%;
        padding: 40px 20px 40px;
        margin-bottom: 60px;
        border-bottom: 1px dotted #dcdcdc;
        margin-left: 0px;
    }
    .row.history .col .txt .pic{
        width:100%;
        flex-wrap:wrap;
    }
    .row.history .col .txt .pic img {
        margin: 5px auto;
    }
}
@media screen and (max-width: 600px) {
    .contact-map {
        height: 200px;
    }
}
@media screen and (max-width: 500px) {
    .about-page .col.about2 .about_txt.txt2:before{
        position:relative;
        margin:0 auto;
        right:inherit;
        bottom:inherit;
        text-align:center;
    }
    .about-page .col.about2 .about_txt.txt2{
        padding:20px;
        text-align:center;
    }
    .about-page .col.about2 .about_txt.txt2 .title{
        text-align:center;
    }
    .about-page .col.about2 .about_txt{
        padding:0;
    }
}