/*gotop*/
#gotop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 5px 15px;
  font-size: 17px;
  border-radius: 10px;
  width: 60px;
  height: 60px;
  background-color: #3ab7d2;
  color: white;
  text-align: center;
  cursor: pointer;
}


/*icon*/

.tl {position: fixed;right: 0.5%; top:30%;z-index: 1000;;width:60px;height:60px;}

.ema {position: fixed;right: 0.5%; top:40%;z-index: 1000;;width:60px;height:60px;}

.map {position: fixed; right: 0.5%; top:50%; z-index: 1000;;width:60px;height:60px;}



/*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;
 }

@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;*/
  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: 100%;
    border-right: 0px #888 dotted;
    transition:all 0.5s;
}


#nav ul li a:hover{
    color: #222;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #3ea1fd;padding-top:5px;}


#nav ul li.current a  {
    color: #0245ae;  
}

#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color:#3e3ffd;
} 


#nav ul .subnav li a {
    background-color: #fff;
    color: #222;
    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: #222;
    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%); /*  ` N Ϥ    ׻P e ׭n h      */
}

.swiper-slide {
  width: 100% !important;
}



/*Index_1*/
#bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/409657/files/91a8e2a6-6679-4a63-b76b-50c940783c23.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
}

@media(max-width:480px){
.ab.row .col-2{
  flex:0 0 100%;
  max-width:100%;
 }
}

/*
#bodyinhome .fcol.fcol-1 .container{
  display: flex;
  align-items: center;
  min-height: 400px;
}
*/

@media(max-width:480px){
.mobile-br:before { 
    content: ' '; 
    display: block;
 }
}


.idea.row .col-3{
   border-right:1px dashed #fff;
 }

.idea.row .col-3:last-child{
  border-right:none;
}

@media(max-width:480px){
  .idea.row .col-3{
    border-right:0px dashed #fff;
    border-bottom:1px dashed #fff;
 }
}

@media(max-width:480px){
.idea.row .col-3:last-child{
  border-bottom:none;
 }
}


/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/409657/files/d461998c-3132-49c7-a64c-e005ff4c7ec3.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
}

#bodyinhome .fcol.fcol-2 .container{
  padding:60px 20px;
}


.sr.row .pic{
  border:1px solid #ccc;
  padding:15px;
}

.sr.row .pic a{
  display:block;
}

.sr.row .pic:hover{
  border:1px solid #0d62b2;
  padding:15px;
}


.sr.row .pic img{
  transition:all 0.5s;
}

.sr.row .pic img:hover{
  transform:scale(1.1);
}



/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/409657/files/08a373b1-9325-4d7f-8af8-9f506a467528.jpg)no-repeat;
  background-position:center center;
  background-size:cover;
  margin-top:25px;
  align-items: center; 
  align-content: center;
  display: flex;
  align-items: center;
   min-height:400px; 
}

#bodyinhome .fcol.fcol-3 .container{
  padding:60px 20px;
 
}

.impro{
  border:1px solid #fff;
  padding:10px;
  transition:all 0.5s;
  min-height:80px;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.impro:hover{
  background:rgba(33,174,200,0.75);
}

.impro a{
  display:block;
}


/*Index_4*/
#bodyinhome .fcol.fcol-4{
  background:url(https://static.iyp.tw/409657/files/5a0d6806-8df1-46c5-9418-04b321770c55.svg)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}

#bodyinhome .fcol.fcol-4 .container{
  padding:60px 20px;
}

.ct.row ul li{
  border-bottom:1px solid #998675;
}

.ct.row ul li:last-child{border-bottom:none;}

@media(max-width:480px){
  .ct.row .col-2{
    flex:0 0 100%;
    max-width:100%;
  }
}



/*Index_5~6*/
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}



/*h1*/
.h1title h1{
  color:#005eb5;
}


/*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: #005eb5;
    text-shadow: none;
    padding: 0 10px;
}


/*form*/
.mark {
    background: none;
   }



/*footer*/
@media(max-width:767px){
  #footer .col-md-3,
  #footer .col-md-9{
    flex: 0 0 50%;
    max-width:50%;
  }
}

@media(max-width:600px){
  #footer .col-md-3,
  #footer .col-md-9{
    flex: 0 0 100%;
    max-width:100%;
  }
}
