/*整體*/
body {
    color: #000;
    font-size: 15px;
    margin: 0;
}
a {
    color: #4682b4;
    text-decoration: none;
}
a:hover {
    color: #00bfff;
}

.news .fcol .news-list li h3, .news .news.main-content li h3, #news-heading h3 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    color: #4682b4;
}

/*產品輪播*/
.rwd-table {
  	overflow-y: visible !important;
}
#myDiv img {
        max-width: none;
}

/*Banner*/
body {
    background-color: #fff;
    color: #000;
    font-size: 16px;
    margin: 0;
    border-top: 5px #fff solid;
}
.swiper-container {
  height: auto !important;
}
.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}
.swiper-slide {
  width: 100% !important;
}
/*#banner {
  border-top: 4px #c8c3c0 solid;
  border-bottom: 0px #bda990 solid;
}*/


/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar {
  background-color: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: 0;
}

.topnavbar .container {
 height: 100px;
}


/*圖片*/
.row [class^="col-"] img{
  opacity:3;
    transition:0.7s
}
.row [class^="col-"] img:hover {
    opacity:0.55;
}
.row [class^="col-"] {
  padding:10px;
}


/* nav - 亮色系 */
#nav ul li a {
  white-space: nowrap;
  color: #000000; /* 修改：預設字體為黑色 */
  line-height: 1.3;
  font-weight: normal;
  padding: 10px 18px;
  font-size: 95%;
  border-right: 1px #cccccc dotted;
  transition: all 0.5s;
}

#nav ul li a:hover {
  background: rgba(224, 247, 250, 0.8);
  color: #000000; /* 維持：滑鼠移上時字體為黑色 */
}

#nav ul li.current a {
  background: rgba(207, 216, 220, 0.8);
  color: #000000; /* 維持：目前頁面字體為黑色 */
}

/* 手機版導覽列樣式 */
.navbar {
  background-color: #f1f1f1;
}

.rwd-navbar-toggle {
  float: right;
}

.rwd-navbar-toggle .label {
  color: #333333;
  background: #ffffff;
  padding: 1px;
  border-radius: 2px;
}

/* 手機版選單展開樣式 */
@media only screen and (max-width: 767px) {
  .rwd-side {
    background-color: #f9f9f9;
    transform: translateX(100%);
  }

  .rwd-side .product-search input[type="text"],
  .rwd-side .product-search input[type="text"]:focus {
    background-color: #ffffff;
    color: #000000; /* 修改：確保輸入框文字為黑色 */
  }

  .rwd-side .nav li {
    border-bottom: 1px solid #ddd;
  }

  .rwd-side .nav li a {
    color: #000000; /* 修改：確保手機版選單文字為黑色 */
  }

  .rwd-side .language > a {
    padding-left: 0px;
  }
}

/* 漢堡條樣式 */
.navbar-icon-bar {
  height: 4px;
  background-color: #888888;
}
.navbar-icon-bar:before,
.navbar-icon-bar:after {
  background-color: #888888;
}
.navbar-icon-bar:before {
  transform: rotate(180deg);
  top: 0px;
}
.navbar-icon-bar:after {
  transform: rotate(90deg);
  top: 0px;
}
.menu-open .navbar-icon-bar:before,
.menu-open .navbar-icon-bar:after {
  transform: rotate(0deg);
}

.rwd-side.menu-open {
  background: rgba(255, 255, 255, 0.8);
}

.rwd-side.menu-open .nav li a {
  color: #000000; /* 修改：確保手機版展開菜單文字為黑色 */
}


.navbar-nav {
  margin-right: 15px;
}

body[data-type="fullpage"] .navbar-nav > li > a {
  line-height: initial;
}


/*各頁標頭*/
.h1title {
    color: #db3e0b;
    font-size: 2rem;
    font-weight: normal;
  border-bottom:1px #337ab7 solid;
}

/*footer*/
#footer {
    color: #fff;
    background-color: #e5e7eb;
}
#contact-info ul li span {
    color: #fff;
}
#footer a {
    color: #fff;
}
#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fff;
}
#contact-info ul li span {
    color: #fff;
}
#foot-nav ul li a {
    color: #fff;
}
#foot-nav ul li.current a, #foot-nav ul li a:hover {
    color: #00ced1;
}


/*文字框底圖*/
#bodyinhome div.fcol.fcol-1 {
    position: relative;
    background: #fff;
    background-size: auto;
  margin-top:-45px;
}
#bodyinhome div.fcol.fcol-2 {
    position: relative;
    background: #fff;
    background-size: auto;
}

#bodyinhome.index .fcol.fcol-3 {
  background:url()no-repeat;
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  
}

#bodyinhome.index .fcol.fcol-3 .container {
  max-width:80%;
  width:100%;
  padding:px px;
}
#bodyinhome.index .fcol.fcol-4 {
  background:url()no-repeat;
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  
}

#bodyinhome.index .fcol.fcol-4 .container {
  max-width:100%;
  width:100%;
  padding:px px;
}

#bodyinhome.index .fcol.fcol-5 {
  position: relative;
    background: #fff;
    background-size: auto;
}

#bodyinhome div.fcol.fcol-6 {
    position: relative;
    background: #fff;
    background-size: auto;
    background-repeat: repeat;
    background-position: 50% 50%;
}

.block {
    display: block;
    text-align: left;
    width: 100%;
    height:auto;
    padding-bottom:auto;
    padding-top: 5%;
    padding-left: 5%;
    padding-right: 5%;
    background: rgba(205, 215, 145, 0.9);
    /*background: rgba(104, 131, 80, 0.75);*/
   overflow: hidden;
   position: relative;
    transition:all 0.5s;
      color: #000;
}
.block:hover {
    transform:scale(1.2);
}

/*產品格*/
ul.product-list li .desc {
    display: block;
    min-height: 1.2rem;
    max-height: 2.4rem;
    margin-bottom: auto;
    font-size: .8rem;
    line-height: 1.5;
    word-break: break-word;
    color: #666;
    overflow: hidden;
    padding: 0 16px;
    display: none;
}


/*隱藏詳細介紹*/
ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #000;
}
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #444;
    overflow: hidden;
    padding: 0 16px;
}


/*改產品格名稱顏色*/
#side ul li.current > div a {
    color: #94a440;
}
#side ul li a {
    color: #000;
    display: block;
    padding: 10px 20px;
    transition: .3s;
}
.product-list-div h2 a {
    color: #000;
    text-decoration: none;
    display: inline-block;

}
.product-list-div h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
    text-shadow: 0 0px 0 #fff;
}
body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #000;
    transition-property: left, color;
}
ul.product-list li .money-icon {
    color: #000;
    font-size: 95%;
    margin-right: 8px;
    margin-left: 16px;
    text-shadow: 0 0px 0 rgba(255,255,255,0.7);
}


/*index 小圖*/
#bodyinhome .fcol.fcol-1{padding-top:15px;padding-bottom:15px;}
#bodyinhome .fcol.fcol-2{background:#efefef;}

#bodyinhome .fcol.fcol-2{background:#ddded6;}

.rk_imgblock1{ text-align:center;width:98%;}

.rk_imgblock1 figure{
	width: 100%;
	position:relative; overflow:hidden;
	display:inline-block;margin:5px 0;
	transition:all .5s;
    border: 4px solid #fff;
    /*cursor:pointer;*/
}


.intro {
	width: 100%;height:auto;margin-right: 43px; float: left; position: relative;
}

.intro .word {
	background: rgba(60, 157, 214, 0.65);
	left: 0px;
	width: 100%;
	height: 32px;
	text-align: center;
	bottom: 0px;
	line-height: 32px;
	float: left;
	position: absolute;
	bottom: 5px;
}
.intro a {
	color: rgb(255, 255, 255); font-size: 14px; display: block;
}
.intro a:hover {
	color: rgb(0, 0, 0); font-weight: bold;
}


.rk_imgblock1 figure img{
  width: 100%; height: 100%; transition:all .5s;display:block;}


.rk_imgblock1 figcaption{
	width: 100%; height: 100%; box-sizing:border-box;
	background: rgba(0,0,0,0.55);
	color:#FFFFFF; font-weight:bold;
	font-size:20px; line-height: 40px;
	text-shadow:1px 1px 3px #000,-1px -1px 3px #000;
	box-shadow:inset 0 0 50px rgba(0,0,0,0.46),inset 0 0 100px rgba(0,0,0,0.75);
	position:absolute; top:0; left:0;
	transition:all .5s;
}

.rk_imgblock1 figcaption a{font-size:20px;display: block;color:#fff;width:100%;height:100%;padding-top:70px;}
.rk_imgblock1 figcaption span{font-size:14px; line-height: 16px;display: block;color:#fff;padding-top:5px;font-weight:normal;}
				
.rk_imgblock1 figure:nth-child(1) figcaption	{ opacity:0;}		
.rk_imgblock1 figure:nth-child(1) figcaption:hover { opacity:1;}
.rk_imgblock1 figure:nth-child(2) figcaption	{ opacity:0;}		
.rk_imgblock1 figure:nth-child(2) figcaption:hover { opacity:1;}
.rk_imgblock1 figure:nth-child(3) figcaption	{ opacity:0;}		
.rk_imgblock1 figure:nth-child(3) figcaption:hover { opacity:1;}

.ser-top span.ser-line {
    background: #8ac33e;
    width: 25px;
    height: 5px;
    display: block;
    margin: 1em auto 1em;
}


.ser-top p {
	font-size: medium;
	font-weight: 400;
	color: #fff;
	line-height: 1.6em;
	width: 80%;
	margin: 0em auto 0em;
	text-align: center;
}


.btn, a.save, a.delete {
    background: #333;
    color: #FFF;
    border: 1px solid #333;
    box-shadow: 0 1px 0 #333 inset;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/* 防止aos畫面超出去 */
.container {
    width: px; /* Or any defined width */
    height: px; /* Or any defined height */
    overflow: hidden;
}
/* 防止因aos頁籤無法顯示 */
.topnavbar {
  overflow: visible; /* 內容超出容器時會顯示出來 */
}

@media (min-width: 1200px) {
  body[data-type="fullpage"] .container {
    width: 1160px;
    overflow: visible;
  }
}
@media (min-width: 767px) {
  body[data-type="fullpage"] .container {
    width: 1160px;
    overflow: visible;
  }
}
@media (min-width: 600px) {
  body[data-type="fullpage"] .container {
    width: 1160px;
    overflow: visible;
  }
}

#foot-nav ul li a {
    color: #787878;
}