/*整體*/
body {
    color: #fff;
    font-size: 16px;
    margin: 0;
}

a {
    color: #254a91;
    text-decoration: none;
}
a:hover {
    color: #d00f24;
}

/*Banner*/
body {
    background-color: #fff;
    color: #000;
    font-size: 16px;
    margin: 0;
    border-top: 5px #9bb7d4 solid;
}
.swiper-container {
  height: auto !important;
}
.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(600 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}
.swiper-slide {
  width: 100% !important;
}
/*#banner {
  border-top: 4px #c8c3c0 solid;
  border-bottom: 20px #254a91 solid;
}*/



/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar {
   background-color: #477eb7;
   top:0px;
   position:relative;
   z-index:100;
   width:100%;
}

/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
     /* font-weight: bold;*/
    padding:5px 8px;
    font-size:100%;
}
#nav ul li a:hover{
      background: transparent;
      color: #ffff00;
}
#nav ul li.current a {
      background: transparent;
      color: #ffff00;
      font-weight: 600;
}
#nav ul li .subnav {
 background-color: #fff;
}
#nav ul li .subnav a {
 background-color: #fff;
      color: #fff;
}
#nav ul li .subnav a:hover {
 background-color: #262362;
}

/*色塊*/
.serveimg {
    display: block;
    text-align: center;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    background: #d1dce9;
    overflow: hidden;
    position: relative;
    border-radius:5px;
}

/*h1*/
.h1title {
    color: #0868a8;
    font-size: 2rem;
    font-weight: normal;
    border-bottom:0px #2b7adf dotted;
}



.block {
    display: block;
    text-align: left;
    width: 100%;
    height:auto;
    padding-bottom:auto;
    padding-top: 5%;
    padding-left: 5%;
    padding-right: 5%;
    background: #f2f2f2;
   overflow: hidden;
   position: relative;
}



/*圖片*/
.menu [class^="col-"] img:hover {
    border-radius: 8px;
}
.menu [class^="col-"] img {
  transition:0.7s;
  border-radius: 50%;
  border: 1px #dddddd solid;
  padding:6px;
}
.row [class^="col-"] img{
  opacity:3;
    transition:0.7s
}
.row [class^="col-"] img:hover {
    opacity:0.55;
}
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"] .main {
    min-height: 0px;
}


/*產品格*/
ul.product-list li .desc {
    display: block;
    min-height: 1.2rem;
    max-height: 2.4rem;
    margin-bottom: auto;
    font-size: .8rem;
    line-height: 1.5;
    word-break: break-word;
    color: #666;
    overflow: hidden;
    padding: 0 16px;
    display: none;
}

/*隱藏詳細介紹*/
ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #000;
}
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: #444;
    overflow: hidden;
    padding: 0 16px;
}

/*改產品格名稱顏色*/


/*side*/
#side ul li a {
    color: #000;
    display: block;
    padding: 10px 20px;
    transition: .3s;
}
.product-list-div h2 a {
    color: #000;
    text-decoration: none;
    display: inline-block;

}
.product-list-div h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
    text-shadow: 0 0px 0 #fff;
}
body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #000;
    transition-property: left, color;
}
ul.product-list li .money-icon {
    color: #000;
    font-size: 95%;
    margin-right: 8px;
    margin-left: 16px;
    text-shadow: 0 0px 0 rgba(255,255,255,0.7);
}



/*footer*/
#footer {
    color: #fff;
    background-color: #009fe8;
    background-image:linear-gradient(#6d7f9b, #477eb7);
}
#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #444;
    display: none;
}
.contact-row {
    padding: 0em 0 1em;
    line-height: 1.6;
}
#contact-info ul li span {
    color: #fff;
}
#footer a {
    color: #fff;
}


/*index box-2*/
.intro2 {
	-webkit-animation-delay: 1.5s;
}
.intro2 a {
	overflow: hidden;
	position: relative;
	padding: 10px 40px;
	border: 1px #f2f2f2 solid;
	display: inline-block;
	font-size: 16px;
	color: #333;
  	background: #f2f2f2;
    border-radius:5px;
}
.intro2 a:hover {
	color: #fff;
    border: 1px #46698e solid;
	background: #46698e;
	transition: all 0.4s ease;
    border-radius:5px;
}
.intro2 a:hover:after {
	left: 0;
}


