@charset "big5";
/* CSS Document */
body {margin: 0;}
h1 {margin: 0; padding: 0; height: 0; text-indent: 100%; white-space: nowrap; overflow: hidden; _display: none;}
.body {background-color: #d6ffce;}

/* 主視覺 */
.header {position: relative;}
/* .top-desktop {background: url(../images/index_bg.gif) repeat-x;} */
.top-desktop img, .top-mobile img {display: block;}
.top-desktop img {margin-top: 20px;}
.top-mobile {display: none; padding-top: 40px;}
.top-mobile img {width: 100%;margin-top:-40px;}

/* 內容 */
.main {margin: auto; background-color: #ffffff; overflow: hidden; border-radius: 10px 10px 0 0; box-shadow:0px 15px 20px rgba(0,0,0,0.8);}
.main, #category {width: 980px;}

/* 頁籤連結 */
#category {margin: auto; top: 40px; z-index: 1;}
#category div {text-align: center;}
#category a {display: inline-block; font-family: Arial, Helvetica, sans-serif, '微軟正黑體';}
#category-main {background-color: #b1ffa2; color: #ffffff;}
#category-main a {margin: 0 5px; padding: 10px; color: #000000; font-size: 18px; line-height: 18px; letter-spacing: 4px; text-indent: 2px; transition: background-color 0.25s;}
#category-main a:hover, #category-main a.current {background-color: #008b09; color: #ffffff;}
#category-sub {background-color: #cff7ff; color: #ffffff; position: relative;}
#category-sub a {padding: 10px 5px; color: #000000; font-size: 14px; line-height: 14px; transition: background-color 0.2s;}
#category-sub a:hover {background-color: #ffffff; color:  #008b09;}

/* 頁籤連結手機版捲軸 */
.side {display: none; width: 30px; height: 100%; position: absolute; top: 0; visibility: hidden \9;}
.side span {display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; width: 100%; height: 100%; font-size: 24px; line-height: 24px; cursor: pointer;}
#category-sub-left {background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0)); left: 0;}
#category-sub-right {background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.6)); right: 0;}

/* 側邊廣告 */
.aside {padding: 5px; width: 306px; float: left;}

#ad #ad-content a.bbb:hover {border-color:inherit !important;}

#ad {position: relative;}
#ad a img {display: block; border-style: solid; border-width: 3px; border-color: transparent; *border-color: #ffffff;}
#ad a:hover img {border-color: #ff0000;}
.ad-side {display: none; width: 30px; height: 100%; color: #ffffff; position: absolute; top: 0; visibility: hidden \9;}
.ad-side span {display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; width: 100%; height: 100%; font-size: 24px; line-height: 24px; cursor: pointer;}
#ad-side-left {background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0)); left: 0;}
#ad-side-right {background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.6)); right: 0;}

/* 盤子 */
.article {margin-left: 306px; *margin-left: 0; padding: 1px 0 10px; *float: right; transition: margin-left 0.3s;}
.article *, .article a:hover {font-size: 16px; line-height: 26px; font-family: Arial, Helvetica, sans-serif, '微軟正黑體';}
.article s {display: block; width: 100%; height: 1px; position: relative;}
.article h2 {margin: 10px 10px 0; padding: 8px; background-color: #ea06a1; color: #ffffff; font-size: 18px; line-height: 18px; letter-spacing: 2px; border-radius: 5px;}
.article table, .article td {padding-bottom: 5px;}
.article tr[valign="bottom"] td {padding-bottom: 0;}

/* 推薦產品頁 */
.star {display: flex; width: 100%; margin: 12px; flex-wrap: wrap;}
.card {margin: 10px; width:auto;}
.ad-title {font-weight: bold; font-size:22px; line-height: 36px; color:#04c328; text-align: center;}
.ad-text {font-size: 16px; line-height: 22px;}
.ad-spice{text-align: right;}
.ad-spice2{font-size: 18px; line-height: 24px; color: #0036c9; text-align: right;}
.ad-spice a{font-size: 16px; line-height: 22px; color: #0036c9;}
.ad-spice a:hover{background-color: #ffe3f6;}
.ad-price {font-size: 22px; line-height: 30px; color: #ff0000;}

.ad-title-h{font-weight: bold;background-color: #e65303; font-size:18px; line-height: 24px; color:#ffffff; text-align: center;}

.adb{
    width: 100%;
    text-align: left;
    padding-left: 10px;
}
.adb img{width: 96%;}

/* 頁底 */
.footer {clear: both;}

/* 回頁首 */
a#jump {display: none \9;}
a#jump div {width: 50px; height: 50px; background-color: #cc0000; color: #ffffff; font-size: 16px; line-height: 16px; font-weight: bold; font-family: Arial, Helvetica, sans-serif; text-align: center; text-decoration: none; opacity: 0.7; filter: alpha(opacity=70); cursor: pointer; position: fixed; right: 15px; bottom: 15px; border-radius: 50%; z-index: 6; _display: none; transition: background-color 0.2s linear, opacity 0.2s linear, filter 0.2s linear, transform 0.1s linear;}
a#jump:hover div {background-color: #ff00ff; opacity: 1; filter: alpha(opacity=100); transform: scale(1.25,1.25); box-shadow: 0 2px 6px rgba(0,0,0,0.7);}
a#jump b {display: block; font-size: 24px; line-height: 24px; font-family: Verdana, Geneva, sans-serif; position: relative; top: 5px;}
