/*icon*/
.line{position:fixed;right:0%;top:65%;z-index:1000;transform:scale(0.8);}

.row [class^="col-"] {
  padding: 10px;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) {
  margin-bottom: 0px;
}

body {
  background: #ffffff;
}

/*top*/

.navbar-nav > li > a {
  color: #fff;
}

.topnavbar .container {
  height: 100%;
  padding-top: 0px;
  padding-bottom: 10px;
  text-align: center;
}

.topnavbar {
  background-color: #9c0000;
  top: 0px;
  position: relative;
  z-index: 100;
  width: 100%;
  padding: .6rem 0;
  height: 100px;
}

/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #FFF;
    line-height: 1.3;
    padding: 23px 34px;
    font-size: 100%
}

#nav ul li a {
    background-color: #9C0000;
    white-space: nowrap;
    color: #F0F0F0;
    padding: 23px 34px;
    font-size: 100%;
}

#nav ul li.current a {
      background-color: #FFF;
      color: #000;
}
#nav ul li .subnav {
 background-color: #9c0000;
}
#nav ul li .subnav a {
 background-color: #fff;
      color: #929494;
}
#nav ul li .subnav a:hover {
 background-color: #000;
        color: #fff;
}
#nav .subnav {
 max-width:400px
}
#nav ul li .subnav a span {
    display: inline-block;
    max-width: 400px;
}

/*Banner*/

.swiper-container {
  height: auto !important;
}

.swiper-wrapper,
.swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%);
  /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

/*Index_1*/

#bodyinhome .fcol.fcol-1 {
  background: #222;
}

#service .list article {
  background: #fff;
  width: 100%;
  margin: 0%;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.16);
  padding: 0px 0px 5px 0px;
  text-align: left;
  height: 350px;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  #service .list article {
    height: 350px;
  }
}

#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 10px 10px;
  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: #9c0000;
  padding: 5px 5px;
  float: right;
}

/*Index_2*/

#bodyinhome .fcol.fcol-3 {
  background: #efefef;
}

/*Index_4*/

#bodyinhome .fcol.fcol-4 {
 /* background: url(https://static.iyp.tw/41529/files/e63dffbe-c189-4c74-b8d9-a6e927704c74.png)no-repeat;*/
  background-position: right center;
  background-size: civer;
  min-height: 400px;
}

span.cat-name2 {
  padding: 10px 15px;
  float: center;
  border: 1px solid #222;
  border-radius: 25px;
}

/*h1*/

.h1title {
  color: #000;
  border-bottom:1px solid #666;
}


element.style {
}

a {
    color: #000;
    text-decoration: 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: #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;
}

/*form*/

.mark {
  background: none;
}

/*footder*/
#foot-nav {
  clear: both;
  color:#000;
    padding: 1em 0;
    border-bottom: 1px solid #000;
}
#foot-nav ul li a {
    color: #000;
    font-size: 1em;
}
#footer {
    color: #000;
    background-color: #E0E0E0;
}

#foot-nav ul li.current a, #foot-nav ul li a:hover {
   color: #000;
}
#footer a {
  color: #000; }
body[data-type="fullpage"] .main {
    min-height: auto;
}