/*body*/
.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: #e3e0de;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
  box-shadow: 0 5px 5px rgba(44,44,44,0.35);
}


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #94663a;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #db6d03;padding-top:5px;}


#nav ul li.current a  {
    color: #94663a;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: #913b00;
} 


#nav ul .subnav li a {
    background-color: #ec6300;
    color: #fff;
    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: #fff;
    width:200px;
    white-space: pre-line;
  }




/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}



/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/42932/files/2ef18234-dc4a-40ec-9f50-fbac6fb562dd.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}


#bodyinhome .fcol.fcol-2 .container{
  padding:40px 20px;
}

.ar.row .col-1{
  border-bottom:1px dashed #fff;
}

@media(max-width:428px){
  #bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/42932/files/2ef18234-dc4a-40ec-9f50-fbac6fb562dd.jpg)no-repeat;
  background-position:top left;
  background-size:cover;
  min-height:400px;
  }
}
  

@media(max-width:428px){
#bodyinhome .fcol.fcol-2 .container{
  background:rgba(0,0,0,0.75);
  }
}  


/*Index_3~6*/
#bodyinhome .fcol.fcol-3,
#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
   display:none;
}


/*h1*/
.h1title h1{
  color:#004e76;
}


/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  


/*product*/
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: #004e76;
}

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;
}


#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: 300px;
}

@media screen and (max-width: 768px) {
  #service .list article {
    height: 250px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 80%;
  display: flex;
  align-items: center;
}

@media(max-width:767px){
  #service .list article .image_hover {
  height: 70%;
  }
}

#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: #803f00;
  padding: 5px 5px;
  float: right;
  margin-top: -4px;
}



/*form*/
.mark{
  background:none;
}



/*footer*/
#footer{
  background:#552b02;
}