@charset "utf-8";
@import url("font-glyphicons/glyphicons.css");    /* 符號文字*/
/*-----------
Reset
----------*/
*{
	box-sizing:border-box;
	-moz-box-sizing: border-box;
	margin:0;
	padding:0;
    word-wrap: break-word;
    word-break: break-word;
    line-height: 22px;
    font-family:"Times New Roman",Arial,ROCK,"宋体","新細明體","微軟正黑體";
    }

body {
    -webkit-text-size-adjust:100%;   
    font-size:13px;
    line-height: 22px;
    color:#444;
    }

img {max-width:100%;height: auto;vertical-align:middle;}
img a{border:0;}
a{
	text-decoration:none;
	color:inherit;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*-----------
layout
----------*/
.layout_bg{
    background:url(../images/bg02.jpg) repeat center top;
}
#main_container{
    min-height: 500px;
    overflow: hidden;
}
.ly_1{
    padding-left:calc((100% - 1200px)/2);
    padding-right:calc((100% - 1200px)/2);
}
.ly_2{
    padding-left:calc((100% - 1000px)/2);
    padding-right:calc((100% - 1000px)/2);
}

@media (max-width:1200px) {
    .ly_1{
        padding-left:0;
        padding-right:0;
    }
}

@media (max-width:1000px) {
    .ly_2{
        padding-left:0;
        padding-right:0;
    }
}

/*-----------
public
----------*/
.editor a {word-wrap: break-word;word-break: break-all;}
.table_scroll { overflow-x: auto; }

.btn{
    opacity: 0.85;
    display: inline-block;
}
.btn:hover{
    opacity: 1;
}
.bg_w{
    background-color: #fff;
    color: #000;
}
.bg_og{
    background-color: #eb9600;
    color: #fff;
}
.bg_b{
    background-color: #1965a2;
    color: #fff;
}
.bg_r{
    background-color: #ab3131;
    color: #fff;
}

.bg_g{
    background-color: #648538;
    color: #fff;
}
.cle_b{
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    border-radius:15px; 
}

.cle_m{
    height: 24px;
    line-height: 24px;
    padding: 0 8px;
    border-radius:12px; 
}

.page_title{
    font-size: 28px;
    font-weight: normal;
    line-height: 40px;
    color: #000;
    display: table;
    background: url(../images/icon_title.png) no-repeat left center,
                url(../images/icon_title.png) no-repeat right center;
    margin: 0 auto;
    padding: 10px 60px;

}

/*-------選擇數量----------*/
.amountbox{
    clear: both;
}
.amountbox p{
    width: 80px;
    float: left;
}
.amount{
    display: inline-block;
    border: 1px solid #cacaca;
    border-radius: 5px;
}
.amount button {
    cursor: pointer;
    float: left;
    border: none;
    background: none;
    width: 30px;
    height: 30px;
    line-height: 23px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    background: #727573;
    border-radius: 5px 0 0 5px;
}
.amount button:last-of-type {
    background: #82a009;
    border-radius: 0 5px 5px 0;
}
.amount input {
    float: left;
    width: 45px;
    height: 30px;
    background: none;
    border: none;
    text-align: center;
    font-size: 16px;
    line-height: 23px;
    color: #333;
}




/*------
page
-------*/
#pagetop{
    overflow: hidden;
    width: 100%;
    clear: both;
    
}
.pagemain{

    overflow: hidden;
    margin-bottom: 30px;
    width: 100%;
    clear: both;
    background-color: #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,0.3);
}


@media (max-width:900px) {
    #pagetop,.pagemain{
        width: 100%;
    }
}


/*path*/
#path{
    list-style: none;
    padding: 0 1%;
    overflow: hidden;
    background-color: #648538;
    
}
#path li{
    font-size: 13px;
    line-height: 20px;
    color: #fff;
    padding: 3px 0;
    float: left;

}
#path li a{
    color: #fff;
    font-size: 13px;
    line-height: 20px;
}
#path li:after{
    content: '/';
    margin: 0 8px;
}
#path li:last-of-type:after{
    content: '';
}
#path li a:hover{
    color: #fff600;
    text-decoration: underline;
}



/*paging-bar*/
.paging-bar{ 
    clear: both;
    padding: 20px 0;
}
.paging-bar ul{
    list-style: none;
    display: table;
    margin: 0 auto;
}
.paging-bar li{
    float: left;
}
.paging-bar li a{
    color: #59793a;
    line-height: 30px;
    width: 30px;
    text-align: center;
    display: inline-block;
    border-radius: 15px;
    font-size: 16px;
}
.paging-bar li a:hover{
    color: #fa472b;
}
.paging-bar li a.current{
    background-color: #59793a;
    color: #fff;
}


/*submenu*/
#submenu{
    background-color: #f3f3f3;
    padding: 2px;
    
}
#submenu ul{
    list-style: none;
    display: table;
    margin: 0 auto;
}
#submenu li{
    background: url(../images/line04.jpg) no-repeat right center;
    padding:0 20px;
    float: left;
}
#submenu li a{
    line-height: 34px;
    display: inline-block;
    
    color: #000;
    font-size: 14px;
}
#submenu li a:hover{
    color: #eb2f3e;
}
#submenu li a.current{
    background: url(../images/line03.jpg) no-repeat bottom center;
}




/*aboutus*/
#aboutus{
    background: url(../images/bg04.png) no-repeat right bottom;
    padding: 30px 3%;
}

#aboutus .pic{
    float: left;
    width: 35%;
    margin-right: 10px;
    display: inline-block;
}
#aboutus p{
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 20px;
}

#aboutus p b{
    color: #000;
    font-size: 20px;
}


@media (max-width:500px) {
    #aboutus .pic{
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
    
}


/*products*/
#products{
    padding: 30px 1%;
    overflow: hidden;
    display: block;
}

#products .list{
    overflow: hidden;
    display: inline-block;
    width: calc((100%/4) - 2%);
    margin: 0 1% 30px;
    float: left;
    border: 1px solid #fff;

}
#products .list:hover{
    border: 1px solid #648538;
}

#products .list .pic{
    display: inline-block;
    height: auto;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    clear: both;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    
}
#products .list .pic > a{
    position: relative;
    padding-bottom: 100%;
    width: 100%;
    height: 0;
    clear: both;
    float: none;
    display: block;
    overflow: hidden;
}

#products .list .pic > a > img {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

#products .list:hover .pic > a > img {
    transform: scale(1.1) !important;
}

#products .list .pic .btnbox{
    position: absolute;
    width: 100%;
    bottom: 0;
    opacity: 0;
}
#products .list:hover .pic .btnbox{
    opacity: 1;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}
#products .list .pic .btnbox a{
    background-color:rgba(100, 133, 56, 0.9) ;
    height: 38px;
    width: 50%;
    display: inline-block;
    color: #fff;
    float: left;
    line-height: 38px;
    font-size: 18px;
}

#products .list .pic .btnbox a:first-of-type{
    width: calc(50% - 1px);
    margin-right: 1px;
}
#products .list .pic .btnbox a img{
    height:70%;
}


#products .list .main_tbox{
    padding: 15px 0;
    text-align: center;
}
#products .list .title{
    color: #000;
    font-size: 16px;
    overflow: hidden;
    margin-bottom: 3px;
    height: 40px;
    font-weight: 700;
    line-height: 22px;
    clear: both;
    display: block;
}
#products .list .price{
    clear: both;
    color: #000;
    font-size: 22px;
    font-weight: 700;
    line-height: 22px;
}
#products .list .price.del{
    color: #999;
    font-size:16px;
    text-decoration: line-through;
    margin: 0 3px; 
}
@media (max-width:800px) {
    #products .list{
        width: calc((100%/3) - 2%);
    }
}
@media (max-width:630px) {
    #products .list{
        width: calc((100%/2) - 2%);
    }

}



/*product_detail*/
#product_detail{
    padding: 20px 1%;
}
#product_detail .page_title{
    background: none;
    padding: 0;
    margin: 0;
}
#show_pic{
    width: 500px;
    display: inline-block;
    float: left;
    margin-bottom: 20px;
    padding: 0 10px;
}
#show_pic #slider{
    border: 1px solid #ccc;
}
#show_pic #carousel{
    padding: 0 26px;
}

#show_pic .flex-direction-nav a{
    width: 20px;
    height: 38px;
}
#show_right{
    width: calc(100% - 500px);
    display: inline-block;
    float: right;
    padding: 10px;
}

.detail_title_s{
    font-size: 16px;
    color: #c40000;
    font-weight: normal;
    min-height: 50px;
    margin-bottom:10px; 
}
.price_box{
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px 0px;
    margin-bottom: 22px;
}

.price_box .price{
    clear: both;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
}
.price_box .price b{
    color: #ab3131;
    font-weight: normal;
}
.price_box .price b.num{
    font-size: 35px;
}
.price_box .price.del{
    color: #999;
    font-size:14px;
    text-decoration: line-through;
    margin-right:8px; 
    display: inline-block;
}

.info_box{
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.info_box ul{
    list-style: none;
}
.info_box li{
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
}
.info_box li b{
    font-weight: normal;
    display: inline-block;
    width: 80px;
    vertical-align: top;
}
.info_box li span{
    display: inline-block;
    width: calc(100% - 80px);
}
.info_box th{
    font-size: 14px;
    padding: 5px 15px 5px 0px;
    text-align: left;
    display: inline-block;
    line-height: 22px;
    font-weight: normal;
}
.info_box td{
    color: #000;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 5px;
}


.btnbox .btn{
    min-width: 150px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 16px;
    padding: 0 20px;
    line-height: 52px;
    display: inline-block;
    border-radius: 8px;
}

.show_title{
   

}
.show_introduction{
    width: 100%;
}
.show_introduction table{
    text-align: left;
    min-width: 600px;
    width: 100%;

}
.show_introduction tr:nth-of-type(2n+1){
    background-color: #dbeef3;
}

@media (max-width:960px) {
    #show_pic,#show_right {
        width: 50%;
        padding: 0 1%;
    }

}
@media (max-width:700px) {
    #show_pic,#show_right{
        width: 100%;
        clear: both;
    }
    .info_box th {
        padding: 5px 5px 5px 0px;
    }
}
@media (max-width:630px) {
    #show_right .btn{
        min-width: auto;
    }
    .show_title{
        font-size: 16px;
    }

}


/*info_tab*/
.info_tab{
    clear: both;
    display: block;
}
.info_tab span{
    display: none;
}

#tab{
    width: 100%;  
    background-color: #f6f6f6;  
}
/* 頁籤ul */
#tab>ul{
    overflow: hidden;
    border-bottom: 2px solid #648538;
}
#tab>ul>li{
    list-style: none;
    
    float: left;
    border-right: 1px solid #d2d2d2;

    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}
#tab>ul>li>a{
    text-decoration: none;
    font-size: 18px;
    color: #333;
    float: left;
    text-align: center;
    line-height: 38px;
    padding: 0 10px;
}

/*頁籤div內容*/
#tab>div {
    clear:both;
    padding:0 15px;
    height:0;
    overflow:hidden;
    visibility:hidden;

}



/*第一筆的底色*/
span:target ~ #tab > ul li:first-child a {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
    color: #333;
}
span:target ~ #tab > div:first-of-type {
    visibility:hidden;
    height:0;
    padding:0 15px;
}

/*頁籤變換&第一筆*/
span ~ #tab > ul li:first-child a,
#tab-1:target ~ #tab > ul li a[href$="#tab-1"],
#tab-2:target ~ #tab > ul li a[href$="#tab-2"],
#tab-3:target ~ #tab > ul li a[href$="#tab-3"] {
    background: #648538;
    color: #fff;
}

/*頁籤內容顯示&第一筆*/
span ~ #tab > div:first-of-type,
#tab-1:target ~ #tab > div.tab-content-1,
#tab-2:target ~ #tab > div.tab-content-2,
#tab-3:target ~ #tab > div.tab-content-3 {
    visibility: visible;
    height: auto;
    background: #fff;
    padding: 8px 1%;
    overflow: auto;
}
span ~ #tab > div:first-of-type .date,
#tab-1:target ~ #tab > div.tab-content-1 .date,
#tab-2:target ~ #tab > div.tab-content-2 .date,
#tab-3:target ~ #tab > div.tab-content-3 .date {
    color: #648538;
    font-size: 16px;
    line-height: 24px;
    margin-bottom:5px; 
}
span ~ #tab > div:first-of-type ul,
#tab-1:target ~ #tab > div.tab-content-1 ul,
#tab-2:target ~ #tab > div.tab-content-2 ul,
#tab-3:target ~ #tab > div.tab-content-3 ul {
    margin-bottom:5px;
}
span ~ #tab > div:first-of-type li,
#tab-1:target ~ #tab > div.tab-content-1 li,
#tab-2:target ~ #tab > div.tab-content-2 li,
#tab-3:target ~ #tab > div.tab-content-3 li {
    color: #333;
    margin:0 0 5px 10px;
    list-style: circle;
    font-size: 14px;
    line-height: 24px;
    border-bottom: 1px dashed #666;
}


/*food list*/
#food_box{
    background: url(../images/bg03.jpg) no-repeat left top;
    overflow: hidden;
    background-size: cover;
}
#food_box .left{
    width: 270px;
    float: left;
    display: inline-block;
}
#food_box .left p{
    font-size: 36px;
    color: #fff;
    font-weight: 700;
    line-height: 45px;
    padding: 55px 30px;
}
#food_box .left p b{
    font-size: 50px;
}
#food_box .left .btn{
    font-size: 20px;
    font-weight: normal;
}
#food_box .left .btn i{
    font-size: 14px;
}
#food_box .right{
    width: calc(100% - 270px);
    float: left;
    display: inline-block;
    padding: 20px 0;
}
#food_box .list{
    overflow: hidden;
    float: left;
    display: inline-block;
    width: calc((100%/3) - 16px);
    margin: 0 8px;
    background-color: #fff;
}
#food_box .list .pic{
    display: inline-block;
    height: auto;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    clear: both;
    margin-bottom: 5px;
    
}
#food_box .list .pic a{
    position: relative;
    padding-bottom: 100%;
    width: 100%;
    height: 0;
    clear: both;
    float: none;
    display: block;
    overflow: hidden;
}

#food_box .list .pic img {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

#food_box .list:hover .pic img {
    transform: scale(1.1) !important;
}

#food_box .list .title{
    color: #000;
    font-size: 16px;
    overflow: hidden;
    margin-bottom: 3px;
    height: 40px;
    line-height: 22px;
    clear: both;
    display: block;
    text-align: center;
}


@media (max-width:800px) {
    #food_box .left {
        width: 100%;
        text-align: center;
    }
    #food_box .left p{
        padding: 30px 0 10px;
        font-size: 30px;
        line-height: 36px;
    }
    #food_box .right{
        width: 100%;
        padding: 10px 0 20px;
    }
    
    #food_box .left p b{
        font-size: 40px;
    }
    #food_box .list{
        width: calc((100%/3) - 2%);
        margin: 0 1%;
    }

}


