﻿#shopwrap a:link,
#shopwrap a:visited,
#shopwrap a:hover,
#shopwrap a:active {
	text-decoration: none;
}

.dislay_inline_block {
	display: inline-block;
}

#shopwrap{
	position:relative;
	margin:0 auto;
	width: auto;
}

#shopwrap table {
	border-collapse:separate;
	border-spacing:0;
}

#shopwrap caption,
#shopwrap th,
#shopwrap td {
	font-weight: normal;
}

.top{
	position:relative;
	width: auto;
	color:#333;
	background-color:#ebebeb;
	height: 35px;
	font-size: 0px;
}
.member_part{
	position: absolute;
}
.search_part{
	position: absolute;
	right: 0;
}
.shoptop{
	position:relative;
	padding:5px;
	margin-bottom:10px;
	margin-top:5px;
	color:#333;
	line-height:20px;
	font-size:15px;
	border-bottom:1px solid #999;
}
.shoptop a{
	color:#333;
	font-size:15px;
}
.shopbottom{
	margin:0 auto;
	position:relative;
	width: auto;
	padding:5px;
	margin-top:10px;
	color:#333;
	line-height:20px;
	font-size:11px;
	border-top:1px solid #999;
}
.shopbottom a{
	color:#333;
	font-size:11px;
}
/*商品目錄*/
.sidebar {
	position:relative;
	width:180px;
	border:1px solid #CCC;
	padding:5px;	
}
.sidebar h5 {
	display:block;
	line-height:30px;
	font-size:15px;
	font-weight:normal;
	color:#333;
	text-align:center;
	border-bottom:1px solid #666;
	margin: 0;
}

.sidebar p {
	line-height:28px;
	border-bottom:1px solid #E4E4E4;
}

.menu{
	line-height:28px;
}
.menu ul{
	margin:0;
	padding:0;
	list-style:none;
}
.menu1{
	display:block;
	line-height:28px;
	border-bottom:1px solid #E4E4E4;
}
.menu1 ul{
	display:block;
	line-height:28px;
	margin-bottom:3px;
	background-color:#F1F1F1;
}
.menu1 li{
	display:block;
	line-height:28px;
	padding-left:14px;
	border-bottom:1px solid #FFF;
}
.menu ul.submenu{display:none;}
.menu ul.submenu{
	margin-left:14px;
	list-style:none;
	color:#333;
}

.select {
	background-color:#999;
}
.select a{
	color: #FFF;
}

/*推薦*/
.promo{
	width:180px;
	border-bottom:1px solid #CCC;
}
.promo img{
	border:1px solid #CCC;
	width:170px;
	height:170px;
	margin:5px;
}
.promo p{
	font-size:13px;
	color:#666;
	text-align:center;
	margin-bottom:3px;
}
/*排行*/
.ranking {
}
.ranking p{
	font-size:13px;
	color:#666;
	line-height:26px;
	text-align:left;
	margin:0 10px 3px 10px;
	border-bottom:1px solid #CCC;
}

/*瀏覽*/
.sidebar_s{
	position:relative;
	width:122px;
	border:1px solid #CCC;
	padding:5px;	
}
.sidebar_s h5{
	display:block;
	line-height:30px;
	font-size:15px;
	font-weight:normal;
	color:#333;
	text-align:center;
	border-bottom:1px solid #666;
	margin: 0;
}
.related_p{
	display: inline-block !important;
	width:110px;
	margin:0 auto;
}
.related_p img {
	border:1px solid #CCC;
	max-width:146px;
	max-height:146px;
	margin:5px;
	vertical-align: middle;
}

#product_related div {
	display: block;
	width:150px;
	border: 0px;
	text-align: center;
}

.view{
	margin:0 auto;
}
.view img{
	border:1px solid #CCC;
	max-width:100px;
	max-height:100px;
	margin:5px;
	vertical-align: middle;
}
/*.view p{
	font-size:13px;
	color:#666;
}*/

/*商品主區*/
.shopmain{
	width:669px;
	height:245px;
	margin-bottom:5px;
	border-bottom:1px solid #CCC;
}
.item{
	margin-top:10px;
}
.item h1{
	background-color:#999;
	color:#FFF;
	font-size:14px;
}
.items{
	width:166px;
	display: inline-block;
	color:#333;
	/*border-bottom:1px solid #CCC;*/
	vertical-align: top;
}
.items img{
	border:1px solid #CCC;
	max-width:156px;
	max-height:156px;
	margin:5px;
	vertical-align: middle;
}
.items p{
	font-size:13px;
	text-align:center;
	margin:3px 5px;
}

.items div div {
	position: relative;
}

.items .item_bonus_img {
	position: absolute;
	top: 1px;
	right: 1px;
	border: 0px;
}


/*單項介紹*/
.product{
	position:relative;
	margin-bottom:10px;
}

.pro_image {
	float:left;
}

.pro_l{
	width:460px;
	position:relative;
}
.pro_l div {
	height:360px;
	width: 460px;
	margin:0 5px 5px 5px;
	border:1px solid #CCC;
	margin: 0 auto;
	text-align: center;
	vertical-align: middle;
	display: table-cell;
}

.pro_l div img {
	max-width:448px;
	max-height:358px;
}

.pro_l .bonus_img {
	top: 1px;
	right: 1px;
	position: absolute;
}

.pro_zoom{
	width: 460px;
	height: 90px;
	margin: 0 auto;
	border: 0px solid #CCC;
	padding:0 5px;
}
.pro_zoom img{
	/* width:80px;
	height:80px; */
}
.pro_r{
	color:#333;
	margin:10px 0px 10px 500px;
	font-size:14px;
	vertical-align: top;
}
.pro_r h1{
	font-size:16px;
	line-height:30px;
	text-align:left;
	border-bottom:1px solid #CCC;
}
.pro_r p{
	line-height:23px;
	text-align:left;
	margin:5px 0 5px 16px;
}
.line{
	border-top:1px solid #CCC;
	line-height:10px;
	margin:10px 0;
}
.pluspur{
	position:relative;
	min-height:260px !important ;
	height:auto;
	padding:18px;
	/*background-color:#FFF7DB;*/
	margin-bottom:10px;
	border:1px solid #CCC;
}

.bonus_login_first {
	color: red;
	font-weight: bold;
	margin: 0 auto;
	text-align: center;
}
/*登入*/
.loginarea{
	width:400px;
	/*height:320px;*/
	margin:40px auto;
	padding:20px;
	border:1px solid #CCC;
	border-radius:4px;
	box-shadow:0 0 12px #999;
	color:#333;
	
}
.loginarea h1{
	font-size:16px;
	text-align:center;
	border-bottom:1px solid #CCC;
	padding-bottom:10px;
	margin-bottom:16px;
}
.loginarea p{
	font-size:16px;
	line-height:45px;
}

/*註冊*/
.joinarea{
	width:760px;
	/*height:320px;*/
	margin:40px auto;
	padding:20px;
	border:1px solid #CCC;
	border-radius:4px;
	box-shadow:0 0 12px #999;
	color:#333;	
}
.joinarea h1{
	font-size:16px;
	text-align:center;
	border-bottom:1px solid #CCC;
	padding-bottom:10px;
	margin-bottom:16px;
}
.joinarea p{
	font-size:16px;
	text-align:center;
	line-height:45px;
}
.joinarea table{
	/*border-bottom:1px solid #CCC;*/
}
.joinarea th, .joinarea td{
	font-size:16px;
	padding:10px 12px;
	border-bottom:1px solid #FFF;
}
.joinarea th{
	background-color:#DBDBDB;
	text-align:center;
}
/*購物車*/
.cartarea{
	width: 95%;
	/*height:320px;*/
	margin:40px auto;
	padding:20px;
	border:1px solid #CCC;
	border-radius:4px;
	box-shadow:0 0 12px #999;
	color:#333;
}
.cartarea h1{
	font-size:16px;
	text-align:center;
	border-bottom:1px solid #CCC;
	padding-bottom:10px;
	margin-bottom:16px;
}
.cartarea p{
	font-size:16px;
	text-align:center;
	line-height:45px;
}
.cartarea table{
	/*border-bottom:1px solid #CCC;*/
}
.cartarea th{
	font-size:14px;
	padding:6px 12px;
}
.cartarea th{
	background-color:#DBDBDB;
	text-align:center;
	border-right:1px dashed #FFF;
}
.cartarea td{
	font-size:14px;
	line-height:28px;
	border-bottom:1px dashed #CCC;
	padding:3px 12px;
	text-align:center;
}


/* root element for tabs  */
ul.tabs {
    list-style:none;
    margin:0 !important;
    padding:0;
    border-bottom:1px solid #333;
    height:31px;
}

/* single tab */
ul.tabs li {
	float:left;
	text-indent:0;
	padding:0;
	margin:0 !important;
	list-style-image:none !important;
	/* background:url(../../img/button/button_o.jpg)no-repeat; */
	top:0px;
}

/* link inside the tab. uses a background image */
ul.tabs a {
	/* background:url(../../img/button/button_com.jpg)no-repeat; */
	font-size:14px;
	display:block;
	height:30px;
	line-height:30px;
	/* width: 134px; */
	text-align:center;
	text-decoration:none;
	color:#333;
	padding: 0px 5px;
	margin: 0px 1px;
	position:relative;
	top:0px;
	border: 1px solid #AAA;
	border-bottom: 0px;
	border-radius: 3px 3px 0px 0px;
}

ul.tabs a:active {
	outline:none;
}

/* when mouse enters the tab move the background image */
ul.tabs a:hover {
	display:block;
	/*background-position: -420px -31px;*/
	color:#333;
	/* background:url(../../img/button/button_o.jpg)no-repeat; */
	background-color: #DDD;
}

/* active tab uses a class name "current". its highlight is also done by moving the background image. */
ul.tabs a.current, ul.tabs a.current:hover, ul.tabs li.current a {
	/* background-position: -420px -62px; */
	cursor:default !important;
	color:#000 !important;
	background-color: #DDD;
}

/* Different widths for tabs: use a class name: w1, w2, w3 or w2 */

/* width 1 */
ul.tabs a.s { background-position: -553px 0; width:81px; }
ul.tabs a.s:hover { background-position: -553px -31px; }
ul.tabs a.s.current  { background-position: -553px -62px; }

/* width 2 */
ul.tabs a.l { background-position: -248px -0px; width:174px; }
ul.tabs a.l:hover { background-position: -248px -31px; }
ul.tabs a.l.current { background-position: -248px -62px; }


/* width 3 */
ul.tabs a.xl { background-position: 0 -0px; width:248px; }
ul.tabs a.xl:hover { background-position: 0 -31px; }
ul.tabs a.xl.current { background-position: 0 -62px; }


/* initially all panes are hidden */
.panes .pane {
	display:none;
}
.panes div {
	display:none;
	padding:15px 10px;
	border:1px solid #333;
	border-top:0;
	font-size:14px;
}

.panes div div {
	padding: 0;
	display: block;
	border: 0px;
}

.panes > div {
	overflow: hidden;
}

/**/
/* 公用 */
.justify{
	text-align:justify;
	text-justify: inter-ideograph;
}
.align_left{
	float:left;
	margin-right:8px;
}

.align_middle {
	margin-left: 180px;
	margin-right:8px;
}

.align_middle_index {
	margin-left: 185px;
	margin-right: 125px;
}

.align_right{
	float:right;
}
.clear{
	clear: both; 
}
.red{
	color:#C00;
	font-weight:bold;
}
.largeprice{
	color:#C00;
	font-weight:bold;
	font-size:20px;
}
.originalprice{
	text-decoration:line-through;
}
.small_w{
	font-size:12px;
	color:#960;
}
.mid_w{
	text-align:center;
}
.left_w{
	text-align:left;
}
/*確認購物*/
.checkarea{
	width: 95%;
	/*height:320px;*/
	margin:0 auto 40px auto;
	padding:20px;
	border:1px solid #CCC;
	border-radius:4px;
	box-shadow:0 0 6px #CCC;
	color:#333;	
}
.checkarea h5{
	font-size:16px;
	text-align:left;
	border-bottom:1px solid #CCC;
	padding-bottom:10px;
	padding-left:14px;
	margin-bottom:6px;
}
.checkarea p{
	font-size:16px;
	text-align:center;
	line-height:45px;
}
.checkarea th{
	/*background-color:#DBDBDB;*/
	font-size:14px;
	padding:3px 12px;
	line-height:28px;
	text-align: right;
	vertical-align:middle;
	border-right:1px dashed #CCC;
	border-left:1px dashed #CCC;
	border-bottom:1px dashed #CCC;
	width: 120px;
}
.checkarea td{
	font-size:14px;
	line-height:28px;
	/*border-right:1px dashed #CCC;*/
	border-bottom:1px dashed #CCC;
	padding:3px 12px;
	vertical-align:middle;
	/*text-align:center;*/
}

#payment_select_tp {
	display: none;
}

/*訂購成功*/
.purchase{
	width:860px;
	/*height:320px;*/
	margin:40px auto;
	padding:20px;
	border:1px solid #CCC;
	border-radius:4px;
	box-shadow:0 0 6px #CCC;
	color:#333;	
}
.purchase h1{
	font-size:16px;
	text-align:left;
	border-bottom:1px solid #CCC;
	padding-bottom:10px;
	padding-left:14px;
	margin-bottom:6px;
}
.purchase p{
	font-size:16px;
	text-align:center;
	line-height:45px;
}
.purchase th{
	/*background-color:#DBDBDB;*/
	font-size:14px;
	padding:3px 12px;
	line-height:28px;
	text-align: right;
	vertical-align:middle;
	border-right:1px dashed #CCC;
	border-left:1px dashed #CCC;
	border-bottom:1px dashed #CCC;
}
.purchase td{
	font-size:14px;
	line-height:28px;
	/*border-right:1px dashed #CCC;*/
	border-bottom:1px dashed #CCC;
	padding:3px 12px;
	vertical-align:middle;
	/*text-align:center;*/
}

/*會員中心*/
.membercenter{
	position:relative;
	width: 100%;
	/*height:460px;*/
	margin-bottom:10px;
}
 /*訂單查詢*/
.orders{
	/* width:750px; */
	margin:0 auto;
	padding:5px 0px 20px 20px;
	/*border:1px solid #CCC;
	border-radius:4px;
	box-shadow:0 0 6px #CCC;*/
	color:#333;	
}
.orders h1{
	font-size:16px;
	text-align:left;
	border-bottom:1px solid #CCC;
	padding-bottom:10px;
	margin-bottom:6px;
}
.orders h2{
	font-size:14px;
	text-align:left;
	padding-bottom:10px;
	font-weight:normal;
}
.orders p{
	font-size:16px;
	text-align:center;
	line-height:45px;
}
.orders th{
	font-size:14px;
	line-height:28px;
	background-color:#DBDBDB;
	text-align:center;
	vertical-align:middle;
	border-right:1px solid #FFF;
}
.orders td{
	font-size:14px;
	line-height:20px;

	border-bottom:1px dashed #CCC;
	padding:6px 12px;
	vertical-align:middle;
	text-align:center;
}
 /*修改會員資料*/
.mebinfo{
	margin:0 auto;
	padding:5px 20px 20px 20px;
	color:#333;	
}
.mebinfo h1{
	font-size:16px;
	text-align:left;
	border-bottom:1px solid #CCC;
	padding-bottom:10px;
	margin-bottom:6px;
}
.mebinfo h2{
	font-size:14px;
	text-align:left;
	padding-bottom:10px;
	font-weight:normal;
}
.mebinfo p{
	font-size:16px;
	text-align:center;
	line-height:45px;
}
.mebinfo th{
	font-size:14px;
	line-height:28px;
	text-align:right;
	padding:6px 6px;
	vertical-align:middle;
	border-bottom:1px dashed #CCC;
}
.mebinfo td{
	font-size:14px;
	line-height:28px;
	border-bottom:1px dashed #CCC;
	padding:6px 6px;
	vertical-align:middle;
	text-align:left;
}
/*加購區內部*/
.plus_area{
	position:relative;
	display: inline-block;
	vertical-align: top;
	width:185px;
	padding:0 0 10px 0;
}
.plus_area img{
	max-width:146px;
	max-height:146px;
	margin:0;
	border:1px solid #CCC;
	background:#FFF;
	vertical-align: middle;
}

.plus_area .img_div {
	margin: 0 auto;
	text-align: center;
	height: 146px;
	line-height: 146px;
	cursor: pointer;
}

.plus_area_dialog img {
	width: 80%;
}

.plus_area_dialog_img {
	margin: 0 auto;
	text-align:center;
}

.plus_area .note_div, .plus_area .name_div {
	display: none;
}

.plus_area_dialog {
	display: none;
}

.plus_area h1{
	font-size:14px;
	text-align:center;
	color:#333;
	margin-top:5px;
}
.plus_area p{
	font-size:14px;
	text-align:center;
	line-height:24px;
}

.sidebar p,
.ranking p,
.items p {
	overflow: hidden;
	word-wrap: break-word;
	word-break: break-all;
}

/* [+] 購物車資訊, 金額列表 */
.car_info {
	text-align: right;
	position: relative;
}

.car_info div {
	position: absolute;
	right: 0px;
	height: 20px;
	line-height: 20px;
	overflow: hidden;
	cursor: pointer;
	z-index: 999;
}

.mouse_hover {
	background-color: white;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.car_info table th {
	padding-right: 20px !important;
	font-weight: bold;
	padding: 3px;
}
.car_info table td {
	padding: 3px;
	text-align: right;
}

.car_info table a {
	color: red;
}
/* [-] 購物車資訊, 金額列表 */

.div_button {
	background-color: #EBEBEB !important;
	border: 1px white solid;
	padding: 0 3px 0 30px !important;
	margin-right: 2px;
	cursor: pointer;
	height: 35px;
	line-height: 35px;
	font-size: 14px;
	background-repeat: no-repeat;
	background-position: left center;
}

.div_icon {
	background-color: #EBEBEB !important;
	border: 1px white solid;
	padding: 0 3px 0 30px !important;
	margin-right: 1px;
	height: 33px;
	line-height: 33px;
	font-size: 14px;	
}

.login {
	background-image: url(../../img/button/button_login.jpg?r=1);
}

.logout {
	background-image: url(../../img/button/button_logout.jpg?r=1);
}

.join {
	background-image: url(../../img/button/button_join.jpg?r=1);
}

.top_cart {
	background-image: url(../../img/button/button_top_cart.jpg?r=1);
}

.member {
	background-image: url(../../img/button/button_menber.jpg?r=1);
}

.search {
	background-image: url(../../img/button/button_search.jpg?r=1);
}

.start {
	background-image: url(../../img/button/button_start.jpg?r=1);
}

.ok {
	background-image: url(../../img/button/button_ok.jpg?r=1);
}

.cancel {
	background-image: url(../../img/button/button_cancel_s.jpg?r=1);
}

.return_home {
	background-image: url(../../img/button/button_home.jpg?r=1);
}

.put_cart {
	height: 36px;
	line-height: 36px;
	font-size: 16px;
	padding: 0 3px 0 36px !important;
	margin-right: 10px;
	background-image: url(../../img/button/button_cart.jpg?r=1);
}

.buy_now {
	height: 36px;
	line-height: 36px;
	font-size: 16px;
	padding: 0 3px 0 36px !important;
	background-image: url(../../img/button/button_buy.jpg?r=1);
}

.shopping {
	background-image: url(../../img/button/button_conshop.jpg?r=1);
}

.check_out {
	background-image: url(../../img/button/button_checkout.jpg?r=1);
}

.buyok {
	background-image: url(../../img/button/button_buyok.jpg?r=1);
}

.forget_password {
	background-image: url(../../img/button/button_forg.jpg?r=1);
}

.login_s {
	background-image: url(../../img/button/button_login_s.jpg?r=1);
}

.bonus {
	color: red;
}

.error_msg {
	color: red;
}

.class_view_all_icon {
	display: inline-block;
	background-image: url(../../img/viewall_short.png);
	height: 29px;
	width: 46px;
}

.class_view_all {
	height: 29px;
	line-height: 29px;
	display: inline-block;
	background-color: #ff601a;
	vertical-align: top;
	padding: 0 5px 0 0;
	font-size: 14px;
}

#searchform > div {
	vertical-align: top;
}
.fb-login {
    text-align: center;
    margin-bottom: 10px;
}