@charset "utf-8";
/*
 * CSS Document
 * ==========================================================================
 * 版權所有 2016 鉅潞科技網頁設計公司，並保留所有權利。
 * 網站地址: http://www.grnet.com.tw
 * ==========================================================================
 * $Author: Jia $
 * $Date: 2016-08-19 Fri. $
 * **請注意: 本樣式檔提供網站內共同樣式，各分頁獨立樣式請寫入custom.css。
*/

/* Fonts */
@import 'https://fonts.googleapis.com/css?family=Open+Sans:300';

/* Global Style */
img { border: 0; vertical-align: bottom; }
a, a:visited, a:hover, a:focus, a:active { text-decoration: none; }
:focus, :active { outline: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
p { line-height: inherit; }
label { font-weight: inherit; }
input, button, textarea, select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  *font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  outline: 0;
}
textarea { resize: vertical; }
ol.reset, ul.reset, li.reset { margin: 0; padding: 0; list-style: none; }
section, article, aside, footer, header, nav, main {
  display:block;
}
html {
  font-size: 16px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
  width: 100%;
  position: relative;
  line-height: 26px;
  font-family: 'Arial', 'Microsoft JhengHei', Sans-serif;
  color: #000;
  background: #e5e5e5;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  z-index: 999;
  width: 100vw;
  height: 42px;
  border-bottom: 2px solid #000;
  background: #fff;
  padding: 0;
}
.header .logo {
  position: absolute;
  width: 100%;
  height: 40px;
  margin: 0;
  top: 0;
  left: 0;
  overflow: hidden;
}
.header .logo a {
  display: block;
  height: 40px;
  padding: 10px;
  -webkit-tap-highlight-color: rgba(0,0,0,.1);
  transition: margin-top .5s cubic-bezier(0,.4,.4,1);
  -ms-transition: margin-top .5s cubic-bezier(0,.4,.4,1);
  -moz-transition: margin-top .5s cubic-bezier(0,.4,.4,1);
  -webkit-transition: margin-top .5s cubic-bezier(0,.4,.4,1);
}
.header .logo.cate a {
  margin-top: -40px;
}
.header .logo a img {
  display: block;
  margin: auto;
}
.header .logo span {
  display: block;
  height: 40px;
  line-height: 20px;
  font-size: 0.875rem;
  font-weight: bold;
  color: #000;
  text-align: center;
  padding: 10px 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* .header a.cart {
  display: block;
  position: relative;
  float: right;
  width: 40px;
  height: 40px;
  line-height: 20px;
  font-size: 0.75rem;
  font-style: italic;
  font-weight: bold;
  color: #fff;
  background: url('../images/header_cart.png') center no-repeat;
  background-size: 40px 40px;
  text-align: center;
  padding-top: 12px;
  padding-right: 3px;
} */

.header a.member {
  display: block;
  position: relative;
  float: right;
  width: 40px;
  height: 40px;
  background: url('../images/header_member.png') center no-repeat;
  background-size: 20px 20px;
}
.header a.switch {
  display: block;
  position: relative;
  float: left;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0);
}
.header a.switch span {
  display: block;
  position: absolute;
  width: 18px;
  height: 2px;
  background: #000;
  left: 11px;
  transition: all .3s cubic-bezier(0,.4,.4,1);
  -ms-transition: all .3s cubic-bezier(0,.4,.4,1);
  -moz-transition: all .3s cubic-bezier(0,.4,.4,1);
  -webkit-transition: all .3s cubic-bezier(0,.4,.4,1);
}
.header a.switch span:nth-child(1),
.header a.switch span:nth-child(2) {
  top: 19px;
}
.header a.switch span:nth-child(3) {
  top: 13px;
}
.header a.switch span:nth-child(4) {
  top: 25px;
}
.header a.switch.open span:nth-child(1) {
  width: 20px;
  left: 10px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
.header a.switch.open span:nth-child(2) {
  width: 20px;
  left: 10px;
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.header a.switch.open span:nth-child(3) {
  left: 0;
  opacity: 0;
}
.header a.switch.open span:nth-child(4) {
  left: 22px;
  opacity: 0;
}
.header a.cart:active,
.header a.member:active,
.header a.switch:active {
  background-color: rgba(0,0,0,.05);
}
/*.header a.cart,
.header a.member,
.header a.switch {
  -webkit-tap-highlight-color: rgba(0,0,0,.05);
}*/
.header .nav {
  position: fixed;
  width: 250px;
  height: calc(100vh - 40px);
  border-top: 2px solid #000;
  background: rgba(255,255,255,.95);
  top: 40px;
  left: -250px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling:touch;
  transition: left .5s cubic-bezier(0,.4,.4,1);
  -ms-transition: left .5s cubic-bezier(0,.4,.4,1);
  -moz-transition: left .5s cubic-bezier(0,.4,.4,1);
  -webkit-transition: left .5s cubic-bezier(0,.4,.4,1);
}
.header .nav.open {
  left: 0;
}
.header .nav .nav-rail {
  position: relative;
  width: 250px;
  padding-bottom: 80px;
}
.header .nav .nav-main > li > a {
  display: block;
  line-height: 26px;
  font-size: 0.9375rem;
  font-weight: bold;
  color: #000;
  background: none;
  padding: 7px 20px;
  text-transform: uppercase;
}
.header .nav .nav-sub {
  display: none;
}
.header .nav .nav-main > li.open > .nav-sub,
.header .nav .nav-main > li.always-open > .nav-sub {
  display: block;
}
.header .nav .nav-sub > li.open {
  background: #f5f5f5;
}
.header .nav .nav-sub > li.current {
  background: #eee;
}
.header .nav .nav-sub > li > a {
  display: block;
  position: relative;
  line-height: 23px;
  font-size: 0.875rem;
  color: #444;
  background: none;
  padding: 5px 40px 5px 20px;
}
.header .nav .nav-sub > li > a.drop:before {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 13px;
  background: #444;
  top: 10px;
  right: 26px;
}
.header .nav .nav-sub > li.open > a.drop:before,
.header .nav .nav-sub > li.current > a.drop:before {
  display: none;
}
.header .nav .nav-sub > li > a.drop:after {
  content: '';
  display: block;
  position: absolute;
  width: 13px;
  height: 1px;
  background: #444;
  top: 16px;
  right: 20px;
}
.header .nav .nav-sub > li > .nav-grand {
  display: none;
}
.header .nav .nav-sub > li.open > .nav-grand,
.header .nav .nav-sub > li.current > .nav-grand {
  display: block;
}
.header .nav .nav-grand > li > a {
  display: block;
  line-height: 20px;
  font-size: 0.8125rem;
  color: #888;
  padding: 4px 40px 4px 35px;
}
.header .nav .nav-opt {
  border-top: 1px solid #ccc;
  margin-top: 15px;
  padding-top: 15px;
}
.header .nav .nav-opt > li.open {
  background: #f5f5f5;
}
.header .nav .nav-opt > li.current {
  background: #eee;
}
.header .nav .nav-opt > li > a {
  display: block;
  position: relative;
  line-height: 27px;
  font-size: 0.875rem;
  color: #444;
  background: none;
  padding: 5px 20px;
}
.header .nav .nav-opt > li > a.drop:before {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 13px;
  background: #444;
  top: 10px;
  right: 26px;
}
.header .nav .nav-opt > li.open > a.drop:before,
.header .nav .nav-opt > li.current > a.drop:before {
  display: none;
}
.header .nav .nav-opt > li > a.drop:after {
  content: '';
  display: block;
  position: absolute;
  width: 13px;
  height: 1px;
  background: #444;
  top: 16px;
  right: 20px;
}
.header .nav .nav-opt > li > .nav-opt-sub {
  display: none;
}
.header .nav .nav-opt > li.open > .nav-opt-sub,
.header .nav .nav-opt > li.current > .nav-opt-sub {
  display: block;
}
.header .nav .nav-opt-sub > li > a {
  display: block;
  line-height: 20px;
  font-size: 0.8125rem;
  color: #888;
  padding: 4px 40px 4px 35px;
}
.header .nav .nav-main > li > a:active,
.header .nav .nav-sub > li > a:active,
.header .nav .nav-grand > li > a:active,
.header .nav .nav-opt > li > a:active,
.header .nav .nav-opt-sub > li > a:active {
  background: rgba(0,0,0,.05);
}
/*.header .nav .nav-main > li > a,
.header .nav .nav-sub > li > a,
.header .nav .nav-grand > li > a,
.header .nav .nav-opt > li > a {
  -webkit-tap-highlight-color: rgba(0,0,0,.05);
}*/
.header .nav-main{ margin-top: 15px; }
/* Footer */
.footer {
  background: #000;
  text-align: center;
  padding: 15px 10px;
}
.footer .social li {
  display: inline-block;
  vertical-align: top;
}
.footer .social li a {
  display: block;
  border-radius: 3px;
  /*-webkit-tap-highlight-color: rgba(255,255,255,.1);*/
}
.footer .social li a:active {
  background: rgba(255,255,255,.1);
}
.footer .copy {
  line-height: 20px;
  font-size: 0.75rem;
  color: #666;
  margin: 0;
}

/* Go-Top Button */
a.go-top {
  position: fixed;
  z-index: 99;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,.5);
  border-radius: 100%;
  right: 10px;
  bottom: 40px;
  opacity: 0;
  transform: scale(0);
  -ms-transform: scale(0);
  -moz-transform: scale(0);
  -webkit-transform: scale(0);
  transition: all .3s cubic-bezier(0,.4,.4,1);
  -ms-transition: all .3s cubic-bezier(0,.4,.4,1);
  -moz-transition: all .3s cubic-bezier(0,.4,.4,1);
  -webkit-transition: all .3s cubic-bezier(0,.4,.4,1);
}
a.go-top.scroll {
  opacity: 1;
  transform: scale(1);
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
}
a.go-top:hover {
  background: rgba(0,0,0,.75);
}
a.go-top:after {
  content: '';
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(255,255,255,.5);
  border-left: 1px solid rgba(255,255,255,.5);
  top: 16px;
  left: 14px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/* Page Wrap */
.g-wrap {
  position: relative;
  padding-top: 42px;
  left: 0;
  transition: left .5s cubic-bezier(0,.4,.4,1);
  -ms-transition: left .5s cubic-bezier(0,.4,.4,1);
  -moz-transition: left .5s cubic-bezier(0,.4,.4,1);
  -webkit-transition: left .5s cubic-bezier(0,.4,.4,1);
}
.g-wrap.open {
  position: fixed;
  width: 100vw;
  left: 250px;
}





/* Form */
dl.form-group {
  margin-bottom: 15px;
}
dl.form-group dt,
dl.form-group dd {
  font-weight: normal;
}
dl.form-group dt {
  line-height: 20px;
  font-size: 0.875rem;
  padding-bottom: 4px;
}
dl.form-group dd {
  line-height: 40px;
  font-size: 0.875rem;
}
label.radio-def,
label.checkbox-def {
  display: inline-block;
  float: left;
  position: relative;
  height: 22px;
  line-height: 22px;
  font-size: 0.875rem;
  color: #333;
  margin: 0 10px 0 0;
  padding-left: 25px;
  vertical-align: top;
}
label.radio-def input[type="radio"],
label.checkbox-def input[type="radio"],
label.checkbox-def input[type="checkbox"] {
  display: none;
}
label.radio-def input[type="radio"] + span {
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid #333;
  background: rgba(0,0,0,0);
  border-radius: 100%;
  top: 2px;
  left: 0;
}
label.checkbox-def input[type="radio"] + span,
label.checkbox-def input[type="checkbox"] + span {
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid #333;
  background: rgba(0,0,0,0);
  top: 2px;
  left: 0;
}
label.radio-def input[type="radio"]:checked + span,
label.checkbox-def input[type="radio"]:checked + span,
label.checkbox-def input[type="checkbox"]:checked + span {
  border-color: #000;
  background: #fff;
}
label.radio-def input[type="radio"]:checked + span:after {
  content: '';
  display: block;
  position: absolute;
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 100%;
  top: 3px;
  left: 3px;
}
label.checkbox-def input[type="radio"]:checked + span:after,
label.checkbox-def input[type="checkbox"]:checked + span:after {
  content: '';
  display: block;
  position: absolute;
  width: 6px;
  height: 12px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  top: 1px;
  left: 5px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
input.def {
  height: 40px;
  font-size: 0.875rem;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 0;
  padding: 0 10px;
}
input.def:focus {
  border-color: #999;
  background-color: #eee;
}
textarea.def {
  line-height: 18px;
  font-size: 0.875rem;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 0;
  padding: 4px 10px;
  resize: none;
}
textarea.def:focus {
  border-color: #999;
  background-color: #eee;
}
select.def {
  height: 40px;
  font-size: 0.875rem;
  border: 1px solid #ccc;
  background: #fff url('../images/form_select.png') right center no-repeat;
  background-size: 20px 40px;
  border-radius: 0;
  padding: 0 26px 0 10px;
  -moz-appearance: none;
  -webkit-appearance: none;
}
select.def::-ms-expand {
  display: none;
}
select.def:focus {
  border-color: #999;
  background-color: #eee;
}

/* 彈跳視窗 */
.mfp-container {
  padding: 0;
}

/* 文字編輯器 */
.text-edit {
  line-height: 22px;
  font-size: 0.875rem;
}
.text-edit * {
  max-width: 100%;
}
.text-edit img {
  height: auto !important;
}
/* 尺寸樣板 */
.size-table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid #ddd;
  border-collapse: collapse;
  margin: auto;
}
.size-table + .size-table {
  margin-top: 15px;
}
.size-table thead th {
  text-align: center;
  font-weight: normal;
  background: #e5e5e5;
  padding: 5px 15px;
}
.size-table thead th:first-child {
  border-right: 1px solid #fff;
}
.size-table tbody th {
  text-align: center;
  font-weight: normal;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #e5e5e5;
  padding: 5px 15px;
}
.size-table tbody td {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  padding: 5px 15px;
}
.size-table tbody tr:last-child th,
.size-table tbody tr:last-child td {
  border-bottom-color: #ddd;
}
.size-table tfoot td {
  padding: 4px 10px;
}
.size-table tfoot ul li {
  position: relative;
  padding: 1px 0 1px 15px;
}
.size-table tfoot ul li:before {
  content: '';
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 100%;
  top: 9px;
  left: 0;
}


/*