@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 {}
*/

/* 商品下拉超過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個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/

#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 

#content{    background: #f4f7ea;}

/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}
.edit_part{padding:0;}
.nav-header{   width: 145%;    max-width: 290px;}
.header_area{background:#fff;}
.header_area.sticky {
    transition: ease-out 0.3s;
    position: fixed;
    top: 0px;
}

.swiper-slide:before {
    content: "";
    height: 0;
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    top: 70%;
    z-index: 1;
}

.swiper-slide:nth-child(1):before {
    width: 40%;
     padding-bottom: calc(90% / 265 * 696);
     left: 8%;
     transform: translateY(-48%);
    background-image: url(https://pic03.eapple.com.tw/ycbiotech/index-bannertext001.png);
    max-width: 490px;
}

.swiper-slide:nth-child(2):before {
    width: 40%;
    padding-bottom: calc(90% / 265 * 696);
    left: 8%;
    transform: translateY(-48%);
    background-image: url(https://pic03.eapple.com.tw/ycbiotech/index-bannertext002.png);
    max-width: 490px;
}
.main_header_area .container{max-width:90%;}
.stellarnav > ul > li > a{font-family: 'Noto Sans CJK TC Regular';margin:0 15px;    line-height: 30px;
    height: 35px;}
.stellarnav > ul > li{border-left:1px solid #ccc;}
.me_tp_features a{margin:5px 0px 10px 0px;}
.header_area.sticky{    background: #fff;}

.stellarnav > ul > li > ul li a:hover {
    background: #9ed002;color:#fff;}
.stellarnav > ul > li > ul li a{font-size:13px;    transition: all .5s;}
.stellarnav ul ul{    background: #d5e1b5;}
.shop_search_btn{    background: #a0d031;}

/*footer*/
.footer{    background: #e2e9cc;}
.footer_menu a{    color: #89a177;
    background: #d5e1b5;border: 0px #89a177 solid;}
.box_link a{display:none;}
.copy{    background: #658148;    color: #fff;}
.copy a{color:#fff;}
.footer_info li p.tel:before {
    content: '聯絡電話：';}
.footer_info li p.taxid:before {
    content: '統一編號：';
}
.footer_info li p.mail:before {
    content: '電子信箱：';
}
.footer_info li p.add:before {
    content: '通訊地址：';
}
.footer_info li p.add2:before {
    content: '營業時間：';
}

/*聯絡*/
.contact_form li.last cite {
    background: #68a32b;}
.contact_form li.last blockquote, .contact_form li.last cite{    border: 1px #68a32b solid;}
.contact_le_map a{    background: #e2e9cc;}
.contact_content{max-width:1200px;}
.contact_content .information_left{display:none;}
.contact_content .information_right{width:100%;}
.contact_form{    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr));
    gap: 5px 10px;
    letter-spacing: 1px;}
.contact_form li {
    border: none;
    width: 100%;
    padding: 10px;
}
.blank_letter {
    text-align: center;
    padding-bottom: 59px;}
.contact_form li .form__label {
    width: 100%;
    margin: 0;
    padding: 0 0 10px;
    line-height: 160%;
    text-align: justify;
    font-weight: 700;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.contact_form li{display:block;}
.contact_form li:last-child {
    grid-column: 1 / -1;
    text-align: center;
}
.contact_form li.last{justify-content: center;}
.contact_form li .form__label{background: rgb(244 247 235);}

/*文章*/
.blog_back a.article_btn_next {
    background: #68a32b;
}
.blog_back a.article_btn_prev {
    background: #68a32b;
}
.blog_back a.article_btn_back {
    background: #bccfa9;
}
.news_related {
    background: #d5e1b5;}
.lastPage{    background: #68a32b;}
.articel_mainPic img{display:none;}


/*首頁商品價格隱藏*/
.pageIndex .products-list .price{display:none;}

/*商品*/
.products-list .more {
    border: 1px solid #68a32b;
    color: #68a32b;}
.products-list .item a:hover .more {
    background: #68a32b;}
.animated-arrow{    background: #a2d045;}
.pageIndex .products-list{    grid-template-columns: 1fr 1fr 1fr;}
.products-list{    grid-gap: 60px;}
.i_prod_tit span, .i_video_tit span {
    font-size: 35px;
    color: #6aa339;
    font-weight: 700;
}
.i_prod_tit h2, .i_video_tit h2 {
    font-size: 20px;
    color: #999;
}
.product-layer-two li a{    background: #66814c;    color: #ffffff;}
.products-list .price b{    color: #b56f6f;}
.inquiry_a3 {
    background: #68a32b;
}
.product-layer-two li{display:inline-block;}
.inquiry_a1:hover, .inquiry_a2:hover, .inquiry_a3:hover{    background: #a0d031;}
.sidebarBtn{    border: 5px #9caf99 solid;}
.prod_related {
    background: #e2e9ce;}
.prod_part{    background: #fefff9;}
#prod_thumbSwiper .swiper-slide::before{    background: #00000000;}

/*購物車開啟*/
.car_page .information_left {
    display: block;
}
/*購物車結帳頁面footer*/
body.car_page .footer_info li p:before{
    position: initial;
    display: inline;
}

/*首頁文章*/
.module_i_news .title_i_box h4{    
font-size: 35px;
    color: #6aa339;
    font-weight: 700;
}
.module_i_news .title_i_box h6{    font-size: 20px;
    color: #999;
}
.module_i_news li a{display:block;}
.module_i_news ul{    grid-template-columns: 1fr 1fr 1fr 1fr;}
.module_i_news{    background: #fefff9;}

/*文章*/
.subbox_item a {
    display: block;}
.blog_subbox{    grid-template-columns: 1fr 1fr 1fr 1fr;}
.blog_le .accordion > li:hover .link a, .blog_le .accordion > li.on_this_category .link a{background: #68a32b;}

/*相簿*/
.album_fixed_title{background: #f4f7eb;}
.subalbum-menu h2{color: #66814c;}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {
   background: url(https://pic03.eapple.com.tw/ycbiotech/banner_bg001.jpg) no-repeat;
    background-size: cover !important;
    height: 30vw;
    max-height: 529px;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
}

.banner h5 {
    color: #fff;
    font-size: 45px;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
    text-align: left;
    width: 100%;
    max-width: 1140px;
    padding-left: 15px;
    line-height: 110%;
    font-family: 'Noto Sans CJK TC Regular';
    letter-spacing: 1px;
    position: relative;
    font-weight: normal;
	font-weight:bold;
}
.banner h5:before {
    content: '';
    background: #a0d031;
    width: 6px;
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    text-shadow: none;
}
.banner.banA {}
.banner.banB {display:none;}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.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: 1024px) {
.module_i_news ul {
    grid-template-columns: 1fr 1fr 1fr;
}
.blog_subbox{ grid-template-columns: 1fr 1fr 1fr;}
}

@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: block; }
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
.main_header_area .container {
    max-width: 100%;
}
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu{    background: #9ed002;}
    #bottom_menu li {
        float: left;
        border-right: 1px solid #ddd;
        width: 33%;
    }
.me_tp_features{display:none;}
    .navigation{display: flex;}
    .pageIndex .main_header_area {height: auto;}
.pageIndex .products-list {
    grid-template-columns: 1fr 1fr;
}
.stellarnav.mobile > ul > li > a.dd-toggle{    top: 10px;}
.stellarnav.mobile > ul > li > a{        padding: 20px 10px;}



}

@media screen and (max-width: 600px) { 
.nav-header{   width: 145%;    max-width: 240px;}
.tp_links {
    display: none;
}

}

@media screen and (max-width: 500px) { 
.module_i_news ul {
    grid-template-columns: 1fr 1fr;
}
.blog_subbox{    grid-template-columns: 1fr 1fr;}
}




