/*icon*/
.phone{position:fixed;right:0.2%;top:75%;z-index:1000;transform:scale(0.8);}

@media(max-width:414px){
.phone{position:fixed;right:0%;top:70%;z-index:1000;transform:scale(0.8);}
}


/*gotop*/
#gotop {
  display: none;
  position: fixed;
  right: 0.5%;
  bottom: 20px;
  padding: 20px 20px;
  font-size: 10px;
  border-radius: 50px;
  width: 70px;
  height: 70px;
  background-color: rgba(222, 254, 81, 0.5);
  color: #209B27;
  text-align: center;
  cursor: pointer;
}

.go-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  background: #f70606;
  color: #fff;
  width: 60px;
  height: 60px;
  display: block;
  border-radius: 30px;
  text-align: center;
  line-height: 60px;
  text-transform: uppercase;
  font-weight: 900;
}



/*導覽頁樣式*/
.topnavbar {
  background-color: #fff;
  top: 0;
  position: relative;
  z-index: 100;
  width: 100%;
  padding: 0.6rem 0;
  height: 100px;
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  padding-top: 5;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

#header .topnavbar .container {
    padding-left: 20px;
    padding-right: 10px;
    width: 80%;
}

#nav ul li a {
  white-space: nowrap;
  color: #505050;
  line-height: 1.3;
  font-weight: normal;
  padding: 10px 18px;
  font-size: 100%;
  transition: all 0.5s;
}

#nav ul li a:hover,
#nav ul li.current a {
  color: #209b27;
}


/*響應式設計*/
@media (min-width: 768px) {
  .topnavbar {
    position: absolute;
  }
}

@media (max-width: 600px) {
  .topnavbar .container {
    text-align: center;
  }
}

/*整體*/
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


a {
    color: #505050;
}

a:hover {
    color: #505050 !important;
}

body {
    background-color: #fff;
    color: #505050; 
    font-size: 16px;
    margin: 0;
    line-height: 1.9;/*行距*/
    letter-spacing: 0.09em;/*字距*/
    font-family: 'Noto Sans TC';
    font-weight: 300;
}



/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
    background-color: #209b27;
}

/* 回首頁_懸停 */
.navbar-nav > li > a:hover {
    color: #222;
    background-color: #209b27;
}




/*about-us*/

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 {
  background-color: #ffffff;
  background-size: cover;
  background-position: top center;
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 {
  background-color: #ffffff;
  background-size: cover;
  background-position: top center;
}



#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 {
   background:url(https://static.iyp.tw/409766/files/ca34b5bf-b8f7-415c-b664-d9da54206e15.jpg)no-repeat; 
   background-size:cover;
   background-position:top center
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4 {
   background:url(https://static.iyp.tw/409766/files/538e8232-0544-4e8e-8497-803afd63fc72.jpg)no-repeat; 
   background-size:cover;
   background-position:top center
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-6 {
  display: none;
}

#bodyinpage.rwd-collapse.viewmode.default.product .fcol.fcol-1 {
   background:url(https://static.iyp.tw/409766/files/60cb5219-92ea-4c8b-ab60-a064d1b4ede9.png)no-repeat; 
   background-size:cover;
   background-position:top center
}




/* Swiper 輪播設定 */
.swiper-container {
  height: auto !important;
}
.swiper-wrapper,
.swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%);
}
.swiper-slide {
  width: 100% !important;
}



/* 產品輪播容器 */
.rwd-table {
  overflow-y: visible !important;
}
#myDiv {
  background-color: #000;
  overflow: hidden;
  width: 100%;
}
#myDiv img {
  max-width: none;
  width: 250px;
}
ul.product-list li h3 {
  flex: 1 0 auto;
  max-height: 3.15rem;
  margin: 0.7rem 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #000;
  overflow: hidden;
  padding: 0 16px;
}

/* owl-carousel */
.owl-carousel.owl-theme {
  padding: 0 1rem 2rem;
}
.owl-carousel.owl-theme .owl-nav,
.owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
}
.owl-carousel.owl-theme .owl-nav {
  top: 50%;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
  display:none;
}
.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 .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%;
}



/*服務圖片與文字 hover 效果
.service_img {
  position: relative;
}

.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  top: 0;
  left: 0;
  padding: 0 15px 15px;
  background: rgba(0, 0, 0, 0);
  text-shadow: black 0.1em 0.1em 0.2em;
}

.service_text:hover {
  background-color: rgba(0, 0, 0, 0.55);
  transition: 0.5s;
}

.service_text div {
  font-size: 20px;
  line-height: 30px;
  position: relative;
  top: 45%;
  font-weight: bold;
}

@media (max-width: 768px) {
  .service_text div {
    font-size: 18px;
    line-height: 20px;
    top: 40%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .service_text div {
    font-size: 24px;
    line-height: 30px;
    top: 40%;
  }
}
*/

/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}




/*聯絡表單BUG*/
.mark{background:none;},


/*footer*/

#footer {
  background: #178414;
}

#foot-nav ul li a {
  color: #fff;
  font-size: 1.06em;
}

#foot-nav {
  clear: both;
  padding: 1em 0;
  border-bottom: 1px solid #fff;
}

#footer {
  color: #fff;
}

#contact-info ul li span {
  color: #fff;
}

#copyright,
#copyright a {
  color: #dcdcdc;
}

#footer {
  background-color: #387137;
}

.topnavbar {
  position: relative;
  
 } 
  
  
/* 隱藏標頭 */
#bodyinpage.about-us .fcol.fcol-header,
#bodyinpage.product .fcol.fcol-header,
#bodyinpage.news .fcol.fcol-header,
#bodyinpage.contact-us .fcol.fcol-header
{
  display:none;
}

/*隱藏產品格細項*/
ul.product-list li .desc {
  display:none;

}

/*斷行*/
@media(max-width:767px){
.mobile-br:before { 
    content: ' '; 
    display: block;
 }
}



/*手機選單*/
 @media only screen and (min-width: 768px) {

    .topnavbar {
      background-color: #FFF; /* 填入想要桌面版型的導覽列顏色 */
    }
  }
  .navbar {
    background-color: #505050; /* 填入想要手機版型的導覽列想要的顏色 */
  }
  #nav ul li a {
    color: #222; /* 填入想要桌面版型的導覽選項文字想要的顏色 */
  }

.rwd-navbar-toggle {
    float: right;
  }
  .navbar-nav {
    margin-right: 15px;
  }

 @media only screen and (max-width: 767px) {
  body[data-type="fullpage"] .topnavbar {
    margin-top:20px
  }
}


 @media only screen and (max-width: 767px) {
    .rwd-side {
      background-color: #F9F7F2;
      transform: translateX(100%);
    }
  }

.rwd-navbar-toggle .label {
  color: #FCFCFC;/*選單兩字的顏色*/
}
.navbar-icon-bar {
    background-color: #FCFCFC;/*三條線*/
}
.navbar-icon-bar::before, .navbar-icon-bar::after {
  background-color: #FCFCFC;/*三條線*/
}

.rwd-side.menu-open {
  background: #fff;
 }


