/*********** 前後台編輯器區塊共用的CSS設定 ***********/
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 {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
p {
    margin: 1.7em 0;
}
/*********** 前後台編輯器區塊共用的CSS設定 ***********/
.editor-title {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #0D5A72;
    color: #0D5A72;
    font-size: 17px;
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 20px;
}
.traffic-map {
    background: #fff;
    padding: 5px;
    position: relative;
    margin-bottom: 18px;
}
.traffic-map:after {
    content: '';
    display: block;
    background: url('../images/traffic/map_shadow.png') 50% 0 / 100% 18px no-repeat;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
}
.traffic-map iframe {
    display: block;
}
.traffic-info-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
    border-top: 1px solid #ccc;
}
.traffic-info-list li {
    border-bottom: 1px solid #ccc;
    padding: 5px;
    line-height: 1.4;
}
.traffic-info-list .title {
    display: inline-block;
    color: #333;
}
.traffic-info-list .title:after {
    content: '|';
    color: #ccc;
    margin: 0 20px;
}
.traffic-info-list a:hover {
    text-decoration: underline;
}
.traffic-editor .row {
    margin: 0 -4%;
    position: relative;
}
.traffic-editor .row:before {
    content: '';
    display: block;
    border-left: 1px dashed #ccc;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
}
.traffic-editor .col {
    float: left;
    width: 50%;
    padding: 0 4%;
}
.terms-title {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px;
}

@media screen and (max-width: 767px) {
    .traffic-editor .row:before {
        display: none;
    }
    .traffic-editor .col {
        width: 100%;
    }
    .traffic-editor .col + .col {
        margin-top: 3.4em;
    }
}
@media screen and (max-width: 500px) {
    .traffic-info-list .title {
        display: block;
        margin-bottom: 4px;
    }
}
