/* 華康中黑體 */

@font-face {
    font-family: '華康中黑體';
    src: url('../font/dfphei/華康中黑體.eot');
    src: local('華康中黑體'),
        url('../font/dfphei/華康中黑體.eot?#iefix') format('embedded-opentype'),
        url('../font/dfphei/華康中黑體.woff2') format('woff2'),
        url('../font/dfphei/華康中黑體.woff') format('woff'),
        url('../font/dfphei/華康中黑體.ttf') format('truetype'),
        url('../font/dfphei/華康中黑體.svg#Candara') format('svg');

    font-style: normal;
}

body {font-family: Arial Narrow, Arial,; color: #333333; background-color: #FDFEF5; font-size: 17px; line-height: 1.4em;}
html, body {width:100%; padding:0; margin:0;}

table td {font-size:16px;}

.text_tc { 
	font-family: '華康中黑體', sans-serif;
	font-size: 17px;
}

/* LAYOUT */
#line-top {margin: 0; background: #F9B401; padding:5px;}
#header-top {margin: 0; background: #ffffff;}
#header-top .btn { margin-top: -0.4rem !important; padding: .12rem 0.34rem !important; }

.button-title { font-size: 1.2rem; }
	
@media (min-width: 992px) {
	#header-top {padding-left: 60px; } 
	.button-title { font-size: 1.6rem; }	
	}

section {min-height: 400px; padding-bottom:30px; padding-top:20px}
strong { font-weight: bold; }


.box-text {
  color: white;
  font-size: 20px;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

a:link, a:visited, a:active {color: #8ABD39; text-decoration: none; }
a:hover {color: #F8640A; text-decoration: none;}

.carousel-multi-item .controls-top{margin-bottom: -2.88rem !important;}

.home-product figure {
  float: left; }


#home_pro {background: #89D4E3;}
#home_pro a{color: #000; font-size: 22px;}

#home_pro .card-body{padding:0.75rem !important;}

@media (max-width: 991.98px) { #home_pro a{ font-size: 18px; line-height: 1em;} }

/* Navbar */

.navbar{padding:0rem !important;}


/* change the brand and text color */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: rgba(255,255,255,.8);
}

/* change the link color and padding  */
.navbar-custom .navbar-nav .nav-link {
    color: #B28635;
    padding: 12px 20px;
	font-weight: 700;
	font-size: 18px;
	border-radius: 5px;
}


/* change the color and bg color of active or hovered links */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link {
    color: #FFF;
    background-color: #F9B401;
}

/* for dropdown only - change the color of droodown */
.navbar-custom .dropdown-menu {
    background-color: #FBFCED;
}

.navbar-custom .dropdown-item {
    color: #ffffff;	
	font-size: 1rem!important;
	padding: 10px 20px !important;
}


.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    color: #333333;
    background-color: #F9B401 !important;
}


.dropdown:hover>.dropdown-menu {display: block; }




.side-nav { background-color: #F9B401; }

 @media only screen and (max-width: 1440px) {
    .side-nav .collapsible a {
      font-weight: 400;
	  color: #FFF;
      font-size: 1rem!important;
	  }
}

.side-nav .social .fas,
.side-nav .social .fab,
.side-nav .social .far {
      font-size: 2rem;
      padding-right: 0.4rem;
      padding-left: 0.4rem;
      color: #dbe4e7;
      transition: 0.3s; }

.side-nav .btn { margin-top: -0.4rem !important; padding: 0.245rem 0.5rem !important; }

.page-title { padding-top:20px; color:#66B3FF; font-size: 1.5rem; }

/* To-Top Button */
.totop-btn {
  position: fixed;
  bottom: 25px;
  right: 40px;
}


footer {
background-color: #F9B401;
color:#fff;
text-align: left;
padding-top: 20px;
}


.foot a{color:#ffffff;}
.foot a:hover{color:#f0f4c3; text-decoration: none;}


/******************* Crop Image ********************/

.card-img-top {
width: 100%;
height: 30vh;
object-fit: cover;
}

.crop_ProductDetail
{
    height: 15vh;
}

/******************* Product Form ********************/

.orderformtitle {
color: #D90000;
font-size:1.3em;
}

.orderdetailtext {
color: #B20000;
}

#productmenu .card-header {
padding: 10px 20px 10px 20px !important;
}

#productmenu a { text-decoration: none; color: #B28635;  }
#productmenu a:hover{ color: #ffcc80;  }