@charset "UTF-8";
body{
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 100%;
  font-size: 16px;
  line-height: 160%;
}
body a{
	color: #0d6efd;
}
body a:hover {
  color: #0d6efd;
} 

@media (min-width: 992px) {
  .container{
    width: 95%;
    /* max-width: 1600px; */
    max-width: 1450px;
  }
}

.bg-elderly{
  background-color: #fff1f1 !important;
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
  .header {
    transition: all 0.5s;
    z-index: 997;
  }
  
  .scrolled .header {
    --background-color: #ffffff;
    box-shadow: 0px 0 18px #333333b1;
  }  
  
  /*--------------------------------------------------------------
  # 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 {
    min-height: 88vh;
    position: relative;
    margin-top: 110px;
    display: block;
    align-items: center;
    overflow: hidden;
  }
  .scrolled .header{
    background-color: #C57FC5;
  }
  @media (max-width: 1280px) {
    .hero {
      margin-top: 110px;
    }
  }
  @media (max-width: 1254px) {
    .hero {
      margin-top: 165px;
    }
  }
  @media (max-width: 991px) {
    .hero {
      margin-top: 110px;
    }
  }

  
  /*--------------------------------------------------------------
  # Global Sections 當頁滾動監聽
  --------------------------------------------------------------*/
  .section-scroll {
    scroll-margin-top: 140px;
    overflow: clip;
  }
  
  @media (max-width: 991px) {
    .section-scroll {
      scroll-margin-top: 115px;
      display: block;
    }
  }


@page{
    size: A4;
    margin: 10mm;
}
  
@media print {

  body{
      width:1280px;
      transform: scale(0.75);
      transform-origin: top left;
  }
  .fixed-top {
      position: static !important;
  }
  .hero{
    margin-top: initial;
  }

  .container,
  .container-fluid{
      width:1280px !important;
      max-width:1280px !important;
  } 

  
}
  

.pageheader {
  background: #FFCD05;
}
.pageheader a{
  color: #5a061f;
  line-height: 100%;
  padding: 3px;
  vertical-align: middle;
  display: inline-block;
}
.pageheader a:hover{
  text-decoration: underline;
}
.pageheader a.icon-fb{
  padding: 0 !important;
}


body.home-page .card{
    border: 2px solid rgba(186, 165, 156, 0.3);
    box-shadow: 2px 2px 7px rgba(186, 165, 156, 0.2) inset;
    box-shadow: 5px 5px 5px rgba(186, 165, 156, 0.2);
    border-radius: 0 0 10px 0;
}


body.home-page a.company_banner {
    display: block;
    height: 180px;          /* 外框高度可自行調整 */    
    display: flex;
    align-items: center;    /* 垂直置中 */
    justify-content: center;/* 水平置中 */
}
.owl-carousel .owl-item img {
    display: block;
    max-height: 150px;
    width: auto !important;
  }

@media (max-width: 991px) {
  body.home-page .page-content{
    padding-top: 1rem !important;
  }
}

nav.navbar.navbarling{
  border-bottom: solid 1px #e0e0e0;
  background-color: #fff;
}
.pageheader ul{
  margin-bottom: 0;
}
.pageheader .top-fb {
  position: absolute;
  right: 0;
  top: 60px;
  z-index: 11;
}
.pageheader .top-fb a {
  color: #821581;
}

.home-news_box-center .hi_box{
  color: #2e9900;
  margin: 10px 0;
}

.home-news_box-center .hi_box span{
  color: #ffc107;
}
.home-news_box-center ul.bullet-style .list-group-item {
  position: relative;
  padding-left: 1.5rem;
}

.home-news_box-center ul.bullet-style .list-group-item::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: #000;
  font-size: 1.2rem;
}

.home-news_box-center ul.arrow-style .list-group-item {
  position: relative;
  padding-left: 1.8rem;
}

.home-news_box-center ul.arrow-style .list-group-item::before {
  content: "➤";   /* 可改成 → 或 ▶ */
  position: absolute;
  left: 0.5rem;
  color: #ffc107;
  font-size: 0.9rem;
}




@media (min-width: 1380px) {

  nav.navbar.navbarling .navbar-brand {
    width: 380px;
  }
  nav.navbar.navbarling .navbar-brand img{
       width: 100%;
  }
  /* .navbar.navbarling.navbar-expand-lg {
    flex-wrap: initial;
    justify-content: initial;
  } */
  .navbar-expand-lg .offcanvas .offcanvas-body{
    padding-right: 30px;
  }
  nav.navbar.navbarling .nav-item > a.nav-link{
    color:#000;
    padding: 30px 8px;
    font-size: 1em;
  }
}


/* 預設大尺寸 */
.navbar .navbar-nav {
    justify-content: flex-end;
}

/* 小於 1225px */
@media (min-width: 992px) and (max-width: 1379px) {

    .navbar .container {
        flex-wrap: wrap;
    }
    
    .offcanvas-box {
        width: 100%;
        order: 2;               /* 排到第二行 */
        display: flex !important;
        justify-content: center; /* 水平置中 */
        /* margin-top: 10px; */
    }

    .offcanvas-box .navbar-nav {
        flex-direction: row;     /* 保持水平排列 */
        justify-content: center;
        width: 100%;
    }

    nav.navbar.navbarling .navbar-brand {
      width: 350px;
    }
    nav.navbar.navbarling .navbar-brand img{
        width: 100%;
    }
    .navbar-expand-lg .offcanvas .offcanvas-body{
      padding-right: 0;
    }
    nav.navbar.navbarling .nav-item > a.nav-link{
      color:#000;
      padding: 8px 8px;
      font-size: 1em;
    }
    
}

@media (min-width: 992px) {
  .home-news_box-center .list-group .list-group-item{
    line-height: 110%;
  }
  .navbar-nav li > ul.dropdown-menu {
    border-top: 5px solid #EE77BB;
    border-radius: 0 0 5px 5px;
 }
}


@media (max-width: 991px) {
  .pageheader .top-fb{
    top: 60px;
    right: 0px;
    position: absolute;
  }
  .pageheader .top-fb a{
    color: #821581;
    font-size: 0.9em;
  }

  nav.navbarling .navbar-brand{
    background: url(../../images/customer/elderly-service/logo2.png) left center no-repeat;
      background-size: contain;
      height: 60px;
      width: 360px;
      padding: 10px 15px;
  }
  nav.navbarling .navbar-brand img{
    display: none;
  } 
  nav.navbar.navbarling button.navbar-toggler{
    color: #fff;
    border: 1px solid #c35b11;
    background: #c35b11;
  }
  nav.navbar.navbarling .nav-item > a.nav-link{
    padding: 3px 10px;
  }
  .navbar-nav.navbarling .nav-item ul.dropdown-menu{
    margin: 0;
    padding: 0;
  }
  .navbar-nav .nav-item.dropdown.proicon > a{
    display: none;
  }
  .navbar-nav .nav-item.proicon > ul.dropdown-menu > li > a.dropdown-item{
    border: 1px solid;
    border-radius: 5px;
    margin-bottom: 6px;
    font-size: 1.25em;
    font-weight: bold;
    padding: 3px 10px;
  }
  .navbar-nav .nav-item > ul.dropdown-menu{
    margin: 0;
    padding: 0;
  }
  .navbar-nav .nav-item ul.dropdown-menu li:last-child a{
    border-bottom: none;
  }

  .offcanvas.offcanvas-box{
    background: #c35b11 !important;
  }

}

@media (max-width: 568px) {  
  .pageheader .top-url{
    display: none;
  }
  .pageheader .top-fb{
    top: 36px;
    right: 15px;
    font-size: 0.8em;
  }
  nav.navbar.navbarling button.navbar-toggler{
    font-size: 1.3em;
    padding: 3px 6px;
  }
  nav.navbarling .navbar-brand{
    background: url(../../images/customer/elderly-service/logo2.png) center no-repeat;
    background-size: contain;
    height: 60px;
    margin: 0;
    width: 80%;
  }

}


/*首頁輪播區=====================================================================================*/
#logo-box1 .carousel-inner .carousel-item{
  transition: transform 6s ease-in-out; /* 调整过渡时间为0.3秒 */
}


/* 首頁下主題 */
.hi_box{    
    color:#0d6efd;
    font-weight: bold;
    font-size: 1.5em;
}
.hi_box i{
    transform: rotate(-30deg);
}

.hi_box.pic:before{
    content: '';
    background: url(../../images/customer/elderly-service/li_item.webp) left top no-repeat;
    background-size: contain;
    padding-left: 40px;
}
.hi_box.item2.pic:before{
    content: '';
    background: url(../../images/customer/elderly-service/li_item2.webp) left top no-repeat;
    background-size: contain;
    padding-left: 40px;
}


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


/* 左選單 */

.left-content .btn-toggle{  
  background: #F0F0F0;
}

.left-content .left2:hover{
    background: #AF75BC;
    color: #fff;
}

.left-content .left22{
    background: #920080;
    color: #fff !important;
}
.left-content .left22.btn-toggle::before {
  color: #fff;
}
.left-content .left32 {
    color: #920080 !important;
}

.left-content .collapse ul.category-3.show{
  background-color: #fff;
}


/* 頁尾 */
footer {
  background-color: #ffefc0;
  line-height: 150%;
}
footer * {
  color: #2e000e !important;
}
footer .h4{
  margin-bottom: 0;
}
footer address span { display:block; width:100%}
footer address span>span { display:inline-block; width:auto;}

@media only screen and (max-width:568px){	
	footer address span>span { display:block; width:100%}
}


/* 產品內頁 */
.panel{
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid #faebcc;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.panel>.panel-heading {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;  
}
.panel .panel-heading h3,
.panel .panel-heading h4{
  padding: 0;
  margin-bottom: 0;
  color: #8a6d3b;
  font-weight:bold;
}
.panel .panel-body{
  padding: 15px;
}
.panel .panel-heading a {
  color: #8a6d3b;
}

.panel .panel-heading .accordion-toggle:after {
  content: "\f0d7";
  font-family: 'FontAwesome';
  font-size: 1.2em;
  position: absolute;
  right: 30px;
}



/* 關於我們 */
.pull-right {
  float: right;
}

/* 首頁-聯絡我們 */
.home-contact_box .card-title {
  color: #A82024;
  font-weight: bold;
}
.home-contact_box .card-text{
  line-height: 200%;
}

.home-contact_box .card-body .name2 a { 
  color:#23008C;; font-weight: bold; 
}
.home-contact_box .card-body .tel { 
	font-size:1.2em; 
	font-weight:bold; 
	color:#E42B94;
	font-style: italic; 
	padding:0px 0px 15px 0px 
}
.home-contact_box .card-body .tel > span {
	font-size: 0.7em;
    color: #7798CB;
    font-weight: initial;
	padding-left: 10px;	
}
@media only screen and (max-width:991px ){ 
  .home-contact_box .card-body{
    line-height: 140%;
  }
	.home-contact_box .card-body .tel > span {
		padding-left: 0;
    display: block;
	}
}



/* 說明文貼圖 */
/* 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: 25%;
}
.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;
}
@media (max-width:767px) {
  .page_box.classify4_box .product-item-box .item{
    width: 50%;
  }
}
@media (max-width:567px) {
  .page_box.classify4_box .product-item-box .item{
    width: 100%;
  }
}

.page-item {
  font-weight: bold;
  text-align: center;
}

/* #tb_box table th,  */
table.back_color th{
  background-color: #fff1f1;
}

table.table-hover>tbody>tr:hover>* {
    --bs-table-bg-state: rgb(255 233 205 / 33%) !important;
}

#tb_box table td, #tb_box table th{
  border:1px solid #ccc
}

#tb_box table th {
    background-color: #fff1f1;
    color: #000;
}


@media only screen and (max-width: 767px) {
  #tb_box > table td {
      text-align: left;
      width: auto;
      padding: 3px;
      border-left: none;
      border-right: none;
      border-top: none;
      background: transparent;
      white-space: normal !important;
  }
  #tb_box table td:before {
      content: attr(data-xxx) ": ";
      color: initial;
      width: 30%;
      min-width: 30%;
  }
  #tb_box > table tr:nth-of-type(odd){
    background-color: #fff1f1;
  }
}

.member-bor {
  border: 6px solid #365fff;
}

th.data-ex:after{
  content: "\f005";
  display: inline-block;  
  font-family: 'FontAwesome';
  color: red;
  padding-left: 6px;  
}

small.sm-in-block {
  padding-left: 15px;
  padding-top: 6px;
}
@media only screen and (max-width: 767px) {
  small.sm-in-block {
    display: block !important;
    padding-left: 0px;
  }
}



.eld_text_show{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;    
}