
/* 產品頁圖片滿版*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.phone{position:fixed;right:1%;top:50%;z-index:1000;}
.cell{position:fixed;right:1%;top:35%;z-index:1000;}
.line-1{position:fixed;right:1%;top:50%;z-index:1000;}

@media only screen and (min-width: 768px){
.word1 {border-bottom: 2px solid #f75626; margin-right: -50px;}
}  

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .cell , .thread { 
    transform: scale(0.8);
    right:0;
  }
}



/*圖片切片*/
@media only screen and (min-width: 991px){
.clip-1 { 
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}
.clip-2 { 
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
}
}


.container h4 {
   background: linear-gradient(to top, #0d248a, #8068ef, #8068ef);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height:40px;
}


/*套用google font字型Noto Serif TC明體*/
#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
    color: #3869cd;
  font-size: clamp(22px, 2vw, 40px);
  line-height: 40px;
}


.topnavbar {
 /* background-color: Transparent;*/
    background-color: #1689b9;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
  padding: 10px 0 0 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 70px;
}


a {
    color: #00b7ee;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}


/*nav*/
#nav {
    vertical-align: bottom;
}

/*nav*/
#nav ul li a {

    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 11px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #ffd800;/*頁籤滑過文字顏色*/
}

#nav ul li.current a {
    color: #ffd800;/*頁籤按下後文字顏色*/
    font-weight: 500;
}


/*頁籤按鈕下底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid #dfc243;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:-1px;
  margin:0 auto;
  transition:.3s all ease;
}

#nav ul li a:hover::before {
    width: 70%;
}

#nav ul.subnav li a::before {
  display:none;
}

/*次頁籤文字顏色*/ 
#nav .subnav {
    text-align: left;
    background-color: #ffffff;/*次頁籤底色*/
}
#nav .subnav a { font-size: 14px; }

#nav li.has-subnav ul li a:hover {
   color: #fff;/*次頁籤滑過後文字顏色*/   
    background-color: #ea5d4c; /*次頁籤滑過底圖顏色*/
}

#nav li.has-subnav ul li a:hover::before { display:none;}

#nav li.has-subnav ul li.current a {
   color: #f7ce3e;/*次頁籤按下後文字顏色*/    
}

#bodyinhome .fcol.fcol-1 .container {
      background-color: #5d3dc6;
      border-radius: 20px;
      background-image: linear-gradient(to right, #0048ea, #00aff8);
     padding: 5px;
}

#bodyinhome .fcol.fcol-3 {
     background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(left, rgba(0,0,0,0.0) 0% ,rgba(0, 115, 178, 1.0) 100%) , url(https://static.iyp.tw/32491/files/a4074a7c-b098-4f0b-9151-c62491a6bd0c.jpg);
  display: flex; 
  align-items: center;
  padding: 3rem 0;
}

#bodyinhome .fcol.fcol-5 .container {
    width: 100%;
    padding:0px;
  background-color: #fff;
}


body.about-us .fcol.fcol-2 {
    background-color: #5d3dc6;
   padding: 10px;
}

body.about-us .fcol.fcol-4 {
  background-color: #fff;
   width: 100%;
}

body.about-us .fcol.fcol-4 {
  width: 100%;
  padding: 4rem 0;
}


body.about-us .fcol.fcol-6 .container {
    width: 100%;
    margin-bottom: -4px;
    padding:0px;
}

/*title文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}
/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

/*改內文標題顏色*/
h1, h2, h3, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #000;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #082453;
}
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: #082453;
    overflow: hidden;
    padding: 0 16px;
}

#side ul li a {
    color: #222;
   font-size: 16px;
}

.product-list-div h2 a {
    color: #2a69d0;
    text-decoration: none;
    display: inline-block;
}

.product-list-div h2 {text-shadow: 0 0px 0 #fff;}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
  padding: 0px 20px;
    background-color: #2a69d0;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all:hover {
    color: #fff;
}


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}


#main-wrap .container {
    font-size: clamp(16px, 2vw, 18px);
  line-height:30px;
  color: #2d2d2d;
}

/*footer*/
#footer {
    background-color: #4e5861;
    color: #fff;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #dddddd;
}
#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 1.02em;
    margin-right: 10px;
    padding: 8px 16px;
}

#foot-nav ul li.current a {  color: #fff; }

#footer-service #copyright { display: none;}


body {
    background-color: #dfdfdf;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*UL大標 https://steam.oxxostudio.tw/category/html/tags/ul-li.html*/
ul.a {
  list-style-type: circle;
}

ul.b {
  list-style-type: square;
}

ul.c {
  list-style-type: ecimal;/*disc實心 ecimal 數字*/
  margin-left: 1em;
}

ul.c li::marker{
  color: #333399;
}

@import url(https://fonts.googleapis.com/css?family=Poppins:300,700);
.snip1581 {
  font-family: 'Poppins:400,700', Arial, sans-serif;
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin:0 auto;
  min-width: 250px;
  max-width: 500px;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  text-align: left;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.snip1581 * {
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.snip1581 img {
  max-width: 100%;
  vertical-align: top;
  aspect-ratio: 3 / 3;
  object-fit: cover;
}
.snip1581 figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.snip1581 h3 {
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 3px 0;
}
.snip1581 .title1 {
  font-weight: 700;
}
.snip1581 .title2 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(25px, 2vw, 40px);
}
.snip1581 .title3 {
  font-weight: 700;
  font-size: 25px;
}
.snip1581 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.snip1581:hover img,
.snip1581.hover img {
  -webkit-transform: scale(1.3) rotate(5deg);
  transform: scale(1.3) rotate(5deg);
}



/*產品-區塊項目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: 15px;
  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); }
}

/* 產品頁圖片滿版*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
