
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200;300;400;500;600;900&display=swap');


/*css 初始化 */
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img {
  margin: 0;
  padding: 0;
  font-family: 'Noto Serif TC', serif;
  line-height: 36px;
  font-weight: 600;
}

a {
  text-decoration: none !important;
  color: #000000 !important;
}

/* 共用 */

@media (min-width: 576px){
  .modal-dialog {
    max-width: 800px
    !important;
  }
}
    

.main_content {
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../../image/background.png) ;
  min-height:80vh;
}


.form-control{
  height: 50px;
}

.form-select{
  height: 50px;
}

.text-bg{
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border:0px;
  border-radius: 10px;
  background-color: rgba(255,255,255,0.8);
}

.toggle_btn{
  text-align: right;
}

.delet_icon{
  max-width: 30px;
}

.divider{
  padding-top: 30px;
  padding-bottom: 30px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: rgba(255,255,255,0.8);
  background-clip: border-box;
  border: 0px ;
  border-radius: 15px;
  height: min-content;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.card-body p{
  font-size: 18px;
}

.process-text p{
  font-size: 18px;
}

.btn:focus{
  outline: 0;
  box-shadow: 0 0 0 0rem rgb(13 110 253 / 0%);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: rgba(255,255,255,0);
  background-clip: padding-box;
  border: 0px solid rgba(0,0,0,.2);
  border-radius: 0rem;
  outline: 0;
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 0px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.scroller {
  text-align:center;
  cursor:pointer;
  display:none;
  padding:7px;
  padding-top:11px;
  white-space:no-wrap;
  vertical-align:middle;
  background-color:#fff;
}

.scroller-right{
  float:right;
}

.scroller-left {
  float:left;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
  color: #CDA077 !important;
  background-color:  rgba(255,255,255,0);
  font-size: 20px;
  font-weight: 600;
}

.menu_line{
  border-left: solid #F4E5D7 1px;
}

.nav-link {
  display: block;
  padding: 0.2rem 1rem;
  color: #9C9C9C !important;
  text-decoration: none;
  font-size: 20px;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.nav-link:hover {
  color: #CDA077 !important;
}

.nav-tabs .nav-link{
  border: 0px;
}

.nav-tabs{
  border: 0px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  justify-content: center;
}

.nav-item {
  border-right: solid #F4E5D7 1px;
  white-space: nowrap;
}

.card_reduce_bnt{
  width: 30px;
  height: 30px;
  background:url(../../image/card_reduce_bnt.png) no-repeat;
  cursor: pointer;
  background-size: 30px 30px;
}

.card_reduce_bnt:hover{
  background:url(../../image/card_reduce_bnt_hover.png) no-repeat;
  background-size: 30px 30px;
}

.card_plus_bnt{
  width: 30px;
  height: 30px;
  background:url(../../image/card_puls_btn.png) no-repeat;
  cursor: pointer;
  background-size: 30px 30px;
}

.card_plus_bnt:hover{
  background:url(../../image/card_puls_btn_hover.png) no-repeat;
  background-size: 30px 30px;
}

.card_number_area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-card{
  font-size: 14px;
  color: #8F7257;
  background-color: #F4E5D7;
  font-weight: 600;
}

.shared-text-large{
  font-weight: 600;
  padding: 20px;
}

.shared-text-large::before{
  content: "";
  display: inline-block;
  background: url("../../image/left_icon.png") no-repeat center center;
  width: 12px;
  height: 10px;
  padding: 12px;
  background-size: 12px 10px;
}

.shared-text-large::after{
  content: "";
  display: inline-block;
  background: url("../../image/right_icon.png") no-repeat center center;
  width: 12px;
  height: 10px;
  padding: 12px;
  background-size: 12px 10px;
}

.quantity_input{
  width: 40%;
  text-align: center;
  border: 0px;
  font-size: 1.2em;
}


/* 訃聞首頁 */
/* fix btn area */
.fix_area{
  margin-right: 80px;
  z-index: 999;
  margin-top:0px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.btn_shopping{
  background-color: #CDA077;
  border-color: #CDA077;
  width: 150px;
  height: 50px;
  position: relative;
  border-radius: 50px;
  margin-right: 10px;
}

.img_eare{
  position: relative;
}

.img_eare .img_bottom{
  position: absolute;
  bottom: 0;
}

.btn_shopping:focus{
  box-shadow: 0 0 0 0.25rem rgb(175 121 70 / 25%);
}

.btn_shopping span{
  color: white;
  font-weight: 600;
}

/* music_area */
.music_area .music_box {
  display:inline-block;
  vertical-align:middle;
  background-image: url(../../image/music_btn.png) ;
  width: 70px;
  height: 70px;
  cursor: pointer;
  background-size:70px 70px;
}

.music_area .checkbox {
  position:absolute;
  opacity:0;
}
.music_area .checkbox:checked + .music_box {
  background-image: url(../../image/music_btn_hover.png) ;
}
.music_area .checkbox:checked + .music_box .btn {
  margin-left: 20px;
}

/* share_area */
.share_area .share_btn{
  background-image: url(../../image/share_btn.png);
  width: 70px;
  height: 70px;
  background-size:70px 70px;
}

.share_area .dropdown-menu{
  min-width: 12rem;
  border: 0px solid rgba(0,0,0,.15);
  background-color: rgba(255,255,255,0);
  transition: 0.2s ease-out;
}

.share_area .dropdown-menu img{
  width: 60px;
  height: 60px;
}

.text_shopping{
  color: white;
  position: absolute;
  font-size: 14px;
  top:55%; 
  left:27%;
  transform: translate(-50%, -50%);
}

.text-large{
  font-weight: 900;
  text-align: center;
}

.text-small{
  font-weight: 600;
  text-align: center;
}

/* process */
.process .process-text-date{
  height: 65px;
  background: linear-gradient(89.91deg, rgba(205, 160, 119, 0) 0.1%, rgba(205, 160, 119, 0.2) 49.5%, rgba(205, 160, 119, 0) 99.94%);
  border-width: 1px 0px;
  border-style: solid;
  border-color: #F4E5D7;
  text-align: center;
  color: #CDA077;
  font-weight: 600;
  line-height: 60px;
  letter-spacing: 3px;
}

.process .process-text{
  height: 65px;
  border-bottom: 1px solid #F4E5D7;
  /* margin-bottom: 20px; */
}

.process .process_rules{
  border-top: 1px dashed #D3AC89;
  border-bottom: 1px dashed #D3AC89;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #CDA077;
  font-size: 24px;
  line-height: 36px;
}

.process .process_rules .coil{
  border:1px solid #CDA077;
  border-radius: 50%;
  padding-left: 6px;
  padding-right: 6px;
  margin: 10px;
}

/* gif */
.gift .card-img-top{
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 15vw;
  object-fit: cover;
}
.gift .card{
  border-radius: 10px;
}
.gift .btn_card{
  color: #fff;
  background-color: #D3AC89;
  border-color: #D3AC89;
  width: 100%;
  height: 50px;
  line-height: 35px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  font-weight: 600;
}

.gift .btn_card:hover{
  background-color: #AF7946;
}

.product_btn:hover{
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.gift .card_line{
  border-top: 1px solid #F4E5D7;
}

.gift .form-control:focus{
  color: #212529;
  background-color: #fff;
  border-color: #D3AC89;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(175 121 70 / 25%);
}

/* loction */
.loction .content{
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.loction .line{
  border-bottom: 1px solid  #F4E5D7;
}

.loction .btn_more{
  color: #D3AC89;
  border-color: #D3AC89;
  border-radius: 20px;
  font-size: 18px;
}

.loction .btn_more:hover{
  background-color:#D3AC89 ;
  color: white;
}

.loction .btn_more:focus {
  box-shadow: 0 0 0 0.25rem rgb(175 121 70 / 25%);
}

.loction .veiwmore{
  height: 120px;
  overflow: hidden;
}

.loction .veiwmore.active{
height: auto;
}

.loction .small_label{
  color:#D3AC89 ;
}


/* photo */
.photo .carousel-wrapper {
  width: 1000px;
  margin: auto;
  position: relative;
  text-align: center;
}

.photo .owl-carousel .owl-nav {
  overflow: hidden;
  height: 0px;
}


.photo .owl-carousel .item {
  text-align: center;
}

.photo .owl-carousel .nav-button {
  height: 50px;
  width: 25px;
  cursor: pointer;
  position: absolute;
  top: 35% !important;
}

.photo .owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
  pointer-events: none;
  opacity: 0.25;
}

.photo .owl-carousel .owl-prev {
  left: -35px;
}

.photo .owl-carousel .owl-next {
  right: -35px;
}

.photo .owl-theme .owl-nav [class*=owl-] {
  color: #CDA077;
  font-size: 39px;
  background: #ffffff;
  border: 1px solid #CDA077;
  border-radius: 30px;
  width: 30px;
  height: 30px;
  line-height: 18px;
}

.photo .owl-carousel .prev-carousel:hover {
  background-position: 0px -53px;
}

.photo .owl-carousel .next-carousel:hover {
  background-position: -24px -53px;
}

.photo img{
  border-radius: 20px;
  cursor: pointer;
  height: 160px;
  object-fit: cover;
}


/* 致贈車頁面 */
.back_home{
  padding-left: 20px;
}

.cart .cart_text{
  height: 65px;
  border-bottom: 1px solid #F4E5D7;
  border-top: 1px solid #F4E5D7;
  color: #9C9C9C;
  background: #FFFAF5;
  padding: 15px;
}

.cart img{
  border-radius: 10px;
}

.card_line{
  border-top: 1px solid #F4E5D7;
  margin-top: 20px;
}

.cart .btn_card{
  color: #fff !important;
  background: linear-gradient(270.08deg, #D3AC89 0%, #A0754D 100%);
  height: 60px;
  line-height: 45px;
  font-size: 20px;
  font-weight: 600;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  width: 100%;
  border: 0px;
}

.cart .btn_card img{
  padding-left: 10px;
  padding-bottom: 5px;
}

.cart .btn_card:hover{
  background: linear-gradient(90.08deg, #D3AC89 0%, #A0754D 100%);
}

.money{
  padding: 20px;
}

.money span{
  color: #CDA077;
  padding-right: 20px;
}

.notice ul{
  list-style-type: decimal;
  padding-left: 20px;
}

.notice ul li{
  border-bottom: 1px solid #F4E5D7;
  padding-bottom: 20px;
  padding-top: 20px;
  line-height: 1.6em;
  font-weight: 500;
}

.notice h5{
  color: #D3AC89;
  display: flex;
  align-items: center;
}

/* 填寫資料頁面 */
.information ul{
  padding-left: 30px;
}

.information ul li{
  font-size: 14px;
  line-height: 1.3em;
}

.information .form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #D3AC89;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(175 121 70 / 25%);
}

.information .form-check-input:checked {
  background-color: #D3AC89;
  border-color: #D3AC89;
}

.information .form-check-input:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(175 121 70 / 25%);
}

.information .form-select:focus {
  border-color: #D3AC89;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(175 121 70 / 25%);
}

.information .form-check .form-check-input {
  margin-top: 10px;
  white-space:nowrap;
}

.information .title{
  height: 65px;
  color: #CDA077;
  background: #FFFAF5;
  line-height: 65px;
  cursor: pointer;
}

.information .star{
  color: #D3AC89;
}

.information .item{
  border-bottom: 1px solid #F4E5D7;
  border-top: 1px solid #F4E5D7;
  border-left: 5px solid #D3AC89;
  padding: 20px;
}

.information .item_form{
  margin: 20px 20px 0px 20px;
  border-bottom: 1px solid #D6D6D6;
}

.information .item_number{
  background-color: #F4F4F4;
  width: 33px;
  height: 33px;
  border-radius: 5px;
  color: #9C9C9C;
  font-size: 12px;
  padding: 0px;
  text-align: center;
}

.information .item img{
  border-radius: 10px;
}

.information .eyes_icon{
  margin-right: 10px;
}

.information .eyes_icon img{
  padding-bottom: 2px;
}

.information .multiplication img{
  width: 8px;
  height: 8px;
  margin: 3px 6px 5px 6px;
}

.information .btn_card{
  color: #fff !important;
  background: linear-gradient(270.08deg, #D3AC89 0%, #A0754D 100%);
  height: 60px;
  line-height: 45px;
  font-size: 20px;
  font-weight: 600;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  width: 100%;
  border: 0px;
}

.information .btn_card img{
  padding-left: 10px;
  padding-bottom: 5px;
}

.information .btn_card:hover{
  background: linear-gradient(90.08deg, #D3AC89 0%, #A0754D 100%);
}

.information .notice{
  color: #CE3C3C;
  font-weight: 600;
  font-size: 16px;
}


/* footer */
.footer{
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../../image/footer_bg.jpg) ;
}

/* .footer .container{
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
} */

.footer .footer_eare{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row
}

.footer .footer_eare .item_eare{
  flex: 1;
  /* min-width: 600px; */
}

.footer .footer_eare .item_eare .logo-img{
  min-width: 60px;
}

.text-copy{
  text-align: center;
  height: 54px;
  color: white;
  font-weight: 600;
  line-height: 54px;
  background: linear-gradient(270.08deg, #D3AC89 0%, #A0754D 100%);
}

.text-footer{
  color: #CDA077;
  border-right: 1px solid #CDA077;
  padding-right: 5px;
  margin-right: 10px;
}

.btn-style::before{
  content: "";
  display: inline-block;
  background: url("../../image/calendar_icon.png") no-repeat center center;
  width: 14px;
  height: 14px;
  margin-right: 5px;
  background-size: 14px 16px;
}

.btn-style{
  color: white;
  background-color: #CDA077;
  border-color: #CDA077;
  font-weight:600;
}

.btn-style:hover {
  color: white;
  background-color: #AF7946;
  border-color: #AF7946;
}

.btn-style:focus{
  box-shadow: 0 0 0 0.25rem rgb(175 121 70 / 25%);
}

/* 感謝購買頁面 */
.thank .eare{
  background-color: #FFFAF5;
}

.thank .eare p{
  color:#D3AC89;
}


@media (max-width:1200px){
  .footer .footer_eare .item_eare{
    flex: 0 0;
    flex-basis: 400px;
    font-size: 14px;
  }
  .footer .footer_eare .item_eare .logo-img{
    max-width: 100px;
  }

  .item_text{
    padding-left: 20px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) { 
  .fix_area{
    margin-right: 0px;
    z-index: 999;
    margin-top:200px;
  }

  .btn_shopping{
    background-color: #CDA077;
    border-color: #CDA077;
    width: 150px;
    height: 50px;
    position: relative;
    margin-left: 10px;
    padding-left: 9px;
  }

  .loction .menu_line{
    border-left: solid #CDA077 1px;
  }

  .footer .footer_eare{
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  
  .footer .footer_eare .item_eare{
    flex: none;
  }

  .footer .footer_eare .item_eare .logo-img{
    max-width: 90px;
  }

}



/* nav tab */
.scrtabs-tab-container * {
  box-sizing: border-box; }

.scrtabs-tab-container {
  height: 42px; }
  .scrtabs-tab-container .tab-content {
    clear: left; }

.scrtabs-tab-container .scrtabs-tabs-movable-container > .navbar-nav {
  -ms-flex-direction: row;
  flex-direction: row; }

.scrtabs-tabs-fixed-container {
  float: left;
  height: 42px;
  overflow: hidden;
  width: 100%; }

.scrtabs-tabs-movable-container {
  position: relative;
  transition: transform 2s; 
}

.scrtabs-tabs-movable-container .tab-content {
  display: none; }

.scrtabs-tab-container.scrtabs-rtl .scrtabs-tabs-movable-container > ul.nav-tabs {
  padding-right: 0; }

.scrtabs-tab-scroll-arrow {
  border: 1px solid #dddddd;
  border-top: none;
  cursor: pointer;
  display: none;
  float: left;
  font-size: 12px;
  height: 100%;
  padding-left: 0.5em;
  padding-top: 1.3em;
  width: 20px; 
}

.scrtabs-tab-scroll-arrow:hover {
  background-color: #eeeeee; 
}

.scrtabs-tab-scroll-arrow > span {
  border-right: 3px solid #9C9C9C;
  border-bottom: 3px solid #9C9C9C;
  display: block;
  width: 8px;
  height: 8px;
  transform: rotate(-45deg); 
}

.scrtabs-tab-scroll-arrow > span:hover {
  border-right-color: #585858;
  border-bottom-color: #585858; 
}

.scrtabs-tab-scroll-arrow-left > span {
  transform: rotate(135deg); }

.scrtabs-tab-scroll-arrow-right {
  padding-left: 0.4em; }

.scrtabs-tab-scroll-arrow,
.scrtabs-tab-scroll-arrow .scrtabs-click-target {
  cursor: pointer; }

.scrtabs-tab-scroll-arrow.scrtabs-with-click-target {
  cursor: default; }

.scrtabs-tab-scroll-arrow.scrtabs-disable,
.scrtabs-tab-scroll-arrow.scrtabs-disable .scrtabs-click-target {
  color: #ddd;
  cursor: default; 
}

.scrtabs-tab-scroll-arrow.scrtabs-disable > span,
.scrtabs-tab-scroll-arrow.scrtabs-disable .scrtabs-click-target > span {
  border-color: #ddd; 
}

.scrtabs-tab-scroll-arrow.scrtabs-disable:hover {
  background-color: initial; 
}

.scrtabs-tabs-fixed-container ul.nav-tabs > li {
  white-space: nowrap; 
}

.nav-tabs .dropdown-menu {
  border-top-color: transparent;
  margin-top: 0; 
}

.privacy ol{
  list-style: cjk-ideographic;
}

.privacy_text a{
  color: #D3AC89 !important;
  text-decoration: underline !important;
}

/* .img_cover{
  object-fit: cover;
} */

@media (max-width: 767px){
  .gift .card-img-top{
    height: 60vw;
  }
}

@media (max-width: 1023px) and (min-width: 768px){
  .gift .card-img-top{
    height: 40vw;
  }
}

@media (max-width: 1200px) and (min-width: 1024px){
  .gift .card-img-top{
    height: 20vw;
  }
}