/* ============================================== 前台樣版 ============================================== */
/* ================================= 
   商品分類選單 categories_modify.htm 
   ================================= */
#cateModify {
  position: relative;
  padding: 0px 5px 0px 0px;
}

.category_set {
  margin-bottom: 20px;
}

#cateModify .ed {
  position: relative;
  float: right;
}

#cateModify .ed a {
  display: inline-block;
  border: none;
}

#cateModify .ed a.sys_edit {
  padding: 0px;
}

#cateModify .ed a.sys_delete {
  padding: 0px 5px 0px 2px;
}

/* 手機板選單 */
.option_toggle {
  display: none;
}

.option_toggle a:after {
  display: none;
  content: "\f0d7";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  padding-left: 0px;
  color: #333;
  float: right;
}

/*所有分類*/
#category_menu h3.allProds a {
  width: 100%;
  display: block;
  margin: 0px 0px 5px 0px;
  padding: 8px 10px;
  text-align: left;
  outline: none;
  border: none;
  transition: 0.4s;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  font-weight: normal;
  font-size: 16px;
  border: 1px solid #DDD;
}

/*所有分類選項的造訪樣式*/
#category_menu h3.allProds a.unlink {}

/*主分類*/
#category_menu {
  width: 100%;
}

#category_menu dt {
  cursor: pointer;
  margin: 0px 0px 5px 0px;
  padding: 8px 10px;
  border: 1px solid #DDD;
}

#category_menu dt:after {
  content: '\f107';
  font-family: FontAwesome;
  font-style: normal;
  color: #999;
  float: right;
  margin-left: 5px;
  line-height: 24px;
  font-size: 22px;
  transition: transform 0.3s;
}

#category_menu dt.active:after {
  transform: rotate(180deg);
}

/*次分類*/
#category_menu dd {
  margin: 0;
  padding: 0;
}

#category_menu dd:last-child {
  margin: 0;
  padding: 0;
  border-bottom: none;
}

#category_menu dd ul {
  margin: 0;
  padding: 5px 15px;
}

#category_menu ul li {
  margin: 0;
  padding: 0px;
  list-style: none;
}

#category_menu ul li a {
  display: block;
  line-height: 1;
  padding: 10px 0px;
}

#category_menu ul li a:before {}

#category_menu ul li a:hover {}

/*.back_up {
	padding-left: 10px;
}
#products_pre_image {
	background-repeat: no-repeat;
	height: 110px;
	border: 1px solid #999;
	width: 110px;
	background-position: center center;
}*/
@media only screen and (max-width: 840px) {
  #cateModify {
    padding: 0px;
  }

  .option_toggle {
    margin: 0px;
    display: block;
    padding: 0px;
  }

  .option_toggle a {
    padding: 10px 10px;
    margin: 0px 0px 1px 0px;
    border: 1px solid #DDD;
    display: block;
    text-align: left;
    border-radius: 2px;
  }

  .option_toggle a:after {
    display: block;
  }

  #category_menu {
    display: none;
  }

  #category_menu h3.allProds a {
    margin: 0px 0px 1px 0px;
    padding: 5px 10px;
  }

  #category_menu dt {
    margin: 0px 0px 1px 0px;
    padding: 5px 10px;
  }

  #category_menu dd ul {
    margin: 0;
    padding: 5px 15px 5px 20px;
  }
}

/* product edit */
.red {
  color: #CC3300;
}

/* ================================= 
   商品推薦中心 categories_main.htm
   ================================= */
.category_main {
  margin: 0px;
  padding: 0px 0px 20px 0px;
  list-style-type: none;
}

.category_main ul.responsive {
  padding: 0px;
  margin: 0;
}

.special_prod_img {
  padding: 0;
  margin: 0;
}

.special_prod_img .wrap-col {
  position: relative;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
  padding: 0px;
  margin: 10px;
}

.special_prod_img a.img_item {
  overflow: hidden;
  background: #FFF;
  display: block;
}

.slider .special_prod_img img {
  display: block;
  width: 100%;
  transition: all 0.3s linear;
  -webkit-backface-visibility: hidden;
}

.slider .special_prod_img:hover img {
  transform: scale(1.05);
}

.category_main .special_prod_info {
  position: relative;
  padding: 10px 0px;
  margin: 0;
  text-align: center;
}

.category_main .special_prod_info a {
  display: block;
}

.category_main .special_prod_info a.cate_main_cart {
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid #CCC;
  text-align: center;
  width: 100px;
  margin: 10px auto;
}

.category_main .special_prod_info a.cate_invaild {
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid #CCC;
  text-align: center;
  width: 100px;
  margin: 10px auto;
  background-color: #DDD;
  cursor: not-allowed;
}

.category_main .special_prod_info a.cate_main_cart:hover {}

.category_main .special_prod_info a.prod_name_link {
  text-align: center;
  margin: 5px auto;
  font-weight: bold;
}

.category_main .price {
  margin: 0px;
  padding: 10px 0px;
  color: #D00;
  font-weight: bold;
  display: block;
}

.special_desc {
  width: 120px;
  float: right;
}

.category_main_nav {
  padding: 0;
  clear: both;
}

/*.category_main_nav a:link, 
  .category_main_nav a:visited {
	color: #9966CC;
}*/

/* ================================= 
   商品清單列表頁 productsList.htm
   ================================= */
.product_list {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

/*.product_list .my_cart {
	text-align: right;
	margin: 10px 10px 0px 0px;
}*/
.product_list .cate_desc {
  margin: 0px 0px 20px 0px;
  padding: 0px 0px 10px 0px;
  display: block;
  border-bottom: 1px solid #EEE;
}

/*分類名稱*/
.eBlock .product_list .cate_desc h3,
.product_list .cate_desc h3 {
  margin: 0px;
  padding: 0px;
  line-height: 1;
}

/*排序按鈕*/
.product_list .sort_nav {
  margin: 10px 0px;
  padding: 0px;
  display: block;
}

.product_list .sort_nav a {
  margin: 0px 3px 3px 0px;
  padding: 5px 10px;
  display: inline-block;
  border: 1px solid #CCC;
  background-color: #EEE;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EEE));
  background-image: -webkit-linear-gradient(top, #FFF, #EEE);
  background-image: -moz-linear-gradient(top, #FFF, #EEE);
  background-image: -ms-linear-gradient(top, #FFF, #EEE);
  background-image: -o-linear-gradient(top, #FFF, #EEE);
  background-image: linear-gradient(to bottom, #FFF, #EEE);
  font-size: 14px;
  color: #666;
  border-radius: 2px;
}

.product_list .sort_nav a:hover {
  color: #666;
  background-color: #DDD;
  background-image: none;
}

.product_list .sort_nav a>b {
  font-weight: normal;
}

.product_list .sort_nav a>b.sel {
  color: #09C;
}

/*.product_list .sort_nav img {
	border: 1px solid #aaa;
	background: #dedede
}
.product_list .sort_nav .sel img {
	background: #fff;
	border: 1px solid #000;
}*/

/*商品圖排列*/
.product_list .prod-grid {
  width: 100%;
  position: relative;
  margin: 0px;
  padding: 0px;
}

/* clearfix */
.product_list .prod-grid:after {
  content: '';
  display: block;
  clear: both;
}

.product_list .grid_item {
  float: left;
  width: 100%;
  max-height: 100%;
  height: auto/9;
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.25);
  margin: 0px 0px 15px 0px;
  padding: 0px 0px 5px 0px;
  overflow: hidden;
}

.product_list .prod_img {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  background: #FFF;
  padding: 0px;
}

.product_list .prod_img:after {
  /*content : ".";
	font-size : 0;
	-webkit-text-size-adjust : none;*/
}

.product_list .prod_img a {
  display: block;
  overflow: hidden;
}

.product_list .prod_img img {
  display: block;
  width: 100%;
  transition: all 0.3s linear;
  -webkit-backface-visibility: hidden;
}

.product_list .grid_item:hover img {
  transform: scale(1.05);
}

.product_list .prod_list_name,
.product_list .prod_list_no p,
.prod_list_price {
  text-align: center;
}

/*產品名稱*/
.product_list .prod_list_name {
  margin: 5px 0px 15px 0px;
  padding: 0px;
  font-weight: bold;
}

.product_list .prod_list_name a {}

.product_list .prod_list_name a:hover {}

.product_list .prod_list_no p {
  margin: 0px 0px 15px 0px;
  padding: 0px;
  font-size: 14px;
  color: #666;
}

/*產品簡述-樣版預設隱藏*/
.product_list .prod_list_introduction p {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  padding: 0px 10px;
  margin: 5px 0px 20px 0px;
  display: block;
  color: #3f3f3f;
  overflow: hidden;
  /*多行文字限制*/
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

/*------*/
.product_list .prod_list_price {
  margin: 0px 0px 15px 0px;
  padding: 0;
  color: #D00;
  font-weight: bold;
}

.product_list .prod_list_cart,
.product_list .prod_list_url {
  margin: 0px 0px 15px 0px;
  padding: 0;
  text-align: center;
}

.product_list .prod_list_cart a,
.product_list .prod_list_url a {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid #CCC;
}

.product_list .prod_list_cart a:hover {}

/* 產品下架 */
.product_list .prod_invalid {
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid #CCC;
  text-align: center;
  width: 100px;
  margin: 10px auto;
  background-color: #DDD;
  cursor: not-allowed;
}

/* 分頁 */
.product_list .pagination {
  position: relative;
  display: block;
  padding: 0px 10px;
}

.product_list .pagination ul {
  list-style-type: none;
  float: right;
  display: block;
  padding: 0px;
  margin: 30px 0px 10px 0px;
  font-size: 0px;
}

.product_list .pagination ul li {
  display: inline-block;
  padding: 0px;
  border: 1px solid #CCC;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  margin: 0px 0px 5px 0;
  font-size: 16px;
}

/* 前&下一頁 */
.product_list .pagination ul li.prev {}

.product_list .pagination ul li.next {}

.product_list .pagination ul li a,
.product_list .pagination .no-link {
  display: block;
  text-decoration: none;
  transition: background-color 0.3s;
  line-height: 28px;
}

.product_list .pagination .no-link {
  background: #F3F3F3;
  cursor: default;
}

.product_list .pagination a:hover:not(.no-link) {
  background-color: #DDD;
}

/*指定頁碼*/
.product_list .pagination .page_input {
  display: inline-block;
  width: 60px;
  height: 30px;
  border: 1px solid #CCC;
  margin: 0px 0px 0px 10px;
  padding: 0px 5px;
  text-align: center;
}

.product_list .pagination .page_input::-webkit-input-placeholder {
  font-size: 12px;
}

.product_list .pagination .page_input:-webkit-input-placeholder {
  font-size: 12px;
}

.product_list .pagination .page_input::-moz-placeholder {
  font-size: 12px;
}

.product_list .pagination .page_input:-moz-placeholder {
  font-size: 12px;
}

.product_list .pagination .page_input:-ms-input-placeholder {
  font-size: 12px;
}

/*------*/
@media only screen and (max-width: 1024px) {

  /*指定頁碼*/
  .product_list .pagination .page_input {
    display: none;
  }
}

@media only screen and (max-width: 840px) {

  /*分類名稱*/
  .eBlock .product_list .cate_desc,
  .product_list .cate_desc {
    display: none;
  }
}

@media only screen and (max-width: 640px) {
  .product_list .prod-grid .col-1-3 {
    width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  .product_list .prod-grid .col-1-3 {
    width: 100%;
  }
}

@media only screen and (max-width: 420px) {
  .product_list .sort_nav a {
    width: 50%;
    margin: 0px;
    float: left;
    display: inline-block;
    -o-webkit-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
  }
}

/* ================================= 
   商品詳細內容介紹頁 products_detail.htm
   ================================= */
.eBlock #ProdDetail,
#ProdDetail {
  position: relative;
  overflow: hidden;
  padding: 0px;
  margin: 0px;
}

#ProdDetail .prod_left,
#ProdDetail .prod_right {
  float: left;
  display: inline-block;
  padding: 0px;
  margin: 0px;
}

#ProdDetail .prod_left {
  width: 60%;
}

#ProdDetail .prod_right {
  width: 40%;
}

#ProdDetail .left_wrap {
  margin: 0 10px 10px 0px;
}

#ProdDetail .right_wrap {
  margin: 0 0px 10px 20px;
}

/* left 產品換圖 */
#prod_swip {
  height: auto;
  position: relative;
  overflow: hidden;
}

#prod_swip ul,
#prod_swip ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#prod_swip a {
  outline: none;
}

/*大圖*/
#prod_swip .showbox {
  position: relative;
  margin: 0px 0px 10px 0px;
  text-align: center;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
}

#prod_swip .showbox img {
  border: none;
  max-height: 480px;
  width: auto;
  max-width: 100%;
}

/*小圖*/
#prod_swip .link {
  width: 100%;
  vertical-align: middle;
  text-align: center;
}

#prod_swip .link li {
  width: 25%;
  float: left;
  padding: 10px 10px 10px 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
}

#prod_swip .link li a {
  position: relative;
  display: block;
  background-color: #FFF;
  border: 1px solid #efefef;
  height: 80px;
  overflow: hidden;
  /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); */
}

#prod_swip .link a>img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 100%;
  max-height: 100%;
  border: none;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50, -50%);
  -ms-transform: translate(-50, -50%);
  -moz-transform: translate(-50, -50%);
  -o-transform: translate(-50, -50%);
}

#prod_swip .link li.on .triangle {
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  border-top: 5px solid rgba(0, 0, 0, 0.5);
  border-bottom: 5px solid transparent;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  position: absolute;
  top: 0px;
  left: 50%;
  margin-left: -5px;
}

/* products photo modal */
#ProdDetail .Pdetail-btn,
.Pdetail-button {
  border: none;
  display: inline-block;
  outline: 0;
  padding: 0px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  background-color: #FFF;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  margin: 10px;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.25);
}

#ProdDetail .Pdetail-btn:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.15);
}

#ProdDetail .Pdetail-btn,
.Pdetail-button {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

#ProdDetail .Pdetail-modal {
  z-index: 10001;
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

#ProdDetail .Pdetail-modal-content {
  margin: 2.5% auto;
  position: relative;
  padding: 0;
  outline: 0;
  width: 800px;
  text-align: center;
  background-color: rgb(255, 255, 255);
  box-shadow: 3px 7px 10px rgba(0, 0, 0, 0.75);
}

#ProdDetail .Pdetail-modal-content img {
  margin: 0px;
  padding: 0;
  max-width: 100%;
}

#ProdDetail .Pdetail-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 2
}

#ProdDetail .Pdetail-display-topright {
  position: absolute;
  right: -10px;
  top: -10px;
}

#ProdDetail .Pdetail-animate-zoom {
  animation: animatezoom 0.6s
}

@keyframes animatezoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

#ProdDetail .Pdetail-xlarge {
  font-size: 28px !important;
  line-height: 36px;
  padding: 0px;
}

.Pdetail-button {
  width: 36px;
  height: 36px;
  padding: 0px;
}

#ProdDetail .Pdetail-button:hover {
  color: #FFF !important;
  background-color: #CCC !important;
}

/* right 產品資訊 */
#ProdDetail h3.p_name {
  font-size: 1.5em;
  margin: 0px;
  padding: 0px 0px 8px 0px;
}

#ProdDetail h6.p_num {
  font-size: 14px;
  margin: 0px 0px 10px 0px;
  padding: 0px;
  color: #999;
  font-weight: normal;
}

#ProdDetail .p_introduction {
  font-size: 14px;
  margin: 0px 0px 10px 0px;
  padding: 10px 0px;
  color: #666;
  line-height: 24px;
  border-top: 1px dashed #CCC;
  border-bottom: 1px dashed #CCC;
}

/*社群分享*/
#ProdDetail .global_share {}

/*產品價格樣式*/
#ProdDetail .p_price_area {
  margin: 0px 0px 10px 0px;
  padding: 10px 0px;
}

#ProdDetail .p_price_area b.prod_mkt_price {
  font-weight: normal;
  display: block;
  padding: 0px 0px 5px 0px;
}

#ProdDetail .p_price_area b.prod_price {
  font-weight: normal;
  display: block;
  padding: 0px;
}

#ProdDetail .p_price_area b.prod_mkt_price .amount {
  text-decoration: line-through;
  font-weight: bold;
  padding: 0px;
}

#ProdDetail .p_price_area b.prod_price .amount {
  font-size: 20px;
  color: #D00;
  font-weight: bold;
  padding: 0px;
}

#ProdDetail .p_attr {
  margin: 0px 0px 5px 0px;
  background: #F7F7F7;
  padding: 5px 0px 5px 8px;
}

#ProdDetail .p_btn a {
  float: left;
  padding: 10px 15px;
  margin: 10px 10px 0px 0px;
  border: 1px solid #999;
  border-radius: 5px;
  box-shadow: 1px 1px 2px #EEE;
  cursor: pointer;
}

#ProdDetail .p_btn a:focus,
#ProdDetail .p_btn a:active {
  box-shadow: none;
}

@media only screen and (min-width: 1200px) {
  #ProdDetail .p_btn a:hover {
    box-shadow: none;
  }
}


/*產品翻頁*/
#ProdDetail .paging {
  padding: 20px 0px;
  display: block;
}

#ProdDetail .paging a {
  display: inline-block;
}

#ProdDetail .paging i {
  font-size: 1.75em;
  margin-right: 10px;
}

.navigator {
  margin-top: 10px;
  display: inline-block;
  margin-left: 5px;
}

/* 商品說明 & Tabs */
#ProdDetail .prod_desc {
  width: 100%;
  padding: 30px 0px 0px 0px;
}

#ProdDetail .prod_desc .tabDesc {
  overflow: hidden;
  border-bottom: 1px solid #CCC;
  margin-bottom: 15px;
}

#ProdDetail .prod_desc .tabDesc button {
  background-color: #EEE;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 12px;
  transition: 0.3s;
  font: 18px/26px Heiti TC, "微軟正黑體", "メイリオ", Microsoft JhengHei, Helvetica, Arial, sans-serif;
  width: 50%;
}

#ProdDetail .prod_desc .tabDesc button:hover {
  background-color: #999;
  color: #FFF;
}

#ProdDetail .prod_desc .tabDesc button.active {
  background-color: #999;
  color: #FFF;
}

#ProdDetail .prod_desc .ProdContent {
  position: relative;
  display: none;
  padding: 0px;
  margin: 0px;
}

/* 分離後台模組Global表格樣式 */
#ProdDetail .prod_desc .ProdContent table {
  border-spacing: inherit !important;
  border-style: solid;
  border-collapse: collapse;
  margin: 10px 0px;
}

#ProdDetail .prod_desc .ProdContent th {
  background-color: inherit !important;
  background-image: inherit !important;
  border: inherit !important;
  padding: inherit !important;
  font-size: inherit !important;
  outline: inherit !important;
}

#ProdDetail .prod_desc .ProdContent tr {
  padding: 5px;
  font-size: inherit !important;
}

#ProdDetail .prod_desc .ProdContent td {
  background: inherit !important;
  padding: 5px;
  box-shadow: inherit !important;
  font-size: inherit !important;
}

/*-----*/
/* cart page */
.cart_nav {
  margin: 0px auto 0px;
  height: 30px;
}

.cart_3 {
  display: inline;
  float: left;
  padding: 2px;
  border: 1px solid #ccc;
  margin: 7px 1px 0px 1px;
  position: relative;
  padding-right: 6px;
}

.cart_3 img {
  margin-right: 3px;
}

.cart_3:link,
.cart_3:visited {}

.cart_3:hover {
  background: #bbf;
  border: #666;
  color: #336
}

@media only screen and (max-width: 1024px) {

  #ProdDetail .prod_left,
  #ProdDetail .prod_right {
    width: 50%;
  }

  #ProdDetail .right_wrap {
    margin: 10px 10px 10px 10px;
  }

  #ProdDetail .Pdetail-modal-content {
    width: 80%;
  }
}

@media only screen and (max-width: 720px) {

  #ProdDetail .prod_left,
  #ProdDetail .prod_right {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  #ProdDetail .left_wrap {
    margin: 0 0 10px 0;
  }

  #ProdDetail .right_wrap {
    margin: 10px 10px 10px 0px;
  }

  #prod_swip .showbox img {
    max-height: 320px;
  }

  #prod_swip .link li a {
    height: 70px;
  }
}

/* ================================= 
   詢價表單 ask_price.htm
   ================================= */
#ask_prcie_area {
  padding: 0;
  margin: 0;
}

#ask_prcie_area h6 {
  padding: 0px 0px 0px 10px;
  margin: 0;
  font-size: 18px;
  font-weight: normal;
}

#ask_prcie_area .ask_prod_name {
  display: block;
  background: #F5F5F5;
  margin-bottom: 30px;
}

#ask_prcie_area .ask_prod_name b,
#ask_prcie_area .ask_prod_name span {
  display: inline-block;
  font-size: 18px;
}

#ask_prcie_area .ask_prod_name b {
  color: #FFF;
  padding: 10px 15px;
  background: #09C;
  font-weight: normal;
}

#ask_prcie_area .ask_prod_name span {
  color: #333;
  padding: 10px 15px;
}

#ask_prcie_area .col-1-2 {
  padding: 0px;
}

#ask_prcie_area .left {
  display: block;
}

#ask_prcie_area .left em {
  color: #E60000;
  padding-right: 5px;
  font-style: normal;
}

#ask_prcie_area input[type="text"] {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 5px;
  width: 100%;
  height: 35px;
  line-height: 35px;
  border: 1px solid #999;
  margin: 10px 0px;
}

#ask_prcie_area textarea {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 5px;
  width: 100%;
  line-height: 35px;
  border: 1px solid #999;
  margin: 10px 0px;
}

#ask_prcie_area input[type="submit"],
#ask_prcie_area input[type="button"] {
  font-size: 16px;
  color: #FFF;
  background-color: #666;
  background-image: none;
  border: none;
  border-radius: 0px;
  padding: 10px 15px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  margin: 10px;
}

#ask_prcie_area input[type="submit"]:hover,
#ask_prcie_area input[type="button"]:hover {
  opacity: 0.75;
}

#ask_prcie_area .authnum_code {
  display: inline-block;
  margin: 0px 0px 0px 10px;
  padding: 0;
}

@media screen and (max-width: 480px) {
  #ask_prcie_area .col-1-2 {
    float: none;
    display: block;
    width: 100%;
  }
}

/* ================================= 
   購物車清單(checkout_select.htm)
   ================================= */
#CartList .cart_btn {
  padding-top: 10px;
}

#CartList .cart_btn a {
  display: inline-block;
  float: left;
  padding: 7px 10px;
  margin: 0px 5px 5px 0px;
  color: #FFF;
  background: #999;
  border-radius: 3px;
}

#CartList .cart_btn a:hover {
  opacity: 0.75;
}

#CartList .totalPrice {
  margin: 10px 5px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
  padding: 8px 10px;
  display: block;
}

#CartList .totalPrice p.amount {
  float: right;
  color: #C00;
  padding: 0;
  margin: 0;
  font-weight: bold
}

#CartList h3.msg_empty {
  padding: 10px 0px;
  margin: 0px;
  font-size: 16px;
  font-weight: normal;
  color: #C00;
}

@media screen and (max-width: 620px) {
  #CartList {
    width: 100%;
  }

  #CartList table thead {
    display: none;
  }

  #CartList table tr {
    margin-bottom: 10px;
    display: block;
  }

  #CartList table td {
    display: block;
    text-align: right;
    border: #CCC 1px solid;
    padding: 10px;
  }

  #CartList table td:before {
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
  }

  #CartList table .td1 {
    background: #EEE;
  }
}

/* ================================= 
   購物流程 Gobal Checkout Style
   ================================= */
.step_list {
  padding: 10px 0px;
  margin: 10px 0px;
}

.step_list ul {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
}

.step_list ul li {}

.step_list ul li .step_a,
.step_list ul li .step_na {
  border: 1px solid #CCC;
  background: #EFEFEF;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
  color: #999;
  display: block;
  font-size: 18px;
  text-align: center;
}

.step_list ul li .step_a {
  margin: 10px 20px 10px 0px;
}

.step_list ul li .step_na {
  margin: 10px 0px 10px 0px;
}

.step_list ul li .now_step {
  border: 1px solid #FFB5B5;
  background: #FFE8E8;
  border-radius: 10px;
  padding: 10px;
  margin: 10px 20px 10px 0px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
  display: block;
  font-size: 18px;
  text-align: center;
}

h3.freight_title {
  font-weight: normal;
  font-size: 16px;
  padding: 5px 0px;
  margin: 0;
  text-align: center;
  line-height: 1;
}

@media only screen and (max-width: 640px) {
  .step_list ul li.col-1-4 {
    width: 50%;
  }

  .step_list ul li .step_a,
  .step_list ul li .now_step,
  .step_list ul li .step_na {
    margin: 5px;
    text-align: left;
  }
}

@media only screen and (max-width: 480px) {
  .step_list ul li.col-1-4 {
    display: block;
    float: none;
    width: 100%;
  }
}

/* ================================= 
   出貨資訊 checkout_freight.htm
   ================================= */
#checkoutFreight {
  position: relative;
}

#checkoutFreight .red {
  color: #F00;
  padding-left: 5px;
}

@media only screen and (max-width: 480px) {

  #checkoutFreight table th,
  #checkoutFreight table td {
    display: block;
    width: 92%;
    margin: 0px auto;
  }

  #checkoutFreight table th {
    text-align: center;
  }

  #checkoutFreight table td {
    text-align: left;
  }

  #checkoutFreight table td input[type="text"] {
    width: 100%;
  }
}

/* ================================= 
   發票與備註 checkout_payway.htm
   ================================= */
#checkoutPayway {
  position: relative;
}

@media only screen and (max-width: 480px) {

  #checkoutPayway table th,
  #checkoutPayway table td {
    display: block;
    width: 92%;
    margin: 0px auto;
  }

  #checkoutPayway table th {
    text-align: center;
  }

  #checkoutPayway table td {
    text-align: left;
  }

  #checkoutPayway table td input[type="text"] {
    width: 100%;
  }
}

/* ================================= 
   結帳確認 checkout_confirm.htm
   ================================= */
#checkConfirm {
  position: relative;
}

#checkConfirm .confirm_price {
  display: block;
  padding: 5px 10px;
  border-top: 2px solid #999;
  border-bottom: 2px solid #999;
  margin: 10px 5px;
}

#checkConfirm .confirm_price p {
  padding: 0;
  margin: 0px 0px 0px auto;
  width: 33.333333%;
}

#checkConfirm .confirm_price span.confirm_txt {
  padding: 0;
  margin: 0;
  color: #09C;
}

#checkConfirm .confirm_price p .amount {
  padding: 0;
  margin: 0;
  float: right;
  clear: both;
}

#checkConfirm .confirm_price p .mkt_amount {
  text-decoration: line-through;
}

@media screen and (max-width: 620px) {
  #checkConfirm table.cart_table thead {
    display: none;
  }

  #checkConfirm table.cart_table tr {
    display: block;
  }

  #checkConfirm table.cart_table td {
    display: block;
    text-align: right;
    border: #CCC 1px solid;
    padding: 10px;
  }

  #checkConfirm table.cart_table td:before {
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
  }

  #checkConfirm table.cart_table .td_first {
    background: #EEE;
  }
}

@media only screen and (max-width: 480px) {

  #checkConfirm table th,
  #checkConfirm table td {
    display: block;
    width: 92%;
    margin: 0px auto;
  }

  #checkConfirm table th {
    text-align: center;
  }

  #checkConfirm table td {
    text-align: left;
  }

  #checkConfirm .confirm_price p {
    margin: 0px;
    width: 100%;
  }
}

/* ================================= 
   完成購物 checkout_success.htm
   ================================= */
#checkoutSuccess .finish_order {
  padding: 5px 10px;
  margin: 10px 0px;
}

#checkoutSuccess .finish_order .note a {
  display: inline-block;
  padding: 5px;
  border: 1px solid #999;
  border-radius: 10px;
}

/* ================================= 
   會員訂單紀錄 orders_list_member.htm
   ================================= */
#ordersListMember {
  position: relative;
}

#ordersListMember table {
  padding-top: 10px;
}

#ordersListMember table a {
  color: #00F;
}

#ordersListMember table a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  #ordersListMember table thead {
    display: none;
  }

  #ordersListMember table tr {
    display: block;
  }

  #ordersListMember table td {
    display: block;
    text-align: right;
    border: #CCC 1px solid;
    padding: 10px;
  }

  #ordersListMember table td:before {
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
  }

  #ordersListMember table .td1 {
    background: #EEE;
  }
}

/* ================================= 
   會員訂單詳細記錄 orders_detail.htm
   ================================= */
#orders_detail {
  position: relative;
}

#orders_detail table a {
  color: #00F;
}

#orders_detail table a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  #orders_detail table.order_table thead {
    display: none;
  }

  #orders_detail table.order_table tr {
    display: block;
  }

  #orders_detail table.order_table td {
    display: block;
    text-align: right;
    border: #CCC 1px solid;
    padding: 10px;
  }

  #orders_detail table.order_table td:before {
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
  }

  #orders_detail table.order_table .td1 {
    background: #EEE;
  }
}

@media only screen and (max-width: 480px) {

  #orders_detail table th,
  #orders_detail table td {
    display: block;
    width: 92%;
    margin: 0px auto;
  }

  #orders_detail table th {
    text-align: center;
  }

  #orders_detail table td {
    text-align: left;
  }
}

/* member orders*/
.qty {
  color: #09C;
}




/* ============================================== 後台樣版 ============================================== */
/* ================================= 
   購物車管理 mall_admin.htm 
   ================================= */
.mall_admin ul.mall_item {
  list-style-type: none;
  margin: 0;
  padding: 10px 0px;
}

.mall_admin ul.mall_item li {
  display: inline-block;
  width: 25%;
  float: left;
  padding: 10px;
  -o-webkit-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.mall_admin ul.mall_item li .col-wrap {
  border-radius: 2px;
  padding: 10px 10px 20px 10px;
  font-size: 18px;
  color: #FFF;
  background: #09C;
}

.mall_admin ul.mall_item li .col-wrap i {
  padding-right: 10px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
  -webkit-transition: all 0.25s ease;
}

.mall_admin ul.mall_item li a {
  display: block;
  color: #FFF;
  background: #0080ab;
  padding: 5px 10px;
  font-size: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  text-align: right;
}

.mall_admin ul.mall_item li a:hover {
  background: #06C;
}

.mall_admin ul.mall_item li:hover .col-wrap i {
  color: rgba(255, 255, 255, 1);
}

.mall_admin ul.order_item {
  list-style-type: none;
  margin: 0;
  padding: 10px 0px;
}

.mall_admin ul.order_item li {
  display: inline-block;
  width: 50%;
  float: left;
  padding: 5px;
  -o-webkit-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.mall_admin ul.invalid_item {
  list-style-type: none;
  margin: 0;
  padding: 10px 0px;
}

.mall_admin ul.invalid_item li {
  display: inline-block;
  width: 50%;
  float: left;
  padding: 5px;
  -o-webkit-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/*.mall_admin ul.mall_item li a:before {
	content: "\f138";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	color: #FFF;
	padding-right: 5px;
}
.mall_admin ul.mall_item li a {
	display: block;
	color: #FFF;
	background-color: #666;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#999), to(#666));
	background-image: -webkit-linear-gradient(top, #999, #666);
	background-image: -moz-linear-gradient(top, #999, #666);
	background-image: -ms-linear-gradient(top, #999, #666);
	background-image: -o-linear-gradient(top, #999, #666);
	background-image: linear-gradient(to bottom, #999, #666);
	padding: 5px 10px;
	border-radius: 3px;
}*/
/* ================================= 
   產品管理 mall_admin_prod.htm 
   ================================= */
#mall_admin_prod tr.closed td,
#mall_admin_prod .closed {
  color: #CCC;
  background: #F5F5F5;
}

#mall_admin_prod {
  margin: 10px 0px;
  border-spacing: 0px;
  border-collapse: collapse;
}

#mall_admin_prod th {
  background-color: #FBFBFB;
  color: #333;
}

#mall_admin_prod th.no-sort {
  background-color: #FBFBFB;
  color: #333;
  background-image: none;
}

#mall_admin_prod thead .sorting,
#mall_admin_prod thead .sorting_asc,
#mall_admin_prod thead .sorting_desc,
#mall_admin_prod thead .sorting_asc_disabled,
#mall_admin_prod thead .sorting_desc_disabled {
  background-image: none;
}

#mall_admin_prod thead .sorting:after {
  background-image: none;
  content: "\f0dc";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  color: #CCC;
  float: right;
}

#mall_admin_prod thead .sorting_asc:after {
  background-image: none;
  content: "\f0de";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  color: #333;
  float: right;
}

#mall_admin_prod thead .sorting_desc:after {
  background-image: none;
  content: "\f0dd";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  color: #333;
  float: right;
}

#mall_admin_prod thead .sorting_asc_disabled:after {
  background-image: none;
  content: "\f0de";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  color: #CCC;
  float: right;
}

#mall_admin_prod thead .sorting_desc_disabled:after {
  background-image: none;
  content: "\f0dd";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  color: #CCC;
  float: right;
}

#mall_admin_prod td {
  padding: 10px 5px;
  box-shadow: none;
}

/* To hidden searching */
.dataTables_filter {
  display: none;
}

.prod_search {
  margin: 10px 0px 30px 0px;
  padding: 15px 0px 15px 0px;
  display: block;
  border-top: 2px solid #666;
  border-bottom: 2px solid #666;
}

.prod_search form {
  float: left;
  display: inline-block;
  padding: 0;
  margin: 0px;
}

.prod_search div {
  float: left;
  display: inline-block;
  margin: 0px 20px 0px 0px;
  padding: 0;
}

.prod_search div>input[type="text"] {
  padding: 5px 8px;
  border: 1px solid #666;
  margin-top: 5px;
  width: 130px;
}

div.add_prod_btn {
  text-align: right;
  margin: 20px 0px;
}

div.add_prod_btn>a {
  padding: 5px 8px;
  display: inline-block;
  border: 1px #CCC solid;
  background-color: #DDD;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#DDD));
  background-image: -webkit-linear-gradient(top, #FFF, #DDD);
  background-image: -moz-linear-gradient(top, #FFF, #DDD);
  background-image: -ms-linear-gradient(top, #FFF, #DDD);
  background-image: -o-linear-gradient(top, #FFF, #DDD);
  background-image: linear-gradient(to bottom, #FFF, #DDD);
  border-radius: 3px;
}

#mall_admin_prod .expired {
  color: #F00;
}

/* ================================= 
   商品分類選單設定 categories_set.htm 
   ================================= */
#category_set_form ul {
  padding-left: 0.5em;
  margin: 0;
}

#category_set_form li {
  list-style-type: none;
  clear: both;
  margin: 0px;
  padding: 3px 6px;
}

#category_set_form ul.ParentCate {
  background: #dee;
  padding: 9px;
  margin: 1em;
}

#category_set_form .SubCate li {
  padding-left: 2em;
}

#category_set_form a img {
  border: 0px;
}

.TopLi .go_up,
.BottomLi .go_down {
  display: none;
}

.TopLi .BottomLi .go_up,
.BottomLi .TopLi .go_down {
  display: inline;
}

.nothing .go_up,
.nothing .go_down {
  display: inline;
}

.nothing .TopLi .go_up,
.nothing .BottomLi .go_down {
  display: none;
}

.hidden .go_up,
.hidden .go_down {
  display: none;
}

input.hidden {
  display: none;
}

div.hidden {
  display: none;
}

/* ================================= 
   商品推薦中心編輯 category_main_edit.htm
   ================================= */
/* category main edit */
#category_main_edit #prod_select {
  color: #CC3300;
  line-height: 1.313em;
  margin-bottom: 20px;
  padding: 10px 0px;
}

#category_main_edit #prod_select li {
  padding: 5px 10px;
  border: 1px solid #CCC;
  margin-right: 10px;
  display: inline-block;
  background: #F8F8F8;
  border-radius: 5px;
}

#category_main_edit .multiSelect {
  width: 99%;
  margin: 20px 0px;
  color: #0066CC;
}

#category_main_edit .multiSelect option {
  background: #efd
}

#category_main_edit div.hidden {
  display: none;
}