/*整體*/
body {
    color: #000;
    font-size: 18px;
    margin: 0;
}


/*Google 翻譯*/
#google_translate_element {
    border-radius: 3px;
    display: block;
    right: 250px;
    padding: 2px;
    position: fixed;
    top: 0px;
    z-index: 999;
}
@media only screen and (max-width: 767px) {
/* 螢幕尺寸小於 767px, iPhone6 plus、Samsung Note 等⼤大螢幕的⼿手機 css 寫這*/
    #google_translate_element {
    display: none;
 }
}

.topnavbar {
    height: 100px;
    padding-top:0px;
}


@media(max-width:414px){
.topnavbar .container {
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 0;
    background: 
    #ccc;
 }
}  

#nav ul li a{padding: 7px 15px;}
#nav ul li a:hover{background:#ff9c00;color:#fff;}
#nav ul li.current a{background:#c10303;color:#fff;}


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

@media(max-width:414px){
    #banner{margin-top:-5px;
    }   
}



/*Index*/
.ser-top span.ser-line {
    background: #eb9600;
    width: 25px;
    height: 5px;
    display: block;
    margin: 1em auto 1em;
}


.ser-top p {
	font-size: medium;
	font-weight: 400;
	color: #fff;
	line-height: 1.6em;
	width: 80%;
	margin: 0em auto 0em;
	text-align: center;
}

#bodyinhome .fcol.fcol-2{background:#efefef;}
#bodyinhome .fcol.fcol-4{background:#efefef;}


.rk_case img{transition:all 0.3s;}
.rk_case img:hover{opacity:0.65;}



/*index*/
#bodyinhome .fcol.fcol-2 .col-6 {
    height: 210px;
}

@media(max-width:414px){
  .fcol.fcol-2  .rk_process .col-6 {
    width:50%;    
    }
}



.circle {
  position: relative;
  display: block;
  margin: 2em 0;
  background-color: transparent;
  color: #fff;
  text-align: center;
}

.circle:after {
  display: block;
  padding-bottom: 100%;
  width: 100%;
  height: 0;
  border-radius: 50%;
  background-color: #f6ac4d;
  content: "";
}


.circle__inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.circle__wrapper {
  display: table;
  width: 100%;
  height: 100%;
}

.circle__content {
  display: table-cell;
  padding: 0.5em; /* 減少內邊距 */
  vertical-align: middle;
  line-height: 0.7; /* 設定較小的行距 */
}

@media (min-width: 480px) {
  .circle__content {
    font-size: 2em;
  }
}

@media (min-width: 768px) {
  .circle__content {
    font-size: 1.5em;
  }
}


/*h1*/
.h1title{color:#000;border-bottom:1px dashed #000;}


/*footer*/
#footer{background:#262626;}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fff;
}

#footer {
    color: #fff;
}

#foot-nav ul li a {
    color: 
    #fff;
    font-size: 1.06em;
}

#contact-info ul li span {
    color: 
    #fff;
}

#copyright a ,#copyright {color:#b6b6b6;}



.block {
    display: block;
    text-align: left;
    width: 100%;
    height:auto;
    padding-bottom:auto;
   padding-top: 2%;
    padding-left: 2%;
    padding-right: 2%;
      padding-bottom: 2%;
    background: #F6AC4D;
    /*background: rgba(104, 131, 80, 0.75);*/
   overflow: hidden;
   position: relative;
    transition:all 0.5s;
      color: #000;
}
.block:hover {
    transform:scale(1.2);
}


.block2 {
    display: block;
    text-align: left;
    width: 100%;
    height:auto;
    padding-bottom:auto;
   padding-top: 2%;
    padding-left: 2%;
    padding-right: 2%;
      padding-bottom: 2%;
    background: #F6AC4D;
    /*background: rgba(104, 131, 80, 0.75);*/
   overflow: hidden;
   position: relative;
    transition:all 0.5s;
      color: #000;
}
.block2:hover {
    transform:scale(1.2);
}


.block3 {
    display: block;
    text-align: center;
    width: 100%;
    height:auto;
    padding-bottom:auto;
    padding-top: 3%;
    padding-left: 3%;
    padding-right: 3%;
      padding-bottom: 3%;
    background: #EFEFEF;
   overflow: hidden;
   position: relative;
    transition:all 0.5s;
  color:#000;
}



.serveimg {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #ffb126;
   overflow: hidden;
   position: relative;
   border-radius:5px;
   padding:20px 15px;
}
.serveimg:hover {
     display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #ad2928;
   overflow: hidden;
   position: relative;
   border-radius:5px;
   padding:20px 15px;
}



.serveimg2 {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #ad2928;
   overflow: hidden;
   position: relative;
   border-radius:5px;
   padding:20px 15px;
}
.serveimg2:hover {
     display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #ffb126;
   overflow: hidden;
   position: relative;
   border-radius:5px;
   padding:20px 15px;
}


.info p {
    padding: 10px 5px 5px 5px;
    border-bottom: 2px dashed #b5b5b5;
}


/*圈圈按鈕*/
.serveimg-3 {
    display: block;
    text-align: center;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    background: #10358E;
    overflow: hidden;
    position: relative;
    min-height: 70px;
    padding-top: 30px;
}
.serveimg-3:hover {
   display: block;
   text-align: center;
   border-radius:50%;
    width: 140px;
    height: 140px;
   background: #ad2928;
   overflow: hidden;
   position: relative;  
   min-height: 70px;
    padding-top: 30px;
}


/*產品輪播*/
.rwd-table {
  	overflow-y: visible !important;
}

#myDiv img {
        max-width: none;
}


/*owl*/
.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%;
}


/*頁籤*/
body[data-type="fullpage"] #nav {
    font-size: 1rem;
}

.topnavbar {
  height: 146px;
  padding-top: 0px;
}
.mark{background:none;}, 
@media only screen and (max-width: 767px) {
  body[data-type="fullpage"] .topnavbar {
    margin-top: 40px;
  }
}
.topnavbar {
  height: 100px;
  padding-top: 0px;
}

/* 禁止手機板左右移動 */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 禁止橫向滾動 */
  width: 100%;
}

.container {
  max-width: 100%; /* 限制最大寬度 */
  box-sizing: border-box; /* 包括內邊距和邊框 */
}

img, iframe {
  max-width: 100%; /* 確保圖片或其他嵌入內容不超過容器 */
}

@media (max-width: 600px) {
  /* 調整小屏幕上的樣式 */
  .element {
    width: 100%;
  }
}
