/*icon*/
.tel2 {position: fixed; right: 0.5%; top: 40%; z-index: 1000;transform:scale(0.9);}
.map {position: fixed; right: 0.5%; top: 50%; z-index: 1000;transform:scale(0.9);}
.mail2 {position: fixed; right: 0.5%; top: 60%; z-index: 1000;transform:scale(0.9);}


@media(max-width:767px){
.tel2 {position: fixed; right: 1%; top: 40%; z-index: 1000;transform:scale(0.9);}
.map {position: fixed; right: 1%; top: 53%; z-index: 1000;transform:scale(0.9);}
.mail2 {position: fixed; right: 1%; top: 66%; z-index: 1000;transform:scale(0.9);}
}


/*Banner*/
.swiper-container {
    height: auto !important;
}
.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc( 800 / 1920 * 100%); 
}

.swiper-slide {
  width: 100% !important;
}

/*@media(max-width:767px){
  .swiper-wrapper, .swiper-slide {
    padding-bottom: calc( 600 / 800 * 100%);
  }
}
*/

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


a {
    color: #494949;
}
a:hover {
    color: #6d9cb2;
}
body {
    background-color: #F5F7FA;
    color: #222; 
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
    font-family: 'Noto Sans TC';
    font-weight: 300;
}


/*頁籤寬版*/
body[data-type="fullpage"] #nav {
    font-size: 1rem;
    width: 100%;
}

#header .topnavbar .container {
    padding-left: 0px 30px;
    padding-right: 30px;
    width: 95%;
}



/*h1*/
h1, .h1 {
  color: #3E8BC2;
  font-family: 'Noto Sans TC';
  
}

.h1title {
  padding-top: 0px;
  padding-bottom: 0px;
}

.fcol h2 {
 font-weight:350
}

/*SVG LOGO調整
#logo img, .modal .logo img {
  width:293.228px;
  height:70px;
}

@media(max-width:767px){
#logo img, .modal .logo img {
  width:100%;
  height: auto;
}
}
*/
#logo {
  min-height:90px;
}
/*SVG LOGO調整*/
#logo img, .modal .logo img {
  width:auto;
  height:95%;
}

@media(max-width:767px){
#logo img, .modal .logo img {
  width:100%;
  height: auto;
}
}
.navbar-nav > li > a {
    color: #222;
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

.topnavbar {
   background-color: #3E8BC2;
   top:0px;
   padding: 0;
   position: relative;
   z-index:100;
   width:100%;
}

.topnavbar .container {
    padding-top: 10px;
    padding-bottom: 10px;
   
}



body[data-type="fullpage"] #nav {
  font-size: 1rem;
  width: 100%;
  padding-top: 0px; 
  padding-bottom: 0px; 
}


/*nav_faa*/
body[data-type="fullpage"] #nav {
    font-size: 1rem;
    width: 100%;
}


/*nav*/
#nav{margin-top:-80px ;}

#nav ul {float:right;}

#nav ul li a {
    white-space: nowrap;
    color: #F5F7FA;
    line-height: 1;
    font-weight: 300;
    padding: 10px 18px;
    font-size: 100%;
    border-right: 1px #F5F7FA solid;/*實線*/
    transition:all 0.5s;
}


/*上方頁籤_游標滑過去的字體色*/
#nav ul li a:hover {
    color: #E5EEF3;
    font-weight:300px
}


/*上方子頁籤_背景色*/
#nav .subnav {
  background-color:#E5EEF3;
}


/*上方頁籤_字體色*/
#nav ul li.current a {
  color: #7AC0EA;
  font-weight: normal;
}

/*手機選單*/
 @media only screen and (min-width: 768px) {

    .topnavbar {
      background-color: #3E8BC2; /* 填入想要桌面版型的導覽列顏色 */
    }
  }
  .navbar {
    background-color: #F5F7FA; /* 填入想要手機版型的導覽列想要的顏色 */
  }
  #nav ul li a {
    color: #F5F7FA; /* 填入想要桌面版型的導覽選項文字想要的顏色 */
  }

.rwd-navbar-toggle {
    float: right;
  }
  .navbar-nav {
    margin-right: 15px;
  }
 


 @media only screen and (max-width: 767px) {
    .rwd-side {
      background-color: #F5F7FA;
      transform: translateX(100%);
    }
  }

.rwd-navbar-toggle .label {
  color: #3E8BC2;/*選單兩字的顏色*/
}
.navbar-icon-bar {
    background-color: #3E8BC2;/*三條線*/
}
.navbar-icon-bar::before, .navbar-icon-bar::after {
  background-color: #3E8BC2;/*三條線*/
}

.rwd-side.menu-open {
  color:#222;
  background: #F5F7FA;
 }


/* about-us_h1*/
#bodyinpage.about-us .fcol.fcol-header
{
  display:none;
}

/* about-us_1 */
#bodyinpage.about-us .fcol.fcol-1 .container
{
    padding: 30px 130px;
    max-width: 100%;
    width: 100%;
    background-color: #F5F7FA;
}

@media (max-width: 768px) {
#bodyinpage.about-us .fcol.fcol-1 .container {
    padding: 10px 15px; 
  }
}


/* about-us_2  */
#bodyinpage.about-us .fcol.fcol-2 .container{
    padding: 30px 130px;
    max-width: 100%;
    width: 100%;
    background-color: #fdfdfd;
    background-image: url('https://static.iyp.tw/409882/files/90663c93-c186-46bd-b141-558ae65de19a.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
#bodyinpage.about-us .fcol.fcol-2 .container {
    padding: 30px 15px; 
  }
}


/* product_3  */
#bodyinpage.product .fcol.fcol-3 .container {
    padding: 0px; 
    max-width: 100%;
    width: 100%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}


.product .fcol.fcol-3 .container > * {
    padding-left: 30px;
    padding-right: 30px;

}*/

/* 手機版修正 (螢幕小於 768px)*/
@media (max-width: 768px) {
    #bodyinpage.product .fcol.fcol-3 .container {
        padding: 10 !important; /* 清除桌機版可能殘留的 100px 右邊距*/
    }

    #bodyinpage.product .fcol.fcol-3 .container > * {
        padding: 30px 20px; 
        width: 100%;
        box-sizing: border-box;
    }
} 

/* about-us_3 
#bodyinpage.about-us .fcol.fcol-3 .container
{
    padding: 30px 130px;
    max-width: 100%;
    width: 100%;
    background-color: #F5F7FA;
}

@media (max-width: 768px) {
#bodyinpage.about-us .fcol.fcol-3 .container {
    padding: 10px 15px; 
  }
}*/

/* about-us_3  */
#bodyinpage.about-us .fcol.fcol-3 .container{
    padding: 30px 130px;
    max-width: 100%;
    width: 100%;
    background-color: #fdfdfd;
    background-image: url('https://resource.iyp.tw/static.iyp.tw/409882/files/af825365-864f-412b-bd46-d700b4853135.svg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
#bodyinpage.about-us .fcol.fcol-3 .container {
    padding: 30px 15px; 
  }
}


/* about-us_4  */
#bodyinpage.about-us .fcol.fcol-4 .container{
    padding: 30px 130px;
    max-width: 100%;
    width: 100%;
    background-color: #fdfdfd;
    background-image: url('https://resource.iyp.tw/static.iyp.tw/409882/files/22e7fca7-916b-4c21-a8ca-d281b3ae8212.svg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
#bodyinpage.about-us .fcol.fcol-4 .container {
    padding: 30px 15px; 
  }
}

/* about-us_5 */
#bodyinpage.about-us .fcol.fcol-5 .container {
  background-color: #E5EEF3;
  padding: 30px 130px;
  max-width: 100%;
  width: 100%;
  

}

@media (max-width: 768px) {
#bodyinpage.about-us .fcol.fcol-5 .container {
    padding: 30px 15px; 
  }
}
/* about-us_6 */
#bodyinpage.about-us .fcol.fcol-6{
    background-image: url('https://static.iyp.tw/409882/files/40cfed1c-fa8a-45b7-a9c2-92d6e9e85872.svg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}



/*表單按鈕*/ 
.back>a,
.btn-search,
.btn-style,
input[type="submit"] {
  -webkit-transition:background 0.15s ease-out;
  -moz-transition:background 0.15s ease-out;
  transition:background 0.15s ease-out;
  color:#F5F7FA;
  border:0px solid #3F8DC2;
  background-color:#3F8DC2;
  text-decoration:none;
  text-align:center;
  cursor:pointer
}
.back>a:hover,
.btn-search:hover,
.btn-style:hover,
input[type="submit"]:hover {
  color:#3F8DC2;
  background-color:#F5F7FA;
}


.navbar-nav > li > a {
display:none;
} 


/*footer*/
#footer a {
  color:#fdfdfd
}

#footer a:hover {
  color:#0BA29A
}

#footer{background:#494949;}

#foot-nav{
  display:none;
}

#foot-nav ul li a {
    color: #fdfdfd;
    font-size: 1.06em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fdfdfd;
}

#footer {
    color:#fdfdfd;
}

#contact-info ul li span {
    color: #fdfdfd;
}

#copyright, #copyright a{color:#fdfdfd;}


.contact-row h5 {
  color:#fdfdfd;
  padding:.5em 0 1em;
  width:100%
}



/*滑鼠游標位移過去時更換圖片*/
.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
}

.image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.image-container:hover .hover-image {
    opacity: 1;
}

.image-container:hover .image {
    opacity: 0;
}


/*段字*/
@media(max-width:767px){
.mobile-br:before { 
    content: ' '; 
    display: block;
 }  
}
  

/*回首頁
.navbar-nav > li > a {
    color: #3E8BC2;
    background-color: #F5F7FA;
}

.navbar-nav > li > a:hover {
    color: #3E8BC2;
    background-color: #F5F7FA; /* 懸停顏色 */
}
*/

/*icon*/
.ser-icon{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right:auto;
    transition-duration: 0.3s;
}
.ser-icon :hover{
	transform: rotate(-5deg);
    transition: 0.3s;
	filter: drop-shadow(0 0 0.75rem #FF7415);
}
  


/*intro1*/
.intro1 {
	-webkit-animation-delay: 1.5s;
}
.intro1 a {
	overflow: hidden;
	position: relative;
	padding: 15px 20px;
	display: inline-block;
	font-size: 100%;
	color: #3E8BC2;
  	background: #F5F7FA;
    border: 1px solid #F5F7FA;
    border-radius: 15px;
    width:100%;
}

.intro1 a:hover {
	color: #F5F7FA;
    background: none;
    border: 1px solid #F5F7FA;
	transition: all 0.3s ease;
}


.intro1 a:hover:after {
	left: 0;
}

@media screen and (max-width: 768px) {
  .intro1 a {
    display: block;
    width: 120%;
    box-sizing: border-box;
    text-align: center;

  }
}

/*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 {
  /*display: none;*/
  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: 0em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  border: 1px solid #fff;
  border-radius: 10px;
}




/*圖片輪播_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: 0em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  border: 0px solid #fff;
  border-radius: 10px;
}


/*編排_字上圖下*/
/* 手機統一：文字在上、圖片在下 */
@media (max-width: 767px) {

  /* 預設：所有 .row.flex-md-nowrap 在手機都用 column-reverse（反轉） */
  .row.flex-md-nowrap {
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  /* 如果某一個 .row 同時有 reverse-second，則「取消反轉」，改成 column（文字在上，圖片在下） */
  .row.flex-md-nowrap.reverse-second {
    display: flex !important;
    flex-direction: column !important;
  }

  /* 確保子元素沒有其他 order 干擾；強制第一個為上、第二個為下（可保險） */
  .row.flex-md-nowrap.reverse-second > *:first-child { order: 1 !important; }
  .row.flex-md-nowrap.reverse-second > *:last-child  { order: 2 !important; }

}


/*側邊欄位反饋色*/
#side ul li.current>div a {
  color:#6D9CB2
} 

.section-wrap {
  min-height: 500px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 15px;
}

/* image-box */
.image-box {
  background-image: url('https://static.iyp.tw/409859/files/68f24930-658d-4d09-b4b3-2ec083f87d51.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
}

/* text-box */
.text-box {
  padding: 30px;
  color:#0BA29A;
  background-color: #D8D8D8;
  transition: background-color 0.4s ease;
}

.text-box:hover {
  color:#fdfdfd; 
  background-color: #0ba29a; 
}

/* 桌機左右圓角 */
@media (min-width: 768px) {
  .image-box {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
  }
  .text-box {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
  }
}

/* 手機上下圓角（圖上字下） */
@media (max-width: 767px) {
  .image-box {
    min-height: 220px;
    border-radius: 15px 15px 0 0;
  }
  .text-box {
    border-radius: 0 0 15px 15px;
  }
}


/* 產品格 */
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: #111;
    border: 0px;
    border-radius: 3px;
    color:#222;
    background-color: rgba(0, 0, 0, 0.05);
    
}
 
ul.product-list li a:hover {
  color:#F5F7FA; 
  background-color: #3E8BC2; 
}

.news .fcol .news-list li a:hover,
.news .news.main-content li a:hover {
  color:#6d9cb2
}


/*隱藏：最新消息、追蹤分享、聯絡資訊*/
#bodyinpage.rwd-collapse.viewmode.news .fcol.fcol-2{
  display:none;
}

#function {
  display: none
}
.contact-row {
  display: none
}

@media (max-width: 767px) {
  .product-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .col-lg-4 {
    width: 29.5%;
  }
}

@media (min-width: 1200px) {
  .col-lg-5 {
    width: 18%;
  }
}


#bodyinpage.product .fcol.fcol-header
{
  display:none;
}

/*產品格文字*/
ul.product-list li h3 {
  flex:1 0 auto;
  max-height:5rem;
  margin:0.3rem 0;
  font-size:1.05rem;
  line-height:1.5;
  color:inherit;
  overflow:hidden;
  padding:0 16px
}

/* 跑馬燈 */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  display: flex; /* 讓內容橫向排列 */
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: seamless-move 30s linear infinite; /* 秒數越大越慢 */
  font-size: 20px;
  color: #494949;
  font-weight: bold;
}

/* 滑鼠移入停止 */
.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes seamless-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* 只移動一半，因為後面有一組一樣的文字接著 */
  }
}