.main-sect { /* main的section */
	padding: 40px;
}
.index-sect-title-1,
.index-sect-title-2 { /* 優惠訊息、最新消息(共用)的標題 */
    width: 180px;
    font-size: 1.5rem;
    line-height: 1.8;
    border-width: 1px;
    border-style: solid;
    text-align: center;
}
.news-cont-div { /* 優惠訊息、最新消息(共用)的裝文章容器 */
    width: 100%;
    text-align: left;
}
.news-arti-div { /* 優惠訊息、最新消息(共用)的容器 */
    margin-bottom: 20px;
}
.news-arti-head { /* 優惠訊息、最新消息(共用)的標題 */
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 40px;
    border-bottom: 1px solid #e0e0e0;
}
.news-unfold-div { /* 優惠訊息、最新消息(共用)文章過長控制div */
    position: relative;
    margin-top: 10px;
}
.news-unfold-div img,
.js-index-unfold-inner img {
    max-width: 100%;
}
.news-unfold-btn { /* 優惠訊息、最新消息(共用)文章過長按鈕 */
    position: absolute;
    display: block;
    width: 100%;
    height: 24px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    text-align: center;
    text-decoration: none;
}
.news-unfold-btn::before { /* 文章過長按鈕 */
    position: absolute;
    content: '';
    display: block;
    width: 0;
    height: 0;
    top: 12px;
    right: 0;
    left: 0;
    margin: auto;
    border: 12px solid transparent;
    z-index: 2;
}
.news-unfold-btn::after { /* 文章過長按鈕 */
    position: absolute;
    content: '';
    display: block;
    width: 0;
    height: 0;
    top: 9px;
    right: 0;
    left: 0;
    margin: auto;
    border: 13px solid transparent;
    z-index: 3;
}
.news-arti-cont { /* 優惠訊息、最新消息(共用)的內文 */
    padding: 0 10px 5px 0;
}
.news-arti-link { /* 優惠訊息、最新消息(共用)的連外連結 */
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding: 0 4px;
    line-height: 1.8;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    text-decoration: none;
}
.news-arti-duration { /* 優惠訊息、最新消息(共用)的期間 */
    font-size: 0.9rem;
}
.news-more-btn { /* 優惠訊息、最新消息(共用)的更多文章按鈕 */
    display: inline-block;
    width: 120px;
    text-align: center;
}
.news-more-btn::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-top: 6px;
    margin-left: 4px;
    vertical-align: top;
    border-radius: 50%;
}

.index-sect-title { /* sect標題(優惠訊息、最新消息 除外) */
    width: 100%;
    margin-bottom: 40px;  
    font-size: 1.5rem;
    line-height: 2.5rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}
.index-sect-cont { /* sect內容容器(優惠訊息、最新消息 除外) */

}
.index-sect-1,
.index-sect-1 .news-unfold-btn {  /* 優惠消息 */ /* 這裡會有摺疊的div */
    background-color: #f8f8f8;
}
.index-sect-2,
.index-sect-2 .news-unfold-btn {  /* 最新消息 */ /* 這裡會有摺疊的div */
    background-color: #fff;
}
.index-sect-1,   /* 優惠消息 */ /* 這裡會有摺疊的div */
.index-sect-2 {  /* 最新消息 */ /* 這裡會有摺疊的div */
    text-align: center;
}
.index-sect-3 {  /* 關於我們 */ /* 這裡會有摺疊的div */
    background-color: #f8f8f8;
}
.index-sect-4 {  /* 民宿特色 */ /* 這裡會有摺疊的div */
    background-color: #fff;
}
.index-sect-5 {  /* 主人的話 */ /* 這裡會有摺疊的div */
    /* 背景為主題色不用在這裡設定 */
}
.index-sect-6 {  /* 民宿設施 */
    background-color: #f2f2f2;
}
.index-sect-7 {  /* 民宿標章 */

}
.index-sect-8 {  /* 民宿雙slider */

}

/* unfold-btn 的設定 */
.index-unfold-div { /* 文章過長控制div */
    position: relative;
}
.index-unfold-btn { /* 文章過長按鈕 */
    position: absolute;
    display: block;
    width: 100%;
    height: 2rem;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    text-align: center;
    text-decoration: none;
}
.index-unfold-btn::before { /* 文章過長按鈕 */
    position: absolute;
    content: '';
    display: block;
    width: 0;
    height: 0;
    top: 12px;
    right: 0;
    left: 0;
    margin: auto;
    border: 12px solid transparent;
    z-index: 2;
}
.index-unfold-btn::after { /* 文章過長按鈕 */
    position: absolute;
    content: '';
    display: block;
    width: 0;
    height: 0;
    top: 9px;
    right: 0;
    left: 0;
    margin: auto;
    border: 13px solid transparent;
    z-index: 3;
}

/* unfold-btn 的背景顏色控制 */
.index-sect-1 .index-unfold-btn { /* 優惠消息的section */
    background-color: #f8f8f8;
}
.index-sect-1 .index-unfold-btn::after { /* 優惠消息的文章過長按鈕(模擬向下箭頭) */
    border-top-color: #f8f8f8;
}
.index-sect-2 .index-unfold-btn { /* 最新消息的section */
    background-color: #fff;
}
.index-sect-2 .index-unfold-btn::after { /* 最新消息的文章過長按鈕(模擬向下箭頭) */
    border-top-color: #fff;
}
.index-sect-3 .index-unfold-btn { /* 關於我們的section */
    background-color: #f8f8f8;
}
.index-sect-3 .index-unfold-btn::after { /* 關於我們的文章過長按鈕(模擬向下箭頭) */
    border-top-color: #f8f8f8;
}
.index-sect-4 .index-unfold-btn { /* 民宿特色的section */
    background-color: #fff;
}
.index-sect-4 .index-unfold-btn::after { /* 民宿特色的文章過長按鈕(模擬向下箭頭) */
    border-top-color: #fff;
}
.index-sect-5 .index-unfold-btn { /* 主人的話的section */
    background-color: transparent; /* 背景為主色 所以在顏色css中設定 */
}
.index-sect-5 .index-unfold-btn::after { /* 主人的話的文章過長按鈕(模擬向下箭頭) */
    border-top-color: transparent; /* 背景為主色 所以在顏色css中設定 */
}
/* slider */
.bnb-intro-photos.owl-carousel .owl-item .img-item {
    position: relative;
    width: 100%;
    padding-top: 62.57143%;
    background-color: #e0e0e0;
}
.bnb-intro-photos.owl-carousel .owl-item .img-item img {
    position: absolute;
    width: auto;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    cursor: pointer;
    margin: auto;
}

@media screen and (min-width: 1280px) {
    .main-sect { /* main的section */
        padding: 40px 20%;
    }
    .index-sect-title-1,
    .index-sect-title-2 { /* 優惠訊息、最新消息(共用)的標題 */
        left: 20%;
    }
}
@media screen and (min-width: 1000px) and (max-width: 1279px) {
    .main-sect { /* main的section */
        padding: 40px 12%;
    }
    .index-sect-title-1,
    .index-sect-title-2 { /* 優惠訊息、最新消息(共用)的標題 */
        left: 12%;
    }
}
@media screen and (min-width: 768px) and (max-width: 999px) {
    .main-sect { /* main的section */
        padding: 40px 5%;
    }
    .index-sect-title-1,
    .index-sect-title-2 { /* 優惠訊息、最新消息(共用)的標題 */
        left: 5%;
    }
    .news-cont-div { /* 最新消息(共用)的文章容器 */
        padding-left: 200px;
    }
}
@media screen and (min-width: 768px) {
    .main-sect { /* main的section */
        position: relative;
    }
    .index-sect-title-1,
    .index-sect-title-2 { /* 優惠訊息、最新消息(共用)的標題 */
        position: absolute;
        top: 50px; /* 40+10 */
    }
    .news-cont-div { /* 優惠訊息、最新消息(共用)的文章容器 */
        padding-left: 200px;
    }
}
@media screen and (max-width: 767px) {
    .master-pc-banner { /* 關於我們 - 有首頁的banner */

    }
    .main { /* 關於我們 - 本頁不用空出header的空間 */
        
    }
    .main-sect { /* main的section */
        padding: 40px 5%;
    }
    .index-sect-title {
        font-size: 1.2rem;
    }
    .index-sect-title-1,
    .index-sect-title-2 { /* 優惠訊息、最新消息(共用)的標題 */
        margin: auto;
    }
    .news-cont-div { /* 優惠訊息、最新消息(共用)的文章容器(跟news.aspx的設定不同) */
        padding: 40px 5%;
    }
    .index-sect-4, /* 民宿特色、主人的話 手機畫面隱藏 */
    .index-sect-5 {
        display: none;
    }
    /* 1a獨有的手機版面連結 */
    .index-room-link,
    .index-location-link {
        width: 100%;
        height: 146px;
        text-align: center;
    }
    .index-room-link a,
    .index-location-link a {
        display: block;
        width: 100%;
        height: 146px;
        padding: 25px 0;
        text-decoration: none;
    }
    .index-room-link a {
        color: #fff;
        background-color: #555;
    }
    .index-location-link a {
        color: #fff;
        background-color: rgba(0, 0, 0, .7);
    }
    .index-location-link {
        background: url('../images/g-map.png') no-repeat;
        background-size: cover;
    }
    .index-icon-link {
        width: 32px;
        height: 32px;
        margin: auto;
        background: url('../images/mob-page-icons.png') scroll no-repeat;
        background-size: 224px 32px;
    }
    .index-icon-link.for-room { background-position: 0 0; }
    .index-icon-link.for-location { background-position: -32px 0; }
    .link-b-caption {
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        letter-spacing: 3px;
    }
    .to-detail-txt {
        height: 20px;
        line-height: 20px;
        font-size: 14px;
        text-indent: .7em;
    }
}