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


.about-editor{
    margin: 0 auto;
    position: relative;
    font-size: 15px;
    color: #818181;
    line-height: 1.7;
    letter-spacing: 0.08em;
}
.flex-row{
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 -15px;
}

.ab-til{
    display: block;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Merriweather', serif;
    color: #005338;
    margin-bottom: 30px;
    position: relative;
}
.ab-til:after{
    content: '';
    display: block;
    position: absolute;
    width: 30px;
    height: 4px;
    background: #005338;
    position: absolute;
    left: 0;
    bottom: -16px;
}
.flex-col.col1 .pic{
    margin-bottom: 15px;
}
.flex-col{
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
}


.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: #005338;
    font-size: 18px;
    margin: 0 0 0.83em;
}
.terms-title {
    color: #005338;
    font-size: 16px;
}
.terms-editor .row {
    margin: 0 -3%;
}
.terms-editor .col {
    float: left;
    width: 50%;
    padding: 0 3%;
}

.ser-box{
    margin-top: 50px;
    background: url(../../images/common/about/bg.png) repeat;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 25px 30px;
    min-height: 130px;
    position: relative;
    padding-left: 180px;
}
.ser-box .s-name{
    width: 180px;
    height: 80px;
    text-align: center;
    font-size: 19px;
    color: #005338;
    font-weight: bold;
    position: absolute;
    left: 0px;
    top: 0;
    bottom: 0;
    margin: auto;
}
.ser-box  .s-name i{
    display: block;
    background: url(../../images/common/about/icon.png) no-repeat;
    width: 40px;
    height: 43px;
    margin: 0 auto 5px;
}
.ser-box  .inner-box{
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 32px;
    background: url(../../images/common/about/line.png) no-repeat 0 50%;
}



@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;
    }
    .flex-row{
        display: block;
    }
    .flex-col.col1,
    .flex-col.col2{
        padding: 10px 0;
    }
    .flex-col{
        padding: 10px 0;
    }
    .flex-row{
        display: block;
        margin: 0 auto;
    }

    .flex-col{
        padding: 10px 0;
    }
}
@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;
    }
    .ser-box{
        padding: 130px 20px 30px;
    }
    .ser-box .s-name{
        left: 0;
        right: 0;
        margin: 0 auto;
        top: 30px;
        bottom: inherit;
    }
    .ser-box .inner-box{
        background: none;
        padding: 0;
        
    }
}
@media screen and (max-width: 600px) {
    .contact-map {
        height: 200px;
    }
}