/*#nav li a span{
  display:block;
}*/

/*icon*/

.line{position:fixed;right:0.5%;top: 45%;z-index:1000;transform:scale(0.8);}

.FB {position: fixed;right: 0.5%; top:55%;z-index: 1000;transform:scale(0.8);}

.TL {position: fixed; right: 0.5%; top: 45%; z-index: 1000;transform:scale(0.8);}

.MAIL {position: fixed; right: 0.5%; top: 55%; z-index: 1000;transform:scale(0.8);}


#gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    background: #FF8C00; /* 深橘色背景 */
    color: #FFF0E0;     /* 淺橘白箭頭 */
    cursor: pointer;
    text-align: center;
    line-height: 50px;
    border-radius: 50%; /* 圓形 */
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.4); /* 橘色調陰影 */
    transition: background-color 0.3s, color 0.3s;
}

#gotop:hover {
    background: #FFA500; /* 滑過變亮橘 */
    color: #FFFFFF;     /* 白色箭頭 */
}




body{background:#fff;}

#wrap{background:url()no-repeat;
background-position:top center;background-size:cover;background-attachment:fixed;}

.fcol .container {
    padding: 16px;
    background: 
    rgba(255,255,255,0.);
}

/*回首頁*/

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/  
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
  padding-top: 0px;
  padding-bottom: 10px;
}





/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/
  padding-top:0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
  background: #1b3744;
  top: 0px;
  position: relative;
  z-index: 100;
  width: 100%;
  padding: .6rem 0;
  width: 100%;
}
/* 桌面版導覽列背景 */
@media only screen and (min-width: 768px) {
  .topnavbar {
    background-color: #1b3744;
  }
}

body[data-type="fullpage"] #nav {
  font-size: 1rem;
}

/* nav - 亮色系 */
#nav ul li a {
  white-space: nowrap;
  color: #FFFFFF; /* 白色字體 */
  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: #333333; /* **重要修改**：確保輸入框文字在白色背景下是深色 */
  }

  .rwd-side .nav li {
    border-bottom: 1px solid #ddd;
  }

  .rwd-side .nav li a { /* **新增**：確保手機版選單項目的文字顏色 */
    color: #333333; /* 在淺色背景下，文字變為深灰色 */
  }

  .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: #333333; /* 在白色背景下，文字變為深灰色 */
}


.navbar-nav {
  margin-right: 15px;
}

body[data-type="fullpage"] .navbar-nav > li > a {
  line-height: initial;
}

/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(900 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}
@media(max-width:767px){
  .swiper-wrapper, .swiper-slide {
    padding-bottom: calc( 1000 / 700 * 100%);
  }
}

/*Index*/
.serveimg {
    display: block;
    text-align: center;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    border-radius:10px; 
    min-height:80px;
    background:#c5e0f5;
    padding:15px 12px;
    transition:all.3s;
}


.serveimg:hover {
    display: block;
    text-align: center;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    border-radius:10px; 
    min-height:80px;
    background:#94d4ff;
    padding:15px 12px;
}



.serveimg p span{color:#555;display:block;height:80px;}
.serveimg p span:hover{color:#fff;display:block;}

/*Index1*/
.serveimg1 {
    display: block;
    text-align: center;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    border-radius:10px; 
    min-height:80px;
    background:#abb9ff;
    padding:15px 12px;
    transition:all.3s;
}


.serveimg1:hover {
    display: block;
    text-align: center;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    border-radius:10px; 
    min-height:80px;
    background:#94d4ff;
    padding:15px 12px;
}



.serveimg1 p span{color:#555;display:block;height:80px;}
.serveimg1 p span:hover{color:#fff;display:block;}

/*h1*/
.h1title{color:#1c99ed;border-bottom:1px dashed #1c99ed;}

ul.product-list li a:hover {
    color: #000;
}/*改產品格 滑鼠滑過去字顏色*/

/*pd*/
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: #000;
    overflow: hidden;
    padding: 0 16px;
}

ul.product-list li .desc{
   display:none;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
    background: #59aacb;
    text-shadow: none;
    padding: 0 10px;
}

.mark {
    background: none;
   }

/*footer*/
#foot-nav ul li a {
    color: #fff;
    font-size: 1.06em;
  
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 0px solid #fff;
  ;
}
.contact-row {
    padding: 0em 0 1em;
    line-height: 1.6;
  display:none;
}

#footer {
    color:#fff;
  
}

#contact-info ul li span {
    color: #fff;
}

#copyright, #copyright a{color:#dcdcdc;}

@media (max-width: 768px) {
    .foot-nav.col-2 {
    padding: 15px;
    min-height: 1px;
    flex: 1 0 50%;
    max-width: 100%;
}
    }
}


/*隱藏 追蹤分享 字樣*/
div.col-md-5 {
display: none;
}

/*Index_1*/
/*about_2*/
.sr.row img {
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border: 3px solid #1b3744;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 陰影設定 */
}

/*About_3*/
#bodyinpage.about-us .fcol.fcol-1 {
  /* 移除原本的 background-color */
  /* background-color: #f3f6f8; */ 
  
  /* 新增您指定的深藍色漸層背景 */
  background-image: linear-gradient(to right, #0c1638 70%, #064e62);
  
  background-position: top center; /* 设置背景图像位置 (保留原設定) */
  background-size: cover; /* 背景图像覆盖整个元素 (保留原設定) */
}

#bodyinpage.about-us .fcol.fcol-1 .container {
  max-width:80%;
  width:100%;
  padding:px px; /* 這裡的 'px px' 可能是錯字，應該是 '數值px 數值px' */
}


@media(max-width:600px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 .container{
    padding:px px; /* 這裡的 'px px' 可能是錯字，應該是 '數值px 數值px' */
  }
}

@media(max-width:767px){
  #bodyinpage.about-us .fcol.fcol-1 .container {
    flex: 0 0 100%;
    max-width: 100%;
    font-size: 16px;
  }
}



#bodyinpage.rwd-collapse.viewmode.default.about-us  .fcol.fcol-3 .container{
   padding:60px 16px;
}

.intro {
  -webkit-animation-delay: 1.5s;
}

.intro a {
  overflow: hidden;
  position: relative;
  padding: 10px 40px;
  border: 0px #aaa solid;
  display: inline-block;
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  background: #6fc33c;
}

.intro a:hover {
  color: #fff;
  background: #000;
  transition: all 0.4s;
}

.intro a:after {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  top: 0;
  left: -100%;
  display: block;
  background: #000;
  transition: all 0.4s;
  z-index: -1;
}

#service .list article {
  background: #F9FEFE;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 15px
    rgba(0,0,0,0.16);
  padding: 15px 15px 5px;
  text-align: left;
  height: 200px;
  border-radius: 10px;
}

/* 手機版設定 */
@media screen and (max-width: 768px) {
  #service .list article {
    height: 220px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 70%;
  display: flex;
  align-items: center;
}

#service p {
  font-size: 90%;
  padding: 6px 0px; /* 減少內部空間 */
  margin-top: -5px; /* 將文字往上移 */
  color: #777;
}

#service p span {
  padding: 6px 0px; /* 保持內部間距 */
  margin-top: -3px; /* 輕微調整文字位置 */
  color: #000;
}

.image_hover {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.image_hover img {
  margin: auto;
  transition: transform 0.6s ease;
}

.image_hover:hover img {
  transform: scale(1.2);
}

.project .dfd-folio-categories .byline.category {
  display: inline-block;
  overflow: hidden;
  margin-bottom: 10px;
}

span.cat-name {
  background: #1c99ed;
  padding: 5px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center; /* 垂直置中 */
  justify-content: center; /* 水平置中 */
}



/*about-us第一階層語法*/
#bodyinpage.about-us .fcol.fcol-1 {
  background: url() no-repeat;
  background-position: top center;
  background-size: cover;
  width: 100%;
  max-width: 100%;
  display:none; 
}

#bodyinpage.about-us .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none;  
}

#bodyinpage.services .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none;  
}
#bodyinpage.equipment .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
}
#bodyinpage.promotion-project .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
}
#bodyinpage.contact-us .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none;  
}


#bodyinpage.about-us .fcol.fcol-2 {
  background:url()no-repeat;
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  
}

#bodyinpage.about-us .fcol.fcol-2 .container {
  max-width:100%;
  width:100%;
  padding:px px;
}


@media(max-width:600px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
   padding:px px;
  }
 }

@media(max-width:767px){
#bodyinpage.about-us .fcol.fcol-2 .container {
  flex: 0 0 100%;
  max-width: 100%;
     font-size: 16px;
 }
}


#bodyinpage.about-us .fcol.fcol-3 {
  background-color: #ffffff; 
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  
}

#bodyinpage.about-us .fcol.fcol-3 .container {
  max-width:100%;
  width:100%;
  padding:px px;
}


@media(max-width:600px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container{
   padding:px px;
  }
 }

@media(max-width:767px){
#bodyinpage.about-us .fcol.fcol-3 .container {
  flex: 0 0 100%;
  max-width: 100%;
     font-size: 16px;
 }
}

#bodyinpage.about-us .fcol.fcol-4 {
  background: 
    linear-gradient(rgba(0, 32, 96, 0.6), rgba(0, 32, 96, 0.6)), /* 深藍色遮罩 */
    url(https://static.iyp.tw/32062/files/534daeee-a4d2-464a-ac61-3ec74e966e43.jpg) no-repeat;
  background-position: top center;
  background-size: cover;
}

/*#bodyinpage.about-us .fcol.fcol-5 {
  background:url(https://static.iyp.tw/32062/files/b49a1771-3e8c-43fa-b838-827cb9013e1e.jpg)no-repeat;
  background-position: top center; 
  background-size: cover; 
  
}*/

/*about_2 - 加入背景顏色 */
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5 .container {
    padding: 0px;
    max-width: 100%;
    width: 100%;
    background:url(https://static.iyp.tw/32062/files/b49a1771-3e8c-43fa-b838-827cb9013e1e.jpg)no-repeat;
}





#bodyinpage.about-us .fcol.fcol-5 .container {
  max-width:100%;
  width:100%;
  padding:px px;
}


@media(max-width:600px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5 .container{
   padding:px px;
  }
 }

@media(max-width:767px){
#bodyinpage.about-us .fcol.fcol-5 .container {
  flex: 0 0 100%;
  max-width: 100%;
     font-size: 16px;
 }
}

#bodyinpage.about-us .fcol.fcol-6 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  background-color: #80AADA;   
  height: 450px;
  display:none;  
}

#bodyinpage.about-us .fcol.fcol-1 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center;
  background-size: cover;
  width: 100%;
}

#bodyinpage.services .fcol.fcol-1 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  background-image: linear-gradient(to right, #ffc107, #ffecb3);
}
#bodyinpage.services .fcol.fcol-2 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none; 
}
#bodyinpage.services .fcol.fcol-3 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none; 
}
#bodyinpage.services .fcol.fcol-4 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none; 
}
#bodyinpage.services .fcol.fcol-5 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none; 
}
#bodyinpage.services .fcol.fcol-6 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none; 
}




/*輪播*/
/*owl*/
.owl-carousel.owl-theme {
  padding: 0 1rem 2rem;
}
.owl-carousel.owl-theme .owl-nav {
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav,
.owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }




/*文字線條*/
.shape-ex2{
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.shape-ex2-line{
    width: 0%;
    height: 1px;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .3s linear;
}
.shape-ex2:hover .shape-ex2-line{
    width: 100%;
}
/*文字底色*/
.shape-ex4{
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: all .3s linear;
}
.shape-ex4:hover{
       color: #fff;
    background-color: #88ddff
}

/*文字變色*/
.shape-ex3{
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: all .3s linear;
}
.shape-ex3:hover{
    color: #f9ff4d;
}


/*按鈕*/
.myButton {
	box-shadow: 0px 1px 0px 0px #1c1b18;
	background:linear-gradient(to bottom, #eae0c2 5%, #ccc2a6 100%);
	background-color:#eae0c2;
	border-radius:15px;
	border:1px solid #333029;
	display:inline-block;
	cursor:pointer;
	color:#505739;
	font-family:Arial;
	font-size:14px;
	font-weight:bold;
	padding:12px 16px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.myButton:hover {
	background:linear-gradient(to bottom, #ccc2a6 5%, #eae0c2 100%);
	background-color:#ccc2a6;
}
.myButton:active {
	position:relative;
	top:1px;
}


/*按鈕1*/

.myButton1 {
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:37px;
	font-weight:bold;
	padding:30px 130px;
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
}
.myButton1:hover {
	background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
	background-color:#408c99;
}
.myButton1:active {
	position:relative;
	top:1px;
}
@media screen and (max-width: 480px) {
  .myButton1 {
    text-shadow:0px 1px 0px #3d768a;
  }
}

  
/*文字1*/
.white-with-blue-shadow {
  text-shadow:
    1px 1px 2px black,
    0 0 1em blue,
    0 0 0.2em blue;
  color: white;
  font:
    1.5em Georgia,
    "Bitstream Charter",
    "URW Bookman L",
    "Century Schoolbook L",
    serif;
}

/*按鈕2*/
.myButton2 {
    box-shadow: 0px 1px 0px 0px #1c1b18;
    background: linear-gradient(to bottom, #eae0c2 5%, #ccc2a6 100%);
    background-color: #eae0c2;
    background-image: url();
    background-position: center center;
    background-size: cover;

    border-radius: 15px;
    border: 1px solid #333029;
    display: inline-block;

    cursor: pointer;
    color: #FA7D00;
    font-family: bold;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;

    padding: 40px;
    width: 100%;
    height: auto;
    min-height: 100px;
    max-width: 100%;
    line-height: 1.2;
    text-align: center;
    position: relative;
    overflow: hidden; /* 防止文字溢出 */
    word-wrap: break-word;
    word-break: break-word;
    transition: color 0.3s ease; /* 添加文字顏色過渡效果 */
}

.myButton2::before {
    content: ""; /* 必須有內容才能顯示 */
    position: absolute;
    top: 0;
    left: -100%; /* 初始位置在左邊 */
    width: 100%;
    height: 100%;
    background: rgba(255, 223, 0, 0.7); /* 半透明黃色覆蓋層 */
    z-index: 1; /* 確保位於文字下方但高於背景圖片 */
    transition: all 0.4s ease; /* 平滑動畫過渡 */
}

.myButton2:hover::before {
    left: 0; /* 懸停時將黃色覆蓋層移動到按鈕上 */
}

.myButton2:hover {
    color: #333; /* 懸停時文字顏色變暗 */
}

.myButton2 span {
    position: relative; /* 確保文字位於覆蓋層上方 */
    z-index: 2;
}


/* 手機板響應式設計 */
@media (max-width: 768px) {
    .myButton2 {
    font-size: 49px;
    padding: 50px;
    min-height: 150px;
    }
}
/*按鈕3*/
.myButton3 {
	box-shadow: 0px 1px 0px 0px #1c1b18;
	background:linear-gradient(to bottom, #eae0c2 5%, #ccc2a6 100%);
	background-color:#eae0c2;
	border-radius:15px;
	border:1px solid #333029;
	display:inline-block;
	cursor:pointer;
	color:#505739;
	font-family:Arial;
	font-size:22px;
	font-weight:bold;
	padding:40px 90px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.myButton3:hover {
	background:linear-gradient(to bottom, #ccc2a6 5%, #eae0c2 100%);
	background-color:#ccc2a6;
}
.myButton3:active {
	position:relative;
	top:1px;
}
/*框3*/
.zi_box_1 {
border: 2px solid #69b4ff;/* 框線顏色 */
margin: 2em 0;
padding: 20px;
position: relative;
}
.zi_box_1::before {
background-color: #fff;
color: #69b4ff;
/*content: "POINT";標題*/
font-weight: bold;
left: 1em;
padding: 0 .5em;
position: absolute;
top: -1em;
}
/*框4*/ 
.image-container {
    width: 300px; /* 外部容器的寬度 */
    height: 200px; /* 外部容器的高度 */
    margin: 50px auto; /* 讓圖片區域水平置中 */
    border-radius: 15px; /* 外部容器圓角 */
    overflow: hidden; /* 隱藏超出範圍的內容 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 輕微陰影 */
    border: 2px solid #ccc; /* 外部容器的裝飾性線條 */
    position: relative; /* 用於定位內部容器和文字 */
}

.image-inner-container {
    width: 100%; /* 內部容器寬度與外部一致 */
    height: 100%; /* 內部容器高度與外部一致 */
    padding: 1.5px; /* 內部容器與外部容器間的距離 */
    background-color: white; /* 內部容器背景色 */
    box-sizing: border-box; /* 確保內部容器不改變外部容器大小 */
    border-radius: 13px; /* 內部容器圓角，稍微小於外部容器 */
    border: 2px solid #f0f0f0; /* 內部容器的邊框 */
    overflow: hidden; /* 隱藏超出範圍的內容 */
    background-image: url(''); /* 背景圖片 */
    background-size: cover; /* 背景圖片完全覆蓋容器 */
    background-position: center center; /* 背景圖片居中顯示 */
    transition: filter 0.3s; /* 圖片過渡效果 */
}

.image-container:hover .image-inner-container {
    filter: brightness(85%); /* 當滑鼠移動到圖片上，圖片變淡 */
}

.overlay-text {
    position: absolute; /* 絕對定位文字 */
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 精確居中 */
    font-size: calc(10px + 1.5vw); /* 根據視窗寬度動態調整文字大小 */
    color: white; /* 初始文字顏色 */
    font-weight: bold; /* 字體加粗 */
    text-align: center; /* 文字居中對齊 */
    transition: color 0.3s ease; /* 文字顏色平滑過渡 */
}

.image-container:hover .overlay-text {
    color: yellow; /* 當滑鼠移動到圖片上，文字顏色變成黃色 */
}

.image-container:hover .overlay-text {
    color: yellow; /* 當滑鼠移動到圖片上時，文字顏色變成黃色 */
}




.service_img {
  position: relative;
}
.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background: rgba(0, 0, 0, 0);
  text-shadow: black 0.1em 0.1em 0.2em;
}

.service_text:hover {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background-color: rgba(0,0,0,0.55);
  transition: 0.5s;
}

.service_text div {
  font-size: 20px;
  line-height: 30px;
  position: relative;
  top: 45%;
  font-weight: bold;
}

@media (max-width: 768px) {
.service_text div {
    font-size: 22px;
    line-height: 30px;
    position: relative;
    top: 45%;
  }
}



/* 產品格*/
#service777 .list article {
  background: #fff;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.16);
  padding: 15px 15px 0px;
  text-align: left;
  height: 206px;
}

@media screen and (max-width: 768px) {
  #service777 .list article {
    height: 180px;
  }
}

#service777 .list article a {
  display: block;
}

#service777 .list article .image_hover {
  height: 85%;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
 #service777 .list article .image_hover {
  height: 80%;
  display: flex;
  align-items: center;
  }
}

#service777 p {
  font-size: 90%;
  padding: 8px 0px;
  color: #777;
}

#service777 p span {
  padding: 8px 0px;
  color: #000;
}
.image_hover {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.image_hover img {
  margin: auto;
  transition: transform 0.6s ease;
}

.image_hover:hover img {
  transform: scale(1.2);
}

.project .dfd-folio-categories .byline.category {
  display: inline-block;
  overflow: hidden;
  margin-bottom: 10px;
}



/* 正方變圓*/
span.cat-name {
  background: #24a4d9;
  padding: 5px 5px;
  float: right;
  margin-top: -25px;
}
.menu [class^="col-"] img:hover {
    border-radius: 8px;
}
.menu [class^="col-"] img {
  transition:0.7s;
  border-radius: 50%;
  border: 1px #dddddd solid;
  padding:6px;
}





/* LOGO調整*/
@media only screen and (max-width: 767px) {
  .topnavbar .container {
    text-align: center;
    font-size: initial; /* 或 14px、16px， */
  }
}

/*產品輪播*/
.rwd-table {
  	overflow-y: visible !important;
}

#myDiv img {
        max-width: none;
}

/*照片變顏色*/
.image-container {
    width: 300px; /* 圖片的寬度 */
    height: 200px; /* 圖片的高度 */
    margin: 50px auto; /* 讓圖片區域水平置中 */
    border-radius: 15px; /* 圖片圓角 */
    overflow: hidden; /* 隱藏超出範圍的內容，讓圓角有效果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 輕微陰影 */
    border: 2px solid #ccc; /* 圖片的裝飾性線條 */
    transition: transform 0.3s, filter 0.3s; /* 添加平滑過渡效果 */
    background-image: url('images/example.jpg'); /* 背景圖片 */
    background-size: cover; /* 背景圖片完全覆蓋容器 */
    background-position: center center; /* 背景圖片居中顯示 */
}

.image-container:hover {
    transform: scale(1.05); /* 當滑鼠移動到圖片上，稍微放大 */
}

.image-container:hover {
    filter: brightness(85%); /* 當滑鼠移動到圖片上，圖片變淡 */
}

/* 產品格文字 */
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: #1976d2; /* 深藍文字，替換 #2e7d32 */
  overflow: hidden;
  padding: 0 16px;
}

/* 產品格外框底色 */
ul.product-list li a {
  display: flex;
  flex-flow: column;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  text-decoration: none;
  cursor: pointer;
  padding-bottom: 16px;

  color: #0d47a1; /* 深墨藍文字，替換 #1b5e20 */
  background-color: #e3f2fd; /* 淡藍背景，替換 #e8f5e9 */

  border: 2px solid #90caf9; /* 淺藍邊框，替換 #a5d6a7 */
  border-radius: 6px;

  transition-property: color, box-shadow, background-color, border-color;
  transition-duration: 0.3s;
}

/*隱藏底部*/
#footer {
  color: #454444;
  background-color: #1b3744;
  display: ;
}

#copyright, #copyright a {
  color: #FFF;
}

/*分頁標題*/
.h1title {
  color: #1976d2; /* 深藍色字體，替換 #e65100 */
  border-bottom: 1px dashed #64b5f6; /* 淺藍色虛線底線，替換 #ffa726 */
}

/*產品格所有產品格按鈕底色*/
body[data-type="fullpage"] .product-list-div h2 a.show-all {
  color: #fff; /* 文字顏色保持白色，因為背景色變藍，白色文字對比度較好 */
  transition-property: left, color;
  background: #2196f3; /* 藍色背景，替換 #f5b97a */
  text-shadow: none;
  padding: 0 10px;
}

body {
    overflow-x: hidden; /* 防止水平滾動 */
    background: #fff;
}


* {
  box-sizing: border-box; /* 防止 padding 和 border 影響總寬度 */
}

@media only screen and (max-width: 767px) {
  .topnavbar .container {
    text-align: center;
    font-size: 0px;
  }
}

/* 頁籤背景隱藏 */
.topnavbar {
  background-color: rgba(0,0,0,0);
  position: absolute;
}

body {
  overflow-x: hidden;
}
/* 隱藏底部 */
#foot-nav ul {
  overflow: hidden;
  display: none;
}

/* 防止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;
  }
}


#footer {
  color: #fff;
}