@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/


/*上方選單右邊設定 臉書/LINE/電話/信箱
.tp_links a:before {寬高大小設定}
.tp_links a.me_tp_fb {}
.tp_links a.me_tp_fb:before {背景換圖/建議.SVG}
.tp_links a.me_tp_line {}
.tp_links a.me_tp_line:before {背景換圖/建議.SVG}
.tp_links a.me_tp_call {}
.tp_links a.me_tp_call:before {背景換圖/建議.SVG}
.tp_links a.me_tp_mail {}
.tp_links a.me_tp_mail:before {背景換圖/建議.SVG}
*/


/*電腦LOGO
.nav-brand {}
*/

/*手機LOGO
.nav-brand-m {}
*/


/*header*/
body {
    -webkit-text-size-adjust: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
.header_area {
    z-index: 9999;
    padding: 5px;
    position: sticky;
    top: 0;
    width: 100%;
    background: url(http://pic03.eapple.com.tw/dinghelinlife/header.jpg);
}
.header_area.sticky {
    width: 100%;
    z-index: 9999;
    background: url(http://pic03.eapple.com.tw/dinghelinlife/header.jpg);
}

.me_tp_features {
    width: 100%;
    text-align: right;
    display: none;
}
.navigation {
    width: 100%;
    position: relative;
    padding: 0px;
    display: flex;
    grid-template-columns: 200px 1fr;
    grid-gap: 0 20px;
    align-items: center;
}
.nav-header {
    z-index: 123;
    top: 0;
    left: 0;
    max-width: 200px;
    width: 10%;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.nav-brand img {
    max-width: 60%;
}
.stellarnav > ul > li > a {
    padding: 0;
    color: #374600;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    font-size: 15px;
    line-height: 40px;
    height: 40px;
    margin: 0 20px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}
.stellarnav > ul > li::before {
    content: "";
    background: url(https://pic03.eapple.com.tw/dinghelinlife/leaf.png) no-repeat;
    background-size: contain;
    width: 20px;
    height: 30px;
    position: absolute;
    left: -3px;
    top: 55%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.stellarnav > ul > li:hover::before {
    opacity: 1;
}
.stellarnav li.has-sub > a:after {
    content: '';
    margin-left: 10px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #374600;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
}
/*==========下拉選單==========*/
.stellarnav ul ul {
    top: auto;
    width: 160px;
    position: absolute;
    z-index: 9900;
    text-align: left;
    display: none;
    background: #fdfdfda3;
    left: 19px;
}
.stellarnav li li {
    display: block;
    border: 1px #ffffff solid;
    border-bottom-width: 0;
    position: relative;
    overflow: hidden;
}
.stellarnav li li::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: left 0.6s ease;
    z-index: -1;
}
.stellarnav li li:hover::before {
    left: 0;
}
.stellarnav li a {
    padding: 7px 10px;
    display: block;
    color: #374600;
    font-size: 14px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.stellarnav ul ul li a:hover{
    transform: translateX(5px);
}

/*footer*/
.footer {
    padding: 30px 0 0;
    font-size: 13px;
    background: #ffffff;
    position: relative;
    z-index: 99;
}
.footer_logo img {
    max-width: 100%;
}
.footer_logo {
    margin: 10px auto;

}

.footer_info {
    align-items: center;
    padding-right:0;
}

.footer_info ul {
    width: calc(100% - 100px);
    padding: 0;
}
.box_link {
    position: absolute;
    top: 0;
    width: 100%;
    max-width: 110px;
    display: flex;
    max-height: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    right: 62px;
}
.box_link a {
    display: block;
    width: 34px;
    border: 1px #374600 solid;
    border-radius: 5px;
    padding: 3px;
    font-size: 18px;
    text-align: center;
    margin: 2px;
    transition: all 0.5s;
}
.box_link a:hover{
    background-color: #37460072;
}
.fab, .fa-brands {
    font-weight: 400;
    color: #374600;
}
.fas, .fa-solid {
    font-weight: 900;
    color: #374600;
}
.footer_info li:nth-child(1) {
    display: inline-block;
    width: 44%;
    padding: 30px 0 0 0;
}
.footer_info li:nth-child(2) {
    display: inline-block;
    width: 49%;
    vertical-align: top;
    border-left: 1px solid #ccc;
}
.footer_menu {
    margin-top: 10px;
    display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr));
    gap: 5px;
}
.footer_info li p {
    line-height: 175%;
    letter-spacing: 1px;
    color: #374600;
}
a {
    color: #374600;
}
.footer_menu a {
    display: inline-block;
    padding: 5px 7px;
    border: 1px #374600 solid;
    margin: 0 4px 4px 0;
    font-size: 13px;
    line-height: 100%;
    color: #374600;
    background: #f0f0f000;
    text-align: center;
    transition: 0.5s ease;
}
.footer_menu a:hover {
    background: #909b6978;
}
.copy {
    text-align: center;
    padding: 4px 0;
    font-size: 10px;
    color: #ffffff;
    border-top: 1px #dddddd00 solid;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    background: #000000;
}
.copy a {
    color: #fff;
}

/* 商品下拉超過30個變大 */
.stellarnav.desktop li.bigMenu>ul{display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); left: 0; width: 100%; position: fixed; padding: 20px;}
.stellarnav.desktop li.bigMenu ul ul{top: 100%; left: 0; width: 100%; background: #efefef; height: auto; max-height: 300px; overflow: auto;}
.stellarnav.desktop li.bigMenu ul ul li{margin: 0;} 
.stellarnav.hasBigMenu li.bigMenu li.has-sub > a:after{border-left: 6px solid transparent; border-bottom:unset; border-right: 6px solid transparent; border-top: 6px solid #898989; right: 5px;}
/* 主分類超過30個但次分類直接顯示 
.stellarnav.desktop li.bigMenu>ul{grid-gap: 10px;}
.stellarnav.desktop li.bigMenu li{border: 0;}
.stellarnav.desktop li.bigMenu>ul>li>a{border: 1px solid #ddd;}
.stellarnav.desktop li.bigMenu ul ul{display: block !important; position: relative; top: 0; background: unset; border: 0;}
.stellarnav.desktop li.bigMenu ul ul li{border: 0;}
 主分類超過30個但次分類直接顯示-結束 */

/* 商品下拉超過30個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */
.product_page .main_part { max-width:1500px;}
/* .product_info_page .main_part { max-width:1200px;} */

.product_page .show_content,
.product_info_page .show_content { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; align-content: flex-start;}
.product_page .product_menu_list { position: relative; width: 220px; letter-spacing: 1px; /*border-right: 1px solid #ccc;*/min-height: 30vw;}
.product_page .products-list,
.product-wrapper { width: calc(100% - 270px);}
ul.page { width: 100%;}

.product-layer-two li ul { position:static; margin-top:5px; /*display:block !important;*/ width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none !important; /*display:block !important;*/}
.product-layer-two li li { display: block; padding:0; transition:all ease .3s;}
.product-layer-two li li a{ padding:5px 10px;}
.product-layer-two li li:hover > a { background:#fff; color:#ad925e;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:1px dotted #ccc; padding-bottom: 5px;}
.product-layer-two > li ul > li + li { margin-top:5px;}

.product_info_page .product-layer-two { display: none;}
.product_info_page .products-list,
.product-wrapper { width: 100%;}

.product-layer-two li li:hover{ margin-left: 15px;}
.product-layer-two li li > a:before { content: ""; position: absolute; width: 12px; height: 8px; background: transparent; left: 0; margin-left: -20px; top: 50%; margin-top: -4px; clip-path: polygon(0 0, 100% 50% , 0 100%);}
.product-layer-two li li:hover > a:before { background:#ad925e;}

.product_info_page .half_box { width: 100%; float: none; padding-right: 0;}
.product_info_page .half_box li.btn_blankTop { margin-top: 50px; justify-content: space-between; display: flex;}
.product_info_page .half_box li.btn_blankTop input { width: calc(50% - 10px); background-image: none; padding: 0; text-align: center;}
@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 980px) {
}
@media screen and (max-width: 768px) {
.product_menu_list,
.products-list,
.product-wrapper { width: 100%;}
.product-layer-two { margin-right: 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-gap: 5px;}
.product_page .product-layer-two,
.product_page .products-list { width: 100%; border-right: none;}
.product_page .product_menu_list>h5{display: block;}

.product_page .show_content > a { order: 1;}
.product_page ul.products-list { order: 2;}
.product_page ul.page { order: 3;}
.product_page .product_menu_list {width: 100%; order: 0; min-height: unset;}
}
@media screen and (max-width: 600px) {
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {background-image: url("https://pic03.eapple.com.tw/dinghelinlife/banner.jpg");}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banF {
    background-image: url("https://pic03.eapple.com.tw/dinghelinlife/banner.jpg");
}
.banner.banblog {}

/*============禮儀用品=================*/

.path p, .path p a {
    text-align: right;
    line-height: 24px;
    font-size: 13px;
    color: #666;
    display: none;
}
.product-layer-two > li {
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: left;
    border-bottom: 1px dotted #374600;
    padding-bottom: 0px;
}
.product-layer-two li a {
    position: relative;
    border: 1px #ffffff00 solid;
    background: #f3f3f300;
    padding: 7px 16px;
    display: block;
    font-size: 14px;
    color: #374600;
    transition: 0.3s;
}
.product-layer-two li a:hover {
    color: #000;
}
.products-list .price {
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}
.products-list .price b {
    color: #d3a016;
    font-size: 16px;
}
.products-list .more {
    border: 1px solid #ada17e00;
    color: #ffffff;
    background: #d3a016;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    transition: all .5s;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    bottom: 0;
    letter-spacing: 3px;
}
.products-list .item a:hover .more {
    background: #565956;
    color: #fff;
}
/*=================禮儀用品2==============*/
.sidebarBtn {
    padding: 15px;
    display: inline-block;
    width: 28%;
    vertical-align: top;
    border: 2px #d3a016 solid;
    background: #fff;
}
.sidebarBtn .price span {
    display: block;
    font-size: 14px;
}
.sidebarBtn .sp_price {
    display: block;
    color: #d3a016;
    font-size: 16px;
    font-weight: 500;
}
.inquiry_a1 {
    background: #374600;
}
.inquiry_a2 {
    background: #1a1a1a;
}
.inquiry_a1:hover, .inquiry_a2:hover, .inquiry_a3:hover {
    letter-spacing: 0;
    background: #d3a016;
}
.prod_related {
    background: #ffffff;
    padding: 25px 15px;
}
.prod_related h6 span:before {
    content: '相關推薦';
    font-size: 22px;
    color: #1a1a1a;
}
.lastPage {
    font-size: 13px;
    color: #fff;
    background: #374600;
    padding: 4px 20px;
    display: block;
    margin: 40px auto;
    width: 110px;
    text-align: center;
}
/*=================宗教儀式用品============*/
.product-layer-two li.active a {
    font-weight: 500;
    border: 1px #cccccc00 solid;
}

/*==================禮儀資訊===============*/
.blog_le {
    width: 220px;
}
h5.blog_le_t {
    font-size: 24px;
    font-weight: 500;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 7px;
    position: relative;
    text-align: center;
}
.accordion li .link a {
    cursor: pointer;
    display: block;
    padding: 15px 10px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: 0.5s;
}
.subbox_item a:before {
    content: 'READ MORE';
    position: absolute;
    z-index: 19;
    bottom: 10px;
    right: 10px;
    opacity: 0;
    font-size: 15px;
    color: #d3a016;
    transition: all .6s;
}
.subbox_item a:after {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 8;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    border: 1px #d3a016 solid;
    transition: all .5s;
}
.blog_list_ri h5 {
    font-weight: 500;
    font-size: 17px;
    color: #374600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    letter-spacing: 2px;
}
.blog_list_ri em {
    font-size: 12px;
    color: #d3a016;
    font-style: normal;
    display: block;

}
.blog_list_ri p {
    font-size: 13px;
    color: #3b3a3a;
    line-height: 130%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    word-break: break-all;
    letter-spacing: 2px;
}




/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬2000px
.work_page .main_part { max-width:2000px;}
.work_page .show_content { padding:0; width:100%;}
.work_page .show-list .item { width:33%; display:inline-block; float:none; margin:0; padding:0;}
@media screen and (max-width: 768px) {
.work_page .show-list .item { width:49%;}
}
@media screen and (max-width: 570px) {
.work_page .show-list .item { width:100%;}
}
.work_page .show-list .item a { max-width:100%;}
.work_page .show-list .show_pic { height:auto; line-height:0;}
.work_page .show-list .show_pic img { max-width:100%; max-height:100%;}
.work_page .show-list .show_name { position:absolute; top:50%; right:10%; width:80%; height:auto; line-height:160%; font-size: 20px; color: #FFFFFF !important; border: solid 1px #fff; text-align: center; margin: -20px 0 0 -120px; padding:5px 20px; transition:all ease-in .3s; opacity:0;}
.work_page .show-list .item:hover .show_name {opacity:1;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本列表
.work_info_page .main_part { max-width:2000px;}
.work_info_page .show_content { padding:0; width:100%;}
.work_info_page .subalbum-menu { text-align:center;}
.work_info_page .subalbum-menu h2 { float:none;}
.work_info_page .pic-list .item { margin:0; padding:10px; width:49%; float:none; display:inline-block;}
@media screen and (max-width: 768px) {
.work_info_page .pic-list .item { width:100%;}
}
.work_info_page .pic-list .show_pic { height:auto; line-height:0;}
.work_info_page .pic-list .show_pic img { max-width:100%; max-height:100%;}
.work_info_page .pic-list .item a { max-width:100%; pointer-events: none; cursor: default; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

@media screen and (max-width: 1314px) {
.nav-header {
    width: 100%;
}
}




@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: none; }
#to_top { bottom:60px;}
/*===========選單============*/
.stellarnav .menu-toggle span.bars span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 6px;
    background: #374600;
    margin: 0 auto 4px;
}
.stellarnav .menu-toggle:after {
    content: 'MENU';
    font-size: 12px;
    color: #374600;
    display: block;
    transform: scale(0.9);
}
.stellarnav .menu-toggle:after {
    content: 'MENU';
    font-size: 12px;
    color: #374600;
    display: block;
    transform: scale(0.9);
}
.stellarnav.mobile.left .close-menu {
    display: inline-block;
    text-align: right;
    font-size: 10px;
    background: #d3a016;
    color: #fff;
}
.stellarnav .icon-close:before {
    content: '';
    display: block;
    width: 10px;
    height: 0px;
    border-bottom: solid 3px #ffffff;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
}
.stellarnav .icon-close:after {
    content: '';
    display: block;
    width: 10px;
    height: 0px;
    top: 50%;
    border-bottom: solid 3px #ffffff;
    position: absolute;
    transform: rotate(-45deg);
}
.stellarnav > ul > li::before{
    display: none;
}
.stellarnav.mobile li.open {
    background: #d3a01640;
    padding: 3px;
}
.stellarnav.mobile ul ul {
    position: relative;
    opacity: 1;
    visibility: visible;
    width: auto;
    display: none;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;
    background: #d3a01640;
}
.stellarnav.mobile li.open li.open {
    background: #d3a01640;
    padding: 3px;
}
.stellarnav a.dd-toggle .icon-plus:before {
    content: '';
    display: block;
    width: 12px;
    height: 0px;
    border-bottom: solid 3px #374600;
    position: absolute;
    top: 50%;
    transform: rotate(90deg);
    transition: width 0.3s;
}
.stellarnav a.dd-toggle .icon-plus:after {
    content: '';
    display: block;
    width: 12px;
    height: 0px;
    top: 50%;
    border-bottom: solid 3px #374600;
    position: absolute;
}

.stellarnav.mobile li li a.dd-toggle {
    right: 10%;
}

.box_link {
    display: none;
}
.footer_info {
    padding: 0;
    display: flex;
    grid-gap: 20px;
    padding-right: 0;
    align-items: center;
    flex-direction: column;
}

.footer_logo {
    margin-left:0;
}

.footer_menu {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr));
    gap: 5px;
}
.footer_info li:nth-child(2) {
    display: inline-block;
    width: 49%;
    vertical-align: top;
    border-left: 0 solid #ccc;
}
.footer.with_shopping_mode {
        padding: 30px 0 0;
    }



}

@media screen and (max-width: 600px) { 
}

@media screen and (max-width: 500px) {
.nav-header {
        width: 40px;
    }

.nav-brand img {
    max-width: 170%;
}

.footer_info {
    padding: 0;
    display: flex;
    grid-template-columns: 300px 1fr;
    grid-gap: 20px;
    padding-right: 0;
    align-items: center;
    flex-direction: column;
    }

.footer_logo {
    display: inline-block;
    vertical-align: top;
    max-width: 280px;
    margin-left: 0;
}

.footer_info ul {
    display: grid;
    padding: 0;
}

.footer_info li:nth-child(1) {
    width: 100%;
}

.footer_menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.footer_info li:nth-child(2) {
    width: 100%;
}


}

@media screen and (max-width: 410px) {
     .product_page ul.products-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 2fr));
   }


}