/*fb icon*/
.fb{position:fixed;right:0%;top:16%;z-index:1000;transform:scale(0.8);}


/*整體文字調整*/
body {
    color: #3a3a3a;
    font-size: 16px;
    margin: 0;
}
a {
    color: #1d8b3b;
    text-decoration: none;
}
a:hover {
    color: #49bd68;
}
.row [class^="col-"] {
  padding:10px;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*logo*/
 #logo img {
   padding: 0 16px 16px;
 }


/*top*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/
  padding-top:0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
  background-color: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
  border-top:5px solid #052f4e;
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-header{
  display:none;
}

/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 15px 25px;
    font-size: 100%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #1d8b3b;
}

#nav ul li a span{
    transition:all 0.5s;
}

#nav ul li a:hover span{
    border-top:2px solid #1d8b3b;
    padding-top:5px;
}

#nav ul li.current a  {
    color: #1e8b3c;  
}

#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: #1e8b3c;;
} 

#nav ul .subnav li a {
    background-color: #fff;
    color: #333;
    text-align: left;
    width: 200px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
    padding: 0px 10px;
    border-top:0px;
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
    padding: 0px 10px;
    border-top:0px;
}

#nav li.has-subnav ul li a {
    color: #333;
    width:200px;
    white-space: pre-line;
    padding:10px 5px;
  }

#nav li.has-subnav ul li a:hover {
    color: #fff;
}


/*Banner*/
.swiper-container {
    height: auto !important;
}

.swiper-wrapper, .swiper-slide {
    height: 0 !important;
    padding-bottom: calc(900 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
    width: 100% !important;
}


/*BG*/
/*
#wrap {
    background:url(https://static.iyp.tw/41202/files/b696873b-b96a-49fd-8cd0-36b9986405ef.jpg)no-repeat;
    background-position:
    bottom 10% center;
    background-attachment:fixed;
}
*/


/*about_1*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 .container{
   padding:60px 20px;
}


/*title*/
.aboutArea .titleBox {
  position: absolute;
  top: -28px;
  left: calc(55% + 30px);
  z-index: 1;
  color: #222;
}

.titleBox .enTitle {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 45px;
    line-height: 1;
    color:#222;
}

@media (max-width: 1180px) {
    .titleBox .enTitle {
        font-size: 36px;
    }
}

@media (max-width: 420px) {
    .titleBox .enTitle {
        font-size: 28px;
    }
}

.titleBox .enTitle span {
    -webkit-text-stroke: 1px #222;
    color: transparent;
    font-weight: bold;
}

.about .aboutBox {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .about .aboutBox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.about .aboutBox .articleBox {
  margin-bottom: 50px;
}

@media (max-width: 1180px) {
  .about .aboutBox .articleBox {
    margin-bottom: 20px;
  }
}

@media (max-width: 420px) {
  .about .aboutBox .articleBox {
    margin-bottom: 10px;
  }
}

.about .aboutBox .subTitle {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}


/*about_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
  background:url(https://static.iyp.tw/41202/files/deae9411-dfee-49cb-8198-430dbf6be7cc.jpg)no-repeat;
  background-size:cover;
  background-position:top center;
  min-height: 400px;
  background-attachment:fixed;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
   padding:60px 20px;
}


/*title*/
.aboutArea .titleBox2 {
  position: absolute;
  top: -28px;
  left: calc(55% + 30px);
  z-index: 1;
  color: #fff;
}

.titleBox2 .enTitle {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 45px;
    line-height: 1;
    color:#fff;
}

@media (max-width: 1180px) {
    .titleBox2 .enTitle {
        font-size: 36px;
    }
}

@media (max-width: 420px) {
    .titleBox2 .enTitle {
        font-size: 28px;
    }
}

.titleBox2 .enTitle span {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
    font-weight: bold;
}


.about .aboutBox2 {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .about .aboutBox2 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.about .aboutBox2 .articleBox {
  margin-bottom: 50px;
}

@media (max-width: 1180px) {
  .about .aboutBox2 .articleBox {
    margin-bottom: 20px;
  }
}

@media (max-width: 420px) {
  .about .aboutBox2 .articleBox {
    margin-bottom: 10px;
  }
}


.about .aboutBox2 .subTitle {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

/*----*/
#service .list article {
  background: #fff;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 15px
  rgba(0,0,0,0.16);
  padding: 15px 15px 5px;
  text-align: left;
  height: 260px;
}

@media screen and (max-width: 768px) {
  #service .list article {
    height: 280px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 75%;
  display: flex;
  align-items: center;
}

#service p {
  font-size: 90%;
  padding: 8px 0px;
  color: #777;
}

#service p span {
  padding: 8px 0px;
  color: #333;
}

.image_hover {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.image_hover img {
  margin: auto;
  transition: transform 0.6s ease;
}

.image_hover:hover img {
  transform: scale(1.2);
}

.project .dfd-folio-categories .byline.category {
  display: inline-block;
  overflow: hidden;
  margin-bottom: 10px;
}

span.cat-name {
  background: #333;
  padding: 5px 5px;
  float: right;
}


.list.row .col-4:nth-child(even){
    margin-top:25px;
}

/*文字滑過變色方塊*/
.serveimg {
   display: block;
   text-align: center;
   width: 90%;
   min-height:100px
   padding-bottom: 100%;
   background:  #1d8b3b;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
}
.serveimg:hover {
   display: block;
   text-align: center;
   width: 90%;
   min-height:100px
   padding-bottom: 100%;
   background: #49bd68;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
}


/*about_3*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3{
  background: #1d8b3b;
  /*background:url(https://static.iyp.tw/41202/files/b696873b-b96a-49fd-8cd0-36b9986405ef.jpg)no-repeat;
  background-position:top center;
  background-size:cover;*/
}
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container{
   padding:60px 20px;
}


/*文字變色方塊2*/
.serveimg2 {
  display: block;
  text-align: center;
  width: 100%;
  min-height: 100px
  padding-bottom: 100%;
  color: #1d8b3b;
  border:1px solid #fff;
  background: #fff;
  overflow: hidden;
  position: relative;
  padding: 15px 5px 15px 5px;
  border-radius: 5px;
}

.serveimg2:hover {
  display: block;
  text-align: center;
  width: 100%;
  min-height: 100px
  padding-bottom: 100%;
  color: #fff;
  border:1px solid #1d8b3b;
  background: #1d8b3b;
  overflow: hidden;
  position: relative;
  padding: 15px 5px 15px 5px;
  border-radius: 5px;
}


/*about_4*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4{
  background:url(https://static.iyp.tw/41202/files/b696873b-b96a-49fd-8cd0-36b9986405ef.jpg)no-repeat;
  background-size:cover;
  background-position:top center;
  background-attachment:fixed;
}
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4 .container{
   padding:60px 20px;
}


/*about_5~6*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-6{
   display:none;
}


/*h1*/
.h1title h1{
   color:#1d8b3b;
}


/*form*/
.mark{
  background:none;
}


/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  


#side ul li.current > div a {
  background:#ccc;
  color: #fff;
}


/*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: #db2929;
    text-shadow: none;
    padding: 0 10px;
}


/*隱藏詳細介紹*/
ul.product-list li .desc {
    display: none;
   }


/*form*/
.mark {
    background: none;
   }



/*footer*/
#footer{
  background: #1d8b3b;
  color:#fff;
}

#foot-nav {
  clear: both;
  padding: 1em 0;
  border-bottom: 1px solid #444;
  display: none;
}

#contact-info ul li span {
    color: #fff;
}

#footer-service #copyright {
  float: left;
  display: none;
}

#footer a {
    color: #fff;
}

#footer a:hover{
    color: #3fcbea;
}

