@charset "UTF-8";
body{
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 100%;
  font-size: 18px;
  line-height: 180%;
}
body a{
	color: #333;
}
body a:hover {
	color: #A80008;
} 

/*--------------------------------------------------------------
# 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 {
    width: 100%;
    min-height: 70vh;
    position: relative;
    margin-top: 155px;
    display: block;
    align-items: center;
    overflow: hidden;
  }
  @media (max-width: 1199px) {
    .hero {
      margin-top: 155px;
    }
  }
  @media (max-width: 991px) {
    .hero {
      margin-top: 116px;
    }
  }
  
  /*--------------------------------------------------------------
  # Global Sections 當頁滾動監聽
  --------------------------------------------------------------*/
  .section-scroll {
    scroll-margin-top: 100px;
    overflow: clip;
  }
  
  @media (max-width: 1199px) {
    .section-scroll {
      scroll-margin-top: 100px;
      display: block;
    }
  }

  
  

.pageheader {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a80008+0,c8000a+34,c8000a+100 */
	background: #a80008; /* Old browsers */
	background: -moz-linear-gradient(top, #a80008 0%, #c8000a 34%, #c8000a 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #a80008 0%,#c8000a 34%,#c8000a 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #a80008 0%,#c8000a 34%,#c8000a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a80008', endColorstr='#c8000a',GradientType=0 ); /* IE6-9 */
}

.scrolled .header .pageheader{
  display: none;
}

/* body.home-page img{
    width: 100%;
} */

nav.navbar.navbarling {
    background-color: #A80008 !important;
}


/* 商標1 */
nav.navbar.navbarling .navbar-brand {
  font: 0 / 0 a;
  color: transparent;
  text-indent: -9999px;  
  background: url(../../images/customer/hangyi/logo2.png) center no-repeat;
  background-size: contain;
  display: block;
}

@media (min-width: 1200px) {
  .scrolled nav.navbar.navbarling .nav-item > a.nav-link {
    font-size: 1em;
    padding: 10px 6px;
  }
}
@media (min-width: 992px) and (max-width: 1199px){
  .scrolled nav.navbar.navbarling .nav-item > a.nav-link {
    font-size: 0.9em;
    padding: 10px 6px;
  }
}
@media (min-width: 992px) {
  .pageheader .top-good{
      padding: 15px 0;
      text-align: right;
      width: 450px;
      max-width: 45%;
      margin: 0 0 0 auto;
  }
    
  /* 商標2 */
  nav.navbar.navbarling h1{
    margin-bottom: 0;
    position: relative;
  }
  nav.navbar.navbarling .navbar-brand {
    width: 430px;
    height: 75px;
    max-width: 430px;
    top: -118px;
    position: absolute;
  } 

  .scrolled nav.navbar.navbarling .navbar-brand{
      position: relative;
      top: initial;
      width: 360px;
  }
  .scrolled nav.navbar.navbarling .navbar-brand img{
    width: auto;
    height: 50px;
  }

  .pageheader .top-good img,     
  nav.navbar.navbarling .navbar-brand img{
      width: 100%;
  }
  nav.navbar.navbarling .dropdown-menu{
      border-top: 6px solid #ffc107;
  }

}

@media (max-width: 991px) {
  nav.navbar.navbarling{
    padding: 0;
  }
  /* 商標3 */
  nav.navbar.navbarling h1{
    margin: 3px 0;
    position: relative;
    width: 70%;
  }
  nav.navbar.navbarling .navbar-brand {
    background-size: contain;
    height: 72px;
    width: 100%;
  } 
  nav.navbar.navbarling button.navbar-toggler{
      background-color: #ffc107;
      color: #6e0000;
  }

    .navbar-toggler{
    position: relative;
  }
  .navbar-toggler:before {
    content: "\f25a";
    font-family: 'FontAwesome';
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 11;
    font-size: 1.2em;
    color: red;
    animation-name: navbar-toggler;
    animation-duration: 2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
  }
  @keyframes navbar-toggler {
    0%   {color:red; left:25%; top:40px;}
    25%  {color:#ffc107; left:25%; top:30px;}
    50%   {color:blue; left:25%; top:40px;}
    75%  {color:#ffc107; left:25%; top:30px;}
    100%   {color:red; left:25%; top:40px;}
  }



  .pageheader{
      background: #ffc107;
  }
  .pageheader .top-good:before{
      content: '創立30年屢獲評鑑優等';
      text-align: center;
      color: #440000;
      letter-spacing: 3px;
      font-size: 1.2em;
      margin: 0 auto;
      width: 100%;
      display: block;
      padding: 3px 0;
  }
  .pageheader .top-good img{
      display: none;
  }
  nav.navbar.navbarling .nav-item > a.nav-link{
    padding: 3px 15px;
  }
  nav.navbar.navbarling .nav-item ul.dropdown-menu{
    padding: 0;
  }
  .navbar-nav .nav-item ul.dropdown-menu li:last-child a{
    border-bottom: none;
  }
}



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

@media (max-width: 567px) {
  aside .h4.hi_box.pic{
    background: none;
    padding-left: 0px;
  }
}

/* 首頁-消息跑馬燈 */
.home-news_box.marquee a {
    color: #0d6efd;
}


.template-box-top .page-header{
  border-bottom: 1px dotted #ccc;
  /* margin-bottom: 1.5em; */
}
.template-box-top .page-header .h3{
  font-weight: bold;
}


/* 左選單 */

.left-content .left22{
    background: #ffe4e6 !important;
}

.left-content .left32 {
    color: #7a0309 !important;
    text-decoration: underline !important;
}
.left-content .btn-toggle{  
  border: 1px solid #ffa7ad !important;
}
.left-content .btn-toggle::before {
  color:#ee666f ;
}


/* 頁尾 */
footer {
  background-color: #A82024;
}
footer * {
  color: #fff !important;
}



/* 產品內頁 */
.panel{
  border-color: #ebccd1;   
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid #ebccd1;
  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: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
.panel .panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.panel .panel-heading h3{  
  margin-bottom: initial;
  font-size: 1.2em;
  font-weight: bold;
}
.panel .panel-body{
  padding: 15px
}



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

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

@media (min-width: 768px) {
  img.pull-right {
    margin-left: 0.5em;
  }
}

.page_box.product32_box h3.text-danger{
  display: inline;
}
@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;
}
@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%;
  }
}

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



.home-news_box-center .list-group .list-group-item span,
.page_box.news_box .ul-content li.item span,
.page_box.news_box .ul-content li.item:before {
  color: #A82024;
}