/*********** 前後台編輯器區塊共用的CSS設定 ***********/
.editor{
    line-height: 2;
}
img {
    max-width: 100%;
    max-height: 100%;
    height: auto !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
}
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }

.col {
    box-sizing: border-box;
}


.index-about-title {
    color: #1d994f;
    font-family: 'Times New Roman', Times, '文泉驛正黑', 'WenQuanYi Zen Hei', '儷黑 Pro', 'LiHei Pro', '微軟正黑體', 'Microsoft JhengHei',  '微软雅黑', 'メイリオ', '맑은 고딕', serif;
    font-size: 27px;
    line-height: 1.4;
    padding: 0px 15px 15px;
    background: url('../../images/common/index/about_border_dot.png') repeat-x 0 100%;
    margin: -5px -15px 20px;
}
.index-service-title {
    font-size: 28px;
    font-weight: normal;
    line-height: 1.4;
    margin: 0 0 10px;
}

/*-about-*/
 .about-editor .col2 .about-editor-title{
    margin-bottom: 20px;
}

.build-editor .row,
.about-editor .row {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.build-editor .col,
.about-editor .col {
    display: table-cell;
    vertical-align: middle;
}
.build-editor .col1,
.about-editor .col1 {
    vertical-align: top;
    padding-right: 4px;
}
.build-editor .col2,
.about-editor .col2 {
    width: 33.4%;
    background: #F2FAF6;
    padding: 3% 4.5%;
    text-align: center;
    line-height: 1.7;
}

.build-editor-title,
.about-editor-title {
    color: #666;
    font-size: 20px;
    font-weight: normal;
    font-family: 'Times New Roman', Times, '文泉驛正黑', 'WenQuanYi Zen Hei', '儷黑 Pro', 'LiHei Pro', '微軟正黑體', 'Microsoft JhengHei',  '微软雅黑', 'メイリオ', '맑은 고딕', serif;
    margin: 0;
}
.build-editor-title:after,
.about-editor-title:after {
    content: '◆';
    display: block;
    font-size: 10px;
    margin: 5px 0 10px;
}

.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;
}
.service-editor-title {
    color: #444;
    font-size: 23px;
    font-weight: bold;
    letter-spacing: 0;
    margin: 0 0 0.4em;
}
.terms-title {
    color: #28aa4b;
    font-size: 14px;
    margin: 0 0 0.5em;
}

@media screen and (max-width: 1280px) {
    .build-editor .row,
    .build-editor .col,
    .about-editor .row,
    .about-editor .col {
        display: block;
        width: auto;
    }
    .build-editor .row,
    .about-editor .row {
        max-width: 728px;
        margin: 0 auto;
    }
    .build-editor .col1,
    .about-editor .col1 {
        padding: 0;
        margin-bottom: 4px;
    }
    .build-editor .col2,
    .about-editor .col2 {
        padding: 30px;
    }
}
@media screen and (max-width: 1000px) {
.index-about-title{
    font-size: 20px;
}
.index-service-title{
    font-size: 24px;
}
}
@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;
    }
}
@media screen and (max-width: 600px) {
    .contact-map {
        height: 200px;
    }
}