#gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;    
    padding: 5px 10px;    
    font-size: 16px;
    border-radius: 10px;
    background-color: hsla(240, 0%, 50%, 0.5) ;
    color: white;
    cursor: pointer;
}

#phone {
    width: 65px;
    right: 10px;
    z-index: 999;
    bottom: 285px;
    position: fixed;
}
#email {
    width: 65px;
    right: 10px;
    z-index: 999;
    bottom: 225px;
    position: fixed;
}

.topnavbar .container {
  text-align: center;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

@media only screen and (min-width: 768px){.topnavbar {background: #eeeeee url(https://static.iyp.tw/409797/files/0a282c53-ef1b-4ce1-b135-5f6ac0a1214b.png)repeat-x center; }}

@media only screen and (min-width: 768px){#banner {top:128px; } #main-wrap {margin-top: 127px;} #ndc-banner-editor {top: 127px;}}

.topnavbar .container {
  text-align: justify;
  font-size: 0;}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;}

/* 首頁與內頁共用 */
.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(900 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(900 / 1920 * 100%); /* 內頁 banner 大小 */
}

/*nav*/
#nav ul li a {
  white-space: nowrap;
  color: #333;
  line-height: 1.3;
  font-weight: bold;
  padding: 15px;
  font-size: 95%;
}

#nav ul li a:hover{
  background: #fdfdfd;
  color: #000;
}

#nav ul li.current a {
  background: #fdfdfd;
  color: #000;
  font-weight: 600;}

#bodyinpage {
  background-color: #ffffff;}

/*各頁大標題*/
.h1title  {color: #1a1a1a; border-bottom:1px solid #dddddd;font-family: Noto Serif TC, serif;font-weight: 600;}

/*內文字型大小顏色*/
.fcol.fcol-1, .fcol.fcol-2, .fcol.fcol-3,  .fcol.fcol-4, .fcol.fcol-5, .fcol.fcol-6 {font-size: 16px;color: #444;line-height: 28px; letter-spacing: 1.5px;}

body.about-us .fcol-1 {
    padding: 1rem 0;
    background-image: -webkit-linear-gradient(top, rgb(255 255 255 / 100%) 20%, rgb(255 255 255 / 60%) 80%), url(https://static.iyp.tw/409797/files/e763066d-791d-4385-946f-75307fee4136.png)  ;
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
    background-attachment: local;
}

body.about-us .fcol-2 {
    padding: 1rem 0;
    background-image:url(https://static.iyp.tw/409797/files/0a282c53-ef1b-4ce1-b135-5f6ac0a1214b.png);
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
    background-attachment: local;
}

body.about-us .fcol-3 {
    padding: 2rem 0;
}

body.about-us .fcol-4 {
    padding: 1rem 0;
    background-image: -webkit-linear-gradient(top, rgb(0 0 0 / 60%) 20%, rgb(0 0 0 / 60%) 80%), url(https://static.iyp.tw/409797/files/440de459-914f-48a1-a0ff-c2800af89dd9.png);
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
    background-attachment: fixed;
}

body.about-us .fcol-5, body.about-us .fcol-6 {display: none;}

body.product {
    background-image: -webkit-linear-gradient(top, rgb(255 255 255 / 100%) 20%, rgb(255 255 255 / 60%) 80%), url(https://static.iyp.tw/409797/files/e763066d-791d-4385-946f-75307fee4136.png)  ;
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
    background-attachment: fixed;
}

body.contact-us {
    background-image: -webkit-linear-gradient(top, rgb(255 255 255 / 100%) 20%, rgb(255 255 255 / 60%) 80%), url(https://static.iyp.tw/409797/files/e763066d-791d-4385-946f-75307fee4136.png)  ;
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
    background-attachment: fixed;
}

body.about-us #footer {margin-top: -40px}

/*圖片水平翻轉*/
.container1{perspective:1000;transform-style:preserve-3d;}
.container1,.front1,.back1{width:100%;height:163px;}
.flip1{position:relative;transition:0.6s;transform-style:preserve-3d;}
.front1,.back1{position:absolute;top: 0px;left: 0px;backface-visibility:hidden;}
.front1{z-index:2;}
.back1{transform:rotateY(-180deg);}
.container1:hover .flip1{transform:rotateY(180deg);}

/*產品格*/
ul.product-list li a {
    color: #000;
    text-align: center;
    background: linear-gradient(90deg,rgba(207, 207, 207, 1) 0%, rgba(242, 242, 242, 1) 100%);
}
ul.product-list li a:hover {
    color: #999999;
    background-color: rgba(9,148,68,0.75);
}
#side ul li.current > div a {color: #36b0cf;}

/**/
.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: 2em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}
