/*選單*/
.navbar-nav {
  background-color: rgba(0,0,0,0.3);
  display: none;
}


/*整體文字調整*/
body {
    color: #333;
    font-size: 14px;
    margin: 0;
}

.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


#wrap{
  background:url(https://static.iyp.tw/42684/files/86197f23-bff5-4e06-bb1f-43eeded42283.jpg)no-repeat;
  background-size:cover;
  background-attachment:fixed;
  background-position:tiop center;
}


/*logo
#logo a{background:url("https://static.iyp.tw/42684/files/89c8a1ed-96da-46ec-8965-7178f1e9644b.png") no-repeat scroll 0 0 transparent;display:block;text-indent:-9999px;width:300px;height:100px;}

#logo {
   margin-top: -10px;
}


@media(max-width:428px){
  #logo {
  left: 5%;
 }
}  
*/

 #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: 90px;
}


/*nav*/
#nav{
  padding-bottom: 25px;
}

#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    border-right: 0px #888 dotted;
    transition:all 0.5s;
    display: inline-block;
}

#nav ul li a:hover{
    color: #bbbbbb;
}

#nav ul li.current a  {
    color: #000;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width:200px;
    background-color: #fff;
} 


#nav ul .subnav li a {
    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:8px 5px;
  }

#nav li.has-subnav ul li a:hover {
    color: #333;
 }


/*Banner*/
.swiper-container {
  height: auto !important;
}

#bodyinhome .swiper-wrapper,#bodyinhome .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(850 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

#bodyinpage .swiper-wrapper,#bodyinpage .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(450 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

@media(max-width:428px){
  #bodyinpage #banner{
    margin-top:25px;
    
  }
}


/*Index*/
#bodyinhome .fcol.fcol-1 .container{
  width:100%;
  padding:0;
}

#bodyinhome .fcol.fcol-2 .container{
  width:100%;
  padding:60px 0;
}

#bodyinhome .fcol.fcol-3 .container{
  width:100%;
  padding:0px 40px 40px;
}

@media(max-width:428px){
  #bodyinhome .fcol.fcol-2 .container,
  #bodyinhome .fcol.fcol-3 .container{
     padding:16px 16px;
  }
}

#bodyinhome .fcol.fcol-1 div,
#bodyinhome .fcol.fcol-2 div,
#bodyinhome .fcol.fcol-3 div{
  padding:0;margin:0;
}

/*Index_1*/
#bodyinhome .fcol.fcol-1{background:#fff;}



@media(max-width:1920px){
#bodyinhome .fcol.fcol-1 .ab.row {
  padding: 50px 400px 50px 100px;
 }
}

@media(max-width:1400px){
#bodyinhome .fcol.fcol-1 .ab.row {
  padding: 50px 200px 50px 100px;
 }
}

@media (max-width: 1024px){
#bodyinhome .fcol.fcol-1 .ab.row {
  padding: 20px 50px;
 }
}

@media(max-width:428px){
#bodyinhome .fcol.fcol-1 .ab.row {
  padding: 50px 16px;
 }
}  



/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/42684/files/91104d21-cbd7-45f9-9f26-aeb88db0bc92.png)no-repeat;
  background-size:cover;
  background-position:top center;
  min-height:800px;
}

@media(max-width:428px){
  #bodyinhome .fcol.fcol-2{
     background-position:top right;
     min-height:350px;
  }
}


/*Index_3*/
#bodyinhome .fcol.fcol-3 .pd.row{
  padding:0px 50px; 
} 

#bodyinhome .fcol.fcol-3 .pd_title{
  padding:0px 50px; 
}

@media(max-width:428px){
  #bodyinhome .fcol.fcol-3 .pd.row,
  #bodyinhome .fcol.fcol-3 .pd_title{
     padding:16px 16px; 
  }
}


@media(max-width:428px){
  .col-md-4,.col-md-8{
  width:100%;
  }
}


/*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%;
}


/*Index_4~6*/
#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}


/*case*/
#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: 220px;
}

@media screen and (max-width: 768px) {
  #service .list article {
    height: 300px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 70%;
  display: flex;
  align-items: center;
}

#service p {
  font-size: 90%;
  padding: 8px 0px;
  color: #777;
}

#service p span {
  padding: 8px 0px;
  color: #000;
}

.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: #000;
  padding: 5px 5px;
  float: right;
}



/*h1*/
.h1title {
  color: #83774e;
  z-index: 999;
  position: relative;
  text-align:center;
}

@media (max-width:767px){
  .h1title {
    color: #83774e;
    font-size: 1.5rem;
  }
}



/*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: #ccc;
    text-shadow: none;
    padding: 0 10px;
}


/*aobtact*/
@media(max-width:767px){
.mobile-br:before { 
    content: ' '; 
    display: block;
 }
}


/*form*/
.mark {
    background: none;
   }


/*footer*/
#footer{
  line-height: 175%;
  letter-spacing: 1px;
  color: #333;
}  

#foot-nav {
  display:none;
}


/*最下方*/
#wrap-fmenu{
    max-width:1100px;
    width:100%;
    margin:0px auto;
    display:block;}
.fMenu{
    background:#484848;
	display:block;
	position:fixed;
	width:100%;
    margin:0 auto;
	z-index:100;
	left:0;
	bottom:0;
    border-top:3px solid #cfcfcf;}
.fMenu ul li{
    letter-spacing:1.2px;
	float:left;
	width:12.5%;
	border-left:1px solid rgb(90, 90, 90);
	box-sizing:border-box;}
.fMenu ul li:first-child{
	border:none;}
.fMenu ul li a{
	display:block;
	min-height:45px;
    max-height:120px;
	padding:8px 8px;
	background:#484848;
	color:#FFF;
	text-align:center;
	box-sizing:border-box;
    letter-spacing:1.2px;}
.fMenu ul li a i{
	display:block;
	font-size:70%;}


/*文字變色方塊*/
.serveimg {
  display: block;
  text-align: center;
  width: 100%;
  min-height: 100px
  padding-bottom: 100%;
  background: #26252a;
  overflow: hidden;
  position: relative;
  padding: 10px 10px;
  border-radius: 34px;
}

.serveimg:hover {
  display: block;
  text-align: center;
  width: 100%;
  min-height: 100px
  padding-bottom: 100%;
  background: #4177a6;
  overflow: hidden;
  position: relative;
  padding: 10px 10px;
  border-radius: 34px;
}

/*實績*/

.case_img {
  position: relative;
  width: 100%;
  padding-top: 75%;
  
}

.case_img img:hover{
  transform:scale(1.1);
}

.case_img img {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:all 0.3s;
}

.csae_img2 {
  position: relative;
  width: 100%;
} 

.csae_img2::after {
  content: "";
  display: block;
  padding-top: 75%;
}

.csae_img2 img {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}