/*
Zerotheme.com | Free Html5 Responsive Templates
Author URI: https://www.zerotheme.com/
*/
@import url(https://fonts.googleapis.com/css?family=Goudy+Bookletter+1911);
/* ---------------------------------------------------------------------------- */
/* ------------------------------------Reset----------------------------------- */
/* ---------------------------------------------------------------------------- */
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
blockquote,
big,
body,
center,
canvas,
caption,
cite,
code,
command,
datalist,
dd,
del,
details,
dfn,
dl,
div,
dt,
em,
embed,
fieldset,
figcaption,
figure,
font,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
keygen,
label,
legend,
li,
meter,
nav,
object,
ol,
output,
p,
pre,
progress,
q,
s,
samp,
section,
small,
span,
source,
strike,
strong,
sub,
sup,
table,
tbody,
tfoot,
thead,
th,
tr,
tdvideo,
tt,
u,
ul,
var {
  background: transparent;
  border: 0 none;
  font-size: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: top;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
table,
table td {
  padding: 0;
  border: none;
  border-collapse: collapse;
}
img {
  vertical-align: top;
}
embed {
  vertical-align: top;
}
article,
aside,
audio,
canvas,
command,
datalist,
details,
embed,
figcaption,
figure,
footer,
header,
hgroup,
keygen,
meter,
nav,
output,
progress,
section,
source,
video {
  display: block;
}
mark,
rp,
rt,
ruby,
summary,
time {
  display: inline;
}
input,
textarea {
  border: 0;
  padding: 0;
  margin: 0;
  outline: 0;
}
iframe {
  border: 0;
  margin: 0;
  padding: 0;
}
input,
textarea,
select {
  margin: 0;
  padding: 0px;
}

/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */

/**:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}*/

/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */

html {
   -webkit-text-size-adjust: none;
}
.video embed,
.video object,
.video iframe {
   width: 100%;
    height: auto;
}
img {
  max-width: 100%;
  height: auto;
  width: auto\9; /* ie8 */
}

a {
  color: #4c4c4c;
  text-decoration: none;
}
a:hover {
  opacity: 0.9;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-size: 25px;
  line-height: 25px;
  font-family: "noto sans tc", sans-serif;
  margin: 25px 0;
  font-color: #141414;
}
h4,
h5,
h6 {
  font-size: 16px;
  line-height: 16px;
  font-family: "Goudy Bookletter 1911", Georgia, serif;
  font-color: #1976d2;
}

p {
  margin: 10px 0;
  line-height: 36px;
  font-family: "noto sans tc", sans-serif;
  font-size: 18px;
  color: #737373;
}

.t-center {
  text-align: center;
  font-family: "noto sans tc", sans-serif;
  color: #242424;
}
.t-left {
  text-align: left;
}
.t-right {
  text-align: right;
}
.f-right {
  float: right;
}
.f-left {
  float: left;
}

.post {
}
.post:after,
.post:before,
article:after,
article:before,
section:after,
section:before {
  clear: both;
  content: "\0020";
  display: block;
  visibility: hidden;
  width: 0;
  height: 0;
}

.clear {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix:after,
.clearfix:before {
  clear: both;
  content: "\0020";
  display: block;
  visibility: hidden;
  width: 0;
  height: 0;
}

/* ---------------------------------------------------------------------------- */
/* ------------------------------------Html-Body------------------------------- */
/* ---------------------------------------------------------------------------- */
html,
body {
  width: 100%;
  padding: 0;
  margin: 0;
}
body {
  background: url(../images/main-bg.jpg) no-repeat fixed 100% 100%;
}
body .wrap-body {
}

/* ---------------------------------------------------------------------------- */
/* -------------------------------------Header--------------------------------- */
/* ---------------------------------------------------------------------------- */
header {
  margin-top: 20px;
}
header .wrap-header {
  background: #fff;
  padding: 30px 0 0;
  border-top: 5px solid #27366f;
}

@media (max-width: 767px) {
  header {
    margin-top: 0;
  }
}
/* ---------------------------------------------------------------------------- */
/* --------------------------------Zoom-Effect--------------------------------- */
/* ---------------------------------------------------------------------------- */
.zoom-container {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100% !important;
}
/* ---------------------------------------------------------------------------- */
/* -------------------------------------Container------------------------------ */
/* ---------------------------------------------------------------------------- */
#container {
}
#container .wrap-container {
}

/* ---content-box--- */
.content-box {
}
.content-box h2.header {
  font-size: 38px;
  font-weight: 500;
  color: #242424;
  margin: 30px 0;
  line-height: 1.2;
  font-family: "noto sans tc", sans-serif;
}
.content-box.box-style-1 {
  background: #f1f1e6;
}
.content-box.box-style-2 {
  background: url(../images/box-style-2.jpg) repeat fixed 100% 100%;
  background-size: cover;
}
.content-box.box-style-3 {
  background: url(../images/box-style-3.jpg) no-repeat fixed center center;
  background-size: cover;
}

.content-box .item {
  padding: 10px 0;
}
.content-box .item:hover .item-content {
  color: #fff;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}
.content-box .item h3.item-header {
  font-size: 25px;
  margin: 0 0 20px;
  font-family: "noto sans tc", sans-serif;
}
.content-box .item img {
  display: block;
  width: 100% !important;
  height: auto;
  -webkit-transition: all 0.5s ease; /* Safari and Chrome */
  -moz-transition: all 0.5s ease; /* Firefox */
  -ms-transition: all 0.5s ease; /* IE 9 */
  -o-transition: all 0.5s ease; /* Opera */
  transition: all 0.5s ease;
}
.content-box .item .item-content {
  background-color: #fff;
  padding: 25px;
  border: 1px solid #ddd;
}
.content-box .item span {
  font-size: 15px;
  font-weight: 500;
  color: #000;
}
.content-box .item .item-content p {
  margin: 0;
}

.content-box.box-1 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 30px;
}

.content-box.box-1.item:hover a.button {
  text-decoration: underline;
}
.content-box.box-1 .zoom-container {
  margin: 0;
}
.content-box.box-1 .item:hover .zoom-container img {
  -webkit-transform: scale(1.25); /* Safari and Chrome */
  -moz-transform: scale(1.25); /* Firefox */
  -ms-transform: scale(1.25); /* IE 9 */
  -o-transform: scale(1.25); /* Opera */
  transform: scale(1.25);
}
.content-box.box-1 .item img {
  display: block;
  width: 100% !important;
  height: 180px;
  -webkit-transition: all 0.5s ease; /* Safari and Chrome */
  -moz-transition: all 0.5s ease; /* Firefox */
  -ms-transition: all 0.5s ease; /* IE 9 */
  -o-transition: all 0.5s ease; /* Opera */
  transition: all 0.5s ease;
}

.content-box.box-1 .item {
  max-width: 400px;
  margin: auto;
}

.content-box.box-2 {
  padding: 200px 0;
}

.content-box.box-3 {
}

.content-box.box-4 {
  padding: 30px 0;
  color: #fff;
}
.content-box.box-4 h2.header,
.content-box.box-4 a.button-1 {
  color: #787878 !important;
  font-family: "noto sans tc", sans-serif;
}

.link {
  margin-bottom: 25px;
}
.link li {
  margin-bottom: 5px;
}
.link a {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
}
.link a:hover {
  color: #f26324;
}
.link li:before {
  content: "";
  margin-right: 13px;
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-bottom: 2px;
  background-color: #f26324;
}
.link li ul {
  display: none;
}

/* ---MainContent-Article--- */
#main-title h2 {
  font-size: 1.8rem;
  margin: 4vh auto;
  text-align: center;
  align-items: center;
}

#main-content {
}
#main-content .wrap-content {
  background: #f1f1e6;
  padding: 30px 0;
}

article {
  background: #ffffff;
  color: #3f3f3f;
  margin-bottom: 40px;
  border: 1px solid #ddd;
}
article:after,
article:before {
  clear: both;
  content: "\0020";
  display: block;
  visibility: hidden;
  width: 0;
  height: 0;
}
article .art-header {
}
article .art-content {
  padding: 40px 60px 30px 60px;
  line-hight: 15px;
}
article .art-content blockquote {
  border-left: 3px solid #1c7791;
  font-size: 18px;
  margin: 0 50px;
  color: #666;
  padding-left: 20px;
}
article .art-content ol {
  float: left;
  text-align: justify;
  margin: 10px 50px;
  font-size: 16px;
  list-style-type: circle;
}

article .entry-title {
  margin: 0 0 20px;
  text-align: center;
}
article h1.entry-title {
  line-height: 1.2;
  font-size: 38px;
  font-family: "noto sans tc", sans-serif;
  color: #242424;
}
article h2 {
  line-height: 1.1;
  font-size: 20px;
  margin: 0;
}
article .info a {
  color: #be0a0a;
}
article .info a:hover {
  text-decoration: underline;
}
/* ---------------------------------------------------------------------------- */
/* --------------------------------------Footer-------------------------------- */
/* ---------------------------------------------------------------------------- */
footer {
  background-color: #fff;
  padding: 10px 0;
}
footer .copy-right {
  margin-top: 20px;
  margin-left: 45px;
}

ul.bottom-social li {
  margin-right: 7px;
  display: inline-block;
  text-align: center;
}
ul.bottom-social li a {
  padding: 7px;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 22px;
  color: #ffffff;
  background: #27366f;
} /*右下方icon圖顏色與底圖顏色*/
ul.bottom-social li a i {
  margin-top: 4px;
}
ul.bottom-social li a:hover,
ul.bottom-social li a:focus,
ul.bottom-social li a:active {
  opacity: 0.7;
}

/* ---------------------------------------------------------------------------- */
/* -------------------------------------Contact-------------------------------- */
/* ---------------------------------------------------------------------------- */

#contact_form * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.contact h3 {
  margin-left: 30px;
}
#contact_form {
  padding: 0px;
}

#ff label {
  cursor: pointer;
  margin: 5px 0;
  display: block;
  font-weight: bold;
}

#ff input {
  display: block;
  width: 100%;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  color: #000;
  border: 1px solid #1976d2;
  padding: 13px;
  margin: 5px 0 25px 0;
  font-size: 16px;
  max-height: 45px;
}

#ff textarea {
  display: block;
  width: 100%;
  height: 200px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  background-color: #fff;
  color: #000;
  border: 1px solid #1976d2;
  padding: 10px;
  margin: 5px 0 25px 0;
}

#ff .sendButton {
  cursor: pointer;
  background-color: #1976d2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  width: 50%;
  color: #ffffff;
}
#ff .sendButton:hover {
  opacity: 0.8;
}

/* ---------------------------------------------------------------------------- */
/* -------------------------------------Button--------------------------------- */
/* ---------------------------------------------------------------------------- */
a.button-1 {
  color: #000;
  font-family: "Racing Sans One", cursive;
  font-size: 16px;
  margin: 20px 0;
}
a.button-1:hover {
  text-decoration: underline;
}

a.button-2 {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 50px;
}
a.button-2:hover {
  background-color: rgba(0, 0, 0, 0.9);
}
/* ---------------------------------------------------------------------------- */
/* ---------------------------------Slider------------------------------------- */
/* ---------------------------------------------------------------------------- */
.rslides {
}

.callbacks_container {
  position: relative;
  float: left;
  width: 100%;
}

.callbacks {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}

.callbacks li {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.callbacks img {
  display: block;
  position: relative;
  z-index: 1;
  height: auto;
  width: 100%;
  border: 0;
}

.callbacks .caption {
  display: block;
  position: absolute;
  z-index: 2;
  font-size: 20px;
  text-shadow: none;
  color: #fff;
  background: #000;
  background: rgba(0, 0, 0, 0.8);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 20px;
  margin: 0;
  max-width: none;
}

.callbacks_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  top: 52%;
  left: 0;
  opacity: 0.7;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("../images/themes.gif") no-repeat left top;
  margin-top: -45px;
}

.callbacks_nav:active {
  opacity: 1;
}

.callbacks_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
}

/* ---------------------------------------------------------------------------- */
/* --------------------------------------Zoom---------------------------------- */
/* ---------------------------------------------------------------------------- */
.zoom-container {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-size: 16px;
  vertical-align: top;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin-bottom: 20px;
}
.zoom-container img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-transition: all 0.5s ease; /* Safari and Chrome */
  -moz-transition: all 0.5s ease; /* Firefox */
  -ms-transition: all 0.5s ease; /* IE 9 */
  -o-transition: all 0.5s ease; /* Opera */
  transition: all 0.5s ease;
}
.zoom-container .zoom-caption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  font-size: 15px;
  -webkit-transition: all 0.5s ease; /* Safari and Chrome */
  -moz-transition: all 0.5s ease; /* Firefox */
  -ms-transition: all 0.5s ease; /* IE 9 */
  -o-transition: all 0.5s ease; /* Opera */
  transition: all 0.5s ease;
}
.zoom-container .zoom-caption h3 {
  font-family: "Shadows Into Light", cursive;
}
.zoom-container .zoom-caption a {
  font-size: 20px;
  color: #fff;
}
.zoom-container .zoom-caption i {
  display: block;
  text-align: center;
  font-size: 40px;
  color: #fff;
}

.zoom-container:hover img {
  -webkit-transform: scale(1.25); /* Safari and Chrome */
  -moz-transform: scale(1.25); /* Firefox */
  -ms-transform: scale(1.25); /* IE 9 */
  -o-transform: scale(1.25); /* Opera */
  transform: scale(1.25);
}
.zoom-container:hover .zoom-caption {
  background: rgba(255, 223, 0, 0.7);
  z-index: 10;
  color: #fff;
}
.caption-inner {
  display: table;
  width: 100%;
  height: 100%;
}
.caption-inner1 {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}
/* ---------------------------------------------------------------------------- */
/* --------------------------------Google-Map---------------------------------- */
/* ---------------------------------------------------------------------------- */
.maps iframe {
  pointer-events: none;
}

/* ------------------------------add here--------------------------------- */
.style1 {
  color: #787878;
}
.md-word-outter {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.md-word {
  width: 100%;
}

.md-word p {
  color: #27366f;
  font-size: 1.5rem;
  text-align: center;
}

.md-detail {
  width: 100%;
  color: #787878;
}

.md-title {
  width: 100%;
  margin-bottom: 20px;
}

.md-title p {
  color: #27366f;
  text-align: center;
  font-size: 1.3rem;
}

.product-img {
  width: 100%;
  margin: 20px;
}
.product-img img {
  margin: auto;
  display: block; /*圖片置中*/
}

.line-high-outter {
  width: 100%;
  margin: 3em auto;
}

.line-high li {
  margin: 1em;
}

.edm-space {
  width: 100%;
  margin: 5em auto;
  align-items: center;
  justify-content: center;
}

.edm-space img {
  width: 100%;
}
