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

.editor a:hover {
    text-decoration: underline;
}

.news-editor-pic {
    float: right;
    width: 55%;
    margin: 0 0 30px 25px;
    text-align: center;
}

.contact-map {
    position: relative;
    height: 250px;
}

.contact-map:before {
    content: '';
    position: absolute;
    z-index: 10;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(74, 70, 46, 0.5);
    pointer-events: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.contact-map:hover:before {
    background-color: transparent;
}

.contact-map iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.contact-map:hover iframe {
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    -ms-filter: grayscale(0);
    -o-filter: grayscale(0);
    filter: grayscale(0);
}

.contact-info-list {
    color: #aaa;
    font-size: 14px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.contact-info-list li {
    position: relative;
    padding: 2px 0 2px 25px;
    margin: 3px 0;
    line-height: 25px;
    display: inline-block;
    margin-right: 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: #C5A36D;
    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) {
    .news-editor-pic {
        float: none;
        width: auto;
        margin: 0 auto 2em;
    }
}
