 @charset "utf-8";
/*-----header-----*/
.addon {
	margin: 30px 10px;
}
.logo a {
	width: 300px;
}
nav ul li a {
	font-size: 1rem;
}
.inside{
	width: 100%;
	margin: 0 auto;
}
footer{
	padding: 30px 15px;
}
/*-----content-----*/
.L {
	margin: 0 20px 0 0;
	padding: 0 15px;
}
.R {
	width: 764px;
	margin: 0 20px 0 0;
}
.crumbs{
	margin: 20px 15px;
}
/* banner */
.banner img {
	width: 100%;
	height: 600px;
}
.banner .text {
	right: 0%;
}
.master .img{}
/* block */
.index_block{
	padding: 0 15px;
}
.master .img{
	height: 175px;
}
/* pd */
.pd_sale {
	padding: 0 15px;
}
/* other */
.other li a p {
	width: 90%;
}
/* news */
.news .row{
	flex-wrap: wrap;
}
.news_list{
	border: none;
}
.news_list li{
	width: 100%;
}
.news_list li:not(:last-child){
	border:none;
	border-bottom: 1px solid #efefef;
}
.news_list li a{
	padding: 15px 15px 5px 15px;
}
/*-----common-------*/
.common_pd ul li {
	padding: 10px;
}
.common_item h1 {
	font-size: 1.5rem;
}
.common_text {
	font-size: 12px;
}
.common_text > div > span {
	font-size: 1rem;
}
/*-----products-----*/
.pd_img {
	width: 330px;
	position: relative;
}
.pd_info{
	width: 400px;
}
.value div{
	width: 100%;
	text-align: right;
}
.quantity {
	width: 100%;
}
.pd_btn {
	width: 100%;
	margin: 15px 0;
}
/*浮動購物車*/
.side-cart {
	right: 0%;
}
/*註冊*/
a.submit {
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    padding: 5px 50px 5px 50px;
    color: #fff;
    border-radius: 4px;
    display: block;
    background: #ade17c url(../images/login_btn.png) repeat-x bottom left;
    border: 1px #98cf67 solid;
    margin: 20px auto;
    width: 40%;
}
/*購物車頁面*/
.steps-list{
	margin: 20px 15px;
}
.steps-list li{
	font-size: 18px;
}
.steps-list li.current {
	width: 33%;
}
/*購物車new*/
.cell.th {
	font-size: 17px;
	padding: 8px;
}
.cell.cart_name {
	width: 23%;
}
.cell.cart_img img{
	max-width: 100%;
}
/*購物車項目*/
.common_tit.margin {
	margin: 0 15px;
	display: block;
}
.cart_item{
	margin: 30px;
}
.cart_area {
	width: 54%;
}
.cart_list div.cart_name{
	width:38%;
	text-align: left;
	margin: 0 0 0 100px;
}
.cart_tit div.cart_name{
	width:50%;
	text-align: left;
}
.cart_num{
	width:20%;
	color: #000;
}
.add_item .small_item {
	width: 21%;
	float: left;
	margin: 10px 36px 20px 0;
}
.cart_tit div.cart_num {
	width: 15%;
	color: #000;
}
.cart_tit div.cart_name_order {
	width: 47%;
	text-align: left;
}
.total{
	margin: 0;
}
.add_item .small_item {
	width: 21%;
	float: left;
	margin: 10px 36px 20px 0;
}
/*會員中心*/
.member {
	margin: 15px 0px;
	padding: 0 15px;
}
ul.member_sub a li {
	color: #666;
	font-size: 15px;
	line-height: 130%;
	text-align: center;
}
ul.member_sub a:hover li , ul.member_sub a.select li{
	cursor: pointer;
	border-bottom: 5px solid #5fa71f;
}
ul.member_sub li.order {
    background: url(../images/icon_order.png) no-repeat 20% center;
}
ul.member_sub li.profile {
    background: url(../images/icon_profile.png) no-repeat 3% center;
}
ul.member_sub li.inter {
    background: url(../images/icon_inter.png) no-repeat 20% center;
}
ul.member_sub li.ticket {
    background: url(../images/icon_ticket.png) no-repeat 25% center;
}
ul.member_sub li.bonus {
    background: url(../images/icon_bonus.png) no-repeat 25% center;
}
.member_item {
    margin: 0 10px 30px 10px;
}
.member_tit{
    font-size: 15px;
}
.m_tit{
    min-width: 10.5%;
    padding:10px 15px;
}
.member_area {
    font-size: 15px;
}
.m_text a {
    color: #5fa71f;
    font-size: 15px;
    font-weight: bold;
}
/*結帳*/
.half{
	width: 100%;
	margin: 0;
}
/*禮卷*/
.t_tit,.t_text{
    width:14%;
}
/*退貨*/
.return_name{
	width:30%;
}
.return_backnum{
	width:20%;
	padding: 0 15px;
}
/*歷史紀錄*/
.history li {
	width: 18.8%;
	margin: 0 1% 1% 0;
	padding: 10px;
}
.history li.item{
    padding: 0 20px 20px 20px;

}
@media screen and (max-width:768px) {
	/*-----header-----*/
	.addon {
		margin: 20px 10px;
		font-size: .8rem;
	}
	.addon li,.addon li.index{
		margin: 0 15px 0 0;
	}
	.addon li a.pd_list, .addon li a.pd_search {
		padding: 8px 10px;
	}
	.logo a {
		width: 220px;
	}
	/*-----footer-----*/
	footer div {
		flex: none;
		width: 100%;
		text-align: center;
	}
	/*-----content-----*/
	.L{
		display: none;
	}
	.R {
		width: 100%;
		padding: 0 15px;
		margin: 0;
	}
	/* banner */
	.banner img {
		width: 100%;
		height: auto;
	}
	/* index_block */
	.index_block {
		padding: 0 15px;
		margin: 0;
	}
	.master .img {
		height: 125px;
	}
	/* pd */
	.pd {
		flex-wrap: wrap;
		border-bottom: none;
		border-right: none;
	}
	.pd li {
		width: 50%;
		border-bottom: 1px solid #eee;
	}
	.pd li:nth-child(odd){
		border-right: 1px solid #eee;
	}
	/*-----products-----*/
	.pd_img, .pd_info {
		width: 100%;
	}
	#gallery{
		margin: 0 auto;
	}
	/*-----common-----*/
	.common_pic img {
		width: 100%;
		height: auto;
		max-width: 100%;
	}
	.common_text {
		font-size: 1rem;
	}
	.common_pd ul li, .common_pd ul li:nth-child(4n) {
		max-width: 100%;
		width: 48%;
		margin: 0 4% 4% 0;
		padding: 10px;
	}
	.common_pd ul li:nth-child(even) {
		margin: 0 0 4% 0;
	}
	 /*產品分類(四個)*/
	.small_item{
	 	width:22.5%;
	 	float:left;
	 	margin:10px 8px 20px 0;
	 }
	.small_item .pd_pic , .small_item .pd_pic img{
	  	width:100%;
	}
	.small_item .p_text{
		border-top: 1px dashed #ccc;
		padding:5px 0;
	}

	/*購物車項目*/
	.steps-list {
		margin: 20px 0;
	}
	.cell {
		font-size: 12px;
		padding: 10px 1px;
	}
	.cell.th {
		font-size: 12px;
		padding: 5px;
	}
	.cart_area {
		width: 45%;
	}
	.cart_item {
		margin: 30px 0;
		line-height: 150%;
	}
	.cart_list .cart_area {
		width: 57%;
		float: right;
	}
	.cart_list div.cart_no, .cart_tit div.cart_no {
		width: 16%;
		text-align: left;
	}
	.cart_tit div.cart_name{
		width:43%;
		text-align: left;
	}
	.cart_list div.cart_name {
		width:25%;
		text-align: left;
	}
	.cart_tit div.cart_num {
		width: 17%;
		color: #000;
	}
	.cart_list div .cart_num {
		width: 30%;
		color: #000;
	}
	.cart_name p {
		width: 92%;
		margin: 0 5px 0 5px;
	}
	.cart_list div.cart_img, .cart_tit div.cart_img {
		width: 14%;
		float: left;
	}
	.cart_msg {
		padding: 0 15px;
	}
	.cart_tit div.cart_del {
		width: 8%;
	}
	.cart_2 .cart_list div.cart_name {
		width: 35%;
		text-align: left;
	}
	.cart_2 .cart_list .cart_area {
		width: 47%;
		float: right;
	}
	.add_item .small_item {
		width: 20%;
		float: left;
		margin: 10px 36px 20px 0;
	}
	/*登入*/
	.login .L, .login .R {
	    float: right;
	    width: 100%;
	}
	.login .L {
	    display: block;
	    background: none;
	}
	/*會員中心*/
	ul.member_sub li a {
		width: 23%;
		margin: 0 1%;
		padding: 10px;
		font-size: 15px;
	}
	.member_item {
	    margin: 0 10px 30px 10px;
	}
	.member_tit{
	    font-size: 14px;
	    margin:15px auto;
	}
	.m_tit{
	    min-width: 10%;
	    padding:10px 5px;
	}
	.member_area {
	    font-size: 14px;
	    padding: 10px 0;
	    margin: 5px 0;
	}
	.m_text{
	    float:left;
	    margin:0;
	    padding:10px 5px;
	    text-align:center;
	    min-width: 11%;
	}
	.m_text a{
	    font-size: 14px;
	    font-weight: bold;
	}
	.order_num{
	    width:15%;
	    text-align: left;
	}
	.order_date {
	    width: 12%;
	    text-align: left;
	}
	.ticket_num{
	    width:13%;
	}
	.return{
	    width:16%;
	}
	.member_area {
	    font-size: 14px;
	    padding: 10px 0;
	    text-align: center;
	    margin: 5px 0;
	}
	/*退貨*/
	.return_item{
	    margin: 20px 10px;
	    line-height: 150%;
	}
	.return_tit {
	    font-size: 17px;
	}
	.return_box{
	    width:6%;
	}
	.return_name{
	    width:25%;
	}
	.return_num{
	    width:5%;
	}
	.return_price{
	    width:10%;
	}
	.return_backnum{
	    width:20%;
	}
	.r_number {
	    padding: 0 5px;
	    font-size: 20px;
	    color: #ff5722;
	    display: inline-block;
	    text-align: center;
	    margin: 0 5px;
	    width: 60%;
	}
	.return_result{
	    width:16%;
	}
	select#reason_id {
	    width: 100%;
	}
	input#return_explain {
	    width: 100%;
	}
	.return_explain{
	    width:16%;
	}
	/*搜尋*/
	.s_product .small_item {
	    width: 31.5%;
	    float: left;
	    margin: 10px 8px 20px 0;
	}
	.s_product .small_item .pd_pic{
	    width: 168px;
	    height: 168px;
	}
	.s_product .small_item .pd_pic img {
	    width: 100%;
	    height: 168px;
	}
	.item ,.s_product .small_item.item{
	    width: 100%;
	    float: left;
	    margin: 10px 20px 20px 0;
	    border-bottom: 1px solid #ccc;
	}
	.item .pd_pic, .s_product .small_item.item .pd_pic {
	    width: 30%;
	    float: left;
	}
	.item .pd_pic, .s_product .small_item.item .pd_pic img {
	    width: 100%;
	    height:auto;
	    float: left;
	}
	.item .pd_list ,.s_product .small_item.item .pd_list {
	    float: right;
	    width: 68%;
	}
	.item .p_tit ,.s_product .small_item.item .p_tit {
	    color: #777;
	    font-size: 19px;
	    margin: 5px 0;
	    font-weight: bold;
	    height: 50px;
	    overflow: hidden;
	}
	.common_area img{
	    max-width: 100%;
	}
	/*歷史紀錄*/
	.history li {
		width: 24%;
		margin: 0 1% 1% 0;
		padding: 10px;
	}
}