/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*logo*/
@media(max-width:428px){
 #logo a img {
   padding: 0 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: 100px;
}



/*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: #23968f;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #23968f;padding-top:5px;}


#nav ul li.current a  {
    color: #23968f;  
}

#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: rgba(75,75,75,0.55);
} 


#nav ul .subnav li a {
    background-color: rgba(75, 75, 75,0.85);
    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;
    padding:12px 5px;
  }


/*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/42558/files/ed4d29b6-e17a-4e34-9c0b-4613373226ec.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  padding:20px 0;
 }

@media(max-width:428px){
  #bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/42558/files/ed4d29b6-e17a-4e34-9c0b-4613373226ec.jpg)no-repeat;
  background-position:top right; 
  }
}

@media(max-width:428px){
  #bodyinhome .fcol.fcol-1 .container{
  background:rgba(255,255,255,0.85);
  }
}


blockquote {
  padding: 10px 8px;
  margin: 0px;
  font-size: 14px;
  border-left: 5px solid #eee;
}


/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:#efefef;
  min-height:300px;
  padding:20px 0;
}


.sr.row img{
  background:#fff;
  border-radius:99em;
  border:2px solid transparent;
  padding:15px;
  transition:all 0.3s;
}


.sr.row img:hover{
  background:#fff;
  border-radius:99em;
  border:2px solid #e66c1a;
  padding:15px;
}


span.cat-name {
  border:1px solid #fff;
  padding: 8px 20px;
  border-radius:25px;
  float: center;
}

@media(max-width:428px){
 .sr.row .col-5{
     flex: 0 0 50%;
     max-width: 50%;
  }
}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/42558/files/d62880b4-8a4d-4f95-885f-f65934d4ffb8.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  padding:20px 0;
  min-height:300px;
 }


.customer.row {
    width:50%;
    margin:10% auto;
  }
  

@media(max-width:428px){
  .customer.row {margin:20% auto;
    width:100%;
  }
}  


/*Index_4~6*/
#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}



/*h1*/
.h1title{color:#23968f;}


/*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: #f8773b;
    text-shadow: none;
    padding: 0 10px;
}


/*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 .row {
  margin-right: 0px;
  margin-left: 0px;
}

#footer {
    color:#fff;
}

#contact-info ul li span {
    color: #fff;
}

#copyright, #copyright a{color:#dcdcdc;}


/*文字滑過變色方塊*/
.serveimg {
   display: block;
   text-align: left;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background:  #23968f;
   overflow: hidden;
   position: relative;
   padding:10px 20px;
}
.serveimg:hover {
     display: block;
   text-align: left;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #2f4f4f;
   overflow: hidden;
   position: relative;
   padding:10px 20px;
}