.topnavbar .container {
  text-align: center;
}

.topnavbar {
  background-color: #0b3e64;
  top: 0px;
  position: relative;
  z-index: 100;
  width: 100%;
  padding: 0;
}

.topnavbar .container {
  padding-top: 0px;
  padding-bottom: 0px;
}

.swiper-container {
  height: auto !important;
}

.swiper-wrapper,
.swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%);
  /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

.fcol .container {
  color: #222;
  font-size: 15px;
}

p {
  line-height: 2;
}

.h1title {
  display: none;
}

body.index .fcol.fcol-1 {
  margin-top: -50px;
}

body.index .fcol.fcol-2 .container {
  width: 100%;
}

body.index .fcol-3 {
  background: url(https://static.iyp.tw/41051/files/e653ffc7-a74b-4a40-8c26-127bfb34359f.png)no-repeat bottom;
  background-attachment: fixed;
  background-size: cover;
}

body.index .fcol.fcol-4 {
  display: none;
}

body.index .fcol.fcol-5 {
  display: none;
}

body.index .fcol.fcol-6 {
  display: none;
}

body.index #footer {
  margin-top: -40px;
}

body.about-us .fcol.fcol-1 {
  margin-top: -80px;
}

body.about-us .fcol.fcol-2 .container {
  width: 100%;
}

body.about-us .fcol-3 {
  background: url(https://static.iyp.tw/41051/files/e653ffc7-a74b-4a40-8c26-127bfb34359f.png)no-repeat bottom;
  background-attachment: fixed;
  background-size: cover;
}

body.about-us .fcol.fcol-4 {
  display: none;
}

body.about-us .fcol.fcol-5 {
  display: none;
}

body.about-us .fcol.fcol-6 {
  display: none;
}

body.about-us #footer {
  margin-top: -40px;
}

body.product .fcol-3 {
  background: url(https://static.iyp.tw/41051/files/e653ffc7-a74b-4a40-8c26-127bfb34359f.png)no-repeat bottom;
  background-attachment: fixed;
  background-size: cover;
}

body.product #footer {
  margin-top: -40px;
}

body.our-vision .fcol.fcol-1 {
  margin-top: -80px;
}

body.our-vision .fcol.fcol- .container {
  width: 100%;
}

body.our-vision .fcol.fcol-4 {
  display: none;
}

body.our-vision .fcol.fcol-5 {
  display: none;
}

body.our-vision .fcol.fcol-6 {
  display: none;
}

body.our-vision #footer {
  margin-top: -40px;
}

body.news .fcol.fcol-1 {
  margin-top: -80px;
}

body.contact-us .fcol.fcol-1 {
  margin-top: -80px;
}

#side ul li.current>div a {
  color: #0472c3;
}

#nav .subnav {
  background-color: RGBA(11,62,100,0.9);
  /* 填入想要的顏色 */
}

ul.product-list li a:hover {
  color: #fff;
  background-color: rgba(11, 62, 100,1);
}

ul.product-list li a {
  color: #000;
  background-color: rgba(11, 62, 100,0.3);
}

/*圖片連結特效*/

.box {
  position: relative;
  overflow: hidden;
}

.box {
  position: relative;
  width: 100%;
  height: auto;
  background: #ffffff;
  margin: -5px;
  display: inline-block;
  overflow: hidden;
}

.box img {
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: all 0.5s ease 0s;
}

.box:hover img {
  transform: scale(1.2);
  filter: grayscale(0.7) blur(2px);
}

.box .box-content {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  text-align: center;
  padding: 30px 0px;
  opacity: 0;
  transition: all 0.5s ease 0s;
}

.box:hover .box-content {
  opacity: 1;
}

.box .title {
  font-size: 24px;
  color: #fff;
  background-color: rgba(0,0,0,0.7);
  padding: 20px 0;
  text-transform: uppercase;
  transform: scale(0.5);
  transition: all 0.5s ease 0s;
}

.box .read-more {
  display: inline-block;
  border: 2px solid #FFF;
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  padding: 10px 30px;
  background-color: rgba(0,0,0,0.6);
  transform: scale(1);
  margin: 25px 0 0;
  z-index: 1;
  transition: all 1s ease 0s;
}

.box:hover .title,
.box:hover .read-more {
  transform: scale(1);
}

.box .read-more:hover {
  box-shadow: 0 0 15px #fff;
}

@media only screen and (max-width: 990px) {
  .box {
    margin-bottom: 30px;
  }
}

#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: 300px;
  }
}

#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: #297aa3;
  padding: 5px 10px;
  float: right;
}

/*詳細資訊*/

#tb td a {
  display: block;
  height: 35px;
  line-height: 35px;
  background: #FFF;
  color: #000;
}

#tb td a:hover {
  background: rgba(255,255,255,0.5);
}

#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: 300px;
  }
}

#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: 300px;
  }
}

#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: #297aa3;
  padding: 5px 10px;
  float: right;
}