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

.index-about-title {
    text-indent: -9999px;
    background: url(../../images/common/index/about_title.png) no-repeat 50% 50%;
    width: 159px;
    height: 85px;
}
*/

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


.notice-editor .col2 {
    width: 40%;
    padding: 0%;
}

.pro-editor .col2 {
    width: 52%;
    padding: 0%;
}

.about-editor-title {
    color: #BEA850;
    font-size: 26px;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;
    margin: 10px 0;
}

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

.notice-editor-title {
    color: #BEA850;
    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: #BEA850;
    font-size: 16px;
    margin: 0 0 0.5em;
}

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


/*----  後台範本  ----*/

.is-container-in .icon {
    background: none;
    text-align: center;
}

.is-rounded-button-medium a i {
    text-align: center;
}

[class*="ion-"] {
    text-indent: 0;
}

.column.full .clearfix.is-boxed-button-big {
    display: inline-block;
}

.is-container-in .btn.btn-default.edit {
    padding: 7px 25px;
    line-height: 2em;
}


/*----  後台範本end  ----*/

.about-editor{
    font-size: 15px;
    color: #000000;
    line-height: 1.75;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 auto;
}
.flex-box{
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.flex-col{
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.flex-col.col1 {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 30px;
    
}
.about-box{
    background: url(../../images/common/about/pic1.jpg) no-repeat 0 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 245px;
    position: relative;
    min-height: 291px;
    max-width: 568px;
    margin: 0 auto;
}
.about-box .pic{
    position: absolute;
    left: 170px;
    bottom: 20px;
}


@media screen and (max-width: 1280px) {
    .pro-editorr .row,
    .pro-editor .col,
    .notice-editor .row,
    .notice-editor .col,
    .about-editor .row,
    .about-editor .col {
        display: block;
        width: auto;
    }
    .about-editor .row {
        max-width: 900px;
        margin: 0 auto;
    }
    .pro-editor .col1,
    .notice-editor .col2,
    .about-editor .col1 {
        padding: 0;
        margin-bottom: 4px;
        text-align: center;
    }
    .about-editor .col2 {
        padding: 0%;
    }
}
@media screen and (max-width:950px){
    .flex-box{
        display: block;
    }
    .flex-col{
        padding: 10px 0;
    }
    .flex-col.col1{padding-right: 0;}
}
@media screen and (max-width: 767px) {
    .products-editor-pic {
        float: none;
        width: auto;
        text-align: center;
    }
    .contact-editor {
        padding: 0 2%;
    }
    .contact-editor .col {
        width: 100%;
        padding: 0;
    }
    .contact-map {
        margin-bottom: 1.8em;
    }
    .news-editor {
        max-width: auto;
    }
}

@media screen and (max-width: 600px) {
    .contact-map {
        height: 200px;
    }
}

@media screen and (max-width: 500px) {
    .index-about-title {
        /*display: inline-block;*/
    }
    .pro-editorr .row,
    .pro-editor .col,
    .notice-editor .row,
    .notice-editor .col,
    .about-editor .row,
    .about-editor .col {
        display: block;
        width: auto;
        font-size: 14px;
        line-height:25px;
    }
    .about-editor-title {
        font-size: 17px;
    }
}
@media screen and (max-width:460px){
    .about-box{
        padding-top: 370px;
        background-position: 50% 0;
        min-height: inherit;
        padding-left: 0;
        margin-bottom: 20px;
    }
    .about-box .pic{
        left: 0;
        right: 0;
        margin: 0 auto;
        bottom: inherit;
        top: 305px;
    }
}