/*phone icon*/
.phone{position:fixed;right:1%;top:20%;z-index:1000}
.phone_01{position:fixed;right:1%;top:35%;z-index:1000}
.phone_02{position:fixed;right:1%;top:50%;z-index:1000}
/*line icon*/

.line-1{position:fixed;right:1%;top:65%;z-index:1000}
/*google icon*/
.google{position:fixed;right:1%;top:80%;z-index:1000}


/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .phone_01, .line-1, .phone_02, .google, .wechat, .shop-1, .x-twitter, .pixnet { 
    transform: scale(0.8);
    right:0;
  }
}


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: #1f1f1f;
    overflow: hidden;
    padding: 0 16px;
}



/*了解更多*/
.bg-icon1  {
  margin-left: auto; 
  margin-right: auto;
  transition:.3s all ease;
  padding: 5px 20px;
  color: #fff;
  text-align: center;
  font-size: 18px;
  background-color: #ea8d29; 
   border: 1px solid #ea8d29;
}

.bg-icon1:hover  {
   border: 1px solid #ea8d29;
  background-color: #ffc600; 
  color: #fff;
}

.bg-icon1 a { color:#fff;}


/*產品*/  

.service-item2 li {
            list-style-type: ecimal;
            margin-left: 1em;
            padding: 10px 20px;
            transition: all 0.3s ease-in-out;
            margin-bottom: 10px;
}

.service-item2 li::before { 
    content: '';
    display: block;
    height: 2rem;
    width: 2rem;
    background-color: #e8e8e8;
    margin-left:-50px;
    margin-bottom: -1.8rem;
    z-index: -1;
}

.service-item2  {
            margin-bottom: 10px;
 }



.topnavbar .container {
  text-align: center;
}

.topnavbar .container {
  font-size: 0;
  padding:0px;
}

#logo h1 {
    height: 70px;
}


@media only screen and (max-width: 768px){
  .pc {  display:none;}
}  
  
.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    padding: 0;/*頁籤間距*/
}

#nav {
  vertical-align: bottom;
}


#nav ul li a {
    font-size:16px;/*頁籤文字大小*/
    color: #333;/*頁籤文字顏色*/
    letter-spacing:1px;
    padding: 10px 10px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
  vertical-align: bottom;
}

#nav ul li a:hover  {
    color: #1b44cb;/*頁籤滑過文字顏色*/
 
}

#nav ul li.current a {
    color: #1b44cb;/*頁籤按下後文字顏色*/
}
/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid #1b44cb;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 50%;
}
#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
}

#nav .subnav li a:hover::before  {
    display:none;
}

#nav li.has-subnav ul li a {
  font-size: 14px;
  text-align: left;
}


#nav li.has-subnav ul li a:hover {
   color: #fff;/*次頁籤滑過後文字顏色*/
   background-color: #1b44cb;
}

ul.product-list li h3 {
   color: #000;
}



body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #ffffff;
    background: #1b44cb;
    transition-property: left, color;
    padding: 0px 20px;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all:hover {
    color: #ffcb00;
}

.product-list-div h2 {  text-shadow: 0 0px 0 #fff;}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

body.about-us .h1title {display:none;}

#bodyinhome .fcol.fcol-1 , body.about-us .fcol.fcol-3 {
   /*background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.7) 0% ,rgba(0,0,0, 0.7) 100%) , url(https://static.iyp.tw/409646/files/ae906130-83c4-4710-8639-eedbee5e09d3.jpg);
   padding: 5rem 0;
}

#bodyinhome .fcol.fcol-2 {
   border-top-style:solid;
  border-top-color:#3366ff; 
  background-color:#e5e5e5;
}

#bodyinhome .fcol.fcol-3 .container, body.about-us .fcol.fcol-1 .container, body.about-us .fcol.fcol-2 .container { width: 100%; padding:0px;}

 body.about-us .fcol.fcol-2 .container { width: 100%; padding:0px; background-color: #f5f5f5;}


body.about-us .fcol.fcol-4 .container, body.about-us .fcol.fcol-5 .container {  display:none;}

#bodyinhome .fcol.fcol-5 {  
  background: linear-gradient(135deg, transparent 600px,#191919 600px, #3b75cd 100%); 
  background-color: #191919;
  padding: 5rem 0;
}

#bodyinhome .fcol.fcol-5 .container{  
  background-color: #ea8d29;

}

#bodyinhome .fcol.fcol-6, body.about-us .fcol.fcol-6 {
 display:none;
}



/*title文字顏色*/
.h1title {
    color: #0045d0;
}

a {
    color: #00b7ee;/*連結顏色*/
    text-decoration: none;
}

/* 首頁與內頁共用 */
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
}

.swiper-slide {
  width: 100% !important;
}

/* 首頁 */
#bodyinhome .swiper-wrapper, #bodyinhome .swiper-slide {
  padding-bottom: calc(700 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(700 / 1920 * 100%); /* 內頁 banner 大小 */
}

/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/* 內頁消除空白*/
body.about-us .fcol.fcol-header .container {
    padding: 0px;
} 



body {
  font-family: 'Noto Sans TC', sans-serif;
   color: #000;/*背景底色*/
}

#main-wrap {
    font-size: 18px;
}

#footer {
    font-size: 12px;
    background-color: #1d3898;
    color:#fff;
}

/*圖文連結特效*/
.snip1585 {
  background-color: rgb(41, 46, 57);
  color: #fff;
  display: inline-block;
  font-size: 24px;
  margin: 0 auto 0;
  max-width: 100%;
  min-width: 160px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.snip1585 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1585:before,
.snip1585:after {
  background-color: rgba(46, 52, 64,  0.5);
  border-top: 50px solid rgba(46, 52, 64, 0.5);
  border-bottom: 50px solid rgba(46, 52, 64, 0.5);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 1;
  opacity: 0;
}

.snip1585:before {
  -webkit-transform: scaleY(2);
  transform: scaleY(2);
}

.snip1585:after {
  -webkit-transform: scaleY(2);
  transform: scaleY(2);
}

.snip1585 img {
  vertical-align: top;
  width: 100%;
  height: 300px;
  backface-visibility: hidden;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}

.snip1585 figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1em;
  opacity: 0;
  z-index: 2;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.snip1585 h3 {
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
    color: #fff;
}

.snip1585 h3 span {
  display: block;
  font-weight: 600;
  font-size:16px;
    color: #fff;
}

.snip1585 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.snip1585:hover > img,
.snip1585.hover > img {
  opacity: 0.7;
}

.snip1585:hover:before,
.snip1585.hover:before,
.snip1585:hover:after,
.snip1585.hover:after {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.snip1585:hover figcaption,
.snip1585.hover figcaption {
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

/*產品介紹下面連結*/
figure.snip1249 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 150px;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
      display: flex;
    flex-direction: column;
    justify-content: space-between;
}
figure.snip1249 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

figure.snip1249 h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0045d0;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}
figure.snip1249 p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: justify;
  line-height: 1.5;
  /*限制內容字數*/
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;/*限制行數*/
}
figure.snip1249 figcaption {
  padding: 5px 20px;
    color: #000000;
    position: relative;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
}

figure.snip1249 .btn-more {
border: 1px solid #0045d0;
    padding: 0.4em 0.6em;
    color: #0045d0;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 20px;
    text-align: center;
    letter-spacing: 5px;
}

figure.snip1249:hover .btn-more {
  background-color: #0045d0;
  color: #fff;
}
figure.snip1249 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/*產品-區塊項目li效果—5格*/
.pro_item ul li {
    padding: 5px;
    margin: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    width: calc(33% - 10px);
    border-radius: 5px;
    line-height: 1.5;
    border: 1px solid #dddddd;
    background-color: #fff;
  font-size: 17px;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  text-align: center;
}
.pro_item a { color:#666 ;font-size: 15px;}

.pro_item a:hover { 
  opacity: 0.8;   
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 991px){
 .pro_item ul li { width: calc(33% - 10px); font-size: 14px;}
  .pro_item a { font-size: 14px;}
}
@media only screen and (max-width: 768px){
 .pro_item ul li { width: calc(50% - 10px); }
}
@media only screen and (max-width: 567px){
 .pro_item ul li { width: calc(100% - 10px); }
}


/*響應欄表格col-4 col-5 col-6 col-7 手機版強制2欄 寬度50%*/
@media only screen and (max-width: 576px){
.serve-item .col-4 { max-width: 50%;}
.serve-item .col-5 { max-width: 50%;}
.serve-item .col-6 { max-width: 50%;}
.serve-item .col-7 { max-width: 50%;}
}