/*最新消息尚無相關訊息 隱藏*/

.container::before, .container::after{
  display: none;
}

.news-list, .news-head{
  display: none;
}


/*手機版logo底色*/
@media only screen and (max-width: 767px) {
    body[data-type="fullpage"] .topnavbar {
        background-color: rgba(255, 255, 255, 1);
    }
}

/*icon*/
.tl{position:fixed;right:0.5%;top:15%;z-index:1000; transform:scale(0.8);}
.line{position:fixed;right:0.5%;top:25%;z-index:1000; transform:scale(0.8);}
.FB{position:fixed;right:0.5%;top:35%;z-index:1000; transform:scale(0.8);}
.YT{position:fixed;right:0.5%;top:45%;z-index:1000; transform:scale(0.8);}


@media only screen and (max-width: 428px) {
  .tl{position:fixed;right:0.5%;top:10%;z-index:1000; transform:scale(0.8);}
  .line{position:fixed;right:0.5%;top:24%;z-index:1000; transform:scale(0.8);}
  .FB{position:fixed;right:0.5%;top:38%;z-index:1000; transform:scale(0.8);}
  .YT{position:fixed;right:0.5%;top:52%;z-index:1000; transform:scale(0.8);}
}

@media(max-width:428px){
  .tl, .line, .FB, .YT,{
    transform:scale(0.7);  }
}





/*body*/
body {
    color: #6f6f6f;
    font-size: 16px;
    margin: 0;
}
a {
    color: #6f6f6f;
    text-decoration: none;
}
a:hover {
    color: #3f3f3f;
}

.row [class^="col-"] {
  padding:10px;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*回首頁*/
.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;
  border-bottom:1px solid #d4d4d4;
}


/*logo*/
 #logo img {
   padding: 0 16px 16px 0px;
 }


/*top*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/  
}

.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;
}


/*nav_fall*/
body[data-type="fullpage"] #nav {
    font-size: 1rem;
    width: 100%;
}

#header .topnavbar .container {
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}

@media(min-width:1920px){
body[data-type="fullpage"] #footer .container {
    width: 1160px;
 }
}

#header .topnavbar .container {
  padding-left: 60px;
  padding-right: 60px;
  width: 100%;
}


/*nav*/
#nav{margin-top:-85px;}

#nav ul li a {
    white-space: nowrap;
    color: #6f6f6f;
    line-height: 1.3;
    font-weight: normal;
    padding: 15px 25px;
    font-size: 100%;
    border-right: 0px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    padding: 15px 25px;
    color: #3f3f3f;
}

#nav ul li.current a  {
    color: #3f3f3f;  
}

#nav ul li a span{
  display:block;
  text-align:center;
}

#nav ul {float:right;}

#nav ul li {
  display: inline-block;
  vertical-align: top;
}

#nav > ul > li.has-subnav > a::after {
  content: "\f107";
  margin-left: 115px;
  margin-top: -10px;
  position: absolute;
  line-height: 12px;
}

#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: rgba(7, 145, 58, 1);
} 

#nav ul .subnav li a {
    background-color: rgba(144, 195, 31, 0.85);
    color: #fff;
    text-align: left;
    width: 200px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
    padding: 0px 10px;
    text-align: left;
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
    padding: 0px 10px;
}

#nav li.has-subnav ul li a {
    color: #fff;
    width:200px;
    white-space: pre-line;
    padding:8px 5px;
  }


/*Banner*/
.swiper-container {
  height: auto !important;
}

#bodyinhome .swiper-wrapper,#bodyinhome .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}
/*
#bodyinpage .swiper-wrapper,#bodyinpage .swiper-slide {
  display:none;
}*/

#bodyinpage .swiper-wrapper,#bodyinpage .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
  background-position:center center;
}

.swiper-slide {
  width: 100% !important;
}

@media(max-width:428px){
  #bodyinpage #banner{
    margin-top:25px;
    
  }
}


/*about_1*/
/*
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 .container{
   border:1px solid #696969;
   border-radius:25px;
   padding:15px;
}
*/


/*about_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
  background:url()no-repeat;
  background-position:center center;
  background-size:cover;
  min-height:400px;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
   padding:60px 20px;
}


/*about_3*/

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3{
  background:url(https://static.iyp.tw/409479/files/eb140b25-f3c2-4d3b-965e-e4215d7d6593.jpg)no-repeat;
  background-position:center center;
  background-size:cover;
  min-height:400px;
}
*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container{
   padding:60px 20px;
}



#bodyinpage #service .list article {
  background: #e8e5df;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 10px rgba(0,0,0,0.16);
  padding: 25px 15px 5px;
  text-align: left;
  height: 450px;
  border-radius: 0px;
}

@media screen and (max-width: 768px) {
  #bodyinpage #service .list article {
    height: 450px;
  }
}

#bodyinpage #service .list article {
  background: #eeebe5;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 10px rgba(0,0,0,0.16);
  padding: 25px 15px 5px;
  text-align: left;
  height: 420px;
  border-radius: 0px;
}

@media screen and (max-width: 768px) {
  #bodyinpage #service .list article {
    height: 420px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 40%;
  display: flex;
  align-items: top;
}

@media screen and (max-width: 428px) {
 #service .list article .image_hover {
  height: 40%;
  display: flex;
  align-items: top;
 }
}


#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;
}


#idxService h3 span::before {
    left: 0;
}

#idxService h3 span::after {
    right: 0;
}

#idxService h3 span {
    position: relative;
    margin-top: 10px;
    display: block;
    font-size: 0.5em;
    color: #4d4d4d;
}

#idxService h3 {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: 0em;
    margin: 28px 0 20px 0;
}


#idxService h3 span::before{
    content: ' ';
    display: block !important;
    position: absolute;
    top: 50%;
    width: calc(50% - (11em / 2) - 5px);
    height: 1px;
    background: #4d4d4d;
}

#idxService h3 span::after {
    content: ' ';
    display: block !important;
    position: absolute;
    top: 50%;
    width: calc(50% - (11em / 2) - 5px);
    height: 1px;
    background: #4d4d4d;
}


/*about_5*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5{
  background:url()no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}
*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5 .container{
   padding:60px 20px;
}

/*圖片*/
.row [class^="col-"] img{
  opacity:3;
    transition:0.7s
}
.row [class^="col-"] {
  padding:10px;
}
.block {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #fff;
   overflow: hidden;
   position: relative;
   padding:20px 15px;
   box-shadow: 0 0 0 1px rgba(63,63,68,.05),0 1px 6px 0 rgba(69,79,91,.18);
}


/*about_5~6*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-6{
  display:none;
}

/*h1*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-header{
   display:none;
}

.h1title h1{
   color:#6f6f6f;
}


/*form*/
.mark{
   background:none;
}



/*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:inherit;
  overflow:hidden;
  padding:0 16px;
  color: #333;
}

ul.product-list li .desc {
    display: none;
    min-height: 1.2rem;
    max-height: 2.4rem;
    margin-bottom: auto;
    font-size: .8rem;
    line-height: 1.5;
    word-break: break-word;
    color: #666;
    overflow: hidden;
    padding: 0 16px;
}


/*PD*/
.productdetail .detail-spec b {
    font-weight: normal;
    display: inline-block;
    color: #333;
    margin-bottom: 5px;
    padding: 3px 8px;
    box-shadow: 0 1px 0 #fff;
    background-color: rgba(0,0,0,0.05);
    font-size: 16px;
    text-shadow: 0 1px 0 #fff;
}


/*greyLine*/
.greyLine {
    position: relative;
    margin: 0 auto;
    margin-bottom: 0px;
    height: 5rem;
    width: .0625rem;
    background: rgba(44,44,44,0.3);
    display: block;
    margin-bottom: 2rem;
}



/*櫥窗圖庫語法_輪播*/
.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%;
}

.owl-carousel.owl-theme .owl-dots {
    display: none;
}


/*BG*/
#wrap{background:url(https://static.iyp.tw/409202/files/b91804e4-80e6-4e4b-b490-22499ef43991.jpg)no-repeat;
background-position:bottom left;background-attachment:fixed;}


/**/
#bodyinpage #service2 .list article {
  background: #e8e5df;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 10px rgba(0,0,0,0.16);
  padding: 25px 15px 5px;
  text-align: left;
  height: 500px;
  border-radius: 0px;
}

@media screen and (max-width: 768px) {
  #bodyinpage #service2 .list article {
    height: 500px;
  }
}

#bodyinpage #service2 .list article {
  background: #eeebe5;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 10px rgba(0,0,0,0.16);
  padding: 25px 15px 5px;
  text-align: left;
  height: 500px;
  border-radius: 0px;
}

@media screen and (max-width: 768px) {
  #bodyinpage #service2 .list article {
    height: 500px;
  }
}

#service2 .list article a {
  display: block;
}

#service2 .list article .image_hover {
  height: 40%;
  display: flex;
  align-items: top;
}

@media screen and (max-width: 428px) {
 #service2 .list article .image_hover {
  height: 40%;
  display: flex;
  align-items: top;
 }
}


#service2 p {
  font-size: 90%;
  padding: 8px 0px;
  color: #777;
}

#service2 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;
}


#idxService2 h3 span::before {
    left: 0;
}

#idxService2 h3 span::after {
    right: 0;
}

#idxService2 h3 span {
    position: relative;
    margin-top: 10px;
    display: block;
    font-size: 0.5em;
    color: #4d4d4d;
}

#idxService2 h3 {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: 0em;
    margin: 28px 0 20px 0;
}


#idxService2 h3 span::before{
    content: ' ';
    display: block !important;
    position: absolute;
    top: 50%;
    width: calc(50% - (11em / 2) - 5px);
    height: 1px;
    background: #4d4d4d;
}

#idxService2 h3 span::after {
    content: ' ';
    display: block !important;
    position: absolute;
    top: 50%;
    width: calc(50% - (11em / 2) - 5px);
    height: 1px;
    background: #4d4d4d;
}


.block {
    display: block;
    text-align: CENTER;
    width: 100%;
    height:auto;
    padding-bottom:auto;
    padding-top: 5%;
    padding-left: 5%;
    padding-right: 5%;
    /*background: #cccccc;*/
    overflow: hidden;
    position: relative;
    transition:all 0.5s;
}
.block:hover {
    transform:scale(1.2);
}


/*文字滑過變色方塊*/
.serveimg {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background:  #eeebe5;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
}
.serveimg:hover {
     display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #c6c3bd;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
}

/*段字語法*/
@media(max-width:767px){
.mobile-br:before { 
    content: ' '; 
    display: block;
 }  
}

#gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 20px 15px;
    font-size: 17px;
    border-radius: 50px;width:70px;height:70px;
    background-color: rgba(162, 17, 17, 0.5);
    color: white;
    text-align:center;
    cursor: pointer;
}