.phone{position:fixed;right:1%;top:40%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1 { 
    transform: scale(0.8);
    right:0;
  }
}

/*套用google font字型Noto Serif TC明體*/
#t-700{
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  color: #206eaf;
  font-size: 40px;
}
@media only screen and (max-width: 768px){
#t-700{ font-size: 32px; }}

#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
  line-height: 2;
}

#t-400{
  font-family: 'Noto Serif TC', serif;
  font-weight: 400;
  line-height: 2;
}

/*頁籤底拉寬*/
#header .topnavbar .container {
    padding-left: 60px;
    padding-right: 60px;
    width: 100%;
}

.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    height: auto;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
  padding: 10px 0 0 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
  background-color: #fff;/*背景底色*/
}

#logo h1 { text-align: center; }

table {
table-layout: fixed;
word-wrap:break-word;
} /*動到表格手機不會破版*/


/*編輯欄設定*/
.fcol p{
    font-size: 18px;/*文字大小*/
    color: #000000;/*文字顏色*/
    line-height: 2;
}
@media only screen and (max-width: 768px){
.fcol p{
    font-size: 16px;/*螢幕寬度768px內文字大小*/
}}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}
/*編輯欄設定*/


/*nav*/
#nav {
    width: 100%;
    margin-top: -65px;
    text-align: right;
}
@media only screen and (max-width: 1280px){
#nav {
  width: 100%;
  margin-top:0;
  text-align: left;
}
}
#nav ul li a {
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #333333;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #FF4040;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #FF4040;/*頁籤按下後文字顏色*/
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    text-align: left;
}
#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

ul.product-list li a {
    color: #2276d2;/*產品格文字顏色*/
    background-color: #ddd;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #2276d2;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    color: #333333;
}

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(900 / 1920 * 100%); /* 首頁 banner 大小 */
}
/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(900 / 1920 * 100%); /* 內頁 banner 大小 */
}

/* 首頁各層編輯欄背景*/
#bodyinhome .fcol.fcol-1 .container {
   width: 100%;
   background-color: #fff;
   padding: 0;
}/*拉寬編輯欄設定*/
#bodyinhome .fcol.fcol-2 {
   padding: 3rem 0;
}
#bodyinhome .fcol.fcol-4 .container {
   width: 100%;
   background-color: #fff;
   padding: 0;
}
#bodyinhome .fcol.fcol-5 .container {
   width: 100%;
   background-color: #fff;
   padding: 0;
}
#bodyinhome .fcol.fcol-6 .container {
   width: 100%;
   padding: 0;
}
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    width: 100%;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-image: url(https://static.iyp.tw/24041/files/551ebf92-5cf9-48b0-b852-6074d533fbda.png);
    margin-bottom: 0;
}

body.news .fcol.fcol-2 {
    padding-bottom: 100px;
}

/*圖文特效按鈕-標題在上+內文滑入*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 100%;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  text-align: left;
  background-color: #000000;
  text-shadow: 2px 2px 5px #000000;/*文字陰影*/
}
.snip1374 figcaption {
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  padding: 20px;
 -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.snip1374 h2{
  font-family: 'Noto Sans TC', sans-serif;
  text-transform: uppercase;/*文字大寫*/
  color:#ffffff;/*文字顏色*/
  font-size: 1.5rem;/*文字大小*/
  font-weight: 700;/*文字粗細*/
  line-height: 1.3;/*文字行距*/
  letter-spacing: 1;　/* 設定文字間距 */
  border-bottom: 2px solid #fff;
}
.snip1374 h2::after {
    content: '';
    margin-top: 10px;
    display: block;
    width: 20%;
    height: 2px;
    background: #c2fff9;
}
.snip1374 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  width: 100%;
  height: 350px;
  vertical-align: top;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.snip1374:hover img,
.snip1374.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  opacity: 0.5;
}
.snip1374 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.snip1374 p {
  position: relative;
  color: #fff;
  font-size: 1em;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  opacity: 0;
}
.snip1374:hover p,
.snip1374.hover p {
  -webkit-transform: translateY(30%);
  transform: translateY(30%);
  opacity: 1;
}
.snip1374 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

/*footer*/
#footer {
    color: #ffffff;
    background-color: #01416d;
}
#foot-nav {
    display: none;/*footer頁籤連結隱藏*/
}
#footer p{
   color: #fff;/*footer文字顏色*/
  font-size: 16px;
  line-height: 1.6;
}

/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 20px 35px;/*內距:上 左右 下;*/
}
.owl-carousel.owl-theme .owl-nav {
  position: absolute;
  margin: 0;
  top:150px;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
    position: relative;
    left: 0;
    right: 0;
    bottom: -20px;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.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: 3em; /*箭頭大小*/
}

.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 {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 100%;
  height: 160px; /*高度*/
  margin-bottom: 10px;
}

.owl-carousel .row-no-gutters {
    margin-right: 5px;
    margin-left: 2px;
}
.owl-carousel .row-no-gutters [class*="col-"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 300px;
}
.owl-carousel h3, .owl-carousel p {
  line-height: 1.5;
}

/*7-11熱銷產品 img*/
.owl-carousel .owl-item .img-1 img {
  object-fit: contain;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 100%;
  height: 250px; /*高度*/
  margin-bottom: 0;
}
@media only screen and (max-width: 1280px){
.owl-carousel .owl-item .img-1 img {
  height: 200px; /*高度*/
}
}


/*品牌故事-標題裝飾*/
.o3{
  position: relative;
  padding-bottom: 5px;
  border-bottom: 4px solid #ddd;
}
.o3:after {
    position: absolute;
    content: " ";
    border-bottom: solid 4px #206eaf;
    bottom: -4px;
    width:15%;
    display: block;
  }
}

/*產品介紹產品介紹-表格效果*/
.table-1{
 border-collapse: separate;
  border-spacing: 0;
}
.table-1 tr{
  border: 1px solid #666;
}
.table-1 td{
  text-align: center;
  font-size: 16px;
  margin: 10px ;
  border: 1px solid #666;
  padding: 5px 10px;
  background-color: #666;
  border-radius: 10px;
  color: #FFF;
}
.table-1 a { color: #FFF;}
.table-1 a:hover { color: #FFF100;}