.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:52%;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: #FF9900;
  font-size: 40px;
}
@media only screen and (max-width: 768px){
#t-700{ font-size: 30px; }}

#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
}

/*頁籤頂置banner壓到調整*/
@media only screen and (min-width: 768px){
  #banner{ top: 90px;  margin-bottom: 90px;}
}
div#header { background-color: #000; }

.topnavbar {
    background-color:rgba(0,0,0,0.4);/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: fixed;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

@media only screen and (max-width: 768px){
.topnavbar {
    background-color: #000000;
    position: relative;
    height: auto;
}}

.topnavbar .container {
  text-align: justify;
  padding: 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 ul li a {
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 15px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #bbe4f7;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #fff;/*頁籤按下後文字顏色*/
}

#nav .subnav {
    background-color: #333;/*次頁籤底色*/
    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;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

/* 首頁各層編輯欄背景*/
#bodyinhome .fcol.fcol-1 {
  background-color: #000000;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23666666' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M8 0v20L0 10M16 0v10L8 0M16 10v10H8'/%3E%3C/g%3E%3C/svg%3E");
  padding:3rem 0;
}
#bodyinhome .fcol.fcol-2 {
  background-color: #eee;
   padding:3rem 0;
}
#bodyinhome .fcol.fcol-3 {
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0 0 0/50%) 80% ,#eee 80%),url(https://static.iyp.tw/37507/files/887c8825-dfef-4cd0-920e-32ffda3fbabe.jpg);
     padding:3rem 0;
}
@media only screen and (max-width: 991px){
#bodyinhome .fcol.fcol-3 {
   background-image: -webkit-linear-gradient(top, rgba(0 0 0/50%) 0% , rgba(0 0 0/50%) 100%),url(https://static.iyp.tw/37507/files/887c8825-dfef-4cd0-920e-32ffda3fbabe.jpg);
}
}

#bodyinhome .fcol.fcol-4 {
   background-color: #eee;
   padding:3rem 0;
}
#bodyinhome .fcol.fcol-5 {
   background-color: #222;
   padding:3rem 0;
}
#bodyinhome .fcol.fcol-6 .container {
   width: 100%;
   background-color: #fff;
   margin-bottom: -4px;
   padding: 0px;
}/*拉寬編輯欄設定*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/*專利*/
.pro-bg {
 width: 100%; /*寬度*/
 background-color: #fff;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid #fff;
  box-shadow: 0 0 5px rgba(0 0 0/20%);
}
.pro-bg h3  {
    color: #000;
    font-size: 20px;
}

/*表格按鈕-文字底色變化特效*/
.btn-1 {
    border-radius: 20px;/*表格按鈕框線圓角*/
    border: 1px solid #ddd;/*表格按鈕框線樣式*/
    color: #fff;
    font-size: 14px;
}
.btn-1:hover{
    background-color: #ff9900; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
.custom-btn {
    padding: 5px 25px;
    font-family: Arial,微軟正黑體; 
    font-weight: 500;
    background: #222;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}/*表格按鈕-文字底色變化特效*/

/*標題文字漸層底色*/
#ser-line {
    background:-webkit-linear-gradient(left top,#FF9900 ,#FF990000);/*線漸層顏色*/
    width: 180px;
    padding: 5px 10px;
}

/*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: 0;
}
.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: contain;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 100%;
  height: 250px; /*高度*/
  border: 2px solid #fff;
  box-shadow: 0 6px 5px rgba(44,44,44,0.25);
  background-color: #fff;
}
.owl-carousel .row-no-gutters {
    margin-right: 5px;
    margin-left: 2px;
}

/*footer*/
#footer {
    color: #fff;
    background-color: #304097;
}

#footer p{
   color: #fff;/*footer文字顏色*/
  font-size: 16px;
  line-height: 1.6;
}

#contact-info ul li span {
    color: #fff;
}/*聯絡我們資訊文字顏色*/


.frame img {
  object-fit: contain;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 100%;
  height: 180px; /*高度*/
  border: 1px solid #eee;
  box-shadow: 0 0 5px rgba(44,44,44,0.25);
  background-color: #fff;
}