
html {
  width: 100vw;
  overflow-x: hidden;
}
body {
  font-family: "Noto Sans TC";
  letter-spacing: 0.1em;
  font-size: 16px;
}
button:focus,
input:focus,
textarea:focus,
a:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: none;
}
a {
  color: rgba(74, 74, 74, 0.75);
}
a:hover {
  text-decoration: none;
  color: #86a905;
}
img {
  max-width: 100%;
}
.text-danger {
  color: #ff0000;
}
.pagecont {
  min-height: calc(100% - 20px);
}
/*--------------------*/
/*       header       */
/*--------------------*/
.headerwrap.fixed {
  padding-top: 60px;
}
.fixed header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
.navbar-center {
  justify-content: center !important;
}
.navbar-center.navbar .navbar-collapse {
  flex-grow: 0;
}

/*---------------------*/
/*     Search form     */
/*---------------------*/
.stick .searchwrap {
  display: none;
}
.stick .mean-nav .searchwrap {
  display: block;
}
.searchwrap {
  border: 1px solid #cccccc;
  margin: 30px 0 10px;
}
.searchwrap form,.searchwrap div {
  display: flex;
  background: #fff;
  margin: 0;
}
.searchwrap input {
  font-size: 14px;
  padding: 1px 6px;
  font-weight: 400;
  border: 0;
  background: transparent;
  width: calc(100% - 93px);
}
.searchwrap button {
  border: 0;
  background: #9d9282;
  color: #fff;
  font-size: 14px;
  border-left: 1px solid #9d9282;
  padding: 1px 10px;
  margin: -1px;
  width: 95px;
  text-align: center;
}

/*---------------------*/
/* text box with '...' */
/*---------------------*/
.txtbox {
  line-height: 1.5em;
  display: block;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  width: calc(100%);
}
.txtbox.line1 {
  white-space: nowrap;
  display: block;
}
.txtbox.line2 {
  height: 3em;
  -webkit-line-clamp: 2;
}
.txtbox.line3 {
  height: 4.5em;
  -webkit-line-clamp: 3;
}
.txtbox.line4 {
  height: 6em;
  -webkit-line-clamp: 4;
}

/*-------------------*/
/*        list       */
/*-------------------*/
ul.twocol:after {
  content: "";
  display: table;
  clear: both;
}
ul.twocol li {
  float: left;
  width: 50%;
}
ul.lefticon li {
  padding-left: 26px;
  position: relative;
}
ul.lefticon li i {
  width: 18px;
  text-align: center;
  position: absolute;
  left: 0;
  top: 0.4em;
}
ul.iconlist {
  display: inline-flex;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
}
ul.iconlist a {
  padding: 6px;
  display: block;
}

.has_submenu {
  position: relative;
}
.has_submenu ul {
  width: 100%;
  list-style: none;
  padding: 0;
  background: #fff;
  display: none;
}

/*-------------------*/
/* scrool customized */
/*-------------------*/
/*
::-webkit-scrollbar {width: 10px;}
::-webkit-scrollbar-track {background: #f1f1f1; }
::-webkit-scrollbar-thumb {background: #888; }
::-webkit-scrollbar-thumb:hover {background: #555; }
*/

/*------------------*/
/*    responsive    */
/*------------------*/
@media (min-width: 768px) {
  .has_submenu ul {
    position: absolute;
    left: 0;
    top: 100%;
  }
  .has_submenu:hover ul {
    display: block;
  }
}

/*---- common styles end. updated:20190722 ---- */

/*--------------------*/
/* Project Customized */
/*--------------------*/
::-moz-placeholder {
  color: #4a4a4a;
  opacity: 0.3;
}
:-ms-input-placeholder {
  color: #4a4a4a;
  opacity: 0.3;
}
::-webkit-input-placeholder,
::placeholder {
  color: #4a4a4a;
  opacity: 0.3;
}
.header-area .row {
  justify-content: center;
}
h1,
.h1 {
  font-size: 2em;
}
.text-primary {
  color: #86a905;
}
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.row:before {
  display: none;
}
.iframe_wrap iframe {
  min-height: 300px;
  width: 100%;
}
.themetitle {
  color: #86a905;
  font-size: 18px;
}
.list {
  list-style: disc;
  padding-left: 1.5em;
}
.action-button {
  float: none;
  text-align: center;
}
.action-button ul li {
  float: none;
  display: inline-block;
}
.mainbtn,
.borderbtn {
  display: inline-block;
  padding: 6px 20px;
  letter-spacing: 2px;
  font-size: 16px;
}
.borderbtn,
.mainbtn:hover {
  border: 1px solid #4a4a4a;
  background: #fff;
  color: #4a4a4a;
}
.mainbtn,
.borderbtn:hover {
  background: #9d9282;
  border: 1px solid #9d9282;
  color: #fff;
}
.minbtn {
  padding: 4px 8px;
}
.pagination-style2.owl-theme .owl-controls .owl-page span {
  border-radius: 0;
  transform: rotate(45deg);
  width: 10px;
  height: 10px;
  background: #d2d2d2;
}
.pagination-style2.owl-theme .owl-controls .owl-page.active span {
  background: #86a905;
}
.bibles {
  background-image: url("../img/pic-bg-bible.png?v2");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100%;
  padding: 20px 30px;
}
.bibles .single-product {
  padding: 10px;
  background: #fff;
  margin-bottom: 30px;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.08);
}
.bibles .product-title a {
  font-size: 16px;
  letter-spacing: 1px;
}
.footer-middle {
  background: rgba(157, 146, 130, 0.1);
}
.footer-bottom {
  background: #9d9282;
}
footer .logo img {
  max-height: 50px;
}
.mean-container {
  position: relative;
}
.mean-container .mb-logo {
  width: 120px;
  opacity: 0;
  transition: 0.3s linear ease-out;
  position: absolute;
  left: 15px;
  top: 10px;
  z-index: 9999;
}
.mean-container .mean-bar::after {
  display: none;
}
.mean-container .mean-bar {
  z-index: 999;
}
.header-area.stick .mean-container .mb-logo {
  opacity: 1;
}
.mean-container .mean-nav ul li a {
  font-size: 16px;
  padding-top: 0.75em !important;
  padding-bottom: 0.75em !important;
}
.mean-container .mean-nav ul li li a {
  padding-left: 10%;
}
.mean-container a.meanmenu-reveal span {
  background: #4a4a4a;
}
.mean-container a.meanmenu-reveal {
  color: #4a4a4a;
}
.mobile-menu-area {
  background: #f8f8f8;
}
.mean-container .mean-nav ul li a:hover,
.btn-link {
  color: #86a905;
}
.mean-container .mean-nav ul {
  max-height: calc(100vh - 50px);
  overflow-y: scroll;
}
.mean-nav .searchwrap {
  margin: 10px 0;
}
.checkwrap,
.radiowrap {
  position: relative;
  padding-left: 24px;
}
.checkwrap a {
  color: #86a905;
}
.checkwrap a:hover {
  color: #4a4a4a;
}
.checkwrap input,
.radiowrap input {
  position: absolute;
  left: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  top: 0.3em;
  border: 1px solid #9d9282;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  margin: 0;
}
.radiowrap input {
  border-radius: 50%;
}
.checkwrap input:checked,
.radiowrap input:checked {
  background: #9d9282;
}
.checkwrap:before {
  content: "\f00c";
  display: block;
  font-family: fontawesome;
  position: absolute;
  left: 2px;
  top: 0px;
  color: #fff;
  font-size: 12px;
  z-index: 5;
}
.radiowrap:before {
  content: "";
  display: block;
  position: absolute;
  left: 5px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  z-index: 5;
}
.addlist li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}
.addlist li > a {
  display: block;
  width: calc(100% - 90px);
}
.input-group {
  display: inline-block;
}
.input-group > * {
  vertical-align: middle;
}
.faqs {
  margin-bottom: 45px;
}
.faqs .toolbar i {
  color: #86a905;
  margin-right: 8px;
  font-size: 80%;
}
.faqs .item {
  margin-bottom: 15px;
}
.faqs .item .qbox {
  position: relative;
  cursor: pointer;
}
.faqs .item .qbox h5 {
  font-size: 16px;
  margin-bottom: 1em;
}
.faqs .item .qbox i {
  position: absolute;
  right: 0;
  top: 2px;
  transition: 0.2s linear all;
  font-size: 14px;
}
.faqs .item .qbox.opened {
  color: #86a905;
}
.faqs .item .qbox.opened i {
  transform: rotate(45deg);
}
.faqs .item .abox {
  display: none;
  padding: 10px 22px;
  border-left: 3px solid #ddd;
  color: #6e6e6e;
  letter-spacing: 0;
}
.brands {
  margin-bottom: 30px;
}
.brands img {
  margin-bottom: 1em;
}
.txtlist > li {
  margin-bottom: 2em;
}
.accountlist a {
  position: relative;
  padding-left: 26px;
}
.accountlist a i {
  position: absolute;
  left: 2px;
  top: 8px;
}
.togglelist {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  margin-bottom: 1rem;
  background: #9d9282;
  color: #ffffff;
  border: 1px solid #9d9282;
  width: 100%;
  padding: 0.5rem 1rem;
}
.togglelist i {
  transition: 0.2s linear all;
}
.togglelist.opened i {
  transform: rotate(180deg);
}
#cp-cart-table .input-group {
  width: 172px;
}
.product-image a,
.blog-image a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.product-image a:before,
.blog-image a:before {
  content: "";
  width: 100%;
  padding-bottom: 100%;
  display: block;
}
.blog-image a:before {
  padding-bottom: 56.25%;
}
.product-image a img,
.blog-image a img {
  width: 100%;
  position: absolute;
}
.nivo-caption a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  display: block;
}
.product-over-view-tab img,
.desc img {
  height: auto !important;
}
.product-over-view-tab iframe,
.desc iframe {
  width: 100%;
}
@media (min-width: 768px) {
  .cartpage .mbth,
  .togglelist {
    display: none;
  }
}
@media (min-width: 1200px) {
  .footer-middle {
    padding: 80px 0;
  }
  .col-lg-20p {
    width: 20%;
  }
  .bibles {
    padding: 70px 60px 30px calc(50vw - 585px);
    max-width: 60%;
  }
  .bibles .row > div:nth-of-type(3n + 2) .single-product {
    transform: translate(0, 30px);
  }
  .bible-area {
    display: flex;
  }
  .bible-area .title {
    padding-left: 50px;
    padding-top: 200px;
    color: #533b2b;
  }
  .bible-area .title h2 {
    font-size: 54px;
    line-height: 80px;
    margin-bottom: 20px;
  }
  .bible-area .title h5 {
    font-size: 24px;
    margin-bottom: 50px;
    font-style: italic;
  }
}
@media (max-width: 1199px) {
  .bible-area .title {
    text-align: center;
    display: none;
  }
}
@media (max-width: 991px) {
  .left-banner-two {
    display: flex;
    justify-content: space-between;
  }
  .left-banner-two > div {
    width: calc(50% - 15px);
  }
}
@media (max-width: 767px) {
  .product-over-view-tab iframe,
  .desc iframe {
    height: 50vw;
  }
  .col-xs-6 {
    flex-basis: 50%;
    max-width: 50%;
  }
  #scrollUp {
    bottom: 40px;
  }
  .togglelist + ul {
    display: none;
  }
  .cartpage thead {
    display: none;
  }
  .cartpage tr,
  .cartpage table,
  .cartpage tbody {
    display: block;
    border: 0;
  }
  .cartpage tr {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
  }
  .cartpage table tr td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 0;
    padding: 5px 10px;
  }
  .bibles_carousel {
    margin: 0;
  }
  .bibles {
    background-size: cover;
  }
  .nav-button-style-one.owl-theme .owl-controls .owl-buttons div {
    left: 5px;
  }
  .nav-button-style-one.owl-theme .owl-controls .owl-buttons div.owl-next {
    right: 5px;
  }
  .marg-b70 {
    margin-bottom: 30px;
  }
  .address-area ul li a {
    font-size: 14px;
  }
  .footer-socials {
    margin-top: 10px;
  }
  footer .list-inline {
    text-align: center;
  }
  .footer-menu ul li a {
    font-size: 14px;
  }
  .banner-content {
    top: 0;
  }
  .bn-title h2 {
    font-size: 26px;
    line-height: 1.5em;
  }
  .bn-title p {
    font-size: 16px;
    line-height: 1.5em;
    margin-bottom: 25px;
  }
  .header-area.stick > .container {
    display: none;
  }
  .sorter.text-right {
    text-align: left;
  }
  #cate-toggle,
  .sidebar-area .category-area {
    display: none;
  }
  .sidebar-area .category-area .section-title h2:after {
    content: "+";
    display: inline-block;
    margin-left: 10px;
  }
  .owl-buttons {
    width: 100%;
    overflow: hidden;
  }
}
@media (max-width: 480px) {
  .hidden-in-mobile {
    display: none;
  }
  body {
    font-size: 14px;
  }
  .header-menu-item-icon a {
    margin-right: 18px;
  }
  .service-area-two .single-service {
    text-align: left;
  }
  .service-area-two .service-content {
    margin-left: 10px;
  }
  .product-title a {
    font-size: 14px;
    line-height: 18px;
    /* 兩行 */
    display: block;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 36px;
  }
  .price span {
    font-size: 14px;
  }

  .product-button.mobile-float {
    position: fixed;
    z-index: 200;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: block;
  }
  .product-button.mobile-float ul li a.cart-btn,
  .product-float-modal .product-button ul a.cart-btn {
    background: #9d9282;
    color: white;
    border-color: #9d9282;
  }

  .product-button.mobile-float ul li a.cart-btn.out-of-stock-btn,
  .product-float-modal .product-button ul a.cart-btn.out-of-stock-btn {
    background: white;
    color: red;
    border-color: #ddd;
  }
  .product-button.mobile-float ul li a.line-btn {
    background: #fff;
    color: #00c300;
    border: 1px solid #e6e6e6;
  }

  .product-button.mobile-float ul li a.line-btn:hover {
    background: #00c300;
    color: white;
    border-color: #00c300;
  }

  .product-button.mobile-float ul li a.action-btn,
  .product-float-modal .product-button ul li a.action-btn {
    border: 1px solid #86a905;
    background: #86a905;
    color: #fff;
  }

  .product-float-modal .product-button ul li a {
    height: 50px;
  }

  .product-float-modal .product-button ul li a {
    display: inline-block !important;
  }

  .product-float-modal .product-button ul li a.hide {
    display: none !important;
  }

  .product-float-modal {
    min-height: 200px;
    display: block;
    position: fixed;
    z-index: 201;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f9f9f9;
    border: 1px solid #ececec;
  }

  .product-float-modal .product-option .numbers-row span {
    background-color: #fff;
  }
}
@media (max-width: 360px) {
  .service-area-two .single-service {
    text-align: center;
  }
  .service-area-two .service-content {
    margin-left: auto;
    display: block;
  }
}

.menu-action-btn {
  border: 1px solid #86a905;
  background: #86a905;
  color: #fff;
}

.py-1rem {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* 電子書購買按鈕 */

.tag ul li a {
  border: 1px solid #86a905;
  background: #86a905;
  color: #fff;
  display: block;
  font-size: 13px;
  line-height: normal;
  margin-bottom: 14px;
  margin-right: 12px;
  padding: 5px 12px 7px;
}
#pc_tag_btn {
  display: block;
}
#mob_tag_btn {
  display: none;
}

@media (max-width: 480px) {
  #mob_tag_btn {
    display: block;
  }
  #pc_tag_btn {
    display: none;
  }
}
