/*********** 前後台編輯器區塊共用的CSS設定 ***********/
.editor-divider {
    border: 0;
    border-top: 1px dotted #ddd;
    margin: 1.7em 0;
}
.index-service-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.index-service-list .item {
    padding: 20px 0px;
}

.index-service-list .item + .item {
    border-top:dashed 1px #444444;
}
.index-service-list .box{
    max-width: 456px;
}
.index-service-list .name {
    color: #545454;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    padding-left: 12px;
    position: relative;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 21px;
    margin-bottom: 8px;
}
.index-service-list .name:before {
    content: '';
    border-left: 3px double #972E7F;
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
}
.index-service-list .description {
    color: #777;
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}
.news-editor-pic {
    float: right;
    width: 300px;
    text-align: center;
    margin-left: 30px;
}
.about-editor-title {
    color: #444;
    font-family: 'Times New Roman', Times, serif;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    margin: 0;
}
.products-editor .row {
    margin: 0 -14px;
}
.products-editor .col {
    float: left;
    padding: 0 14px;
}
.products-editor .col1 {
    width: 70%;
}
.products-editor .col2 {
    width: 30%;
    text-align: right;
}
.service-list {
    list-style-type: none;
    padding: 0;
    margin: 0 -2%;
}
.service-list .item {
    float: left;
    width: 33.3%;
    padding: 0 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.service-list .item:nth-child(3n+1) {
    clear: left;
}
.service-list .box {
    border: 1px solid #DBDBDB;
    overflow: hidden;
    padding: 5px;
    margin: 0 auto 40px;
    /* display: flex; */
}
.service-list .pic {
    float: left;
    max-width: 150px;
}
.service-list .txt {
    margin-left: 160px;
}
.service-list .name {
    color: #535353;
    font-size: 17px;
    font-weight: bold;
    padding: 5px 0 0;
}
.service-list .description {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
     display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 63px;
}
.terms-title {
    color: #00815F;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
}

/*-*/
.contact-editor {
    max-width: 1000px;
    margin: 50px auto 0;
}
.contact-editor .col {
    float: left;
    width: 50%;
}
.contact-editor .col2 {
    padding-left: 6%;
}
.contact-map {
    height: 350px;
    border: 1px solid #ddd;
    padding: 5px;
}
.contact-map iframe {
    display: block;
    max-height: 100%;
}
.company-name {
    max-width: 241px;
    margin: 10px 0 30px;
}
.contact-info-list {
    padding: 0;
    margin: 0;
}
.contact-info-list dt {
    color: #00815F;
    font-size: 16px;
    margin: 5px 0;
    font-family: 'Oswald','微軟正黑體', sans-serif;
    font-weight: bold;
}
.contact-info-list dd {
    margin: 0;
    padding: 0;
}
.contact-info-list .icon {
    background-image: url('../../images/common/contact/info_ic.png');
    width: 30px;
    height: 30px;
    margin: 0 10px 4px 0;
    vertical-align: middle;
}
.contact-info-list .icon.tel { background-position: 0 0; }
.contact-info-list .icon.fax { background-position: 0 100%; }
.contact-info-list a:hover {
    text-decoration: underline;
}
.email-link {
    color: #FFBF00;
    text-decoration: underline;
}
/*---- about editor ----*/
.about_row{
    display: block;
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}

.about_row .col:nth-child(1){
    /* margin-top: 125px; */
    width: 900px;
    border:1px solid #D3D3D3;
    position:relative;
    padding: 50px 420px 50px 50px;
    box-sizing: border-box;
    overflow:hidden;
    
}
.about_row .col:nth-child(1):before{
    content:'';
    display:block;
    height:100%;

    border-left:7px solid #00815F;
    position:absolute;
    left:0;
    top:0;
}
.about_row .col:nth-child(2){
    position: absolute;
    right: 0;
    top: 10%;
}
.about_row .title{
    font-size: 22px;
    color:#00815F;
    margin-bottom: 10px;
    font-family: 'Oswald','微軟正黑體', sans-serif;
    letter-spacing: 20px;
}
.about_row .title2{
    font-size: 20px;
    color:#9aad9b;
    margin-bottom: 10px;
    font-weight: bold;
}
@media screen and (max-width: 1400px) {
    .about_row .col:nth-child(2){
        width: 39%;
        top: 10%;
    }
}
@media screen and (max-width: 1220px) {
    .service-list .item {
        width: 100%;
    }
    .service-list .item:nth-child(n) {
        clear: none;
    }
    .index-service-list .item {
        padding: 0 0 10px;
    }
    .service-list .description {
        overflow: inherit;
        height: auto;
        height:100%;
        display:  block;
    }
}
@media screen and (max-width: 1000px) {
    .about_row .col:nth-child(1){
        width:100%;
        padding: 20px 20px 100px;
    }
    .about_row .col:nth-child(2){
        position:relative;
        width:100%;
        margin: -80px auto 0;
        text-align:center;
    }
    .about_row .col:nth-child(1):before{
        content:'';
        display:block;
        height:auto;
        width:100%;
        border-top:7px solid #00815F;
        position:absolute;
        left:0;
        top:0;
    }
}
@media screen and (max-width: 767px) {
    .news-editor-pic {
        float: none;
        margin: 0 auto 1.7em;
        width: auto;
    }
    .products-editor .col {
        width: 100%;
    }
    .products-editor .col + .col {
        margin-top: 1.7em;
    }
    .service-list .box {
        margin-bottom: 30px;
    }
    .service-list .pic {
        width: 240px;
    }
    .service-list .txt {
        /*margin-left: 260px;*/
    }
    .contact-editor .col {
        width: 100%;
        padding: 0;
    }
    .contact-map {
        height: 300px;
        margin-bottom: 1.8em;
    }
}
@media screen and (max-width: 600px) {
    .service-list .box {
        max-width: 300px;
        margin: 0 auto 30px;
    }
    .service-list .pic {
        float: none;
        width: auto;
        margin: 0 auto;
    }
    .service-list .txt {
        margin: 0;
        padding: 5px;
    }
    .contact-map {
        height: 200px;
    }
}