/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }

#bodyinhome{background:#f7f7f7;}


/*logo*/
#logo img {
    padding: 0 16px 15px;
}


@media(max-width:428px){
#logo a img {
    margin: 0 auto;
    padding-left: 15%;
 }
}  

/*top*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;  
  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 10rem;
  height: 100px;
  border-bottom:1px solid #e8e8e8;
}

@media(max-width:1400px){
  .topnavbar {
    height: 130px;
     padding: .6rem 0rem;
  }
}

@media(max-width:767px){
  .topnavbar {
    height: 100px;
     padding: .6rem 0rem;
  }
}


/*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;
 }
}



/*nav*/
#nav{margin-top:-40px;}

@media(max-width:1400px){
  #nav{margin-top:-10px;
  }
}

#nav ul {float:right;}

#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    border-radius:5px 5px 0 0;
    margin-right:3px;
    background: #2bcacc;
    box-shadow: 0 5px 5px rgba(44,44,44,0.1);
    border:0px solid rgba(44,44,44,0.1);
    transition:all 0.3s;
}

#nav ul li a:hover{
    background:#05a5a7;
    color: #fff;
}

#nav ul li.current a  {
     background:#05a75d;
     color: #fff;  
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: #fff;
} 


#nav ul .subnav li a {
    background-color: #e8e8e8;
    color: #8c8c8c
    text-align: left;
    width: 300px;
}

#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: #8c8c8c;
    width:200px;
    white-space: pre-line;
  }



/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index_1*/
#bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/42179/files/7b256004-6cad-44d5-ab54-a151727b17c8.jpg)no-repeat;
  background-size:cover;
  background-position:top center;
 }


/*Index_2*/
#bodyinhome .fcol.fcol-2{
  padding-top:0px;  
}

.greyLine {
    position: relative;
    margin: 0 auto;
    height: 5rem;
    width: .0625rem;
    background: #dadada;
    display: block;
    margin-bottom: 2rem;
}

.greyLine::after {
    content: '';
    display: block;
    position: absolute;
    height: .625rem;
    width: .625rem;
    background:#dadada;
    transform: rotate(45deg);
    bottom: -.625rem;
    left: -.3125rem;
}


#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: 300px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 60%;
  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: #36bebc;
  padding: 5px 5px;
  float: right;
}


/*Index_3~6*/
#bodyinhome div.fcol.fcol-3, #bodyinhome div.fcol.fcol-4, #bodyinhome div.fcol.fcol-5, #bodyinhome div.fcol.fcol-6{
  display:none;
}

@media(max-width:767px){
.mobile-br:before { 
    content: ' '; 
    display: block;
 }
}


/*contact*/
blockquote {
  padding: 10px 15px;
  margin: 0 0 20px;
  font-size: 17.5px;
  border-left: 5px solid #eee;
}

/*h1*/
.h1title {
    color: #05a75d;   
}

.h1title h1{text-align:center;}

.h1title h1 {
    font-size: .8em;
}


/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  

/*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: #c40001;
    text-shadow: none;
    padding: 0 10px;
}


body[data-type="fullpage"] #product-header {
    margin-bottom: 0;
    min-height: 0px;
}


/*form*/
.mark {
    background: none;
   }



/*footer*/
#foot-nav ul li a {
    color: #fff;
    font-size: 1.06em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fff;
}

#footer {
    color:#fff;
}

#contact-info ul li span {
    color: #fff;
}

#copyright, #copyright a{color:#dcdcdc;}