@charset "UTF-8";
html{  
  background: linear-gradient(to bottom, rgba(174,232,254,1) 0%,rgba(255,255,255,1) 100%);  
  background-attachment: fixed;
}
body{
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 100%;
  font-size: 16px;
  line-height: 160%;
  background: #fff;

  width: 95%;
  max-width: 1200px; 
  margin: 0 auto;   
  /* box-shadow: 0px 0 18px #333333b1; */
}
body a{
	color: #333;
}
body a:hover {
	color: #0d6efd;
} 
.container {
  width: 100%;
  max-width: 100%;
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
  .header {
    transition: all 0.5s;
    z-index: 997;
    border-bottom: 1px solid #eee;
    background: linear-gradient(to bottom, rgb(254,255,255) 0%,rgb(220,247,246) 100%);
    width: 95%;
    max-width: 1200px; 
    margin: 0 auto; 
  }
  
  .scrolled .header {
    --background-color: #ffffff;
  }  
  
  /*--------------------------------------------------------------
  # Scroll Top Button 返回當頁上方
  --------------------------------------------------------------*/
  .scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: #990007;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
  }
  
  .scroll-top i {
    color: #fff;
    line-height: 0;
  }
  
  .scroll-top:hover {
    background-color:#388da88a;
  }
  
  .scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
  }
  
  /*--------------------------------------------------------------
  # Hero Section 內框
  --------------------------------------------------------------*/
  .hero {
    width: 100%;
    min-height: 70vh;
    position: relative;
    margin-top: 130px;
    display: block;
    align-items: center;
    overflow: hidden;
  }
  @media (max-width: 991px) {
    .hero {
      margin-top: 106px;
    }
  }
  @media (max-width: 567px) {
    .hero {
      margin-top: 130px;
    }
  }
  
  /*--------------------------------------------------------------
  # Global Sections 當頁滾動監聽
  --------------------------------------------------------------*/
  .section-scroll {
    scroll-margin-top: 140px;
    overflow: clip;
  }
  
  @media (max-width: 991px) {
    .section-scroll {
      scroll-margin-top: 115px;
      display: block;
    }
  }

  
  

.pageheader {
  background: linear-gradient(to right, rgb(169,225,215) 0%,rgb(215,235,195) 100%);
  height: 30px;
}
.pageheader .top-url,
.pageheader .top-tel{
  color: #000;
}

.top-exc_box{
  position: relative;
}
.top-exc_box .top-exc-content{
  position: absolute;
  right: 15px;
  top: 6px;
}
.top-exc_box .top-exc-content img{
  max-width: 100%;
}
nav.navbar.navbarling .top-fb a {
  color: #1773EA;
  padding: 0 8px;
  vertical-align: middle;
  line-height: 0;
}

.pageheader .top-tel{
  padding-left: 1em;
}
  
/* 商標1 */
nav.navbar.navbarling .navbar-brand {
  font: 0 / 0 a;
  color: transparent;
  text-indent: -9999px;  
  background: url(../../images/customer/s-yfq/logo2.png) center no-repeat;
  background-size: cover;
  display: block;
}
@media (min-width: 992px) {    
  .pageheader .top-url {
    text-align: right;
  }
  .pageheader{
    text-align: right;
  }
  nav.navbar.navbarling {
    margin-top: 45px;
  }

    /* 商標2 */
  nav.navbar.navbarling h1{
    margin-bottom: 0;
    position: relative;
  }
  nav.navbar.navbarling .navbar-brand {
    position: absolute;
    width: 324px;
    height: 89px;
    top: -66px;
    z-index: 11;
  } 
  
  nav.navbar.navbarling .nav-item > a.nav-link{
    color: #fff;
    border-radius: 5px;
    padding: 3px 10px;
    margin: 12px 3px;
    background: #b71b83;
  }
  .navbar-nav li > ul.dropdown-menu {
    border-top: 5px solid #aae1d7;
    border-radius: 0 0 5px 5px;
 }
}

@media (min-width: 992px) and (max-width: 1200px) { 
  nav.navbar.navbarling .nav-item > a.nav-link{
    font-size: 0.9em;
    margin: 12px 2px;
  }
 }

@media (max-width: 991px) {
  body.home-page .page-content{
    padding-top: 1rem !important;
  }
  
  .pageheader {
    text-align: left;
  }
  .pageheader .top-url,
  .pageheader .top-tel{
    font-size: 0.85em;
  }
  .pageheader .top-iso{
    line-height: 100%;
    padding: 0;
    margin: 0;
    height: 29px;
    overflow: hidden;
  }

  .pageheader .top-fb {
    top: 3px;
    right: 30px;
  }
  .pageheader .top-fb a{
    letter-spacing: -6px;
    color: #fff;
    font-size: 0.8em;
  }

  .page_box.classify4_box .product-item-box .item{
    width: 100%;
  }
  .top-exc_box {
      position: relative;
      display: block;
  } 
  .top-exc_box .top-exc-content {
      position: relative;
      right: initial;
      top: initial;
      left: initial;
      width: 100%;
  }
  .top-exc_box img{
    width: initial;
    margin: 0 auto 10px auto;
  }

  nav.navbar.navbarling{
    padding: 0;
    margin-top: 15px;
  }

  /* 商標3 */
  nav.navbar.navbarling h1{
    margin: 6px auto;
    position: relative;
    width: 70%;
  }
  nav.navbar.navbarling .navbar-brand {
    background-size: contain;
    width: 100%;
    height: 60px;
    margin-top: 10px;
  } 


  nav.navbar.navbarling button.navbar-toggler{
    color: #770033;
    border: 0;
    font-size: 1.8em;
  }
  nav.navbar.navbarling .nav-item > ul.dropdown-menu{
    padding: 0;
  }
  nav.navbar.navbarling .nav-item > a.nav-link{
    padding: 3px 10px;
  }

  .navbar-nav .nav-item ul.dropdown-menu li:last-child a{
    border-bottom: none;
  }

  .offcanvas.offcanvas-end{
    background: #770033 !important;
  }

}

@media (max-width: 568px) {
  .pageheader .top-fb {
    right: 15px;
  }    
  .pageheader .top-url > span{
    display: none;
  } 
}


.home-carousel_box .carousel{
  position: relative;
}

.home-carousel_box  .carousel .main_pic{
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  z-index: 11;
}
.home-carousel_box img{
  width: 100%;
  height: auto;
}



/* 首頁下主題 */
.hi_box{    
    color:#6CA336;
    font-weight: bold;
}
.hi_box i{
    transform: rotate(-30deg);
}
.hi_box.pic{
    background: url(../../images/customer/s-yfq/li_item.png) left top no-repeat;
    background-size: contain;
    padding-left: 40px;
}

.page_box.home_box .boxshad {
  border: inherit;
  padding: 6px;
  border-radius: initial;
}
.page_box.home_box .card-body{  
  border:1px solid #99CC66;
}

/* 首頁-消息跑馬燈 */
  .home-news_box marquee {
    font-size: 1.2em;
  }
  .home-news_box a {
    color: #a70036;
  }
@media (max-width: 1024px) {
  .home-news_box marquee {
    font-size: 1em;
  }
  .home-news_box h3 {
    min-width: 200px;
    margin-bottom: 0;
  }
}


.home-news_box-center .list-group .list-group-item{
  padding:3px 0;
}

/* 最新消息內頁 */
.page_box .page-header.news-item span{
  color: #a70036;
}

.template-box-top .page-header .h3{
  font-weight: bold;
}

.home-pic_box .card-img-overlay > .h6 {
  display: inline-block;
  max-width: 100%; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;  
}


/* 左選單 */

.left-content{
  padding-right: 30px;
}
@media (max-width: 991px) {
  .left-content{
    padding-right: 15px;
  }
}
.left-content .category-3.show {
    background: #f7f7f7 !important;
}
.left-content .btn-toggle{  
  background: #fff;
  width: 100% !important;
  border-bottom: 1px dashed #99CC66;
  border-radius: 0 !important;
}
.left-content .btn-toggle::before {
    color: #000;
}

.left-content .left22:hover,
.left-content .left22{
    background: #ecfbf2;
    color: #000 !important;
}

.left-content .left32 {
    color: #0d6efd !important;
}


/* 頁尾 */
footer {
  background: #dff7e8;
}
footer * {
  color: #000 !important;
}
footer address{  
  position: relative;
}
.footer_url:before {
    content: '網址 : www.思源老人.tw';
    display: inline-block;
}

.footer_url > a{
  display: none;
}


/* 首頁 */

.page_box.home_box .card .card-text span{
  display: inline-block;
  background-color: #fbe9f6;
  border-radius: 5px;
  padding: 0 6px;
  font-size: 0.9em;
}
.page_box.home_box .card .card-title{
  font-weight: bold;
  color: #A82024;
}

@media (max-width: 568px) {
  .pageheader .top-url, .pageheader .top-tel{
    font-size: 14px;    
  }
  .page_box.home_box .home-contact_box .card-body{
    font-size: 15px;
  }
}





/* 說明文貼圖 */
/* land-ctopa3-no_C2 */

@media (min-width: 768px) {
  img.pull-right {
    margin-left: 0.5em;
  }
}
@media (max-width: 767px) {
  .page_box.product32_box img.pull-right{
    float: initial;
    margin-bottom: 1.5em;
  }
}


/* 活動剪影 chufon-wood */
.page_box.classify4_box .product-item-box .item{
  width: 33.33%;
}
.page_box.classify4_box .product-item-box .item img{
  width: 100%;
}
.page_box.classify4_box .product-item-box .item .caption h3{
  margin-top: .5rem;
  font-size: 1em;
}


/* 好站連結 - chufon-wood */
.page_box.classify4_box .p_no{
  display: none;
}


/* tws_txt */
.page_box.classify24 .ling-nav a{
  background-color: #d7ebc4;
  color: #000;
  font-size: 1em;
}
.page_box.classify24 .p_no {
  display: none;
}
