/*********** 前後台編輯器區塊共用的CSS設定 ***********/

.about-editor .row {
    position: relative;
    margin: 0 -30px;
}
.about-editor .row:before {
    content: '';
    display: block;
    border-left: 1px solid #ddd;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
}
.about-editor .col {
    padding: 0 30px;
    float: left;
    width: 50%;
}
.service-editor .row {
    margin: 0 -12px;
}
.service-editor .col {
    padding: 0 12px;
    float: left;
}
.service-editor .col1 {
    width: 49%;
}
.service-editor .col2 {
    width: 51%;
}
.service-pic-group {
    text-align: center;
}
.service-pic-group .row {
    margin: 0 -5px;
}
.service-pic-group .col {
    width: 33.33%;
    padding: 5px;
}

.products-editor-pic {
    float: right;
    width: 400px;
    margin: 0 0 10px 30px;
}

.contact-editor {
    padding: 0 2%;
}
.contact-editor .col {
    float: left;
    padding: 0 2%;
}
.contact-editor .col1 {
    width: 48%;
}
.contact-editor .col2 {
    width: 52%;
}
.contact-map {
    -webkit-box-shadow: 0 0 4px 0 rgba(0,0,0,0.25);
    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;
}
.editor-title {
    color: #197292;
    font-size: 18px;
    margin: 0 0 0.83em;
}
.terms-title {
    color: #f02731;
    font-size: 18px;
}
.terms-editor .row {
    margin: 0 -3%;
}
.terms-editor .col {
    float: left;
    width: 50%;
    padding: 0 3%;
}

@media screen and (max-width: 1000px) {
    .service-editor > .row > .col {
        width: 100%;
    }
    .service-editor > .row > .col+.col {
        margin-top: 1.8em;
    }
    .contact-editor {
        padding: 0 2%;
    }
    .contact-editor .col {
        width: 100%;
        padding: 0;
    }
    .contact-map {
        height: 300px;
        margin-bottom: 1.8em;
    }
    .terms-editor .col {
        width: 100%;
    }
    .terms-editor .col + .col {
        margin-top: 1.8em;
    }
}
@media screen and (max-width: 767px) {
    .about-editor .row:before {
        display: none;
    }
    .about-editor .col {
        width: 100%;
    }
    .products-editor-pic {
        float: none;
        width: auto;
        text-align: center;
    }
}
@media screen and (max-width: 600px) {
    .contact-map {
        height: 200px;
    }
}