/*tl icon*/
.tl{position:fixed;right:0.5%;top:8%;z-index:1000;}
/*mail icon*/
.em{position:fixed;right:0.5%;top:16%;z-index:1000;}


@media only screen and (max-width: 428px) {
  .tl{position:fixed;right:0.5%;top:20%;z-index:1000}
  .em{position:fixed;right:0.5%;top:26%;z-index:1000;}
}

@media(max-width:428px){
  .tl, .em{
    transform:scale(0.8); }
}


/*body*/

a {
    color: #0a79bf;
    text-decoration: none;
}
a:hover {
    color: #3fcbea;
}

.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


body{background:#fff;}

/*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: #003672;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
  border-bottom:2px solid #ccc;
}



/*nav*/
#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: #1580c3;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #c3def0;padding-top:5px;}


#nav ul li.current a  {
    color: #c3def0;  
}



/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}



/*about_1*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1{
  background:url(https://static.iyp.tw/42931/files/073a029c-0975-4445-8bce-4aa29d1d2bab.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:500px;
}


blockquote {
  padding: 10px 0px 0 15px;
  margin: 0 0 20px;
  border-left: 5px solid #eee;
}


/*about_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
  background:url(https://static.iyp.tw/42931/files/f47e9ba5-8ce0-429f-9f56-490e5a5bf56e.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
   padding:80px 0;
}


/*about_3~6*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-6{
    display:none;
}


/*about*/
/*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: 2px solid #fff;
}

/*h1*/
.h1title{color:#1959a8;}


/*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;
    text-overflow: ellipsis;
}

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*/
#footer{border-top:4px solid #37c3e3;}

#foot-nav{display:none;}

.contact-row {
  padding: 2em 0 0em;
  line-height: 1.6;
}