.phone{position:fixed;right:1%;top:40%;z-index:1000}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet { 
    transform: scale(0.8);
    right:0;
  }
}

.navbar-nav {
  background-color: #044fbf;/*回首頁按鈕背景*/
}

.topnavbar {
   background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
   position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
   line-height: 0;
   padding: 0;
}

.topnavbar .container {
  text-align: justify;
  padding:0px;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
  background-color: #fff;
  font-family: 'Noto Sans TC', sans-serif;
}

#logo h1 { text-align: center; }

table {
table-layout: fixed;
word-wrap:break-word;
} /*動到表格手機不會破版*/


/*編輯欄設定*/
.fcol p{
    font-size: 18px;/*文字大小*/
    color: #000000;/*文字顏色*/
    line-height: 1.6;
}
@media only screen and (max-width: 768px){
.fcol p{
    font-size: 16px;/*螢幕寬度768px內文字大小*/
}}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}
/*編輯欄設定*/


/*nav*/
@media only screen and (min-width: 1280px){
  #header .topnavbar .container {
    padding-left: 60px;
    padding-right: 60px;
    width: 100%;
  }/*頁籤底拉寬*/
}
@media only screen and (min-width: 1700px){
  #nav {
    margin-top: 30px;
    text-align: right;
  }
}
#nav ul li a {
    color: #000;/*頁籤文字顏色*/
    padding: 15px 10px;/*頁籤文字間隔*/
    font-size:16px;
}

#nav ul li a:hover  {color: #008aff;/*頁籤滑過文字顏色*/}
#nav ul li.current a {color: #008aff;/*頁籤按下後文字顏色*/}

/*頁籤按鈕底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-bottom:3px solid #008aff;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:40px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 80%;
}
#nav .subnav a::before {
 display: none;
}

#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: #000;/*產品格文字顏色*/
    background-color: #f5f5f5;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #666;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #000;
    font-size: 30px;/*產品內頁標題文字*/
}
#side h3 {
  background-color: #044fbf;
  color: #fff;
}
#side ul li a {
  font-size: 18px;
  color: #000;
  border-bottom: 1px dashed #ddd;
}

/*title文字顏色*/
.h1title {
    color: #000;
    text-align: center;
    border-bottom: 1px solid #b0b0b0;    
}

.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 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: url();
  background-color: #fff;
}

#bodyinhome .fcol.fcol-3 { background-color: #f5f5f5; }
@media only screen and (min-width: 992px){
  #bodyinhome .fcol.fcol-2 {background-image: -webkit-linear-gradient(top, #ffffff 75% ,#f5f5f5  75%);/*頁籤底色漸層*/ }
}
@media only screen and (min-width: 768px){
    #bodyinhome .fcol.fcol-3 .container {  width: 80%; }/*拉寬編輯欄設定*/
}

#bodyinhome .fcol.fcol-4 .container {
  width: 100%;
  padding: 3rem 1rem;
  background-color: #333;
}/*拉寬編輯欄設定*/

/*按鈕-文字底色變化特效*/
.btn-1 {
    border: 1px solid #000;/*表格按鈕框線樣式*/
    color: #000;
    font-size: 14px;
}
.btn-1:hover{
    background-color: #333; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
.custom-btn {
    padding: 5px 25px;
    font-family: Arial,微軟正黑體; 
    font-weight: 500;
    background: transparent;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

/*聯絡我們區塊項目li效果*/
.contact-1 ol li {
  padding: 20px 12px 12px;
  margin: 8px 8px 40px;
  display: inline-block;
  width: calc(33% - 19px);
  border-radius: 5px;
  line-height: 2;
  border: 1px solid #eeeeee;
  background-color: rgba(255, 255, 255, 0.7);
}
.contact-1 i { 
  font-size:2rem;
  color:#fff;
  position: absolute;
    border-radius: 100%;
    background-color: #00b4ff;
    padding: 10px;
    width: 33px;
    height: 33px;
    margin: -50px 0 0 -20px;
}
.contact-1 a { font-size:1rem; color:#666; }

@media only screen and (max-width: 1280px){
.contact-1 ol li { width: calc(50% - 19px);}
}
@media only screen and (max-width: 768px){
.contact-1 ol li { width: calc(100% - 19px);}
}

/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}


/*圖片輪播*/
.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: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}

.row-no-gutters img { 
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/*圖文連結特效*/
.snip1585 {
  background-color: #000;
  color: #fff;
  display: inline-block;
  font-size: 24px;
  margin: 0 auto;
  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:after {
  background-color: rgba(0, 0, 0,  0.6);
  border-top:100% solid rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  bottom: -300px;
  left: 0;
  right: 0;
  content: '';
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 1;
  opacity: 0;
}

.snip1585:after {
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
}
.snip1585 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
}

.snip1585 figcaption {
  position: absolute;
    top: 0;
    bottom: -10px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    line-height: 1.5;
    opacity: 1;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.snip1585 h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 5px;
  text-transform: uppercase;
  color: #fff;
  background-color: rgb(4 79 191 / 70%);
}

.snip1585 h3 span {
  display: block;
  font-weight: 400;
  font-size:14px;
  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:after,
.snip1585.hover:after {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.snip1585 span { opacity: 0;}

.snip1585:hover figcaption,
.snip1585.hover figcaption,
.snip1585:hover span,
.snip1585.hover span {
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  bottom:0px;
}

.item-1 img {
  width: 120px;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  box-shadow: 5px 5px 0 #00b4ff;
  display: block;
  text-align: justify;
}
.item-1 h3 {
  font-style: italic;
  font-size: 20px;
  color: #044fbf;
  padding: 0 0 0 10px;
}
.item-1 [class^="col-"]  {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding:10px;
}

#foot-nav {
    display: none;
}