/*********** 前後台編輯器區塊共用的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 {
    box-sizing: border-box;
}


/*------------ about-editor ------------*/

.about-editor {}

.about-editor .row{
}

.about-editor .col{
    float: left;
    width: 44%;
}

.about-editor .pic{
    float: right;
    width: 46%;
}

.about-editor .tit{
    font-size: 18px;
    font-weight: bold;
    line-height: 1.1;
    margin: 0 0 20px;
    color: #976A68;
}

.about-editor-year {
    border-top: 1px solid #CDBFAF;
    margin: 60px 0 0 0;
    padding: 35px 0 0 0;
}

.about-editor-year b{
    border: 1px solid #9A150F;
    color: #99140E;
    font-weight: normal;
    font-size: 15px;
    width: 125px;
    text-align: center;
    line-height: 28px;
    display: inline-block;
    position: relative;
    vertical-align: top;
}

.about-editor-year li + li b:after{
    content: "";
    width: 3px;
    height: 16px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 100%;
    margin: 0 0 22px -1px;
    background: #BB0000;
}

.about-editor-year span{
    display: inline-block;
    width: calc(100% - 155px);
    margin: 0 0 0 25px;
}

.about-editor-year li{
    position: relative;
}

.about-editor-year li + li{
    margin: 60px 0 0 0;
}

/*------------ service-editor ------------*/

.service-editor .tit{
    color: #976A67;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
}

.service-editor .tit2{
    color: #92060C;
    font-weight: bold;
}

.service-editor-box {
    border: solid #CDBFAF;
    border-width: 1px 0;
    padding: 5px 0;
    v;
}

.service-editor-box ul{
    display: table;
    width: 100%;
}

.service-editor-box ul + ul{
    background: url(../../images/common/line01.png) top repeat-x;
}

.service-editor-box li{
    position: relative;
    display: table-row;
}

.service-editor-box ul b{
    position: relative;
    font-size: 16px;
    color: #92060C;
    background: rgba(216,205,192,.35);
    padding: 18px 15px;
    width: 165px;
    box-sizing: border-box;
    text-align: right;
    display: table-cell;
}

.service-editor-box li b:before{
    content: "";
    width: 8px;
    height: 3px;
    background: #5D5D5D;
    display: block;
    position: absolute;
    top: 0;
    margin: 26px 0 0 20px;
    left: 100%;
}


.service-editor-box ul span{
    width: calc(100% - 210px);
    display: table-cell;
    padding: 0 0 0 45px;
}

/*------------ contract-editor ------------*/

.contract-editor .tit{
    color: #976A67;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
}

.contract-editor .tit2{
    color: #92060C;
    font-weight: bold;
}

.contract-editor .link-box a{
    color: #406798;
}

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

/*------------news-editor ------------*/

.news-editor a{
    font-weight: bold;
    color: #006CD8;
}

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


/*------------etiquette-editor ------------*/

.etiquette-editor .tit2{
    color: #92060C;
    font-weight: bold;
}

.etiquette-editor-ul li:before{
    content: "";
    width: 20px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    background: url('../../images/common/ic01.png');
    margin: 0 10px 5px 0px;
}

.etiquette-row{
    border-top: 1px solid #D8CDC0;
    padding: 40px 0 0 0;
}

.etiquette-row .title{
    padding: 0 0 40px;
    background: #92060C url('../../images/common/etiquette/bg.png') no-repeat left bottom;
    color: #F1F2F1;
    font-size: 20px;
    font-weight: bold;
    width: 480px;
    box-sizing: border-box;
}

.etiquette-row .col{
    float: left;
}

.etiquette-row .title .col.tit{
    width: 43%;
    text-align: center;
}

.etiquette-row .title .col{
    padding: 25px 20px 0;
}

.etiquette-row .title .col.txt li:before{
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 4px 0;
    background: url('../../images/common/etiquette/ic.png');
}

.etiquette-row .title .col.txt{
    border-left: 1px solid #C47E81;
    width: 57%;
}

.etiquette-row .title .col.txt li + li{
    margin: 10px 0 0 0;
}

.etiquette-row .col.txt{
    float: right;
    width: calc(100% - 540px);
}

/*------------pagoda-editor ------------*/

.pagoda-editor .tit2{
    color: #92060C;
    font-weight: bold;
}

.pagoda-editor .col{
    float: left;
}

.pagoda-editor .pic{
    background: #FFFFFF;
    border-radius: 10px;
    border: 2px solid #DFD5CC;
    width: 330px;
    padding: 15px 0;
    position: relative;
}

.pagoda-editor .pic b{
    position: absolute;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #333333;
    top: 100%;
    left: 0;
    z-index: 10;
    margin: 10px 0 0 0;
}

.pagoda-editor .col.txt{
    background: rgba(216,205,192,.35);
    margin: 20px 0 0 -10px;
}

.pagoda-editor .col .title{
    background: #92060C;
    color: #F4F6F6;
    font-weight: bold;
    padding: 4px 40px;
}

.pagoda-editor .col p{
    padding: 0 40px;
    font-weight: bold;
    min-height: 140px;
}

/*------------pagoda2-editor ------------*/

.pagoda2-editor .row .col{
    float: left;
}

.pagoda2-editor .tit2{
    color: #92060C;
    font-weight: bold;
}

.pagoda2-editor .row li{
    font-size: 20px;
    color: #5D5D5D;
    font-weight: bold;
}

.pagoda2-editor .row li:before{
    content: "";
    width: 20px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    background: url(../../images/common/ic01.png);
    margin: 0 10px 5px 0px;
}

.pagoda2-editor .row .video{
    width: 540px;
}

.pagoda2-editor .row .txt{
    float: right;
    width: calc(100% - 600px);
}

.pagoda2-editor .row .video iframe{
    height: 360px;
}

.pagoda2-editor-box .title{
    background: #92060C;
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    padding: 3px 0;
}

.pagoda2-editor-box ul{
    background: rgba(216,205,192,.35);
    padding: 60px 6% 40px;
}

.pagoda2-editor-box ul li{
    padding: 0 54px;
    width: calc((100% / 3) - 0.1px);
}

.pagoda2-editor-box ul .pic{
    max-width: 316px;
    margin: 0 auto;
}

.pagoda2-editor-box ul .pic img{
    border: 4px solid #FFFFFF;
    border-radius: 7px;
    box-shadow: 0 0 9px rgba(0,0,0,.2);
}


.pagoda2-editor-box ul .pic p{
    text-align: left;
}

/*------------pagoda3-editor ------------*/

.pagoda3-editor .row .col{
    float: left;
}

.pagoda3-editor .tit2{
    color: #92060C;
    font-weight: bold;
}

.pagoda3-editor .row .video{
    width: 540px;
}

.pagoda3-editor .row .txt{
    float: right;
    width: calc(100% - 600px);
}

.pagoda3-editor .row .video iframe{
    height: 360px;
}

/*------------ pagoda4-editor ------------*/

.pagoda4-editor .tit{
    color: #976A67;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
}

.pagoda4-editor .box{
    padding: 0 0 20px;
}

.pagoda4-editor .box + .box{
    padding-top: 20px;
    border-top: 1px solid #D8CDC0;
}

.pagoda4-editor .box li:before {
    content: "";
    width: 20px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    background: url(../../images/common/ic01.png);
    margin: 0 10px 5px 0px;
}

.pagoda4-editor .box a{
    color: #406798;
}

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

/*------------ pagoda5-editor ------------*/

.pagoda5-editor .col{
    float: right;
    width: 40%;
}

.pagoda5-editor .map{
    float: left;
    width: 57%;
}

.pagoda5-editor .map iframe{
    width: 100%;
    height: 450px;
    line-height: 1;
    border: 8px solid #FFFFFF;
    box-sizing: border-box;
    box-shadow: 0 0 8px rgba(194,181,165,.65);
}

.pagoda5-editor .tit{
    color: #976A67;
    font-size: 18px;
    font-weight: bold;
    margin: 40px 0 5px;
}

.pagoda5-editor p{
    margin: 0;
    padding: 0 0 15px;
    border-bottom: 1px solid #D8CDC0;
}

/*------------contract-editor ------------*/

.contact-ul{
    padding: 35px 0;
}

.contact-ul + .contact-ul{
    border-top: 1px solid #D8CDC0;
}

.contact-ul li{
    width: 50%;
    float: left;
    padding: 0 35px;
}

.contact-ul .tit2{
    color: #92060C;
    position: relative;
    font-weight: bold;
}

.contact-ul .tit2:before{
    content: "";
    display: block;
    width: 20px;
    height: 12px;
    position: absolute;
    top: 7px;
    left: -35px;
    background: url('../../images/common/ic01.png');
}

/*------------index-about-editor ------------*/

.index-about-editor{
    font-family: "標楷體";
    font-size: 20px;
    color: #000;
    letter-spacing: 1px;
}

/*------------terms-editor ------------*/

h2.terms-title {
    color: #940E0E;
    font-size: 18px;
    margin-bottom: 0;
}


/*------------ rwd ------------*/

@media screen and (max-width: 1024px) {
    .about-editor .col,
    .about-editor .pic{
        float: none;
        width: auto;
    }
    .about-editor .pic{
        margin: 35px 0 0 0;
    }
    .etiquette-row > .col{
        float: none;
        width: auto;
    }
    .etiquette-row > .col.txt{
        float: none;
        width: auto;
        margin: 15px 0 0 0;
    }
    .pagoda2-editor .row .video,
    .pagoda2-editor .row .txt,
    .pagoda3-editor .row .video,
    .pagoda3-editor .row .txt{
        width: auto;
        float: none;
    }
    .pagoda2-editor .row .txt,
    .pagoda3-editor .row .txt{
        margin: 10px 0 0 0;
    }
    .pagoda2-editor .row .video iframe,
    .pagoda3-editor .row .video iframe{
        width: 100%;
    }
    .pagoda2-editor-box ul{
        padding: 30px 15px;
    }
    .pagoda2-editor-box ul li{
        padding: 0 15px;
    }
}

@media screen and (max-width: 960px) {
    .pagoda-editor .pic{
        float: none;
        margin: 0 auto 50px;
        max-width: 330px;
        width: 100%;
        padding: 15px;
    }
    .pagoda-editor .col.txt{
        float: none;
        margin: 0;
    }
    .pagoda-editor .col .title{
        padding: 4px 20px;
    }
    .pagoda-editor .col p{
        min-height: 0;
        padding: 0 20px 20px;
    }
    .pagoda5-editor .map,
    .pagoda5-editor .col{
        float: none;
        width: auto;
    }
}

@media screen and (max-width: 767px) {
    .service-editor-box ul,
    .service-editor-box li,
    .service-editor-box ul b,
    .service-editor-box ul span{
        display: block;
        width: auto;
        text-align: left;
    }
    .service-editor-box ul b{
        padding: 10px 15px;
    }
    .service-editor-box ul span{
        padding: 5px 0 20px 15px;
    }
    .service-editor-box ul + ul{
        background: none;
    }
    .contact-ul + .contact-ul{
        border: 0;
    }
    .contact-ul{
        padding: 0;
    }
    .contact-ul li{
        width: 100%;
        padding: 25px 0 25px 35px;
        border-bottom: 1px solid #D8CDC0;
    }
    .pagoda2-editor-box ul li{
        width: 100%;
        padding: 0 0 20px;
    }
    .pagoda2-editor-box ul .pic{
        max-width: 100%;
    }
    .pagoda2-editor-box ul .pic p{
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .about-editor-year b,
    .about-editor-year span{
        display: block;
        width: auto;
    }
    .about-editor-year span{
        margin: 10px 0 0 0;
        text-align: center;
    }
    .etiquette-row .title .col.tit,
    .etiquette-row .title .col.txt{
        float: none;
        width: auto;
        border: 0;
    }
    .etiquette-row .title .col.tit{
        text-align: left;
        border-bottom: 1px solid #C47E81;
        padding: 15px 20px 10px;
    }
    .pagoda5-editor .map iframe{
        height: 300px;
    }
}
