#index_sidebar_shelf_top > li:not(.logo) button, #index_sidebar_shelf_top > li:not(.logo) a {
  background: #faeee1; }

/*---
  custom by hoshi
---*/
/* global */
.test {
  text-align: center;
  font-size: 16px;
  background: #8b0000;
  color: #fff;
  padding: 3px;
}
.yy-container {
  max-width: 940px;
}

select {
  background: transparent;
  border-radius: 0;
  padding: 0 20px;
}

/* header */
#header .main-nav ul > li {
  position: relative;
}
#header .main-nav ul > li::after {
  content: '';
  background: #966131;
  width: 1px;
  height: 10px;
  display: inline-block;
  position: absolute;
  top: 12px;
}

.overseas {
  margin-right: 10px;
}

.overseas a,
#header .link_shelf_top .overseas a,
#header .link_shelf_top .overseas svg{
    padding: 0 8px;
    background: #8f5f31;
    font-size: 12px;
    color: #fff;
}

.drawer-nav .overseas {
    margin: 0;
}

.drawer-nav .overseas a {
    padding: 20px 40px;
    display: block;
    font-size: 16px;
}

#header .link_shelf_top .overseas a:hover {
    background: #A00000;
}

@media (min-width: 992px) {
    #header .link_shelf_top > li > a {
        padding: 0 10px;
        font-size: 15px;
    }
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item {
  padding: 0;
}

/* front */
.home-products .product_sold {
  margin-bottom: 10px;
}

/* mobile menu */
.drawer-nav {
  background-color: #faeee1;
}

#index_sidebar_shelf_top > li:not(.logo) a {
  font-size: 16px;
  letter-spacing: 2px;
  border: none;
  padding: 20px 40px;
}

/* page */
#ckeditor.page_content {
  max-width: 910px;
  margin: 20px auto 0;
  color: #424242;
  font-size: 1.125rem;
  line-height: 1.7;
}

#ckeditor.page_content .wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

#ckeditor.page_content .wrapper .logo {
  flex: 0 0 180px;
  margin-right: 30px;
}

#ckeditor.page_content .wrapper .desc {
  flex: 0 0 700px;
  border-left: 1px solid #e2e2e2;
  padding-left: 30px;
}

#ckeditor.page_content .sub-menu {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  justify-content: center;
  margin-bottom: 50px;
  font-size: 18px;
}

#ckeditor.page_content .sub-menu a {
  margin: 0 20px 0 0;
  text-decoration: none;
  color: #565656;
}

#ckeditor.page_content .sub-menu a:hover {
  color: #966131;
}

#ckeditor.page_content .sub-menu li {
  position: relative;
}

#ckeditor.page_content .sub-menu li::after {
  content: '';
  background: #966131;
  width: 1px;
  height: 10px;
  display: inline-block;
  position: absolute;
  top: 10px;
}

#ckeditor.page_content .sub-menu li:last-child::after {
  display: none;
}

#ckeditor.page_content h2,
#ckeditor.page_content h2 .small {
  margin: 0 0 .625em 0;
  font-size: 30px;
  font-weight: bold;
  color: #333;
  line-height: 150%;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  font-family: 'Noto Serif TC', serif;
}

#ckeditor.page_content h2 .small {
  font-size: 20px;
  letter-spacing: 2px;
  font-family: 'Noto Sans TC';
}

#ckeditor.page_content h3 {
  margin: 0 0 .73125em 0;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  line-height: 150%;
  text-transform: uppercase;
  font-family: 'Noto Serif TC', serif;
}

#ckeditor.page_content h4 {
  margin: 0 0 .73125em 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 150%;
  text-transform: uppercase;
  font-family: 'Noto Serif TC', serif;
}

#ckeditor.page_content h4.dist {
  background: #966131;
  color: #fff;
  display: inline-block;
  padding: 2px 5px;
  font-weight: 100;
}

#ckeditor.page_content p {
  font-size: 16px;
  line-height: 160%;
  margin: 0 0 16px 0;
}

#ckeditor.page_content ul,
#ckeditor.page_content ol,
.product_description #ckeditor ul,
.product_description #ckeditor ol {
  margin: 0 0 2.25em 0;
  font-size: 16px;
}

#ckeditor.page_content li,
.product_description #ckeditor li {
  margin: 10px;
}

#ckeditor img[style*="float:left"],
#ckeditor img[style*="float: left"] {
  margin: 0 5rem 0 0;
}

#ckeditor table {
  border: none;
}

#ckeditor thead {
  border-bottom: 2px solid #966131;
}

#ckeditor th,
#ckeditor td {
  padding: 15px 10px;
  border: none;
}

#ckeditor tr {
  border-bottom: 1px solid #e2e2e2;
}

a.page-btn {
  background: #966131;
  color: #ffffff;
  border-color: #966131;
  padding: 8px 20px;
  text-decoration: none;
  letter-spacing: 1px;
  display: inline-block;
  margin: 5px;
}

a.page-btn:hover {
  opacity: 0.8;
}

.support_detail {
  max-width: 680px;
  margin: 0 auto;
}

/* contact */
#contact h1,
.yy-page-title{
  font-size: 48px;
  letter-spacing: 3px;
  border: none;
  padding: 0 0 40px;
  text-align: center;
  font-family: 'Noto Serif TC', serif;
  border-bottom: 1px solid #e2e2e2;
}

#contact .flex-column {
  max-width: 600px;
  margin: 0 auto;
  padding: 50px !important;
  background: #f6f1ed;  
}

#contact input,
#contact select,
#contact textarea {
  border: 1px solid #966131;
  border-radius: 0;
  background: transparent;
}

.login_related button[type="submit"] {
  max-width: 150px;
  margin: 0 auto;
  text-align: center;
  border-radius: 25px;
  background-color: #966131;
}

#contact form > div:last-child {
  text-align: center;
}

.contact_detail {
  max-width: 600px;
  margin: 0 auto 40px;
  width: 50%;
  line-height: 1.8em;
  letter-spacing: 0.5px;
  font-size: 18px;
  text-align: justify;
}

#contact label {
  font-size: 16px;
  letter-spacing: 5px;
}

/* product list */
@media (min-width: 991px) {
#collection .collection_products .collection_title {
  justify-content: flex-end;
}

#collection .collection_products .products_setting .products_info .product_layout button {
  background: #f9f6f3;
}

#collection .collection_products.line_prods .product,
#collection .collection_products.square_prods.col-lg-9 .product {
  background: #f9f6f3;
  border: none;
  margin-bottom: 30px;
  transition: box-shadow 0.3s ease 0s;
}

#collection .collection_products.square_prods.col-lg-9 .product {
  margin: 0 1% 30px;
}

#collection .collection_products.line_prods .product:hover,
#collection .collection_products.square_prods.col-lg-9 .product:hover {
  box-shadow: rgb(0 0 0 / 13%) 0px 10px 20px 0px, rgb(0 0 0 / 19%) 0px 3px 9px 0px;
}

#collection .collection_products.line_prods .product .product_btn button {
  border-radius: 0;
  letter-spacing: 1px;
  background: #353434;
  border-color: #353434;
}

.collection_products.square_prods .product_image {
  margin-bottom: 8px;
}

#collection .collection_products.square_prods .product .product_btn .btn .text {
  opacity: initial;
  bottom: initial;
  position: relative;
  left: initial;
  font-size: 14px;
  letter-spacing: 1px;
  color: #353434;
}

#collection .collection_products.square_prods .product .product_btn .product_link a,
#collection .collection_products.square_prods .product .product_btn .btn-cart,
#collection .collection_products.square_prods .product .product_btn .btn {
  border: 1px solid #353434;
  border-radius: 0;
  color: #353434;
  padding: 0 8px;
  text-align: center;
  width: auto;
  min-width: 115px;
  height: 40px;
  line-height: 35px;
  margin: 0;
}

#collection .collection_products.square_prods .product .product_btn .btn-cart {
  background: #353434;
  color: #fff;
}

#collection .collection_products.square_prods .product .product_btn .btn-cart .text,
#collection .collection_products.square_prods .product .product_btn .product_link a:hover span{
  color: #fff;    
}

#collection .collection_products.square_prods .product .product_btn .product_link a:hover {
  background: #353434;
}

#collection .collection_products.square_prods .product .product_title, 
#collection .collection_products.square_prods .product .product_sold, 
#collection .collection_products.square_prods .product .product_price {
  text-align: left;
  color: #212529;
  margin-bottom: 8px;
}

#collection .collection_products.square_prods .product .product_title {
  height: initial;
  margin-bottom: 8px;
}

#collection .collection_products.square_prods .product .product_btn .btn-soldout,
#collection .collection_products.square_prods .product .product_btn .btn-soldout:hover {
  background: #afafaf;
  border-color: #afafaf;
}
}
/* product */
#product .product_info .product_content .product_discounts_list {
  display: none;
}

#product .product_description .desc_sections ul {
  border: none;
  border-top: 1px solid #bfbfbf;
}

#product .product_description .desc_sections li a.active div {
  color: #966131;
  border-bottom: 2px solid #966131;
  display: inline-block;
}

.product_quantity .btn-group {
  border: 1px solid;    
}

#product .section-heading,
#related-products .section-heading,
#new-addcart-modal .section-heading {
  font-size: 28px;
  letter-spacing: 3px;
  border: none;
  padding: 0 0 20px;
  font-family: 'Noto Serif TC', serif;
  border-bottom: 1px solid #e2e2e2;
  margin: 30px 0;
}

.feature {
  margin: 0 0 0 400px;
}

.try-video {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.embed-responsive {
  max-width: 33%;
}

/* account */
#message_table .account_table .admin_comment .comment_header .text {
  font-size: 0;
  width: 70px;
  height: 70px;
  background: url(//cdn1.cybassets.com/s/files/19714/theme/68407/assets/talk.png);
  background-size: contain;
  background-repeat: no-repeat;
}

/* partner */
#partner-list .main-office,
#partner-list .distributor{
  border-radius: 5px;
  background-color: #f2eeea;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}

#partner-list .sub-distributor,
#partner-list .item-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

#partner-list .item {
  max-width: 290px;
  width: 100%;
  border-radius: 5px;
  background-color: #f2eeea;
  padding: 20px;
  margin: 0 10px 20px;
}

#partner-list .tag {
  position: absolute;
  top: -15px;
  background: #966131;
  border-radius: 2px;
  color: #fff;
  padding: 0 10px;
  font-size: 16px;
  font-weight: bold;
}

#partner-list .title {
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e2e2e2;
  font-size: 18px;
}

#partner-list .item p {
  line-height: 200%;
}

#partner-list a {
  color: #565656;
  text-decoration: none;
  border-bottom: 1px solid;
}

#partner-list a:hover {
  color: #966131;
}

/* RWD */
@media screen and (max-width: 768px) {
  /* page */
  #ckeditor.page_content .wrapper .desc {
    flex: 0 0 500px;
  }
}

@media screen and (min-width: 768px) {
  /* product list */
  #collection .collection_products.square_prods .product .product_btn {
    height: auto !important;
    background: transparent;
    position: relative;
    top: initial;
    left: initial;
    opacity: initial;
    justify-content: space-between;
  }
}

@media screen and (max-width: 575px) {
  /* global */
  #fastEvent {
    /*display: none;*/
  }
  
  /* front */
  .home-service .service-warp .no-padding .banner-service-item .service-text h4 {
    margin: 0 0 10px;
  }
  
  /* footer */
  #footer .footer_content .social_media {
    margin-top: 0;
  }
  
  #footer .footer_content .media {
    margin: 0;
  }
  
  /* page */
  #contact h1, .yy-page-title {
    font-size: 32px;  
  }
  
  #ckeditor.page_content .wrapper .logo,
  #ckeditor.page_content .wrapper .desc {
    flex: 0 0 100%;
    border: 0;
    padding-left: 0;
  }

  #ckeditor.page_content .wrapper .logo {  
    text-align: center;
    margin: 0 0 50px 0;
  }
  
  .feature {
    margin: 0;
  }
  
  .embed-responsive {
    max-width: 100%;
    margin-bottom: 10px;
  }
  
  /* contact */
  .contact_detail {
    width: 80%;
  }
  
  #partner-list .item {
    max-width: 100%;
  }

}


#yytest #tab {
    background: #966131;
}

/* 頁籤ul */
#yytest #tab > ul {
    /* overflow: hidden; */
    margin: 0;
    padding: 10px 20px 0 20px;
}

#yytest #tab > ul > li {
    list-style-type: none;
}

/* 頁籤上的文字 */
#yytest #tab > ul > li > a { 
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    float: left;
    padding: 10px;
    margin-left: 5px;
}

/*頁籤div內容*/
#yytest #tab > div {
    clear: both;
    padding: 0 15px;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

/*第一筆的底色*/
#yytest span:target ~ #tab > ul li:first-child a {
    background: #966131;
    color: #fff;
}

#yytest span:target ~ #tab > div:first-of-type {
    visibility: hidden;
    height: 0;
    padding: 0 15px;
}

/*頁籤變換&第一筆*/
#yytest span ~ #tab > ul li:first-child a,
#yytest #tab-1:target ~ #tab > ul li a[href$="#tab-1"],
#yytest #tab-2:target ~ #tab > ul li a[href$="#tab-2"],
#yytest #tab-3:target ~ #tab > ul li a[href$="#tab-3"],
#yytest #tab-4:target ~ #tab > ul li a[href$="#tab-4"],
#yytest #tab-5:target ~ #tab > ul li a[href$="#tab-5"],
#yytest #tab-6:target ~ #tab > ul li a[href$="#tab-6"] {
    background: #fff;
    border-radius: 5px 5px 0 0;
    color: #565656;
}

#yytest span ~ #tab > ul li:first-child a::before,
#yytest #tab-1:target ~ #tab > ul li a[href$="#tab-1"]::before,
#yytest #tab-2:target ~ #tab > ul li a[href$="#tab-2"]::before,
#yytest #tab-3:target ~ #tab > ul li a[href$="#tab-3"]::before,
#yytest #tab-4:target ~ #tab > ul li a[href$="#tab-4"]::before,
#yytest #tab-5:target ~ #tab > ul li a[href$="#tab-5"]::before,
#yytest #tab-6:target ~ #tab > ul li a[href$="#tab-6"]::before {
    background-color: white;
    height: 100%;
}

/*頁籤內容顯示&第一筆*/
#yytest span ~ #tab > div:first-of-type,
#yytest #tab-1:target ~ #tab > div.tab-content-1,
#yytest #tab-2:target ~ #tab > div.tab-content-2,
#yytest #tab-3:target ~ #tab > div.tab-content-3,
#yytest #tab-4:target ~ #tab > div.tab-content-4,
#yytest #tab-5:target ~ #tab > div.tab-content-5,
#yytest #tab-6:target ~ #tab > div.tab-content-6 {
    visibility: visible;
    height: auto;
    background: #fff;
}

#yytest span {
    display: none;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  font-family: sans-serif;
}

.tabs__label {
  padding: 10px 16px;
  cursor: pointer;
  margin: 0 5px 5px 0; 
  background: #966131; 
  color: #fff; 
}

.tabs__radio {
  display: none;
}

.tabs__content {
  order: 1;
  width: 100%;
  border-bottom: 3px solid #dddddd;
  line-height: 1.5;
  font-size: 0.9em;
  display: none;
}

.tabs__radio:checked + .tabs__label {
  font-weight: bold;
}

.tabs__radio:checked + .tabs__label + .tabs__content {
  display: initial;
}

/*檢驗v2內容*/
#yytest #tab h3 {
  color: #969696;
  margin: 15px 0;
  font-size: 28px;
  font-weight: normal;
}

/* 手帳 */
.baby-intro-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.baby-intro-item {
  width: 48%;
  margin: 1%;
}

.baby-intro-item figcaption {
  margin: 10px 0;
}

@media (max-width: 768px) {
.baby-intro-wrapper {
  display: block;
}

.baby-intro-item {
  width: 100%;
}
}

.p-tag {
    background: #656764;
    display: inline-block;
    padding: 2px 6px;
    color: #fff;
    font-size: 12px;
}
