/*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;}
/*ma icon*/
.ma{position:fixed;right:0.5%;top:32%;z-index:1000;}

@media only screen and (max-width: 428px) {
  .tl {position:fixed;right:0.5%;top:20%;z-index:1000}
  .line{position:fixed;right:0.5%;top:28%;z-index:1000}
  .ma{position:fixed;right:0.5%;top:36%;z-index:1000;}
}

@media(max-width:428px){
  .tl, .line, .ma{
    transform:scale(0.8);  }
}

/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }

#wrap{
   background:url(https://static.iyp.tw/409025/files/8b49cffa-a824-47a8-a554-385d87f4fd5e.jpg)no-repeat;
   background-position:top center;
   background-size:cover;
}


/*logo*/

 #logo img {
   padding: 0 16px 16px;
 }


/*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 18px;
    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: rgba(75,75,75,0.55);
} 


#nav ul .subnav li a {
    background-color: rgba(75, 75, 75,0.85);
    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: 00px;
    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(700 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index_1*/
.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;
}

#bodyinhome .fcol.fcol-1 .container{
  padding:0px 100px 40px;
}

@media(max-width:900px){
#bodyinhome .fcol.fcol-1 .container {
  padding: 0px 40px 40px;
}
}

@media(max-width:480px){
  #bodyinhome .fcol.fcol-1 .container{
  padding:0px 20px 40px;
 }
}


.abb.row{
  width:70%;
  margin:0 auto;
}

@media(max-width:480px){
  .abb.row{
    width:100%; 
 }
}

.sr-bt {
  background: #04419c;
  padding: 8px 12px;
  border-radius: 10px;
  height: 80px;
  display: flex;
  align-items: center;
  color: #fff;
  border-bottom: 3px solid #ee8825;
}


@media(max-width:480px){
.sr-bt {
  width:190px;
 }
} 

@media (max-width: 428px) {
  .sr-bt {
    width: 140px;
    line-height: 1.2rem;
  }
}



@media(max-width:480px){
.ab.row .col-5 {
  display:flex;
 }
}  

@media(max-width:480px){
  .ab.row .col-5 {
  flex:0 0 50%;
  max-width: 0 0 50%;  
  }
}




/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/409025/files/d58463e6-189a-4d9f-90ff-d24bee0d2e63.png)no-repeat;
  background-position:top 15% center;
  background-size:cover;
  min-height:400px;
}


@media(max-width:1400px){
  #bodyinhome .fcol.fcol-2{
    min-height:300px;
 }
}

@media(max-width:1400px){
  #bodyinhome .fcol.fcol-2{
    min-height:200px;
 }
}

@media(max-width:428px){
  #bodyinhome .fcol.fcol-2{
      background-position:top 15% right;
 }
}


#bodyinhome .fcol.fcol-2 .container{
  padding:40px 100px;
  max-width:100%;
  width:100%;
}

@media(max-width:767px){
#bodyinhome .fcol.fcol-2 .container {
  padding: 40px 20px 40px 40px;
 }
}

@media(max-width:428px){
#bodyinhome .fcol.fcol-2 .container {
  padding: 40px 20px 40px 20px;
 }
}

/*title*/
.aboutArea .titleBox {
  position: absolute;
  top: -28px;
  left: calc(55% + 30px);
  z-index: 1;
  color: #fff;
}

.titleBox .enTitle {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 62px;
    line-height: 1;
    color:#fff;
    margin-left:30%;
}

@media (max-width: 1180px) {
    .titleBox .enTitle {
        font-size: 44px;
    }
}

@media (max-width: 480px) {
    .titleBox .enTitle {
        font-size: 30px;
    }
}

.titleBox .enTitle span {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
    font-weight: bold;
}


.about .aboutBox {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .about .aboutBox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.about .aboutBox .articleBox {
  margin-bottom: 50px;
}

@media (max-width: 1180px) {
  .about .aboutBox .articleBox {
    margin-bottom: 20px;
  }
}

@media (max-width: 420px) {
  .about .aboutBox .articleBox {
    margin-bottom: 10px;
  }
}


.about .aboutBox .subTitle {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}


/*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%;*/
  background: #fff;
  padding: 5px;
  box-shadow: 0 5px 5px rgba(44,44,44,0.35);
}

.owl-carousel.owl-theme .owl-nav, .owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
  display: none;
}


@media(max-width:767px){
  .owl-carousel {
    display:none;
    width:120%;
    z-index:1
 }
}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:#424a92;
}

#bodyinhome .fcol.fcol-3 .container{
  max-width:100%;
  width:100%;
  padding:0px;
}


/*Index_4~6*/
#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}



/*h1*/
.h1title{color:#363f8e;}


/*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: #05799b;
    text-shadow: none;
    padding: 0 10px;
}


/*form*/
.mark {
    background: none;
   }


/*footer*/
#foot-nav{
  display:none;
}

#footer{
  background:#363f8e;
}


/*map*/
.responsive-16by9 {
    display: block;
    position: relative;
    height: 0;
    overflow: hidden;
    padding: 0;
    padding-bottom: 56.25%;
}
.responsive-16by9 iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}