/*tl icon*/

.tl {
  position: fixed;
  right: 0%;
  top: 11%;
  z-index: 1000;
}

/*line icon*/

.line {
  position: fixed;
  right: 0%;
  top: 21%;
  z-index: 1000;
}

a {
  color: #085bb0;
  text-decoration: none;
}

body {
  background-color: #fff;
  color: #000;
  font-size: 16px;
  margin: 0;
  background-image: url(https://static.iyp.tw/40759/files/d4813b21-05c3-4011-9d77-057c1da272b9.jpg);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-type="fullpage"] #main-wrap .container {
  background: rgba(255,255,255,0.85);
}

/*回首頁*/

.navbar-nav > li > a {
  color: #fff;
}

.topnavbar {
  background-color: #085bb0;
  top: 0px;
  position: relative;
  z-index: 100;
  width: 100%;
  padding: 0;
}

.topnavbar .container {
  padding-top: 0px;
  padding-bottom: 0px;
}

#nav ul li a {
  white-space: nowrap;
  color: #fff;
  line-height: 1.3;
  font-weight: normal;
  padding: 10px 25px;
  font-size: 100%;
  border-right: 1px #aaa solid;
  transition: all 0.5s;
}

#nav ul li a:hover {
  background: #f6e205;
  color: #000;
}

#nav ul li.current a {
  background: #f6e205;
  color: #000;
}

/*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*/
#service .list article {
  background: #d2d2d2;
  width: 90%;
  margin: 0%;
  padding: 15px 15px 5px;
  text-align: left;
  height: 320px;
}

@media screen and (max-width: 768px) {
  #service .list article {
    height: auto;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 40%;
  background: #eee;
  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);
}

.rk_sr .fas {
  font-weight: 900;
  background: #f58106;
  padding: 30px 20px 5px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

/*fcol_5*/

.service_img {
  position: relative;
}

.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background: rgba(0, 0, 0, 0);
  text-shadow: black 0.1em 0.1em 0.2em;
}

.service_text:hover {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background-color: rgba(0,0,0,0.55);
  transition: 0.5s;
}

.service_text div {
  font-size: 24px;
  line-height: 0;
  position: relative;
  top: 50%;
  font-weight: bold;
}

@media (max-width: 768px) {
  .service_text div {
    font-size: 25px;
    line-height: 0;
    position: relative;
    top: 50%;
  }
}

/*h1*/

.h1title {
  color: #085bb0;
  border-bottom: 1px solid #085bb0;
}

/*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;
}

.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;
  background: #085bb0;
}

#contact-info ul li span {
  color: #fff;
}

#copyright,
#copyright a {
  color: #dcdcdc;
}