@charset "utf-8";
body { 
  font-family: Helvetica, 'Microsoft JhengHei', sans-serif;  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
}

a { color:#745b23; text-decoration: none; outline: none; }
a:hover { color:#bda87a; text-decoration: none; outline: none;}
a:active { color:#bda87a; text-decoration: none; outline: none;}
a:focus { color:#bda87a; text-decoration: none; outline: none;}

/*====================== header 主子站共用區（勿改動） ==========================*/

    header { position: relative; background-color: #fff; }
    .header-bottom { background-color: #f6f0cd; -webkit-box-shadow: 0 14px 10px -10px rgba(123, 98, 45, 0.19) inset; -moz-box-shadow: 0 14px 10px -10px rgba(123, 98, 45, 0.19) inset; box-shadow: 0 14px 10px -10px rgba(123, 98, 45, 0.19) inset; }
    .header-top { padding: 20px 0; }

    /* 手機版漢堡選單 */
    .menu-btn {
        display: inline-block;
        background: #fff;
        background-size: auto 19px;
        padding: 4px 8px 4px 8px;
        position: relative;
        top: 2px;
    }
    .menu-btn .line {
        display: block;
        width: 20px;
        height: 2px;
        margin: 4px 0;
        border-radius: 1px;
        background-color: #A0A0A0;
    }

    /* 手機版主選單按鈕 */
    .mb-main-menu { float: none!important; margin: 15px 0; display: inline-block; text-align: left; }
    .mb-main-menu li>a { color: #fff; padding: 5px 10px 5px 50px; margin: 10px 0; letter-spacing: .3em; line-height: 1.42857143; display: inline-block; }
    .mb-main-menu li>a span { vertical-align: middle; }
    .mb-main-menu li.i-home>a { background: url('../images/icon/i-home-w.png') no-repeat 10px center; background-size: auto 25px;  }
    .mb-main-menu li.i-article>a { background: url('../images/icon/i-article-w.png') no-repeat 10px center; background-size: auto 25px;  }
    .mb-main-menu li.i-petgo>a { background: url('../images/icon/i-petgo-w.png') no-repeat 8px center; background-size: auto 25px;  }
    .mb-main-menu li.i-point>a { background: url('../images/icon/i-point-w.png') no-repeat 10px center; background-size: auto 25px;  }
    .mb-main-menu li.i-petmall>a { background: url('../images/icon/i-petmall-w.png') no-repeat 8px center; background-size: auto 25px;  }
    .mb-main-menu li.i-lost>a { background: url('../images/icon/i-lost-w.png') no-repeat 8px center; background-size: auto 25px;  }
    .mb-main-menu li.i-adopt>a { background: url('../images/icon/i-adopt-w.png') no-repeat 8px center; background-size: auto 25px;  }
    .mb-main-menu li.i-chat>a { background: url('../images/icon/i-chat-w.png') no-repeat 8px center; background-size: auto 25px;  }
    .mb-main-menu li.i-news>a { background: url('../images/icon/i-news-w.png') no-repeat 8px center; background-size: auto 25px;  }
    .mb-main-menu li.i-order>a { background: url('../images/icon/i-order-w.png') no-repeat 8px center; background-size: auto 25px;  }
    .mb-main-menu li.active>a { border: 1px solid rgba(255, 255, 255, 0.23) }

    /* mb */
    nav.mb-ht { text-align: center; background-color: #4c4b45; }
    


    /* 頭部功能選單 */
    .features-menu { position: relative; top: 4px; display: inline-block; vertical-align: middle; margin-left: 20px; }
    .features-menu li { position: relative; display: inline-block; padding: 0 7px; line-height: 44px; }
    .features-menu li>a { display: block; text-align: center; color: #bda87a; font-size: 16px; padding: 0 10px; font-weight: bold; }
    .features-menu li>a span { display: block; line-height: 1; margin-top: 5px; }
    .features-menu li>a i { display: block; margin: auto;  width: 20px; height: 20px; }
    .features-menu li.i-like>a i { background: url('../images/icon/i-likelist2.png') no-repeat center center; background-size: auto 20px;  }
    .features-menu li.i-member>a i { background: url('../images/icon/i-member2.png') no-repeat center center; background-size: auto 20px;  }
    .features-menu li.i-add>a i { background: url('../images/icon/i-add2.png') no-repeat center center; background-size: auto 20px;  }
    

    /* logo */
    .logo-wrap { display: block; }
    .logo-wrap img { height: 50px; width: auto; vertical-align: middle; }

    /* pc才看得到的主選單按鈕 */
    .pc-main-menu { max-width: 960px; table-layout: fixed; display: none; vertical-align: top; padding: 10px 0; margin: 0 auto; }
    .pc-main-menu li { display: table-cell; position: relative; text-align: center; }
    .pc-main-menu li a { font-size: 18px; font-weight: bold; letter-spacing: 0; display: inline-block; text-align: center; padding: 3px 12px; color: #745b23; -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px;  }
    .pc-main-menu li span { display: inline-block; height: 20px; vertical-align: middle; line-height: 20px; }
    .pc-main-menu li i { margin-right: 3px; width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
    .pc-main-menu li.i-home i { background: url('../images/icon/i-home.png') no-repeat center center; background-size: auto 20px; }
    .pc-main-menu li.i-article i { background: url('../images/icon/i-article.png') no-repeat center center; background-size: auto 20px; }
    .pc-main-menu li.i-petgo i { background: url('../images/icon/i-petgo.png') no-repeat center center; background-size: auto 20px; }
    .pc-main-menu li.i-point i { background: url('../images/icon/i-point.png') no-repeat center center; background-size: auto 20px; }
    .pc-main-menu li.i-petmall i { background: url('../images/icon/i-petmall.png') no-repeat center center; background-size: auto 20px; }
    .pc-main-menu li.i-lost i { background: url('../images/icon/i-lost.png') no-repeat center center; background-size: auto 20px; }
    .pc-main-menu li.i-adopt i { background: url('../images/icon/i-adopt.png') no-repeat center center; background-size: auto 20px; }
    .pc-main-menu li.i-chat i { background: url('../images/icon/i-chat.png') no-repeat center center; background-size: auto 20px; }
    .pc-main-menu li.i-news i { background: url('../images/icon/i-news.png') no-repeat center center; background-size: auto 20px; }
    .pc-main-menu li.i-order i { background: url('../images/icon/i-order.png') no-repeat center center; background-size: auto 20px; }

    .pc-main-menu li.active a, .pc-main-menu li a:hover { background-color: #fff; }
    @media (min-width:768px) {
        .pc-main-menu { display: table; width: 100%; }
    }

    /* 未登入時點選.features-menu顯示的視窗 */
    .dropdrop { 
      position: absolute;
      left: 0;
      margin-top: 10px;
      z-index: 10;
    }
    .dropdrop:before {
      content: '';
      display: block;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 0 5px 8px 5px;
      border-color: transparent transparent #686259 transparent;
      position: absolute;
      top: -8px;
      left: 24px;
      margin: auto;
    }
    .dropdrop .inner {
      white-space: nowrap;
      background: #686259;
      color: #fff;
      padding: 10px;
      -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
      box-shadow: 0 6px 12px rgba(0,0,0,.175);
    }
    .dropdrop .inner p { margin: 0; line-height: 1em; }

    /* 搜尋框揪團市集的版本 */
    .header-left .pc-search { display: none; }
    .kw-search-box { position: relative; }
    .kw-search-box input { 
      border-radius: 30px; 
      padding:0 40px 0 20px; 
      width: 100%; 

      line-height: 36px; 
      height: 36px; 

      -webkit-box-shadow: 0 1px 3px rgba(109, 109, 109, 0.25) inset; 
      -moz-box-shadow: 0 1px 3px rgba(109, 109, 109, 0.25) inset; 
      box-shadow: 0 1px 3px rgba(109, 109, 109, 0.25) inset; 
      vertical-align: top; 
      padding: 0 7px; 
      font-size: 14px; 
      border: 1px solid #e0e0e0; 
      background-color: #fbfbfb;
    }
    .kw-search-box input:focus { outline: none!important; } 
    .kw-search-box button { 
        position: absolute; right: 5px; top: 0; 
        border: none;
        background-color: transparent;
        background: url('../images/icon/search.png') no-repeat center center;
        background-size: 23px 23px;
        width: 35px;
        height: 35px;
    }
    .search-result { font-size: 20px; margin: 0 0 15px 0; text-align: center; }

    /* 搜尋框原站的版本 */
    .search_wrapper {
        display: block;
        width: 320px;
        top: 0;
        float: left;
        background: none;
        padding: 0;
        padding: 0 40px 0 0;
        position: relative;
        border: 1px solid #dad4c8;
        border-radius: 20px;
        background: #fff;
        margin-top: 5px;
    }
    .search_wrapper input[type="text"] {
        font-family: "Roboto", Arial, Tahoma, "Microsoft JhengHei", sans-serif;
        font-weight: 400;
        width: 100%;
        margin: 0;
        padding: 10px;
        display: block;
        border: none;
        font-size: 14px;
        padding-left: 10px;
        line-height: 18px;
        color: #333;
        background: transparent;
        border: none;
        height: 38px;
        border-radius: 20px 0 0 20px;
    }
    .search_wrapper .submit {
        position: absolute;
        display: block;
        width: 40px;
        height: 40px;
        padding: 10px 0;
        text-align: center;
        font-size: 20px;
        border: none;
        margin: 0;
        line-height: 20px;
        right: -40px;
        top: -1px;
        background: url('../images/icon/search.png') no-repeat 10px center #bca779/15px auto;
        color: #fff;
        border-radius: 0 20px 20px 0 ;
        outline: none !important;
    }
    .search_wrapper .select-zone { border-right: 1px solid #dad4c8; }
    .search_wrapper .form {
        position: relative;
    }
    .pc-search .openbtn { 
      display: none; 
      width: 40px;
      height: 50px;
      line-height: 50px;
      text-align: center;
      font-size: 30px;
    }

    /* 較複雜的搜尋 （地圖） */
    /* .point-search .openbtn { display: block; }
    .point-search .search_out { display: none; padding: 10px; z-index: 100; position: absolute; right: 0; left: 0; background-color: rgba(60, 59, 58, 0.76); top: 80px; }
    .point-search .search_wrapper { border: 1px solid #aba79f; margin: 0 auto; float: none; width: 720px; } */
    .search_wrapper .select-zone .choose-zone { border: 1px solid #bca779; }
    .search_wrapper .submit i:before { margin-left: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; }
    .search_wrapper.point-search-wrap { width: 430px; }
    .search_wrapper.point-search-wrap .select-zone.location-choose { width: 80px; }
    .search_wrapper.point-search-wrap .select-zone.category-choose { width: 100px; left: 80px; }
    .search_wrapper.point-search-wrap .article-form { padding-left: 180px; }

    @media (max-width:1199px) {
      .search_wrapper  { width: 200px; }
      .search_wrapper.point-search-wrap { width: 400px; }
    }
    @media (max-width:991px) {
      .search_wrapper.point-search-wrap { width: 340px; }
      .search_wrapper.point-search-wrap .select-zone.category-choose { width: 80px; left: 80px; }
      .search_wrapper.point-search-wrap .article-form { padding-left: 160px; }
    }
    @media (max-width:767px) {
      .search_wrapper .submit { width: auto; padding: 10px 15px 10px 30px; }
      .search_wrapper .submit:after { content: '開始搜尋'; font-size: 13px; color: #444; font-weight: bold; }
      .header-left .pc-search { display: block; }
      .header-left .pc-search .search_out { 
        display: none; 
        position: fixed;
        top: 59px;
        background-color: #fff;
        left: 0; right: 0;
        padding: 10px;
      }
      .pc-search .openbtn { font-size: 24px; position: absolute; right: 60px; top: 0; width: 30px; height: 60px; line-height: 60px; display: block; background: url('../images/icon/search.png') no-repeat center center/18px auto; }
      .pc-search .search_out { top: 59px; }
      .pc-search .search_wrapper { width: 100%; }
    }
    

    .mb-position img { height: 30px; width: auto; }



    /* 使用者頭貼 */
    .account-name span { font-weight: bold; }
    .account-name img { width: 32px; border-radius: 100em;}
    /* pc使用者頭貼 */
    .header-right { text-align: right }
    .header-right .account-name { display: inline-block; position: relative; top: -4px; }
    .header-right .lineme {
      display: block;
      line-height: 1;
      clear: both;
      text-align: center;
      position: relative;
      bottom: -4px;
    }
    .header-right .lineme img { width: auto; height: 28px; }
    /* mb使用者頭貼 */
    nav.mb-ht .account-name {
        float: none!important;
        background-color: #6d6c68;
        text-align: center;
        width: 100%;
        display: block;
    }
    nav.mb-ht .account-name span { display: block; text-align: center; margin: 5px 0 0 0; }
    nav.mb-ht .account-name { padding: 17px; line-height: 1; display: block; position: static; text-align: center; }
    nav.mb-ht .account-name img {
      display: inline-block;
      width: 32px;
      height: 32px;
      background-color: #fff;
      vertical-align: middle;
      border: 2px solid #fff;
      border-radius: 100%;
    }
    nav.mb-ht .account-name span {
      display: block;
      vertical-align: middle;
      font-size: 12px;
      font-weight: 700;
      color: #fff;
      line-height: 1.5em;
      margin-top: 5px;
    }
    nav.mb-ht .lineme { display: block; margin: 20px 0 0 0; }
    nav.mb-ht .lineme img { width: auto; height: 28px; }

   

    /* 右側未登入按鈕 */
    .header-right .l-btn { border: 1px solid rgb(229, 220, 182); color: #745b23; padding: 7px 9px; margin: 0; }
    .header-right .l-btn:hover { color: #bda87a; }
    .l-btn {
        display: inline-block;
        margin: 0 10px;
        padding: 2px 5px;
        border: 1px solid rgba(255, 255, 255, 0.31);
        color: #fff;
        text-decoration: none;
        outline: none;
        line-height: 1.42857143;
    }

    
    @media (min-width:768px) {
        body.openMenu .menu-btn { display: none; }
        body.openMenu .site-overlay { display: none!important; }

        .account-name { font-size: 14px; }

        .header-left .logo-wrap { display: inline-block; vertical-align: top; margin-right: 15px;  }
        .header-left .pc-search { display: inline-block; vertical-align: middle; }
        
    }
    @media (min-width:1200px) {
        .header-left .logo-wrap { margin-right: 30px; }
    }
    @media (max-width:991px) {
      .logo-wrap img { height: 30px; }
      .mb-position img { height: 25px; }
      .header-left .logo-wrap { margin-right: 10px; margin-top: 5px; }
      .search_wrapper { margin-top: 0; width: 170px; }
      .features-menu li>a { padding: 0; font-size: 14px; }
      .features-menu { margin-left: 10px; }
      .pc-main-menu li a { font-size: 17px; }
    }
    @media (max-width:767px) {
        .header-top { padding: 0; }
        nav.pc-ht, .header-left .features-menu, .header-right .account-name { display: none; }
        header { background: #efefef; position: fixed; top: 0; left: 0; padding: 12px 0; z-index: 1060; width: 100%; }

        .logo-wrap img { height: 30px; width: auto; margin-top: 2px; }
        .header-left .logo-wrap { margin-top: 0; }
        .header-right .lineme { display: none; }
        

        .l-btn {
            display: inline-block;
            margin: 0 10px;
            font-size: 14px;
        }
    }
    @media (max-width:380px) {
      .logo-wrap { padding-top: 3px; }
      .logo-wrap img { height: 25px; width: auto; margin-top: 2px; }
      .logo-wrap .mb-position img { height: 25px; }
    }


    #goTop {
        background-color: #bca779;
        font-size: 0;
        text-indent: -9999px;
        width: 30px;
        height: 30px;
        padding: 0;
    }
    
/*====================== header 單站額外修改區 (若與原版型衝突請將調整寫在下面) ==========================*/
.base-bg { background-color: #745b23; }
.base-bg2 { background-color: #EDEDED; }
.base-color { color: #745b23; }
.base-border { border-color: #745b23; }

/* header a:hover { background-color: transparent !important;} */

/* Old Search Form */
/* .top-btn { float: left; margin: 0; padding:  0 0 0 15px; height: 50px;} */

.mb-fixed-menu { background-color: #f6f0cd; display: none; table-layout: fixed; width: 100%; height: 60px; position: fixed; bottom: 0; z-index: 1060; }
.mb-fixed-menu .item { display: table-cell;  }
.mb-fixed-menu .item .item-btn { border-right: 1px solid #e2d8c2; display: block; text-align: center; color: #877348; font-weight: bold; font-size: 13px;  }
.mb-fixed-menu .item:last-child .item-btn { border: none; }
.mb-fixed-menu .item .item-btn:before { content: ''; display: block; margin: 9px auto 4px; width: 26px; height: 26px; }
.mb-fixed-menu .item .i-home:before { background: url('../images/icon/i-home.png') no-repeat center center; background-size: auto 26px; }
.mb-fixed-menu .item .i-like:before { background: url('../images/icon/i-likelist.png') no-repeat center center; background-size: auto 26px; }
.mb-fixed-menu .item .i-article:before { background: url('../../index/images/icon/i-article.png') no-repeat center center; background-size: auto 26px; }
.mb-fixed-menu .item .i-point:before { background: url('../../index/images/icon/i-point.png') no-repeat center center; background-size: auto 26px; }
.mb-fixed-menu .item .i-petgo:before { background: url('../images/icon/i-petgo.png') no-repeat center center; background-size: auto 26px; }
.mb-fixed-menu .item .i-petmall:before { background: url('../images/icon/i-petmall.png') no-repeat center center; background-size: auto 26px;}
.mb-fixed-menu .item .i-lost:before { background: url('../images/icon/i-lost.png') no-repeat center center; background-size: auto 26px; }
.mb-fixed-menu .item .i-adopt:before { background: url('../images/icon/i-adopt.png') no-repeat center center; background-size: auto 26px; }
.mb-fixed-menu .item .i-chat:before { background: url('../images/icon/i-chat.png') no-repeat center center; background-size: auto 26px; }
.mb-fixed-menu .item .i-search:before { background: url('../images/icon/i-search.png') no-repeat center center; background-size: auto 26px;}
.mb-fixed-menu .item .i-member:before { background: url('../images/icon/i-member.png') no-repeat center center; background-size: auto 26px; }


@media (max-width:767px) {
.page-back { 
  display: block;
  position: fixed; 
  z-index: 1040; 
  top: 59px; /* as header height */ 
}
.page-back a { padding: 10px 15px 10px 33px; background-position: 17px 12px; }
.page-back a:hover { color: #444; }

.mb-fixed-menu { display: table; }
}

@media (max-width:767px) {
.pd-dt-wrap ~ .mb-fixed-menu, .detail-top .slider-nav, .pc-cate-wrap { display: none!important;}
}