/*icon*/
.LINE{position:fixed;right:0.5%;top:16%;z-index:1000;}

@media(max-width:414px){
  .LINE{
    transform:scale(0.7);  }
}



.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*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;
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 12px;
    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 .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
}

#nav ul li.current a  {
    color: #26146a;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: rgba(4, 151, 231, 0.55);
} 


#nav ul .subnav li a {
    background-color: rgba(4, 151, 231,0.85);
    color: #fff;
    text-align: left;
    width: 200px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
}


#nav li.has-subnav ul li a {
    color: #fff;
    width:200px;
    white-space: pre-line;  
}


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(735 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index_1*/
#bodyinhome .fcol.fcol-1{background:#0497e8;}


/*Index_2*/
#bodyinhome .fcol.fcol-2{background:#efefef;box-shadow: 4px 4px 4px -1px rgba(0,0,0,0.4);}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/41746/files/a9c5b86f-b55c-4d76-85fd-6d161ff30376.jpg);
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
}

#bodyinhome .fcol.fcol-3 img{box-shadow: 0 5px 5px rgba(44,44,44,0.1);}

@media only screen and (max-width: 428px) {
 #bodyinhome .fcol.fcol-3 .col-5 {
  max-width:50%;
 }
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) {
  margin-bottom: 0px;
}


#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:250px;
}

@media screen and (max-width: 768px) {
  #service .list article {
    height: 250px;
  }
}

#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: #073a8f;
  padding: 5px 5px;
  float: right;
}

/*Indx_4*/
#bodyinhome .fcol.fcol-4{
  background:url(https://static.iyp.tw/41746/files/c9dc8c0e-1014-4893-a71a-45f90bdb5dac.jpg);
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
}


/*Indx_5*/
#bodyinhome .fcol.fcol-5{background:#00599d;}
 
span.cat-name2{padding:10px 15px;float: center;border:1px solid #fff;border-radius:25px;}

/*Indx_6*/
#bodyinhome .fcol.fcol-6{display:none;}



/*h1*/
.h1title{color:#073a8f;border-bottom:1px dashed #073a8f;}


/*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: #59aacb;
    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 {
    color:#fff;
}

#contact-info ul li span {
    color: #fff;
}

#copyright, #copyright a{color:#dcdcdc;}

/*子頁籤文字連結框框語法*/
.product-link .row .col-2 > a{
  border:0px solid #ccc;
  width:100%;
  display:inline-block;
  width:100%; 
  background-color: #270F87;
  height:50px;
  line-height: 50px;
   font-size:130%;
  text-align: center;
}
.product-link .row .col-2 > a:hover {
 color:#39c;
 background:#A50000;
}
