/*********** 前後台編輯器區塊共用的CSS設定 ***********/
img {
    max-width: 100%;
    max-height: 100%;
    height: auto !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}
.row:after , .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;
}
.about-pic-group {
    margin: -2px;
}
.about-pic-group .col {
    float: left;
    width: 20%;
    padding: 2px;
}
h2.terms-title {
    color: #FF0000;
    font-size: 15px;
    font-weight: bold;
    margin: 0.5em 0;
}
.service-item {
    text-align: center;
    margin: 0 -25px;
    padding: 0 50px;
}
.service-item .pic {
    width: 160px;
    height: 160px;
    border: 7px solid rgba(227,227,213,0.80);
    border-radius: 100px;
    overflow: hidden;
    margin: 0 auto 20px;
}
.service-item .pic.c2 {
    border-color: rgba(255,255,255,0.50);
}
.service-item .title {
    color: #666659;
    font-family: "Times New Roman", '微軟正黑體', Times, serif;
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 10px;
}
.service-item.ovh .title {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.service-item.ovh .txt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 40px;
}
hr.service-divider {
    margin: 40px 0;
    border: 1px solid #A7A7A7;
    border-width: 1px 0 0;
}
hr.service-divider.m2 {
    margin: 30px 0;
}
ul.service-list {
    padding: 0;
    margin: 0 100px 0 20px;
    list-style-type: none;
    color: #888;
}
ul.service-list li {
    position: relative;
    padding: 2px 0 2px 20px;
}
ul.service-list.ovh li {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
ul.service-list li:before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background: #D90000;
    position: absolute;
    left: 5px;
    top: 9px;
    border-radius: 5px;
}
.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 30px;
    margin: 8px 0;
    line-height: 25px;
}
.contact-info-list li:before {
    display: inline-block;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
    color: #FF0000;
    position: absolute;
    left: 0;
    top: 6px;
}
.contact-info-list li.tel:before  {
    content: "\ff001";
}
.contact-info-list li.fax:before {
    content: "\ff002";
}
.contact-info-list li.mail:before {
    content: "\ff003";
}
.contact-info-list li.add:before {
    content: "\ff004";
    font-size: 18px;
    left: 3px;
    top: 4px;
}
.contact-info-list a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 767px) {
    .contact-editor {
        padding: 0 2%;
    }
    .contact-editor .col {
        width: 100%;
        padding: 0;
    }
    .contact-map {
        margin-bottom: 1.8em;
    }
}
@media screen and (max-width: 600px) {
    .about-pic-group .col {
        width: 33.33%;
    }
    .service-item {
        margin: 0;
        padding: 0 0px;
    }
    .contact-map {
        height: 200px;
    }
}
@media screen and (max-width: 500px) {
    ul.service-list {
        margin: 0;
    }
}
@media screen and (max-width: 440px) {
    .about-pic-group .col {
        width: 50%;
    }
}