.t-Sans { font-family: 'Noto Sans TC', sans-serif; } /*黑體*/
.t-Serif { font-family: 'Noto Serif TC', serif; }/*明體*/

.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
      box-shadow: 0 0 10px #ddd;
}

.topnavbar .container {
  text-align: justify;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

#logo h1 { text-align: center; }

table {
table-layout: fixed;
word-wrap:break-word;
} /*動到表格手機不會破版*/


/*編輯欄設定*/
.fcol p{
    font-size: clamp(16px, 2vw, 18px); /*最小值 首選值 最大值 限制屬性值區間*/
    color: #000000;/*文字顏色*/
    line-height: 2;
  text-align: justify;
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol h2 { 
  color: #282864;
  font-size: clamp(2rem, 3vw, 3rem); /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    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: #3f51b5;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #3f51b5;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#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: #ffffff;
    border: 0px solid #ddd;
}
ul.product-list li a:hover {
    color: #4492e7;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: clamp(24px, 2vw, 30px);
}/*產品內頁標題文字*/

/*產品頁產品格圖片填滿*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*title文字顏色*/
.h1title h1{
  color: #000;
  text-align: center;
  letter-spacing: 10px;
  font-size: clamp(24px, 2vw, 30px);
}
.h1title h1::before, .h1title h1::after {
  content: '';
    position: relative;
    margin: 10px;
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: #ccc;
}

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; /* 強制圖片寬度隨容器變更 */
}

body.about-us .fcol.fcol-2 {
   padding: 3rem 0;
}

body.about-us .fcol.fcol-3 .container {
   width: 100%;
   background-color: #ededed;
   padding: 3rem 1rem;
}/*拉寬編輯欄設定*/
body.about-us .fcol.fcol-4 .container {
   width: 100%;
   background-color: #739dcf;
   padding: 3rem 1rem;
}/*拉寬編輯欄設定*/


/*服務對象*/
.service-1 div { padding: 15px; }
.service-1 img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  border-radius: 20px;
  box-shadow: 0 0 10px #ddd;
}
.service-1 h3 {
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 700;
  color: #2970dd;
  line-height: 1.2;
}
.service-1 p { font-size: clamp(14px, 2vw, 16px); color: #444; line-height:1.5; }

/*服務流程*/
.service-step div { padding: 25px; }
.service-step h3 {
  color: #fff;
  font-size: clamp(20px, 2vw, 22px);
  line-height: 1.2;
  padding: 2px 15px;
  margin: 0px auto 10px;
  background-color: #3670dd;
  border-radius: 30px;
  font-family: 'Noto Serif TC', serif;
}
.service-step h3::before {
    content: '';
    display: block;
    position: absolute;
    height: 3rem;
    width: 3rem;
    background-color: #97dfff;
    border-radius: 100%;
    margin: -20px 0 0 -40px;
    margin-bottom: -2.5rem;
    z-index: -1;
}

.service-step img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
  /*height: 200px;*/
  border-radius: 100%;
  margin: 20px auto -40px;
  position: relative;
    z-index: -1;
}

.service-step ol { list-style-type: decimal; margin-left: 1.5rem; font-size: clamp(16px, 2vw, 18px); color: #000; line-height: 1.5;}
.service-step ul { list-style-type: square; margin-left: 1.5rem; font-size: clamp(14px, 2vw, 16px); color: #000; line-height: 1.5;}

.round-1 {
  width: 10px;
  height: 10px;
  background-color: #2196F3;
  position: relative;
  top: -85px;
  left: calc(100% - 60px);
  border-radius: 100%;
}
.round-2 {
    width: 10px;
    height: 10px;
    background-color: #97dfff;
    position: relative;
    top: -80px;
    left: calc(100% - 50px);
    border-radius: 100%;  
  margin-bottom: -45px;
}

/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 20px 35px;/*內距:上 左右 下;*/
}
.owl-carousel.owl-theme .owl-nav {
  position: absolute;
  margin: 0;
  top:40%;
  left: 0;
  right: 0;
  transform: translateY(0%);
}
.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: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;  /*比例*/
  border: 2px solid #fff;
  box-shadow: 0 6px 5px rgba(44,44,44,0.25);
}
.owl-carousel .row-no-gutters {
    margin-right: 5px;
    margin-left: 2px;
}
.row-no-gutters h3 {
  color: #000;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 400;
  text-align: center;
  letter-spacing: 5px;
  padding: 10px 0 0 0;
}

/*產品介紹圖文特效*/
figure.snip1249 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 150px;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-family: verdana, geneva;
      display: flex;
    flex-direction: column;
    justify-content: space-between;
}
figure.snip1249 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
figure.snip1249 img{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  vertical-align: top;
  padding: 10px;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}
figure.snip1249:hover img{
  opacity: 0.8;
}
figure.snip1249 h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: #282864;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}
figure.snip1249 p {
  margin: 0;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 400;
  text-transform: uppercase;
  text-align: justify;
  line-height: 1.5;
  /*限制內容字數*/
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;/*限制行數*/
}
figure.snip1249 figcaption {
  padding: 5px 20px;
    color: #000000;
    position: relative;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
}

figure.snip1249 .btn-more {
  border: 1px solid #2196F3;
    padding: 0.4em 0.6em;
    color: #2196F3;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 20px;
    text-align: center;
    letter-spacing: 5px;
}

figure.snip1249:hover .btn-more {
  background-color: #2196F3;
  color: #fff;
}
figure.snip1249 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more {
    border: 1px solid #000;
    color: #000000;
    font-size: clamp(18px, 3vw, 20px);
    background-color: transparent;
    font-weight: 500;
}
.btn-more:hover{
    background-color: #2196F3; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-phone, .btn-line  {
    border-radius: 10px;
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(28px, 3vw, 30px);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.btn-phone { background-color: #ff0057;}
.btn-phone:hover {
  transform:scale(1.1);
  background-color: #ff0000;
  top:-10px;
}

.btn-line { background-color: #00b900;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #009900;
  top:-10px;
}

/*footer*/
#footer {
    color: #333;
    background-color: #d6e9f1;
}
#foot-nav {
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
}
#footer p{
  color: #333;/*footer文字顏色*/
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
}
#footer a {
    color: #333;
}
#foot-nav ul li a {
    color: #607D8B;
}
#foot-nav ul li.current a, #foot-nav ul li a:hover ,#footer a:hover {
    color: #0393d9;
}

/*手機版漢堡選單*/
.navbar .container {
    background-color: #2196F3; /*導覽列背景顏色樣式*/
}
.navbar-icon-bar {
  width: 28px; /* 三變大*/
  height: 4px; 
  background-color: #282864; /* 填入想要的三條線顏色 */

}
.navbar-icon-bar:before, .navbar-icon-bar:after {
    background-color: #282864; /* 填入想要的三條線顏色 */
}
.navbar .rwd-navbar-toggle {
    padding-right: 100% !important;/*導覽列寬度*/
}
.navbar .rwd-navbar-toggle .label {
    left: 45px;
    font-size: 1.0rem; /*導覽列文字尺寸*/
    color: #fff; /*導覽列文字顏色樣式*/
    background-color: #282864;/*導覽列文字背景顏色*/
    border-radius: 3px;
    padding: 4px;
}
@media only screen and (max-width: 767px){
.rwd-side .nav li {
    border-bottom: 1px #ccc dashed; /* 展開連結文字底虛線 */
}
.rwd-side .nav span {
    color: #fff; /* 展開連結文字顏色 */
}}


/* 下排浮動頁籤連結 */
#wrap-fmenu{
  max-width:1280px;
    width:100%;
    margin:0px auto;
    display:block;
}
.fMenu{
   background-color:#282864;
	display:block;
	position:fixed;
	width:100%;
    margin:0 auto;
	z-index:100;
  	color:#FFF;
	left:0;
	bottom:0;
}
.fMenu ul li{
    letter-spacing:1.5px;
	float:left;
	width:50%;
	border-left:1px solid #fff;
	box-sizing:border-box;
  	color:#FFF;
}
.fMenu ul li:first-child{
	border:none;
}
.fMenu ul li a{
	display:block;
	min-height:45px;
    max-height:120px;
	padding: 10px 10px 0 10px;
    font-size:15px;
	color:#FFF;
	text-align:center;
	box-sizing:border-box;
    letter-spacing:0px;
    line-height: 1.5;
}
.fMenu ul li a i{
	display:block;
	font-size:70%;
  	color:#FFF;
}
body[data-type="fullpage"] .container #footer-service { padding: 15px 15px 80px 15px; ; }