body{border-top:8px solid #2271c1;}

/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
    height: 100%;
    padding-top: 0px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 0;
}

.topnavbar {
  background-color: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
  padding-top;0px;
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
      font-weight: bold;
    padding: 5px 18px;
    font-size: 95%;
    border-right: 1px #888 dotted;
}

#nav ul li a:hover{
  background: #45a2dd;
  color: #fff;
}

#nav ul li.current a {
      background: #1580c3;
      color: #fff;
      font-weight: 600;
}

#nav ul .subnav li a{
  background-color: rgba(75, 75, 75,0.45);
  color:#fff;text-align:left;}

#nav .subnav {
    position: absolute;
    top: 100%;
    z-index: 998;
    background-color: rgba(75,75,75,0.55);
}

/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(450 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*h1*/
.h1title{color:#000;border-bottom:1px solid #000;}


/*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: #555;
    overflow: hidden;
    padding: 0 16px;
}

/*Footer*/
#footer{background:#2271c1;}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #ccc;
}

#foot-nav ul li a {
    color: #fff;
    font-size: 1.06em;
}

#contact-info ul li span {
    color: #fff;
}

#footer {
    color: #fff;
}