
html, body {
	font-family: "微軟正黑體";
}
section {
	min-height: auto;
	padding-bottom: 0;
}
a:hover {
	font-weight: normal;
}

.checkbox {
	margin-top: 0;
	margin-bottom: 0;
}
.checkbox label, .radio label {
	font-size: 11pt;
	padding-left: 0;
}
.check-radio input[type=checkbox]:checked:after {
	margin-left: 3px;
}
/*******category**********************************/
.prd-catalog  {
	margin: 0 auto;
	padding: 0;
	position: relative;
}
.prd-category {
	position: relative;
	padding-bottom: 20px;
}
.prd-catalog .page-title h1 {
	position: relative;
    font-size: 26pt;
    font-weight: bold;
    color: #d6cb44;
    margin: 0px;
    padding: 30px 0 40px;
    /*text-transform: uppercase;*/
}
.prd-catalog .page-title h1:after  {
    content: '';
    position: absolute;
    left: calc(50% - 30px);
    bottom: 25px;
    background:  rgba(183,199,149, 0.5);
    width: 60px;
    height: 3px;
}
@media (max-width:767px) {
	.prd-catalog .page-title h1 {
		font-size: 20pt;
	}
	.prd-catalog .page-title h1:after  {
		 left: calc(50% - 15px);
		  width: 30px;
	}
}
.prd-catalog .page-title h1 .title {
	padding-bottom: 5px;
}
.prd-catalog .page-title h1 .view-more {
	font-size: 14px;
	color: #b7c795;
	/* display: inline-block; */
}
.prd-catalog .prd-grid {
	padding-left: 8px;
	padding-right: 8px;
}
.prd-catalog .prd-grid [class^='col-sm'] {
	padding-left: 3px;
	padding-right: 3px;
}
@media (max-width:767px) {
	.prd-catalog .prd-grid [class^='col-sm'] {
		padding-left: 7px;
		padding-right: 7px;
	}
}
.prd-catalog .prd {
	position: relative;
    margin-bottom: 10px;
    text-align: center;

}
.prd-catalog .prd .prd-item { 
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 5px;
}
.prd-catalog .prd .prd-item:hover {
	border-color: rgba(183,199,149, 0.5); /*#b7c795;*/
}
.prd-catalog .prd .prd-item .prd-image-info  {
	position: relative;
	overflow: hidden;
	float: none;
}
.prd-catalog .prd .prd-item .prd-image-info .prd-image img {
    margin: 0 auto;
	width: 100%;
	/*
	height: auto;
	border: 1px solid #e9f3d5;
	*/
	border-radius: 4px;
}
.prd-catalog .prd .prd-item:hover .prd-image-info .prd-image img {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.prd-catalog .prd .prd-item .prd-image-info .prd-promotion-info {
	position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
	height: auto;

	display: inline-block;
    background: rgba(0,0,0,0.5);	
    padding: 6px;
}
.prd-catalog .prd .prd-item .prd-image-info .prd-promotion-info span {
	color: white;
	font-size: 14px;
}
.prd-catalog .prd .prd-item .prd-image-info .countdown {
    position: absolute;
    margin: 0;
    bottom: 0px;
    width: 100%;
	color: #fff;
    line-height: 15px;
    background: rgba(0,0,0,0.5);
}
.prd-catalog .prd .prd-item .prd-image-info .countdown p {
	color: white;
	font-size: 14px;
	margin: 5px;
}
.prd-catalog .prd .prd-item .prd-image-info .countdown span {
    background: #0ab3a3;
    text-align: center;
    min-width: 35px;
    display: inline-block;
    margin: 0 2px 0px 0;
    padding: 5px;
}
.prd-catalog .prd .prd-item .prd-image-info .countdown.sale span {
	background: #fd7979;
}
.prd-catalog .prd .prd-item .prd-image-info .countdown.preorder span {
	background: #f28c1a;
}
.prd-catalog .prd .prd-item .prd-image-info .countdown span strong {
    font-size: 13px;
}
.prd-catalog .prd .prd-item .prd-image-info .countdown span b {
    display: block;
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 300;
    background: #0ab3a3;
    padding-top: 3px;
}
.prd-catalog .prd .prd-item .prd-image-info .countdown.sale span b {
	background: #fd7979;
}
.prd-catalog .prd .prd-item .prd-image-info .countdown.preorder span b {
	background: #f28c1a;
}
.prd-catalog .prd .prd-item .prd-image-info .countdown i {
    font-style: normal;
    padding: 10px 0 0 3px;
    float: left;
    vertical-align: bottom;
    display: none;
}
@media (max-width:767px) {
	.prd-catalog .prd .prd-item .prd-image-info .countdown span { min-width: 55px }
	.prd-catalog .prd .prd-item .prd-image-info .countdown span strong { font-size: 16px }
	.prd-catalog .prd .prd-item .prd-image-info .countdown span b { font-size: 14px }
}

.prd-catalog .prd .prd-item .prd-info .prd-name {
    font-size: 15px;
    margin: 10px 0 4px;
    /** 將文字固定在二行，超過的隱藏起來，並顯示...  start **/
	height: 40px;
	line-height: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    /** 將文字固定在二行，超過的隱藏起來，並顯示...  end **/
}
@media (max-width:767px) {
	.prd-catalog .prd .prd-item .prd-info .prd-name { height: auto; }
}
.prd-catalog .prd .prd-item .prd-info .price-box,
.product .prd-info .price-box {
    color: #909090;
    font-size: 13px;
    margin: 0 0 5px;
    text-align: center;
}
.prd-catalog .prd .prd-item .prd-info .price-box>.old-price, 
.prd-catalog .prd .prd-item .prd-info .price-box>.sale-price, 
.product .prd-info .price-box>.old-price, 
.product .prd-info .price-box>.sale-price {
	margin: 0 7px;
	display: block;
}
.prd-catalog .prd .prd-item .prd-info .price-box .price, 
.product .prd-info .price-box .price {
	font-weight: 300;
}
.prd-catalog .prd .prd-item .prd-info .price-box .price-label,
.product .prd-info .price-box .price-label {
	font-size: 12px;
}
.prd-catalog .prd .prd-item .prd-info .price-box .old-price,
.product .prd-info .price-box .old-price {
	color: #888;
	text-decoration: line-through;
	font-size: 15px;
}
.prd-catalog .prd .prd-item .prd-info .price-box .sale-price,
.product .prd-info .price-box .sale-price {	
	color: #fd6b6b;
	font-size: 20px;
}

.prd-catalog .prd .prd-item .prd-label-info {
	position: absolute;
    top: 10px;
}
.prd-catalog .prd .prd-item .prd-label-info span:before, 
.prd-catalog .prd .prd-item .prd-label-info span:after {
    border-color: transparent transparent transparent #0ab3a3;
    border-style: solid;
    border-width: 9px 0 0 8px;
    bottom: 0;
    content: "";
    height: 0;
    position: absolute;
    right: -8px;
    width: 0;
}
.prd-catalog .prd .prd-item .prd-label-info span:after {
    border-color: #0ab3a3 transparent transparent;
    border-width: 9px 8px 0 0;
    position: absolute;
    top: 0;
    bottom: auto;
}
.prd-catalog .prd .prd-item .prd-label-info span {
    display: block;
    background: #0ab3a3;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.14);
    -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.14);
    color: #ffffff;
    font-size: 12px;
    line-height: 16px;
    padding: 2px 8px;
	margin-bottom: 8px;
    position: relative;
    white-space: nowrap;
    top: 10px;
    z-index: 2;
}
.prd-catalog .prd .prd-item .prd-label-info span.sale:before {
    border-color: transparent transparent transparent #fd6b6b;
}
.prd-catalog .prd .prd-item .prd-label-info span.sale:after {
    border-color: #fd6b6b transparent transparent;
}
.prd-catalog .prd .prd-item .prd-label-info span.sale {
    background: #fd6b6b;
}
.prd-catalog .prd .prd-item .prd-label-info span.preorder:before {
    border-color: transparent transparent transparent #f38d1a;
}
.prd-catalog .prd .prd-item .prd-label-info span.preorder:after {
    border-color: #f38d1a transparent transparent;
}
.prd-catalog .prd .prd-item .prd-label-info span.preorder {
    background: #f38d1a;
}

.prd-catalog .odd-row {
	background: #b7c79514;
}

.separator {
    margin: 20px 0 0 0;
    padding: 20px 0 0 0;
    border-top: 1px solid #e5e5e5;
   }
   .help-block {
   		font-size: 10pt;
   }

/****** .header-info *******/
.shop .header-info  h1 {
	font-size: 26pt;
	font-weight: bold;
	margin: 0;
	padding: 40px 20px 30px;
}
 .shop .header-info h1:before {
    display: inline-block;
    font-family: "FontAwesome";
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    content: "\f291";
    font-size: 35px;
    color: #A3C75A;
    padding-right: 0.244em;
} 

.shop .header-info {
	text-align: center;
}
.shop .shop-cart .header-info h1:before {
    content: "\f291";
}
.shop .checkout .header-info h1:before {
    font-family: "Material Design Icons";
    content: "\F12D";
    font-size: 45px;
}
.shop .order .header-info h1:before {
	content: "\f1da";
}
.shop .order-detail .header-info h1:before {
	font-family: "Material Design Icons";
	content: "\F14E";
	font-size: 45px;
}
@media (max-width:767px) {
	.shop .header-info h1 {
		font-size: 22pt;
		padding-top: 20px;
		padding-bottom: 20px;
	}
}
/********* empty msg ********/
.empty-msg {
	text-align: center;
}
.empty-msg  h3 {
	font-size: 26pt;
	color: #A3C75A;
	margin: 0;
	padding: 30px 10px;
}
.empty-msg h3:before {
    display: block;
	font-family: "FontAwesome";
    content: "\f23d";
    font-size: 50pt;
    color: #A3C75A;
} 
.empty-msg p {
	padding-bottom: 15px;
	line-height: 35px;
}
/*
.checkout .empty-msg h3:before {
	font-family: "Material Design Icons";
    content: "\F12D";
}
.shop-cart .empty-msg h3:before {
	font-family: "FontAwesome";
    content: "\f23d";
} 
.order .empty-msg h3:before {
	font-family: "Material Design Icons";
    content: "\F14D";
} 
*/
.order-result .empty-msg.bind h3:before,
.order-result .empty-msg.success h3:before {
	content: '\f058';
	font-family: "FontAwesome";
	color: rgb(var(--success-color));
}
.order-result .empty-msg.bind h3,
.order-result .empty-msg.success h3 {
	color: rgb(var(--success-color));
} 
.order-result .empty-msg.failed h3:before {
	content: '\f057';
	 font-family: "FontAwesome";
	 color: rgb(var(--danger-color));
}
.order-result .empty-msg.failed h3 {
	color: rgb(var(--danger-color));
} 
.order-result .empty-msg.question h3:before {
	content: '\f059';
	font-family: "FontAwesome";
	color: rgb(var(--warning-color));
}
.order-result .empty-msg.question h3 {
	color: rgb(var(--warning-color));
} 
/********** btn ************/
 .shop .btn {
	/*border-radius: 0;*/
	padding: 12px 15px;
}
.shop .btn-default, .shop .btn-success {
	transition: all,0.2s,ease-in-out;
	box-shadow: 0 5px 5px rgba(0,0,0,0.14)  !important;
	margin-right: 10px;
}
 .shop .btn-success  {
	background: #648420 !important;
	border-color:  #648420;
	color: white;
}
 .shop .btn-success:hover {
	background: #b5cc86 !important;
	border-color:  #b5cc86;
	color: #273900;
}	
@media (max-width:767px) {
	.shop .btn {
		margin-bottom: 10px;
	}
}	
/********* numberInput ******/
.number-input-container  {
	margin-bottom: 5px;
}
.number-input-container .input-group .form-control,
.number-input-container .btn {
	box-shadow: 0 5px 5px rgba(0,0,0,0.14)  !important;
	border: 1px solid #e5e5e5;
	border-radius: 0;
	height: 45px;
	font-size: 14pt;
}
.number-input-container .btn.btn-minus {
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}
.number-input-container .btn.btn-plus {
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;	
}
.number-input-container .btn {
	background: #648420 !important;
	border-color:  #648420;
	border-radius: 0;
	color: white;
	transition: none;
	box-shadow: none;
	padding: 6px 12px;
}
.number-input-container .btn:hover {
	background: #b5cc86 !important;
	border-color:  #b5cc86;
	color: #273900;
}	
/************ box ***************/
.shop .box.box-success {
  	border-top-color: #648420;
}	
.shop .box .box-body {
	padding: 20px 30px;
}
@media (max-width:991px) {
	.shop .box .box-body {
		padding-left: 15px;
		padding-right: 15px;
	}
}
/************** table ****************/
.shop .table-shop {
	border: 1px solid #dfdfdf;
	margin-bottom: 0;
	width: 100%;
}
.shop .table-shop>thead>tr>th {
	color: white;
	background-color: #648420/*#e9e9e9*/;
	border: 1px solid #dfdfdf;
	padding: 12px 20px 13px;
	write-space: nowrap;
} 
.shop .table-shop>tbody>tr>td {
    vertical-align: top;
	border-right: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
	padding: 20px;
}
@media only screen and (max-width: 767px) {
	.shop .table-shop {
	    float: none;
	    width: 100%;
	}
	.shop .table-shop thead {
  		display: none;
	}
	.shop .table-shop tr {
	    display: block;
	    margin-bottom: 10px;
	    padding-bottom: 10px;
	    position: relative;
	    width: 100%;
	}
	.shop .table-shop>tbody>tr>td {
 		border: none;
 		display: block;
 		width: 100%;
	}
	.shop .table-shop>thead>tr>th, 
	.shop .table-shop>tbody>tr>td  {
    		padding: 7px 6px;
    }
	.shop .table-shop td[data-rwd-label] {
	    padding-left: 15px;
	    margin-bottom: 6px;
		display: block;
		text-align: center;
		width: 100%;
	}
	.shop .table-shop  td[data-rwd-label]:before {
	    content: attr(data-rwd-label) ":";
	    display: block;
	    font-size: 12px;
	    color: #273900;
	    padding: 0;
	    margin: 0;
	    text-transform: uppercase;
	}
}
@media only screen and (max-width: 991px) {
	.shop .table-shop>thead>tr>th, 
	.shop .table-shop>tbody>tr>td  {
    		padding-left: 6px;
    		padding-right: 6px;
    }
}
.shop .table-shop .btn {
	padding-top: 8px;
	padding-bottom: 8px;
}
.shop .product-id {
	font-size: 12px;
	color: #555;
}
.shop details {
	font-size: 11pt;
}
.shop details summary {
		margin-top: 10px;
}
.shop pre {
	margin-left: 7px;
	color: #888;
	border-width:0;
	background-color: inherit;
}

.shop .btn-box small a {
	color: inherit;
	border-bottom-width: 1px;
	border-bottom-style: solid;
}
.shop .btn-box small a:hover {
	border-bottom-width: 3px;
}

/***************************************************************/
/******************** search result *****************************/
/***************************************************************/
.shop .search-keyword {
	font-size: 20px;
	font-weight: bold;
}
.shop .search-result { padding-top: 30px; padding-bottom: 60px;}

.shop .search-result .info .bar { padding-bottom: 20px; }

.shop .search-result .info .tags { font-size: .88em; margin-bottom: 1.5em; }
.shop .search-result .info .tags ul { padding: 0; margin: 0; }
.shop .search-result .info .tags ul li { display: block; float: left; line-height: 1.85em; margin: .3em .6em .4em 0; font-weight: 400; }
.shop .search-result .info .tags ul li a { padding: .45em .75em; border-radius: 6px;}
.shop .search-result .info .tags a { background-color: #aaa; color: #fff !important; border:none; }
.shop .search-result .info .tags a:hover { background-color: #ccc; color: #333 !important; border:none; }

.shop .search-result .result .total-count { font-size: 14px; margin-bottom: 20px; padding-bottom: 5px; border-bottom: 2px solid #648420; }
.shop .search-result .result .total-count .count { font-size: 30px; }
.shop .search-result .result .empty-msg h3:before { content: "\e3ac"; }


