/*tl icon*/
.tl{position:fixed;right:0.5%;top:8%;z-index:1000;}
/*mail icon*/
.ma{position:fixed;right:0.5%;top:16%;z-index:1000;}


@media only screen and (max-width: 414px) {
  .tl{position:fixed;right:0.5%;top:20%;z-index:1000}
   .ma{position:fixed;right:0.5%;top:30%;z-index:1000;}
}

@media(max-width:414px){
  .tl, .ma{
    transform:scale(0.7);  }
}



/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


#bodyinpage #wrap{
  background:url(https://static.iyp.tw/42464/files/62e5289d-74cd-49eb-92cd-fb15efacaf96.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
}


/*logo*/
#logo {
   margin-top: -10px;
}

/*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: #efefef;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 90px;
}



/*nav*/
#nav {
    padding-top: 20px;
}

#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    transition:all 0.5s  all ease;
    border-bottom:1px solid transparent;  
    text-align:center;
}

#nav ul li a:hover{
    color: #151b36;
}

#nav ul li a::before {
  content:"";
  border-bottom:1px solid #b61307;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:5px;
  margin:0 auto;
  transition:.3s all ease
}

#nav ul li a:hover::before {
 width:50%;
}

#nav ul li.current a::before  {
  content:"";
  border-bottom:1px solid #b61307;
  width:50%;
  position:absolute;
  top:5px;
  margin:0 auto;
}

#nav ul li.current a  {
    color: #151b36;  
}

#nav ul li a span{display:block;}


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}



/*about_1*/
@media(max-width:767px){
.mobile-br:before { 
    content: ' '; 
    display: block;
 }
}


/*about_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
  padding:40px 0;
}

#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: 300px;
}

@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: #0864a4;
  padding: 5px 5px;
  float: right;
}


span.cat-name2 {
  border:1px solid #0864a4;
  color:#0864a4;
  padding: 8px 15px;
  float: center;
  border-radius:25px;
  transition:all 0.3s;
}

span.cat-name2:hover {
  border:1px solid transparent;
  background:#0864a4;
  color:#fff;
  border-radius:25px;
}


/*about_3*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3{
  background:url(https://static.iyp.tw/42464/files/1b5f919e-eb2b-4c80-b903-2166a73dfa86.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
  padding:60px 0;
  min-height:450px;
}



/*about_4*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4{
  background:rgba(255,255,255,0.45);
  padding:40px 0;
}

span.cat-name3 {
  border:1px solid #fff;
  color:#fff;
  padding: 8px 15px;
  float: center;
  border-radius:25px;
  transition:all 0.3s;
}

span.cat-name3:hover {
  border:1px solid transparent;
  background:#0864a4;
  color:#fff;
  border-radius:25px;
}




/*about_4*/
/*owl*/
.owl-carousel.owl-theme {
  padding: 0 1rem 2rem;
}
.owl-carousel.owl-theme .owl-nav {
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav,
.owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  border: 1px solid #999;
  box-shadow: 0 5px 5px rgba(44,44,44,0.1);
}




#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-6{
  display:none;
}


/*h1*/
.h1title{color:#151b36;border-bottom:1px dashed #151b36;}


/*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: #151b36;
    text-shadow: none;
    padding: 0 10px;
}


body[data-type="fullpage"] .main {
    min-height: 0px;
}


/*new*/
.news .fcol .news-list li a h3{
   color:#333;
}


/*form*/
.mark {
    background: none;
}




