/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
    height: 100%;
    padding-top: 0px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 0;
}

.topnavbar {
  background-color: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
  padding-top:0px;
  border-bottom:8px solid #7aa22d;
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 100%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #1580c3;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #1580c3;padding-top:5px;height:45px;}

#nav ul li.current a  {
    color: #7aa22d;  
}

#nav ul .subnav li a{
  background-color: rgba(75, 75, 75,0.45);
  color:#fff;text-align:left;}

#nav .subnav {
    position: absolute;
    top: 100%;
    z-index: 998;
    background-color: rgba(75,75,75,0.55);
} 



/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(600 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index*/
#bodyinhome .fcol.fcol-1{display:none;}
#bodyinhome .fcol.fcol-2{display:none;}
#bodyinhome .fcol.fcol-3{display:none;}
#bodyinhome .fcol.fcol-4{display:none;}
#bodyinhome .fcol.fcol-5{display:none;}
#bodyinhome .fcol.fcol-6{display:none;}


/*index*/
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) {
    margin-bottom: 0px;}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


.rk_case img{border-radius:50%;border:3px solid #7f9a4b;}


/*Service*/
.serveimg {
    display: block;
    text-align: center;
    width: 100%;  
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    min-height: 80px;
    background: #f4ffc9;
    padding: 15px 10px 30px 10px;
    transition: all 0.5s;
    height: 130px;
}

.serveimg:hover {
    display: block;
    text-align: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius:10px; 
    min-height:80px;
    background:#e6ff82;
    padding:15px 10px 30px 10px;
}


/*h1*/
.h1title {color:#3f8869;border-bottom:1px dashed #3f8869;}


/*pd*/
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;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
    background: #59aacb;
    text-shadow: none;
    padding: 0 10px;
}

.mark {
    background: none;
   }


/*footer*/
#footer{background:#a9c577;}

#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;}

/*google icon*/
#google_translate_element {
    border-radius: 3px;
    display: block;
    right: 10%;
    padding: 70px;
    position: fixed;
    top: 0px;
    z-index: 400;
  width: 60px;
}

@media(max-width:414px){
  
#google_translate_element {
    border-radius: 3px;
    display: block;
    right: 1%;
    padding: 1px;
    position: fixed;
    top: 0px;
    z-index: 400;
  width: 1px;
}

}
