/*共用樣式設定*/
/*淺灰色字*/
.gray{
	color: #d6d6d6;
}
.purple{
	color: #875fd2;
}
.dark_gray{
	color: #666;
}
/*粉紅字*/
.pink{
	color: #f65f46;
}
.red{
	color: red;
}
.txt_13{
	font-size: 13px;
}
.txt_18{
	font-size: 18px;
}
/*grid*/
.grid-1, .grid-2, .grid-3, .grid-7 {
	float: left;
}
.grid-1 {
	width: 85px;
}
.grid-2 {
	width: 170px;
}
.grid-3 {
	width: 255px;
}
.grid-7 {
	width: 595px;
}
/*標題顏色(深灰)*/
.title a{
	color: #212121;
}
.title a:hover{
	color: #f65f46;
	transition:.5s;
}
/*介紹顏色(灰)*/
.intro{
	color: #5f5f5f;
	display: block;
	font-size: 13px;
	overflow: hidden;
	letter-spacing: 1px
}
/*刷新圖案*/
.refresh{
	background: url(../img/refresh.png) no-repeat;
	width: 16px;
	height: 16px;
	display: inline-block;
	text-indent: -9999px;
}
.refresh:hover{
	opacity: .7
}
/*產品名稱(粉紅)*/
.product_name{
	font-weight: normal;
	color: #f65f46;
	font-size: 16px;
	margin: 5px 0;
}
#Button{
	text-align: center;
}
.align_right{
	text-align: right;
}
.float-left{
	float: left;
}
.float-right{
	float: right;
}
/*刪除線*/
.line-through{
	text-decoration: line-through;
}
/*底線*/
.underline{
	text-decoration: underline;
}
/*雙顏色線*/
.dobleline{
	height: 3px;
	background-color: #444;
	width: 100%;
	position: relative;
}
.dobleline:after{
	content: '';
	position: absolute;
	background-color: #fe735d;
	height: 3px;
	width: 270px;
}
#MiddleBar{
	overflow: auto;
	padding-bottom: 10px;
}
.admin {
	background-image: url(../img/user-alt-4.png);
	background-repeat: no-repeat;
	padding-left: 18px;
	color: #f65f46;
	font-weight: bold;
}
/*卷軸設定*/
.scrollbar-style::-webkit-scrollbar-track{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #fff;
}

.scrollbar-style::-webkit-scrollbar{
	width: 6px;
	background-color: #fff;
}

.scrollbar-style::-webkit-scrollbar-thumb{
	background-color: #444;
}
/*表單設定*/
form{
	font-size: 13px;
	overflow: auto;
}
input[type=text],input[type=password],input[type=tel],input[type=email],input[type=number],
textarea,select{
	border: 1px solid #aeaeae;
}
input[type=radio],
input[type=checkbox]{
	border: none;
}
input[type=button],
input[type=Submit]{
	padding: 0 5px;
}
label.error {
	/* remove the next line when you have trouble in IE6 with labels in list */
	display: block;
	margin-top: 3px;
	color: #f65f46;
}
input.error,textarea.error { border: 2px solid #f65f46; }
/*胖表單*/
.fat-form input,.fat-form select{
	margin-right: 10px;
	padding: 3px;
}
.quantity{
	float: right;
	margin-right: 5px;
}
.quantity select{
	min-width: 40px;
}
.info_form{
	font-size: 13px;
	list-style: none;
	overflow: auto;
	background-color: #fff;
	border: 1px solid #ccc;
	margin: 0 15px 15px 15px;
	display: block;
	line-height: 24px;
}
.info_form dl{
	width: 100%;
	padding: 5px 0;
}
.info_form li{
	margin: 0 20px;
	display: block;
	overflow: auto;
	padding: 10px 0
}
.info_form li.button{
	padding-top: 20px;
	text-align: center;
	border-top: 1px dashed #666;
}
.info_form dt{
	float: left;
}
.info_form dd{
	margin-left: 90px;
}
.info_form input{
	padding: 5px;
	margin-right: 5px;
}
.info_form select{
	padding: 4px;
}
.info_form input[type=radio]{
}
.info_form .warning{
	margin-left: 90px;
	display: block;
	margin-top: 3px;
}
.info_form #postal{
	width: 50px;
}
.info_form #address{
	width: 370px;
	margin-top: 5px;
}
.info_form #captcha{
	width: 50px;
}
/*表格設定*/
table, th, td{
	padding: 5px;
}
th{
	background-color: #ccc;
}
/*大標題顏色(灰)*/
#Rightside h2#title{
	background-color: #fff;
	border-bottom: 2px solid #ececec;
	padding-left: 30px;
}
h2#title{
	padding: 10px 0 10px 20px;
	font-size: 18px;
	color: #444;
	position: relative;
}
h2#title::before{
	content: '';
	position: absolute;
	border-left: 9px solid #444;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	margin-left: -15px;
	height: 0;
}
/*有圖案標題*/
h4.title{
	background: url(../img/title_icon.png) 2px 1px no-repeat;
	margin:15px 0 5px 15px;
	padding-left: 20px;
	font-size: 16px
}
/*日期*/
.day, .viewer{
	display: block;
	margin-top:3px;
	letter-spacing: 0;
	color: #888;
	font-size: 12px;
}
/*觀看人次&詳全文(BEFORE有圖)*/
.view,
.read{
	color: #666;
	font-size: 13px;
	width:64;
	overflow: hidden;
	padding: 13px 0 10px 32px;
	position: absolute;
	bottom: 0;
}
.view:hover{
	opacity: .5;
}
.view{
	background: url(../img/view.png) 14px 11px no-repeat;
}
.read{
	padding-left: 20px;
	padding-right: 15px;
	right: 0;
	background: url(../img/list.png) 5px 12px no-repeat;
}
.read a{
	color: #666;
}
.read a:hover{
	color: #f65f46;
	transition: .5s;
}
/*詳全文*/
.more{
	color: #212121;
}
.more:hover{
	color: #f65f46;
	transition:.5s;
}
/*連結標題顏色(深灰)*/
h5.title{
	color: #212121;
	font-size: 15px;
	display: block;
	overflow: hidden;
	line-height: 18px;
	letter-spacing: 0;
	font-weight: normal;
}
h5.title:hover{
	color: #f65f46;
	transition:.5s;
}
/*頁碼*/
div.technorati {
	overflow: auto;
	padding: 10px 0
}
.page{
	font-size: 13px;
	background-color: #212121;
	color: #fff;
	padding: 7px;
}
.technorati span{
	display: inline-block;
}
div.technorati a {
	background-position: 50% bottom;
	background-color: #fff;
	border: #ccc 1px solid;
	color: #212121;
	font-size: 14px;
	font-weight: bold;
	margin-right: 3px;
	padding: 8px 6px;
}
div.technorati a:hover,div.technorati a:active {
	background-color: #212121;
	color: #f65f46;
}
div.technorati span.current {
	font-size: 14px;
	padding: 7px; 
	font-weight: bold;
	background-color: #212121;
	color: #fff; 
	margin-right: 3px;
	border: #ccc 1px solid;
}
div.technorati span.disabled {
	display: none
}
#select_page{
	float: right;
	font-size: 13px;
}
#select_page select{
	padding:8px 6px;
	margin: 0;
}
/*商品圖大小*/
.img_w350h350 img{
	width: 350px;
	height: 350px;
}
img.img_h120{
	max-width:130px;
	height: 120px;
}
.img_w180h155{
	width: 180px;
	max-height: 155px;
	overflow: hidden;
}
.img_w180h155 img{
	width: 180px;
	height: auto;
}
.img_w220h220{
	width: 220px;
	max-height: 220px;
	overflow: hidden;
	margin: 10px auto
}
.img_w220h220 img{
	width: 220px;
}
.img_w210h140{
	width: 210px;
	height: 140px;
	overflow: hidden;
}
#User .img_w210h140 img{
	width: 210px;
	height: 140px;
}
.img_w170h170{
	width: 170px;
	height:170px;
	overflow: hidden;
	margin: 10px auto;
}
.img_w170h170 img{
	width: 170px;
	height:170px;
}
.img_w140h140{
	width: 140px;
	height:140px;
	margin: 10px auto;
	overflow: hidden;
}
.img_w140h140 img{
	width: 140px;
}
.img_w120h120{
	width: 120px;
	height:120px;
	margin: 10px auto;
	overflow: hidden;
}
.img_w120h120 img{
	width: 120px;
}
.img_w75h75{
	width: 75px;
	height: 75px;
	overflow: hidden;
}
.img_w75h75 img{
	width: 75px;
	height: 75px;
}
.img_w70h70{
	width: 70px;
	height: 70px;
	overflow: hidden;
}
.img_w70h70 img{
	width: 70px;
}
/*注意表格*/
.notice{
	background-color: #fff;
	border: 1px dashed #aaa;
	padding: 5px;
	border-radius: 8px;
	font-size: 13px;
	color: #7f6e89;
	width: 980px;
	margin: 0 auto;
}
.notice dt{
	font-weight: bold;
	margin: 2px 0;
	color: #5d3b71;
}
.notice dd{
	line-height: 16px;
	margin-bottom: 4px;
}
.notice a{
	color: #5d3b71;
}
/*角落彩帶*/
.ribbon-wrapper-red {
  width: 85px;
  height: 88px;
  overflow: hidden;
  position: absolute;
  top: -4px;
  right: -3px;
  z-index: 10;
}
.ribbon-red {
  font-weight: bold ;
  font-size: 14px;
  font-family: '微軟正黑體';
  text-align: center;
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
  position: relative;
  padding: 5px 0;
  left: -6px;
  top: 17px;
  width: 120px;
  background-color: #827389;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#827389), to(#7b6b82)); 
  background-image: -webkit-linear-gradient(top, #827389, #7b6b82); 
  background-image:    -moz-linear-gradient(top, #827389, #7b6b82); 
  background-image:     -ms-linear-gradient(top, #827389, #7b6b82); 
  background-image:      -o-linear-gradient(top, #827389, #7b6b82); 
  color: #fff;
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
  box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
}
.ribbon-red:before, .ribbon-red:after {
  content: "";
  border-top:   3px solid #5d5163;   
  border-left:  3px solid transparent;
  border-right: 3px solid transparent;
  position:absolute;
  bottom: -3px;
}
.ribbon-red:before {
  left: 0;
}
.ribbon-red:after {
  right: 0;
}
/*商品價格*/
.sale{
	color: #686868;
	font-size: 14px;
	letter-spacing: 1px;
}
.sale .price{
	font-size: 14px;
	letter-spacing: 0;
}
.sale small{
	color: #404040;
}
.original{
	font-size: 12px;
	color: #999;
}
/*按鈕*/
.buy_btn,
.bigbuy_btn,.ask_stock_btn, 
.smallbuy_btn,.smallgray_btn,
.go_btn,.gray_go_btn{
	color:#ffffff;
	position: relative;
	border: none;
	line-height: 24px;
}
/*購買按鈕(粉紅色,小的,有購物車圖)*/
.buy_btn {
	padding: 2px 3px 2px 17px;
	text-decoration:none;
	background: #fe735d;
	background: -webkit-gradient(linear, left top, left bottom, from(#fd8471), to(#fe735d)); 
	background: -webkit-linear-gradient(top, #fd8471, #fe735d); 
	background:    -moz-linear-gradient(top, #fd8471, #fe735d); 
	background:     -ms-linear-gradient(top, #fd8471, #fe735d); 
	background:      -o-linear-gradient(top, #fd8471, #fe735d); 
	-pie-background: linear-gradient(#fd8471, #fe735d);/* for IE*/	
	font-size: 	14px;
	display:inline-block;
	border: 1px solid #dd624e;
}
.buy_btn::before{
	content: '';
	position: absolute;
	background: url(../img/buy_icon_03.gif) no-repeat;
	width: 24px;
	height:20px;
	margin-left: -14px;
	top: 50%;
	margin-top: -6px;
}
.buy_btn:hover {
	background: #fe735d;
	background: -webkit-gradient(linear, left top, left bottom, from(#fe735d), to(#fd8471)); 
	background: -webkit-linear-gradient(top, #fe735d, #fd8471); 
	background:    -moz-linear-gradient(top, #fe735d, #fd8471); 
	background:     -ms-linear-gradient(top, #fe735d, #fd8471); 
	background:      -o-linear-gradient(top, #fe735d, #fd8471); 
	-pie-background: linear-gradient(#fe735d, #fd8471);/* for IE*/
}
/*前往__按鈕（灰色）*/
.gray_go_btn, .go_btn{
	border-radius: 3px;
	font-size:15px;
	width: 110px !important;
	text-align: center;
	padding: 5px 0 !important;
	display:inline-block;
}
.gray_go_btn {
	border: 1px solid #777777;
	background-color:#777777;
	background:-moz-linear-gradient( center top, #777777 5%, #6b6b6b 100% );
	background:-ms-linear-gradient( top, #777777 5%, #6b6b6b 100% );
	-pie-background: linear-gradient(#777777 5%, #6b6b6b 100%);/* for IE*/
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #777777), color-stop(100%, #6b6b6b) );
}
.gray_go_btn:hover {
	background:-moz-linear-gradient( right, #777777 0%, #6b6b6b 100% );
	background:-ms-linear-gradient( right, #777777 0%, #6b6b6b 100% );
	-pie-background: linear-gradient(right, #777777 0%, #6b6b6b 100%);/* for IE*/
	background:-webkit-gradient( linear, right top, left top, color-stop(0%, #777777), color-stop(100%, #6b6b6b) );
}
/*前往__按鈕（粉紅色）*/
.go_btn {
	border: 1px solid #fe735d;
	background-color:#fe735d;
	background:-moz-linear-gradient( right, #fd8471, #fe735d );
	background:-ms-linear-gradient( right, #fd8471, #fe735d );
	-pie-background: linear-gradient(right, #fd8471, #fe735d);/* for IE*/
	background:-webkit-gradient( linear, right top, left top, color-stop(0%, #fd8471), color-stop(100%, #fe735d) );
}
.go_btn:hover {
	background:-moz-linear-gradient( center top, #fe735d, #fd8471 );
	background:-ms-linear-gradient( top, #fe735d, #fd8471 );
	-pie-background: linear-gradient(#fe735d, #fd8471);/* for IE*/
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #fe735d), color-stop(100%, #fd8471) );
}
/*product-category-detail無法購買按鈕(灰色，有購物車圖)、購買按鈕*/
.ask_stock_btn, .bigbuy_btn{
	font-size:15px;
	height: 40px;
	line-height: 40px;
	display:block;
	cursor: default;
	outline: none;
}
.ask_stock_btn::before,
.bigbuy_btn::before {
	content: '';
	position: absolute;
	background: url(../img/buy_icon_02.gif) 8px 10px no-repeat;
	width: 40px;
	height:40px;
	margin-left: -69px;
	top: 0;
}
.ask_stock_btn::before,
.bigbuy_btn:hover::before{
	background-color:#212121; 
}
.ask_stock_btn {
	padding: 0 25px 0 65px;
	background:#616161;
	background: -webkit-gradient( linear, left top, left bottom, form(#616161), to(#717171));
	background: -webkit-linear-gradient( top, #616161, #717171 ); 
	background:    -moz-linear-gradient( top, #616161, #717171 );
	background:     -ms-linear-gradient( top, #616161, #717171 );
	background:      -o-linear-gradient( top, #616161, #717171 ); 
	-pie-background: linear-gradient(#616161, #717171);/* for IE*/
}
/*product-category-detail購買按鈕*/
.bigbuy_btn {
	padding: 0 30px 0 70px;
	background: #fe735d;
	background: -webkit-gradient(linear, left top, left bottom, from(#fd8471), to(#fe735d)); 
	background: -webkit-linear-gradient(top, #fd8471, #fe735d); 
	background:    -moz-linear-gradient(top, #fd8471, #fe735d); 
	background:     -ms-linear-gradient(top, #fd8471, #fe735d); 
	background:      -o-linear-gradient(top, #fd8471, #fe735d); 
	-pie-background: linear-gradient(#fd8471, #fe735d);/* for IE*/
}
.bigbuy_btn::before{
	background-color:#f35f47;
}
.bigbuy_btn:hover {
	background:-moz-linear-gradient( center top, #616161 0%, #717171 100% );
	background:-ms-linear-gradient( top, #616161 0%, #717171 100% );
	-pie-background: linear-gradient(#616161, #717171);/* for IE*/
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0%, #616161), color-stop(100%, #717171) );
	background-color:#616161;
}
/*灰色&小購買按鈕（smallbuy有箭頭）*/
.smallbuy_btn,
.smallgray_btn{
	font-size:12px;
	margin-right: 3px;
	background: #a2a2a2;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#a2a2a2), to(#838383));
	background: -webkit-linear-gradient(#a2a2a2, #838383);
	background:    -moz-linear-gradient(#a2a2a2, #838383);
	background:     -ms-linear-gradient(#a2a2a2, #838383);
	background:      -o-linear-gradient(#a2a2a2, #838383);
	background:         linear-gradient(#a2a2a2, #838383);
	-pie-background:    linear-gradient(#a2a2a2, #838383);
	border: 1px solid #cdcdcd;
	display:inline-block;
	text-align: center;
}
.smallbuy_btn{
	float: right;
	padding-right: 4px;
	width: 40px;
}
.smallgray_btn{
	padding: 2px 4px;
}
.smallbuy_btn::after{
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	border-left: 5px solid #fff;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	right: 4px;
	top: 7px;
}
.smallbuy_btn:hover,
.smallgray_btn:hover{
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#838383), to(#a2a2a2));
	background: -webkit-linear-gradient(#838383, #a2a2a2);
	background:    -moz-linear-gradient(#838383, #a2a2a2);
	background:     -ms-linear-gradient(#838383, #a2a2a2);
	background:      -o-linear-gradient(#838383, #a2a2a2);
	background:         linear-gradient(#838383, #a2a2a2);
	-pie-background:    linear-gradient(#838383, #a2a2a2);
}
/*瀏覽更多按鈕*/
.more_btn {
	font-size:13px;
	font-weight: bold;
	border:2px solid #aeaeae;
	padding:1px 12px 2px 12px;
	background-color:#ffffff;	
	color:#9a9a9a;
	display:inline-block;
}
.more_btn:hover,#User .more_btn:hover {
	background-color:#aeaeae;
	color:#fff;
	transition: .5s;
}
/*按鈕點擊效果*/
.bigbuy_btn:active,
.smallbuy_btn:active,
.smallgray_btn:active,
.more_btn:active,
.go_btn:active,
.gray_go_btn:active{
	position:relative;
	top:1px;
}