/*body*/
.row [class^="col-"] {
  padding:10px;
}

/*body*/
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }

#wrap{
  background:url(https://static.iyp.tw/42947/files/6f2df2c3-575e-4d41-a0cc-2a1ca6641d8a.png)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
}



/*logo*/
#logo a{background:url("https://static.iyp.tw/42947/files/6f2eb2e3-198d-4494-add4-f518c77e4fe2.png") no-repeat scroll 0 0 transparent;display:block;text-indent:-9999px;width:300px;height:99px;}

@media(max-width:428px){
 #logo a{
   margin-left: 5%;
 }
}

#logo h1 {
 height:100px;
}


/*top*/
@media only screen and (min-width: 768px){
  .topnavbar {
    background-color: transparent;
 }  
}  

.topnavbar{
  padding: 0;
}  

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/
  padding-top:0px;
}


.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}


/*nav*/
#nav{
  background:#3399cc;
  border-radius:25px;
}

#nav ul li a {
    white-space: nowrap;
    color: #fff;
    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: #fff;
}


#nav ul li.current a  {
    color: #fff;  
}

#nav ul li.current a:hover  {
    color: #fff;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: #6fbcdf;
} 


#nav ul .subnav li a {
    background-color: #6fbcdf;
    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;
  }



/*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*/
.ab.row{
  background: #3399cc;
  border-radius: 0 0 99em 99em;
  min-height:270px;
  padding:25px;
  width:50%;
  margin:0 auto;
  margin-top: -25px;
}

@media(max-width:767px){
.ab.row{
  background: #3399cc;
  border-radius: 0 0 99em 99em;
  min-height:270px;
  padding:15px;
  width:80%;
  margin:0 auto;
  margin-top: -25px;
 }
}  


@media(max-width:428px){
  .ab.row{
     width:100%;
     padding: 0px 25px 25px 25px;
  }  
}




@media(max-width:767px){
.mobile-br:before { 
    content: ' '; 
    display: block;
 }
}


/*Index_2*/
table {
  background-color: transparent;
  border-collapse: collapse;
  font-family: 'Open Sans', -apple-system, 'Helvetica Neue', Helvetica,Arial, 'Lantinghei TC', 'Microsoft JhengHei', sans-serif';
  width:100%;
}
.dcf-table tbody, .dcf-table thead {
  font-size: .84em
}
.dcf-table tfoot {
  font-size: .75em
}
.dcf-table tbody {
  border-bottom: 1px solid #e3e3e2;
  border-top: 1px solid #e3e3e2
}
.dcf-table td, .dcf-table th {
  padding-right: 1.78em
}
.dcf-table-bordered, .dcf-table-bordered td, .dcf-table-bordered th {
  border: 1px solid #e3e3e2
}
.dcf-table-bordered td, .dcf-table-bordered th, .dcf-table-striped td, .dcf-table-striped th {
  padding-left: 1em;
  padding-right: 1em
}
.dcf-table-bordered tr:not(:last-child), .dcf-table-striped tr:not(:last-child) {
  border-bottom: 1px solid #e3e3e2
}
.dcf-table-striped tbody tr:nth-of-type(2n) {
  background-color: #f6f6f5
}
.dcf-table thead td, .dcf-table thead th {
  padding-bottom: .75em;
  vertical-align: bottom
}
.dcf-table tbody td, .dcf-table tbody th, .dcf-table tfoot td, .dcf-table tfoot th {
  padding-top: .75em;
  vertical-align: top
}
.dcf-table tbody td, .dcf-table tbody th {
  padding-bottom: .75em
}
.dcf-table-bordered thead th {
  padding-top: 1.33em
}
.dcf-wrapper-table-scroll {
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1em;
  position: relative;
  right: 50%;
  width: 100vw;
}
@media only screen and (max-width:42.09em) {
  .dcf-table-responsive thead {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    white-space: nowrap
  }
  .dcf-table-responsive tr {
    display: block
  }
  .dcf-table-responsive td {
    -webkit-column-gap: 3.16vw;
    -moz-column-gap: 3.16vw;
    column-gap: 3.16vw;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 2fr;
    grid-template-columns: 2fr;
    text-align: left!important
  }
  .dcf-table-responsive.dcf-table-bordered, .dcf-table-responsive.dcf-table-bordered thead th {
    border-width: 0;
     width: 100%;
  }
  .dcf-table-responsive.dcf-table-bordered tbody td {
    border-top-width: 0
  }
  .dcf-table-responsive:not(.dcf-table-bordered) tbody tr {
    padding-bottom: .75em
  }
  .dcf-table-responsive:not(.dcf-table-bordered) tbody td {
    padding-bottom: 0
  }
  .dcf-table-responsive:not(.dcf-table-bordered):not(.dcf-table-striped) tbody td {
    padding-right: 0
  }
  .dcf-table-responsive.dcf-table-bordered tbody tr:last-child td:last-child {
    border-bottom-width: 0
  }
  .dcf-table-responsive tbody td:before {
    content: attr(data-label);
    float: left;
    font-weight: 700;
    padding-right: 1.78em
  }
}

.dcf-table-bordered{margin:0 auto;}

.greyLine {
    position: relative;
    margin: 0 auto;
    height: 5rem;
    width: .0625rem;
    background: rgba(44,44,44,0.3);
    display: block;
    margin-bottom: 2rem;
}

.greyLine::after {
    content: '';
    display: block;
    position: absolute;
    height: .625rem;
    width: .625rem;
    border: .0625rem solid rgba(44,44,44,0.3);
    transform: rotate(45deg);
    bottom: -.8rem;
    left: -.3125rem;
}




/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:#efefef;
}

#bodyinhome .fcol.fcol-3 .container{
  width:100%;
  padding:40px 20px;
}


#service .list article {
  background:#fff;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.16);
  padding: 15px 15px 15px;
  text-align: left;
  height: 280px;
}

@media screen and (max-width: 767px) {
  #service .list article {
    height: 250px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 100%;
  display: flex;
  align-items: top;
}

@media screen and (max-width:1400px) {
 #service .list article .image_hover {
  height: 60%;
  display: flex;
  align-items: top;
 }
}


@media screen and (max-width:1280px) {
 #service .list article .image_hover {
  height: 75%;
  display: flex;
  align-items: top;
 }
}

@media screen and (max-width: 767px) {
 #service .list article .image_hover {
  height: 65%;
  display: flex;
  align-items: top;
 }
}

@media screen and (max-width: 428px) {
 #service .list article .image_hover {
  height: 100%;
  display: flex;
  align-items: top;
 }
}

#service p {
  font-size: 90%;
  padding: 20px 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: #ffb80e;
  padding: 5px 5px;
  float: right;
  margin-top: -45px;
}


/*Index_4*/
#bodyinhome .fcol.fcol-4 .container{
  padding:40px 16px;
}


/*Index_5*/
#bodyinhome .fcol.fcol-5{
  background:url(https://static.iyp.tw/42947/files/40796f22-8c13-4ea1-8d0f-1d34b4a50772.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
}


/*Index_6*/
#bodyinhome .fcol.fcol-6{
   display:none;
}



/*h1*/
.h1title{color:#2064b2;}


/*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: #2064b2;
    text-shadow: none;
    padding: 0 10px;
}



/*form*/
.mark {
    background: none;
   }


/*foter*/
#foot-nav{
  display:none;
}


