@import url(slick.css);
@import url(main_2.css);
@import url(main_3.css);
@import url(animate.css);
/*----------------------------------*\ 
	# common               
\*----------------------------------*/
* {
	margin: 0; 
	padding: 0;
	border: 0;	
	list-style:none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
body {
	/*-moz-user-select : none;
	-webkit-user-select: none; */
	background: #FFF;
	color:#444;
	font-size: 20px;
	line-height: 1.5;
	font-family: Microsoft JhengHei; 
}
.clearfix:before,
.clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
a,a:visited {
	text-decoration:none; 
  	color:inherit;  	 
}
a:hover { color: #f17a01;  }
a:focus{outline:none;}
input[type="text"],
input[type="password"],
input[type="date"],
input[type="email"],
input[type="tel"],
select,
textarea {    
  	background: #FFF;
  	border: solid 1px #aaa;
  	border-radius: 0;    
  	outline: none; 
  	width:100%;
  	padding:5px 10px;
  	height:34px;
  	line-height: 34px;    
}
input::-webkit-input-placeholder {color:#ababab } 
input:-moz-placeholder { color:#ababab; }

.stop_desk { display: none; }
@media (max-width: 1025px) {
	body {font-size: 16px;}	
	.stop_mo { display: none; }	
	.stop_desk { display: block; }
}
/*----------------------------------*\
	# search                     
\*----------------------------------*/
.search-box {
	position:absolute;
	right:-30px;
	top:-2px;		
	background:#fff;
	height:40px;
	line-height: 40px;
	border-radius:50px;
	padding:0 10px;	     
}
.search-box .txt{
	border:none;
	background: transparent;
	outline:none;
	float:left;
	padding:0;	
	font-size:.8em;
	transition:0.4s;
	height: 40px;
	line-height:40px;
	width:0px;	
}
.search-box:hover .txt{
	width:280px;
	padding:0 6px;
	transition: all 1s; 
}
.search-box .btn {
	position: absolute;
	right:-7px;
	top:0;
	background: #fff; 
	float:right;
	width:40px;
	height:40px;
	line-height: 40px;
	text-align: center;
	border-radius:50%; 
	display:flex;
	justify-content:center;
	align-items:center;
	transition:0.4s;
	cursor:pointer; 
}
.search-box .btn i {
	font-size:1.2em;
	color:#000; 
} 

@media (max-width: 1025px) {
	.search-box {
		z-index: 20;/*for topLink (mo)*/
		right:20px;
		top:auto;
		bottom: 40px;		
	}
	.search-box:hover {		
		border:1px solid #aaa;
	}
	.search-box:hover .txt {
		width:calc(100% - 40px);		
	}
	.search-box .btn{ 
		border:none;
		right:-5px;
      	background: #f17a01;
  	}
    .search-box .btn i {
		color:#fff; 
	}
	.search-box .btn:hover i {
		color:#000; 
	}
}
/*----------------------------------*\
	# top                     
\*----------------------------------*/
.top {
	padding: 0 8%; 
	width:100%;
	line-height: 40px; 
	height: 40px;  
	background:whitesmoke;
	position: fixed;
	top:0;
	z-index: 100;
}
.top .left { float:left; width:50%; }
.top .right { 
	float:right; 
	width:50%; 
	text-align: right;
}
.top a { margin: 0 10px; }
.top i { 
	font-size:1.2em; 
	vertical-align: middle;
}
.top span {
	font-size:.8em; 
	vertical-align: middle;
	padding-left: 5px; 
}
.top .cart { position: relative; }
.top .buy {/*購買數量小紅圓*/
	width:24px;
	height:24px;
	line-height: 24px;
	text-align: center;
	border-radius:50%;
	background: #f17a01;	
	position: absolute;
	top:-5px;
	right:-15px;
	font-size:12px; 	 
	color: white;	
}
@media (max-width: 1025px) {
	.top {		
		padding:0 10px ;		 
		top:5px;right:10px;
		z-index: 10;		
		background: transparent;
		width: 50%;	
	}
	.top a {margin: 0 5px; }
	.top .left {display: none;}
	.top .right {		
		width:100%; 			
	}
	.top i {color: #ddd;color:whitesmoke;}	
	.top a,
	.top a:visited {color:whitesmoke;}
	.topLink { /*關於我們&最新消息*/
		position: absolute;
		bottom: 40px;
		left:20px;
		z-index: 19;		
	}
	.topLink i {
		font-size: 1.5em;
		color: #f17a01;
	}
	.topLink a {		
		margin:0 .5em;
	}
}
/*----------------------------------*\
	# header                     
\*----------------------------------*/
header {
	width:100%; 
	z-index: 8;	
	top: 40px;
	position: fixed;
	height: 70px;/**/
	background: #55a222;
	padding: 5px 10%;
}
header .logo {
	float: left;
	width:260px;
	height: 100%;
	display: flex;
}
header .navbar {	
	line-height: 40px; 
	padding: 15px 0;
	text-align: right;
	float:right;
	width: calc(100% - 260px);	
}
header .logo img {z-index: 99;
	width:auto;
	max-width: 100%;
	height: 100%;
}

@media (max-width: 1025px) {	
	header {
		height: 50px;
		top:0; 
		padding: 8px 10px ; 
	}
	header .logo {
		width: calc(100% - 38px);
		padding-left: 10px; 
		float: right;	     
	}	
	header .navbar {/*變成漢堡外圍*/
		display: flex;
		float: left; width: 34px;	
		line-height: 34px;
		padding: 0;		
	}
	.pageCover {
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.7);
		position: fixed;
		left: 0;
		top: 0;
		display: none;
		z-index: 6; 
	}
	.offcanvas {		
		/*background: mintcream;*/ 
		background: whitesmoke;
		/*background: rgb(231,250,173,.8);*/
		position: fixed;
		width: 76vw; 
		height: calc(100vh - 50px); 
		transform: translateX(-80vw);
		left: 0;
		top: 50px;
		transition: transform .5s;  
		overflow: auto;		  
		z-index: 18;		
	}
	.mmenu-opened .pageCover {
		display: block; 
	}
	.offcanvas.active {
		transform: translateX(0);
	}
	.hamburger {
		margin: auto; 
		display: block;    
		padding: 0 ;
		/*float: right; */
	} 
	.hamburger .bar {
		width: 34px;
		height: 2px;
		background-color: #fff;
		display: block;   
		margin: 7px 0; 
		-webkit-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
	.hamburger:hover{
		cursor: pointer;
	}
	.hamburger.is-active .bar:nth-child(2){
		opacity: 0;
	}
	.hamburger.is-active .bar:nth-child(1){
		-webkit-transform: translateY(8px) rotate(45deg);
		-ms-transform: translateY(8px) rotate(45deg);
		-o-transform: translateY(8px) rotate(45deg);
		transform: translateY(8px) rotate(45deg);  
	}
	.hamburger.is-active .bar:nth-child(3){
		-webkit-transform: translateY(-8px) rotate(-45deg);
		-ms-transform: translateY(-8px) rotate(-45deg);
		-o-transform: translateY(-8px) rotate(-45deg);
		transform: translateY(-8px) rotate(-45deg);
	}
}
/*----------------------------------*\
	# nav  (多層選單)                  
\*----------------------------------*/
ul.navMain {   
	font-size: 1em;
	text-align: left;
	float: right;  
}
ul.navMain li {
	position: relative;
	float: left;   
}
ul.navMain li a {
	font-weight: 600;
	display: block;
	padding:0 1em;   
	color: #eee;    
}
ul.navMain li a:hover {  
	color: #fff; 
}
/*--------------the 2th layer*/
ul.navMain li ul {
	height: 0 ;  
	overflow: hidden;
	float:left;
	position: absolute;
	margin: 0;
	padding: 0; padding: 0 10px;
	background: transparent;
}
ul.navMain li:hover > ul {  
	height: auto;
	overflow: visible;    
}
ul.navMain ul li:first-child {   
	margin-top: 10px;    
}
ul.navMain ul li:first-child > a { 
	/*border-radius:5px 5px 0 0;*/  
}
ul.navMain ul li:last-child > a {    
	/*border-radius: 0 0 5px 5px;*/
}
/*美化(圓角&底線)*/
ul.navMain ul li::after{
	content: '';
	position: absolute; 
	bottom: 0; 
	left: 15px; 
	height: 1px;
	width: calc(100% - 30px);
	background: #ddd; /*橫線*/ 
}
ul.navMain ul li:last-child::after {
	display: none;
}
ul.navMain ul li:first-child {   
	/*border-radius: 5px 5px 0 0;*/   
}
ul.navMain ul li:last-child {  
	/*border-radius: 0 0 5px 5px;*/ 
}

ul.navMain ul a {
	/*width: auto;*/ 
	min-width:140px; 
	background: #fff; 
	color:#444; 
	box-shadow: 1px 1px 0 0px rgba(100, 100, 100, 0.5);  
	white-space:nowrap; /*自動撐開 */	
}
ul.navMain ul a:hover { 
	background: #f17a01; 
	color:#fff;    
}
/*--------------the 3th layer*/
ul.navMain ul li ul li:first-child {   
	margin-top: 0;  
}
ul.navMain ul li:hover > ul {  
	position: absolute;
	top:0; left: 100%; left: 93%
}
/*--------------arrow*/
.arrow_btn{/*第1層*/
	display: inline-block;  
	margin:0 0 2.5px 8px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 2.5px 0 2.5px 4px;
	border-color: transparent transparent transparent #fff;
}
.arrow_rt{/*第2層*/
	display: inline-block;  
	margin:0 0 2.5px 8px;  
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 2.5px 0 2.5px 4px;
	border-color: transparent transparent transparent #fff;
}
@media (max-width: 1025px) {
	ul.navMain { 
		max-height: calc(100% - 90px);
		overflow: auto;
  		float: none;  
	}	
	ul.navMain li {
		position: static;
		float: none;  
	}
	ul.navMain li a {    
		background: transparent;
		color: #444;      
	}
	ul.navMain li a:hover {		 
		background: transparent;
		color: #f17a01; 
	}
	/*---------the 2th layer*/
	ul.navMain li ul {    
		float:none;
		position: static;    
		border-radius:0 0 0 0;  
	}  
	ul.navMain ul li:first-child {   
		margin-top: 0;  
	}  
	ul.navMain li:hover > ul {
		background: transparent;
		color: #f17a01; 
		overflow: visible; 
		overflow: auto;   
	}
	ul.navMain ul a { 
		/*padding: 10px 20px; */
		padding: 0 5px 0 20px;
		box-shadow: none;
	}
	/*---------the 3th layer*/
	ul.navMain ul li:hover > ul { 
		background: transparent;  
		position: static;     
		top:auto; 
		left:auto;
	}
	.arrow_btn,.arrow_rt{
		display: none;     
	}
	/*-mobile Nav (主要屬性)*/ 
	.navMain a {
		display: block;
		width: 100%;		
		padding: 0 20px;
		font-size: .9em;
		line-height: 34px; 
		border-bottom: 1px solid #ccc;  
	}	
	.nav_submenu_more:after { 
		/*content:'▾';*/
		/*font-size: 20px;*/
		content:'';
		margin-top: 15px;
		margin-right: 10px;   
		float: right; 
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 6px 3.5px 0 3.5px;
		border-color: #444 transparent transparent transparent;
	}
	.nav_submenu_more.active {
		background-color: lightblue; 
		background-color: #f17a01; 
		color: #fff;
	}
	.navMain ul .nav_submenu_more.active{
		background-color: transparent; 
		color: #444; 
	}
	.nav_submenu_more.active:after {
		margin-right: 10px;
		transform: rotate(180deg);
		-webkit-transform: rotate(180deg);
		transition: transform 0.5s;
	}
	.nav_submenu {
		height: auto;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.5s;    
	}
	.nav_submenu.active {
		height: auto;
		max-height: 2000px;
		overflow: hidden;
		transition: max-height ease-in 1s;   
	}
	ul.navMain ul li a {   
		border-bottom: 1px dashed #ccc; 
		background-color: white;  
		background: transparent;         
	}
	.nav_submenu a {
		/*color:green;*/
	}
	ul.navMain ul ul li a {    
		background-color: white; 
		background: transparent;          
	}
	.nav_submenu .nav_submenu {
		height: auto;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.5s;    
		padding-left: 0px;	
		padding-left:20px; /*第三層*/	
	}
	.nav_submenu .nav_submenu a:before {
		content: '-';
		margin-right: 10px;
	}  
	.nav_submenu .nav_submenu a {
		/*color:#fff;*/
	}
	.nav_submenu .nav_submenu.active {
		height: auto;
		max-height: 2000px;
		overflow: hidden;
		transition: max-height ease-in 1s;
	}
}
  
/*----------------------------------*\
	# main                     
\*----------------------------------*/
main {
	width:100%;	
	margin-top:110px; 
	min-height: calc(100vh - 110px - 100px); 
}
.topic {
	text-align: center;
	font-size: 1.7em;
	margin: 2em 0 .5em;
}
@media (max-width: 1025px) {
	main {
		margin-top:50px;
		min-height: calc(100vh - 50px - 50px); 
	}
	.topic {
		font-size: 1.4em;
		margin: 1em 0 .5em;
	}
 }
@media (max-width: 769px) {
	.topic {
		font-size: 1.4em;
		margin: 1.5em 0 .5em;
	}	
	.mt_more {		
		margin-top: 2em;
	}
 }

/*----------------------------------*\
    # slider(homeSlider + pdSlider)                     
\*----------------------------------*/
.homeSlider a:hover { color: #444; }
.pdSliderWrap {
	width:80%;
	margin:0 auto;
}
.homeSlider, 
.pdSlider {
    width:100%;
}
.homeSlider .item {
	z-index: 0;/*使在箭頭下面(取消箭頭可拿掉設定)*/
	width:100%;
	height: 80vh;
	background-size: cover; 
	background-position: center;
	display: flex;/*★*/ 
}
.homeSlider .item .center { 
	margin:auto; 	
} 
.homeSlider h2 { 
	font-size:3.4em; 
	color: darkgreen; 
}
.homeSlider p { font-size:1.4em; }

.pdSlider .list {
	width:100%; 
	height: 18vw;
	padding: 0 .5em;	
	background-size: cover; 
	background-position: center;
}
.pdSlider h2 {/*限一行*/
	margin-top: .5em;
	font-size:1.2em; 
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/*--------------homeSlider Arrow*/
.homeSlider .slick-prev  {
    left: 30px; top: 50%;
}
.homeSlider .slick-next {
    right: 30px; top: 50%;
}
.homeSlider .slick-prev {
    height:50px; width: 50px;  
    background: url(../images/aw.svg) no-repeat center center/100% auto;
    transform: rotate(180deg);
    opacity: .5;    
}
.homeSlider .slick-next {    
    height:50px; width: 50px;  
    background: url(../images/aw.svg) no-repeat center center/100% auto; 
    opacity: .5;    
} 
.homeSlider .slick-prev:hover {
    height:50px; width: 50px;  
    background: url(../images/aw.svg) no-repeat center center/100% auto;
    transform: rotate(180deg);
    opacity: 1;     
}
.homeSlider .slick-next:hover {    
    height:50px; width: 50px;  
    background: url(../images/aw.svg) no-repeat center center/100% auto;
    opacity: 1;     
}
/*--------------pdSlider Arrow*/
.pdSlider .slick-prev:before,
.pdSlider .slick-next:before {
    content: '　';
    width: 16px;
    height: 16px;
    border-right: 2px solid #55a222;
    border-bottom:2px solid #55a222;
    position: absolute;
    left:0;     
} 
.pdSlider .slick-prev:before{
    transform: rotate(135deg);    
}
.pdSlider .slick-next:before{ 
    transform: rotate(-45deg);     
}
/*--------------Animation==*/
@keyframes fadeInDownBig {
  from {opacity: 0;-webkit-transform: translate3d(0, -2000px, 0);transform: translate3d(0, -2000px, 0);}
  to {opacity: 1;-webkit-transform: none;transform: none;}
}
@keyframes fadeInUpBig {
  from {opacity: 0;-webkit-transform: translate3d(0, 2000px, 0);transform: translate3d(0, 2000px, 0);}
  to {opacity: 1;-webkit-transform: none;transform: none;}
}
.slick-current .item h2 {    
   animation:fadeInDownBig 1s ease;    
}
.slick-current .item p {    
   animation:fadeInUpBig 1s ease;    
}
.slick-current .item .center{ 	
	background: rgba(255,255,255,.4);
	padding: 10px;
	animation:fadeInUpBig .8s ease;
} 
@media (max-width: 1025px) {    
	.pdSlider .list { height: 18vw; }
	.homeSlider h2 { font-size:1.5em; }
	.homeSlider p { font-size:1em; }
	.homeSlider .item {	
		height: 50vh;
	}   
}
@media (max-width: 769px) {    
	.pdSlider .list { height: 34vw; }	  
}
@media (max-width: 415px) {    
	.pdSlider .list { height: 60vw; }	  
}
/*----------------------------------*\
    # 當季暢銷                     
\*----------------------------------*/
.homePd { width: 100%; }
.homePd li{
	float: left;
	display: inline-block;
	width:calc((100% - 0px)/4);
	height: 20vw;
	overflow: hidden;
	margin-bottom:0px;		
}
.homePd img { width:100%; height: 100%; }
@media (max-width: 1280px) {
	.homePd li{	
		width:calc((100% - 0px)/2);
		height: 40vw;	
	}
}
/*----------------------------------*\
	# 小農嚴選                     
\*----------------------------------*/
.farmer {
	width:100%; 
	margin: 4em auto 0; 
	background: #e7faaa; background: #dcecd6;
	padding: .5em 5% 5em;
}
.farmer li {
	float:left;
	display: inline-block;
	margin:10px 40px 10px 0;
	width: calc((100% - 80px)/3) ;
	height: 20vw;
	background: #fff;
	overflow: hidden;
	padding: 1em;
	-moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.24);
	-webkit-box-shadow:  0 1px 2px 0 rgba(0, 0, 0, 0.24);
	box-shadow:  0 1px 2px 0 rgba(0, 0, 0, 0.24);
}
.farmer li:nth-child(3n) {margin:10px 0 ; }
.farmer img {
	width:140px;
	height: 140px;
}
.farmer p {
	display: -webkit-box;
	-webkit-line-clamp: 4; /*行數*/
	-webkit-box-orient: vertical;
	white-space: normal;
	font-size: 1em;	
	height: 6em; 
	overflow: hidden;
}
@media (max-width: 1025px) {
	.farmer {	 
		margin: 2em auto 0;
	}
	.farmer li {	
		margin:10px 20px 10px 0;
		width: calc((100% - 20px)/2) ;		
	}
	.farmer img {width:70px;height: 70px;}
	.farmer li:nth-child(3n) {margin:10px 20px 10px 0; }
	.farmer li:nth-child(2n) {margin:10px 0 ; }
}	
@media (max-width: 769px) {
	.farmer {
		margin: 1em auto 0;
		padding: .5em 10px 2em;
	}
	.farmer li {	
		margin:10px 20px 10px 0;
		width: calc((100% - 20px)/2) ;
		height: 25vw;
		padding: 1em;
	}
	.farmer img {width:50px;height: 50px;}	
}
@media (max-width: 415px) {
	.farmer li {
		height: 36vw;
		padding: .5em;		
	}
	.farmer p{
		font-size: .8em;	
	}
}
@media (max-width: 376px) {
	.farmer li {
		height: 40vw;				
	}	
}
@media (max-width: 321px) {
	.farmer li {
		height: 47vw;				
	}	
}
/*----------------------------------*\
	# footer                     
\*----------------------------------*/
footer {
	width:100%;	
	/*background: #a6c684;*/
	background: linear-gradient(to right , #a6c684, #ddeace, #bed8a3);
	padding: 40px 0;
	height: 100px;/**/
}
.copyright {
	text-align: center;
	font-size: .7em;
	height: 20px;
	line-height: 20px;
}
@media (max-width: 1025px) {
	footer {
		padding: 15px 0;
		height: 50px;
	}
}

/*----------------------------------*\
	# back to top                     
\*----------------------------------*/
.cd-top {
	cursor: pointer;
	display: inline-block;
	height: 70px;
	width: 70px;
	border-radius: 50%;
	position: fixed;
	bottom: 110px;
	right: 10px;
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);  
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;	
	background: rgba(69, 133, 0, 0.7) url(../images/go-top.png)no-repeat center center/100% auto; 
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
	transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
}
.cd-top.cd-top--show,
.cd-top.cd-top--fade-out,
.cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
	transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
}
.cd-top.cd-top--show {  
	visibility: visible;
	opacity: 1;
}
.cd-top.cd-top--fade-out {  
	opacity: .5;
}
.cd-top:hover {
	background-color: #55a222;
	opacity: 1;
}
@media (max-width: 415px) {
	.cd-top {	
		height: 50px;
		width: 50px;	
		bottom: 20px;	
	}
}