@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-color:#666;
}
#main_container{
    min-height: 500px;
    background-color: #fff;
    padding: 5px;
    border: 5px solid #8BDFF1;
    border-top: none;
    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;
}
.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; 
}

/*-----------
idx_banner
----------*/
#idx_banner{
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    float: left;
}

#idx_banner .owl-prev,
#idx_banner .owl-next{
    position: absolute;
    top: calc(50% - 40px);
    font-size: 20px;
    font-weight: 700;
}
#idx_banner .owl-prev{
    left: 1%;
}
#idx_banner .owl-next{
    right: 1%;
}



#idx_banner .owl-theme .owl-nav [class*=owl-]{
    background: none;
    padding: 0;
    width: 39px;
    height: 74px;
    line-height: 74px;
    text-align: center;
    border-radius: 20px;
    opacity: 0.7;
}

#idx_banner .owl-theme .owl-nav [class*=owl-]:hover{
    opacity: 1;
}

#idx_banner .owl-theme .owl-dots .owl-dot.active span, 
#idx_banner .owl-theme .owl-dots .owl-dot:hover span{
    background: #5d7f2b;
}

#idx_banner .owl-dots{
    margin-top: -3%;
    z-index: 100;
    position: relative;
}


@media (max-width:540px) {
    #idx_banner{
        width: 100%;
    }
    #idx_banner .owl-theme .owl-nav [class*=owl-]{        
        width: 26px;
        height: 50px;
        line-height: 50px;
        border-radius: 15px;
    }

    #idx_banner .owl-prev,
    #idx_banner .owl-next{
        font-size: 16px;
    }
}
/*------
idx_ad
--------*/
#idx_ad{
    width: 100%;
    clear: both;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 20px;
    
}

#idx_ad .list{
    overflow: hidden;
    float: left;
    display: inline-block;
    width: calc(50% - 10px);
    margin: 0 5px;
}
#idx_ad .list .pic{
    display: inline-block;
    height: auto;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    float: left;
}
#idx_ad .list .pic a{
    position: relative;
    padding-bottom: 20%;
    width: 100%;
    height: 0;
    clear: both;
    float: none;
    display: block;
    overflow: hidden;
}

#idx_ad .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);
}

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

@media (max-width:550px) {
    #idx_ad .list{
        float: none;
        clear: both;
        display: inline-block;
        width: calc(100% - 5px);
        margin: 0px 5px 20px;
    }


}

/*------
idx_about
--------*/
#idx_about{
    width: 100%;
    clear: both;
    background: url(../images/bg01.jpg) no-repeat top center;
    overflow: hidden;
    position: relative;
}
#idx_about .pic{
    float: left;
    display: inline-block;
    position: absolute;
    z-index: 0;
}
#idx_about .pic02{
    float: right;
    display: block;
    margin: 0 80px 0 45px;
}
#idx_about .txt_box{
    float: right;
    margin: 70px 60px 70px 0;
    display: inline-block;

}
#idx_about h1{
    float: right;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    font-size: 35px;
    font-weight: 700;
    line-height: 40px;
}
#idx_about h1 b{
    font-size: 45px;
}
#idx_about p.s{
    position: absolute;
    top: 190px;
    right: calc((100% - 1300px)/2);
    font-style: italic;
    font-size: 18px;
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
#idx_about p.main{
    float: right;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    font-size: 20px;
    line-height: 30px;
    color: #000;
}

@media (max-width:1300px) {
    #idx_about p.s{
        right: -45px;  
    }
}

@media (max-width:600px) {
    #idx_about .pic{
        float: none;
        display: inline-block;
        position: static;
    }
    #idx_about .pic02 {
        margin: 0 10% 0 5%;
    }

    #idx_about .txt_box{
        float: none;
        width: 100%;
        clear: both;
        padding: 70px 3% 0 3%;
        margin: 0;
    }

    #idx_about h1 {
        margin-right: 30px;
    }
    #idx_about p.s {
        right: -60px;
    }
}



/*------
panel
--------*/
.panel{
    display: inline-block;
    float: left;
    width: calc((100%/3) - 20px);  
    background-color: #fff;
    border-bottom: 5px solid #000;
}
.panel header{
    background: #d1edd4;
    background: -moz-linear-gradient(top, #d1edd4 0%, #bfd7bf 100%);
    background: -webkit-linear-gradient(top, #d1edd4 0%,#bfd7bf 100%);
    background: linear-gradient(to bottom, #d1edd4 0%,#bfd7bf 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d1edd4', endColorstr='#bfd7bf',GradientType=0 );
   
    padding: 0 8px;
    width: 100%;
    position: relative;
    height: 40px;
    border: 1px solid #DADCD9;    
}

.panel header p{
    line-height: 40px;
    font-size: 18px;
    color: #333;
    display: inline-block;
}
.panel header p img{
    margin: 0 5px;
}
.panel header a{
    float: right;
}

.panel header .arrow{
    display: block;
    width: 10px;
    height: 10px;
    background: #000;
    position: absolute;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    bottom: -5px;
    left: 20px;
}


/*panel_main*/
.panel_main{
    cursor: pointer;
    padding:0 8px;

}
.panel_main .list{
    border-bottom: 1px dotted #DADCD9;
    padding: 8px 0;
    overflow: hidden;
}
.panel_main .list .pic{
    display: inline-block;
    height: auto;
    text-align: center;
    vertical-align: middle;
    width: 50%;
    float: left;
}
.panel_main .list .pic a{
    position: relative;
    padding-bottom: 64%;
    width: 100%;
    height: 0;
    clear: both;
    float: none;
    display: block;
    overflow: hidden;
}

.panel_main .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);
}

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

.panel_main .list .main_tbox{
    padding-left: 5px;
    width: 50%;
    float: right;
}
.panel_main .list .title{
    clear: both;
    color: #666;
    line-height: 18px;
    font-size: 13px;
    overflow: hidden;
    max-height: 70px;
    display: block;
}

@media (max-width:1100px) {
    .panel_main .list{
        width: calc(100%/3);
        float: left;
        padding: 8px 4px;
    }
    .panel_main .list .pic{
        width: 100%;
        margin-bottom: 5px;
    }

    .panel_main .list .main_tbox{
        width: 100%;
    }
    .panel_main .list .title{
        max-height: 36px;
    }
}

@media (max-width:530px) {
    .panel_main .list {
        width: 100%;
        float: none;
        padding: 8px 4px;
    }
    .panel_main .list .pic {
        width: 50%;
    }
    .panel_main .list .main_tbox {
        width: 50%;
    }
}

/*---------
idx_product
----------*/
#idx_product{
    clear: both;
    position: relative;
    padding-top: 35px;
    padding-bottom:28px;
}
#idx_product .owl-carousel_s{
    margin-top: 10px;
}

#idx_product header{
    text-align: center;
}


#idx_product .t{
    color: #333;
    line-height: 36px;
    padding: 0 10px;
    display: table;
    font-size: 24px;
    font-weight: 700;
    margin:0 auto 5px;
    border: 1px solid #000;
}
#idx_product .list{
    overflow: hidden;
    display: inline-block;
    width: 100%;

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

#idx_product .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);
}

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

#idx_product .list .main_tbox{
    padding: 15px 0;
    text-align: center;
}
#idx_product .list .title{
    color: #000;
    font-size: 16px;
    overflow: hidden;
    margin-bottom: 3px;
    height: 40px;
    font-weight: 700;
    line-height: 22px;
    clear: both;
    display: block;
}
#idx_product .list .price{
    clear: both;
    color: #000;
    font-size: 22px;
    font-weight: 700;
    line-height: 22px;
}
#idx_product .list .price.del{
    color: #999;
    font-size:16px;
    text-decoration: line-through;
    margin: 0 3px; 
}


#idx_product .owl-prev,
#idx_product .owl-next{
    position: absolute;
    top: 20%;
    font-size: 14px;
    font-weight: 700;
}
#idx_product .owl-prev{
    left: -5%;
}
#idx_product .owl-next{
    right: -5%;
}
#idx_product .owl-theme .owl-nav [class*=owl-] {
    background: none;
    padding: 0;
    width: 20px;
    height: 74px;
    line-height: 74px;
    text-align: center;
    opacity: 0.7;
}

#idx_product .owl-theme .owl-nav [class*=owl-]:hover{
    opacity: 1;
}

#idx_product .owl-theme .owl-dots .owl-dot.active span, 
#idx_product .owl-theme .owl-dots .owl-dot:hover span{
    background: #59793a;
}

@media (max-width:1300px) {
    #idx_product{
        width: 100%;    
        float: none;
        text-align: center;
        clear: both;
    }
    #idx_product a img{
        width: auto;
        max-width: 100%;
    }

    #idx_product .owl-prev{
        left: 0;
    }
    #idx_product .owl-next{
        right: 0;
    }
}

/*---------
idx_food
----------*/
#idx_food{
    min-height: 365px;
    background-attachment: fixed;
    background-position: center bottom;
    background-repeat: no-repeat;
    /*background-size:100% auto ; */
    
}
#idx_food p{
    padding: 30px 0 0 calc(50% - 30%);
    float: left;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    font-size: 50px;
    line-height: 60px;
}
@media (max-width:1200px) {
    #idx_food{
       min-height: 280px;
       background-size:auto 100%;
        
    }
    #idx_food p{
  
        padding: 30px 0 0 5%;
        font-size: 40px;
        line-height: 50px;
    }
}


