/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Roboto", "Microsoft JhengHei", serif;
  vertical-align: baseline;
  font-size: 13px;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Oswald", "Roboto", "Microsoft JhengHei", serif;
  vertical-align: baseline;
  font-size: 13px;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  font-size: 100%;
}

body {
  font-size: 1em;
  min-width: 295px;
  overflow-x: hidden;
  font-weight: normal;
  word-wrap: break-word;
  word-break: normal;
  line-height: 1.6;
  font-family: "Roboto", sans-serif, "Microsoft JhengHei";
}

:focus {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline: none !important;
}

a {
  color: #000000;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

a:hover {
  color: #bbbbbb;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

img {
  max-width: 100%;
  user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.form-control {
  font-size: 0.875em;
  border-radius: 0;
}

textarea.form-control:focus {
  border-color: #fff;
  background-color: #fff;
  color: #fff;
  outline: 0;
}

.form-control:focus {
  border-color: #222;
  color: #222;
  outline: 0;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1350px) {
  .container {
    max-width: 1280px;
  }
}

.id-scene {
  /* background-size:cover;
  background-position: center;
  background-repeat:no-repeat; */
  width: 100%;
  height: 100%;
  object-fit: contain; /*20210125 cover*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.id-scene-2 {
  /* background-size:cover;
  background-position: center;
  background-repeat:no-repeat; */
  width: 100%;
  height: 100%;
  object-fit: contain; /*20210125 cover*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
/*------------------------------------------------------------------
    [MENU]
------------------------------------------------------------------*/

#site-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}
#site-canvas {
  width: 85.5%; /*20210126 82% 20210125 100%*/
  height: 100%;
  position: relative;

  -webkit-transform: translateX(0);
  transform: translateX(0);

  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

  -webkit-transition: 300ms ease all;
  transition: 300ms ease all;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  padding: 3%;
}
.show-nav #site-canvas {
  -webkit-transform: translateX(295px);
  transform: translateX(295px);

  -webkit-transform: translate3d(295px, 0, 0);
  transform: translate3d(295px, 0, 0);
}

.btn-open {
  background: #111;
  margin-top: -150px ; /* 20210125 -40px;  20210114 old 20px*/  
  position: absolute;
  left: 0;
  color: #fff;
  display: block;
  padding: 1em 0.8em;
}

.header-hamburger {
  background: #000;
  display: block;
  width: 20px;
  height: 15px;
  line-height: 15px;
  position: relative;
  transform: rotate(0deg);
  cursor: pointer;
}

.header-hamburger span {
  display: block;
  position: absolute;
  height: 2.5px;
  width: 100%;
  background: rgb(255, 255, 255);
  box-sizing: border-box;
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
  transition-property: transform, opacity;
  transform-origin: left center;
}

.header-hamburger span:nth-child(1) {
  top: 0px;
}

.header-hamburger span:nth-child(2) {
  top: 6px;
}

.header-hamburger span:nth-child(3) {
  top: 12px;
}

.hamburger-expanded.header-hamburger span:nth-child(1) {
  transform: rotate(45deg) translateY(-1.5px);
}

.hamburger-expanded.header-hamburger span:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
}

.hamburger-expanded.header-hamburger span:nth-child(3) {
  transform: rotate(-45deg) translateY(1px);
}

/*------------------------------------------------------------------
    [Side Menu]
------------------------------------------------------------------*/

#site-menu {
  width: 295px; /*202106041725 286px; 20200126 350  20210125 這css all500px > 350px*/
  height: 100%;
  position: absolute;
  top: 0;
  left: -295px;
  background: #fff;
  padding: 10px; /*20210125 50 > 10*/
  overflow: auto;
}

@media (max-width: 768px) {
}

h1 {
  font-size: 18px; /*20210126 20px*/
  line-height: 2em;
}
h1 span {
  font-size: 18px;  /*20210126 20px*/
  font-weight: bold;
}

.cat {
  margin-top: 2em; /*202012072138 3em*/
}
.cat a,
.vr-720 a {
  border: 1px solid #111;
  color: #111;
  display: inline-block;
  padding: 3px 15px;
}
.vr-720 a:hover,
.cat a:hover,
.cat a:focus,
.cat a:active,
.cat a.active {
  border: 1px solid #111;
  background: #111;
  color: #fff;
}

label {
  padding-top: 1em;
  line-height: 2em;
  font-weight: normal;
}

.accordion {
  border-top: 1px solid #111;
  border-left: 1px solid #111;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  color: #111;
  cursor: pointer;
  padding: 0.5em 1em;
  width: 100%;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}
.accordion:after {
  content: "\002B";
  color: #111;
  font-weight: normal;
  float: right;
  margin-left: 10px;
}
.accordion.active:after {
  content: "\2212";
}
.panel {
  border-bottom: 1px solid #111;
  border-left: 1px solid #111;
  border-right: 1px solid #111;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.panel a {
  display: block;
  padding: 0.5em 1em;
}
.panel a:hover {
  color: #fff;
  background: #111;
}

/* Scrollbar items*/
.swiper-container .option {
  width: 100%;
  height: 500px;
  margin-left: auto;
  margin-right: auto;
}

.option .swiper-wrapper {
 
  overflow-x: auto;
   Flex-wrap: wrap; /*20201204*/
  flex-direction: row; /*20201204*/
}
.option .swiper-slide {
  width: 50px !important; /*2020126 55px*/
  height: 50px; /*2020126 55px*/
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0.5rem 1rem 3.5rem 1rem; /*202105261044*/
  border: 0.5px solid #cac9c9;
  background-size: cover;
  
}
.swiper-slide.active {
  opacity: 1;
  -moz-box-shadow: 2px 2px 10px #333; /* 老的 Firefox */
  border: 2px solid rgb(0, 40, 200); /*202012041642 border: 5px solid rgb(70, 70, 70); */
}

.option .swiper-slide p {
  position: absolute;
  top: 50px; /* 202505080902 55px;  202012041642 bottom: -40px; > bottom: -50px; */
  width:80px; text-align: center; /*202101121749*/
  line-height: 1rem;
}

/* pd info */
.pd_info {
  margin: 1.2em 0;
}
.pd_info .pd_img {
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  width: 150px;
}
.pd_info h2 {
  line-height: 1.2em;
  font-size: 1.2em;
  font-weight: 600;
  padding-bottom: 0.5em;
}
.pd_info small {
  color: #888;
  display: block;
  line-height: 1.2em;
  font-size: 0.7em;
  font-family: "Roboto", "Microsoft JhengHei", serif;
  padding-bottom: 0.8em;
}
.pd_info dl {
  width: 100%;
  font-size: 15px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.pd_info dt {
  float: left;
  width: 25%;
  padding: 0;
  margin: 0;
}
.pd_info dd {
  float: left;
  width: 75%;
  padding: 0;
  margin: 0;
}

.pd_info .tag {
  color: #666;
  font-size: 0.8em;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0 auto;
}
.pd_info .tag:before {
  background: url(../image/layers.svg) no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
}

.m-nav {
  margin-bottom: 1rem;
}

.btn-groups {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.show {
  display: block;
}

.hide {
  display: none;
}

@media (max-width: 768px) {
  .select-wrapper {
    margin-top: 1rem;
  }
}

@media (max-width: 543px) {
  .m-nav {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
  }
  #site-wrapper {
    position: absolute;
    overflow: inherit;
    width: 100%;
    height: 100vh;
  }
  #site-menu {
    width: 100%;
    padding: 50px 40px;
    overflow: scroll;
    border: 10px solid #111;
  }
  h1 {
    font-size: 16px;
    line-height: 2em;
  }
  .cat {
    margin-top: 1.6em;
  }
  .gallery-top .swiper-slide {
    padding: 0em;
    border: 0;
  }
 /* 202012091338 stop
   label {
    display: none;
  }*/
  .accordion {
    margin-top: 0.5em;
  }
  .pd_info ul li span {
    width: 50px;
  }
  .gallery-thumbs .swiper-slide {
    width: 25%;
    height: auto;
    padding-bottom: 15%;
    opacity: 0.8;
  }

  .pd_info dt,
  .pd_info dd {
    font-size: 12px;
  }
  .pd_info .tag {
    display: none;
  }
  .option .swiper-slide {
    width: 20% !important;
  }
}

/*------------------------------------------------------------------
    [Footer]
------------------------------------------------------------------*/
.footer {
  margin: 2em 0;
}
.footer h3 {
  font-size: 20px;
  line-height: 3em;
}
.footer p {
  font-size: 0.8em;
}

.footer strong a {
  border-bottom: 1px solid #fff;
  color: #111;
  font-family: "Oswald", "Roboto", "Microsoft JhengHei", serif;
  font-weight: 600;
}

.footer strong a:hover {
  color: #111;
  border-bottom: 1px solid #111;
}

/*------------------------------------------------------------------
    [Modal]
------------------------------------------------------------------*/
@media (min-width: 576px) {
  .modal-dialog {
    max-width: calc(100% - 40%);
    margin: 1.75rem auto;
  }
}

.modal-content {
  border: 0;
  border-radius: 0rem;
}
button.close {
  background: #fff;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  padding: 10px 20px;
  opacity: 0.7;
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0rem;
}

.pd_detail_img {
  color: #fff;
  padding: 30px;
}

.pd_detail_img h2 {
  line-height: 1.2em;
  font-size: 1.2em;
  font-weight: 600;
  padding-bottom: 0.5em;
}

.pd_detail_img ul li {
  font-size: 0.8em;
}

.pd_detail_img ul li span {
  display: inline-block;
  font-weight: 600;
  width: 70px;
}
.pd_detail_img .pd_img {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  padding-bottom: 100%;
  margin-bottom: 1.5em;
}
.pd_detail_info {
  padding: 20px;
}

/* Style the tab */
.pd_detail_info .tabcontent {
  display: block;
  padding: 6px 12px;
  border-top: none;
}
.pd_detail_info .title {
    margin-top: 10px; /*20210909 20px */
  margin-bottom: 5px; /*20210909 10px */
  line-height: 1.3; /*20210909 1.7 */
  font-size: 1.4em; /*20210909 1.1 */
  font-weight: 600;
}
.pd_detail_info p {
  font-family: "Roboto", "Microsoft JhengHei", serif;
}
.block {
  margin-top: 30px;
}

.pd_layout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
/*------------------------------------------------------------------
    [Button]
------------------------------------------------------------------*/

.btn-dark {
  color: #fff;
  background: #111;
  border-radius: 0;
}
.btn-dark:hover {
  background: #333;
  color: #fff;
}

.btn-outline-dark {
  color: #111;
  border-radius: 0;
  border-color: #111;
}
.btn-outline-dark:hover {
  background: #111;
  color: #fff;
}

.btn-outline-white {
  color: #fff;
  border-radius: 0;
  border-color: #fff;
}
.btn-outline-white:hover {
  background: #fff;
  color: #111;
}

/*------------------------------------------------------------------
    [Table]
------------------------------------------------------------------*/
.table td,
.table th {
  padding: 0.5rem;
}
.table thead th {
  border-bottom: 0;
}
/*------------------------------------------------------------------
    [Background]
------------------------------------------------------------------*/
.bg-dark {
  background: #111 !important;
}
.thead-dark {
  background: #111 !important;
}
.table .thead-dark th {
  background: #111 !important;
}


.signature-component {
  text-align: left;
  display: inline-block;
  max-width: 100%;
}
.signature-component h1 {
  margin-bottom: 0;
}
.signature-component h2 {
  margin: 0;
  font-size: 100%;
}
.signature-component button {
  padding: 1em;
  background: transparent;
  box-shadow: 2px 2px 4px #777;
  margin-top: .5em;
  border: 1px solid #777;
  font-size: 1rem;
}
.signature-component button.toggle {
  background: rgba(255, 0, 0, 0.2);
}
.signature-component canvas {
  display: block;
  position: relative;
  border: 1px solid;
}
.signature-component img {
  position: absolute;
  left: 0;
  top: 0;
}