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

.index-about-title {
    color: #5F5B7B;
    font-weight: bold;
    font-size: 25px;
    text-align: right;
    line-height: 1.5;
    margin: 10px 0 0 0;
    position: relative;
    letter-spacing: 4px;
}

.index-about-title:after {
    content: "有歷史的台灣茶";
    font-size: 18px;
    font-weight: normal;
    display: block;
}

.index-about-title:before {
    content: "";
    width: 40px;
    height: 1px;
    background: #5F5A7A;
    display: block;
    position: absolute;
    bottom: 15px;
    right: 165px;
}

.pro-editor .row,
.about-editor .row,
.notice-editor .row {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.pro-editor .col,
.about-editor .col,
.notice-editor .col {
    display: table-cell;
    vertical-align: middle;
}

.pro-editor .col1,
.about-editor .col1,
.notice-editor.col1 {
    vertical-align: top;
    padding-right: 4px;
}


/*---------------------*/

.about-editor {
    font-size: 15px;
    color: #333;
    line-height: 1.75;
}

.about-editor-left {
    float: left;
    width: 333px;
}

.about-editor-right {
    float: right;
    width: calc(100% - 365px);
}

.about-editor-title {
    color: #5F5B7B;
    line-height: 1.2;
    letter-spacing: 5px;
    font-weight: bold;
    font-size: 25px;
    margin: 15px 0;
}

.about-editor-title span {
    font-size: 18px;
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
}

.about-editor-title span:before {
    content: "";
    background: #5F5B7B;
    width: 40px;
    height: 1px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 3px 0;
}

.about-editor-pic {
    margin: 30px -10px 20px;
    text-align: center;
}

.about-editor-pic img {
    padding: 0 10px 10px;
}

.about-editor-notice {
    border: 1px dashed #384169;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0 0 0;
}

.about-editor-notice * {
    display: inline-block;
    vertical-align: middle;
}

.about-editor-notice>img {
    padding: 10px 10px 10px 0;
}

.about-editor-notice-main {
    padding: 0 0 0 15px;
    border-left: 2px solid #5F5C7C;
    color: #5F5C7C;
    font-size: 15px;
    width: calc(100% - 70px);
}


/*---------------------*/

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

.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 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;
}

.notice-editor-title {
    color: #70AC92;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.04em;
    margin: 0 0 0.4em;
}

.notice-editor-title img {
    vertical-align: text-bottom;
}

.terms-title {
    color: #5AA59A;
    font-size: 14px;
    margin: 0 0 0.5em;
}

.news-editor {
    max-width: 1000px;
    margin: 0 auto;
}

@media screen and (max-width: 1280px) {
    .notice-editor .row,
    .notice-editor .col {
        display: block;
        width: auto;
    }
    .notice-editor .col2 {
        padding: 0;
        margin-bottom: 4px;
        text-align: center;
    }
    .about-editor-left,
    .about-editor-right {
        float: none;
        text-align: center;
        width: auto;
    }
    .about-editor-right {
        margin: 35px 0 0 0;
        text-align: left;
    }
}

@media screen and (max-width: 1000px) {
    .index-about-title {
        text-align: center;
    }
    .index-about-title:before {
        display: none;
    }
}

@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) {
    .contact-map {
        height: 200px;
    }
    .about-editor-notice{
        text-align: center;
    }
    .about-editor-notice>img{
        padding: 0;
        margin: 0 auto 10px;
    }
    .about-editor .about-editor-notice-main {
        width: auto;
        display: block;
        border: 0;
        padding: 10px 0 0 0;
        border-top: 2px solid #5F5C7C;
    }
}