#wrap {
  background:url()no-repeat;
background-position:top center;
  background-size:cover;
  background-attachment:fixed;
}

.row [class^="col-"] {
  padding:10px;
}

/*icon*/

.line{position: fixed;right: 0.5%; top:50%;z-index: 1000;transform:scale(0.8);}

.FB{position: fixed;right: 0.5%; top:60%;z-index: 1000;transform:scale(0.8);}

.TL {position: fixed; right: 0.5%; top: 70%; z-index: 1000;transform:scale(0.8);}

.TL1 {position: fixed; right: 0.5%; top: 80%; z-index: 1000;transform:scale(0.8);}

.MAIL {position: fixed; right: 0.5%; top: 80%; z-index: 1000;transform:scale(0.8);}


/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
    height: 100%;
    padding-top: 0px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 0;
}

.topnavbar {
  /* background: linear-gradient(to right, #004DA0, #00BFFF);*/
  background: #FFF;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
  padding-top:0px;
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    background:#c6dff5;
    color: #555;
}


#nav ul li.current a  {
    background:#f28500;
    color: #fff;  
}



/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

#bodyinpage.about-us .fcol.fcol-1 {
    background:url(https://static.iyp.tw/409563/files/48c47799-a4b2-471a-a154-4d1a53e6053e.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;

}  
#bodyinpage.about-us .fcol.fcol-1 .container {
  /* max-width:65%;
  width:100%;*/
  padding:40px 20px;

}
@media(max-width:600px){
  #bodyinpage.about-us .fcol.fcol-1 {
    background:url(https://static.iyp.tw/409563/files/7e08128d-949c-4387-bef4-98236395e772.jpg)no-repeat;
     background-position:top left;
  }
 }

@media(max-width:600px){
   #bodyinpage.about-us .fcol.fcol-1 .col-1 {
     flex:0 0 100%;
     max-width:100%;
   }
}

#bodyinpage.about-us .fcol.fcol-1 .container{
   padding:60px 20px;
}

#bodyinpage.about-us .fcol.fcol-2 {
    background:url(https://static.iyp.tw/409563/files/ed2d9d84-c0af-4079-8436-81e3dc230e4a.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;

}  
#bodyinpage.about-us .fcol.fcol-2 .container {
  /* max-width:65%;
  width:100%;*/
  padding:40px 20px;

}
@media(max-width:960px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
   padding:1px 1px 1px 1px; 
  }
 }


#bodyinpage.about-us .fcol.fcol-3 {
  background-image: url(https://static.iyp.tw/409563/files/e0d1beb4-09a3-4bd0-874d-7a4bdccccd1d.jpg); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  
}
#bodyinpage.about-us .fcol.fcol-4  {
  
} 
#bodyinpage.about-us .fcol.fcol-5  {
  display: none;  
}  
#bodyinpage.about-us .fcol.fcol-6  {
  display: none;
}  
#bodyinpage.about-us .fcol.fcol-7  {
  display: none;
} 

/*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:#00a4ff;
    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:#1f64aa;
    padding:15px 12px;
}



.serveimg p span{color:#555;display:block;height:80px;}
.serveimg p span:hover{color:#fff;display:block;}


/*h1*/
.h1title{color:#1966aa;border-bottom:1px dashed #1966aa;}

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: 1px 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;}


.block {
    display: block;
    text-align: left;
    width: 100%;
    height:auto;
    padding-bottom:auto;
    padding-top: 5%;
    padding-left: 5%;
    padding-right: 5%;
    background: #fdf5e6;
   overflow: hidden;
   position: relative;
    transition:all 0.5s;
}
.block:hover {
    transform:scale(1.2);
}

#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: #fff;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 15px
    rgba(0,0,0,0.16);
  padding: 15px 15px 5px;
  text-align: left;
  height: 280px;
}

@media screen and (max-width: 768px) {
  #service .list article {
    height: 280px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 70%;
  display: flex;
  align-items: center;
}

#service p {
  font-size: 90%;
  padding: 8px 0px;
  color: #777;
}

#service 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: #f28500;
  padding: 5px 10px;
  float: right;
}

#bodyinpage.product .fcol.fcol-1 {
    background:url(https://static.iyp.tw/409563/files/ddea899d-beb0-4491-a8f5-60874cfe87dc.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;

}  
#bodyinpage.about-us .fcol.fcol-1 .container {
  /* max-width:65%;
  width:100%;*/
  padding:40px 20px;

}
@media(max-width:960px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 .container{
   padding:1px 1px 1px 1px; 
  }
 }
#bodyinpage.product .fcol.fcol-2 {
    background:url(https://static.iyp.tw/409563/files/ddea899d-beb0-4491-a8f5-60874cfe87dc.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;

}  
#bodyinpage.about-us .fcol.fcol-2 .container {
  /* max-width:65%;
  width:100%;*/
  padding:40px 20px;

}
@media(max-width:960px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
   padding:1px 1px 1px 1px; 
  }
 }
#bodyinpage.product .fcol.fcol-3 {
    background:url(https://static.iyp.tw/409563/files/ddea899d-beb0-4491-a8f5-60874cfe87dc.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;

}  
#bodyinpage.about-us .fcol.fcol-3 .container {
  /* max-width:65%;
  width:100%;*/
  padding:40px 20px;

}
@media(max-width:960px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container{
   padding:1px 1px 1px 1px; 
  }
 }

#bodyinpage.product .fcol.fcol-header {
    background:url(https://static.iyp.tw/409563/files/ddea899d-beb0-4491-a8f5-60874cfe87dc.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;

}  
#bodyinpage.about-us .fcol.fcol-header .container {
  /* max-width:65%;
  width:100%;*/
  padding:40px 20px;
display:none;
}
@media(max-width:960px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-header .container{
   padding:1px 1px 1px 1px; 
  }
 }
body[data-type="fullpage"] .main {
  min-height: 50px;
}
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }




body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 禁止橫向滾動 */
  width: 100%;
}

.container {
  max-width: 100%; /* 限制最大寬度 */
  box-sizing: border-box; /* 包括內邊距和邊框 */
}

img, iframe {
  max-width: 100%; /* 確保圖片或其他嵌入內容不超過容器 */
}

@media (max-width: 600px) {
  /* 調整小屏幕上的樣式 */
  .element {
    width: 100%;
  }
}
