/*icon*/
/*tl icon*/
.tl{position:fixed;right:0.5%;top:16%;z-index:1000;}
/*LINE icon*/
.line{position:fixed;right:0.5%;top:24%;z-index:1000;}
/*fb icon*/
.fb{position:fixed;right:0.5%;top:32%;z-index:1000;}
/*yt icon*/
.yt{position:fixed;right:0.5%;top:40%;z-index:1000;}




/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }

#bodyinhome{
  background:#fff;
} 

/*logo*/

 #logo img {
   padding: 0 16px 16px;
 }

@media only screen and (max-width: 767px) {
  #logo a img {
    margin: 0 auto;
  }
}



/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/  
}

.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;
  box-shadow: 0 5px 5px rgba(44,44,44,0.35);
}


@media(max-width:600px){
   .topnavbar .container {
  text-align: center;
}
}


/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 15px;
    font-size: 95%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #1580c3;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #1580c3;padding-top:5px;}


#nav ul li.current a  {
    color: #1580c3;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: #4ea4e2;
} 


#nav ul .subnav li a {
    background-color: #fff;
    color: #333;
    text-align: left;
    width: 200px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
    padding: 8px 5px;
    border-top:0px;
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
    padding: 8px 5px;
    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: #fff;
}
  



/*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 .container{
  padding:40px 20px;
}

@media(max-width:600px){
.ab.row .col-2{
    flex:0 0 100%;
    max-width:100%;
  }
}


/*Index_2*/
#bodyinhome .fcol.fcol-2 {
  background:url(https://static.iyp.tw/409694/files/f83019f3-680e-4f94-a0a3-3a2d07ac349b.png)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
}

#bodyinhome .fcol.fcol-2 .container{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height:800px;
  padding:40px 20px;
}

.sr_bt{
  padding:8px;
  border:1px solid #fff;
  border-radius:25px;
  height:100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media(max-width:767px){
  .sr_title.row .col-md-6{
    flex:0 0 100%;
    max-width:100%;
  }  
}
  



/*Index_3*/
#bodyinhome .fcol.fcol-3 .container{
  padding:40px 20px;
}

.service_img {
  position: relative;
  transform: skewX(-5deg);
}

.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: right;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background: rgba(0, 0, 0, 0);
  text-shadow: black 0.1em 0.1em 0.2em;
}

.service_text:hover {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: right;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background-color: rgba(0,0,0,0.55);
  transition: 0.5s;
}

.service_text div {
  font-size: 22px;
  line-height: 25px;
  position: relative;
  top: 45%;
  font-weight:bold;
  border-bottom: 1px solid #fff;
  width: 80%;
  margin: 0 right;
}


@media (max-width:1400px) {
  .service_text div {
    font-size: 20px;
    line-height: 30px;
    position: relative;
    top: 40%;
    width:80%;
  }
}

@media (max-width: 900px) {
  .service_text div {
    font-size: 20px;
    line-height: 30px;
    position: relative;
    top: 40%;
    width:80%;
  }
}

@media (max-width: 767px) {
  .service_text div {
    font-size: 26px;
    line-height: 30px;
    position: relative;
    top: 40%;
    width:80%;
  }
}

@media (max-width: 480px) {
  .service_text div {
    font-size: 20px;
    line-height: 30px;
    position: relative;
    top: 40%;
    width:100%;
  }
}


.ca.row .col-4:nth-child(even) {
  margin-top:-8%;
}

  
  
  
/*Index_5*/
#bodyinhome .fcol.fcol-5{
  background:#efefef;
}

#bodyinhome .fcol.fcol-5 .container{
  padding:40px 20px;
}


.contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: #3a86c7;
}

.contact-info {
  margin-bottom: 20px;
  text-align: center;
}


.contact-info .col-3{
  border-right:1px solid #ccc;
  margin-bottom: 15px;
}

.contact-info .col-3:last-child{
  border-right:none;
}

@media(max-width:480px){
  .contact-info .col-3{
  border-right:0px solid #ccc;
  border-bottom:0px solid #ccc;
  flex:0 0 100%;
  max-width:100%;  
 }
}




/*Index_6*/
#bodyinhome .fcol.fcol-6 .container{
  max-width:100%;
  width:100%;
  padding:0px;
}

#bodyinhome .fcol.fcol-6 .container > * {
  padding-left: 0px;
  padding-right: 0px;
}



/*h1*/
.h1title{color:#1580c3;}


/*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: #1580c3;
    text-shadow: none;
    padding: 0 10px;
}


/*form*/
.mark {
    background: none;
   }
