/*子頁籤文字連結框框語法*/

.product-link .row .col-2 > a {
  border: 0px solid #ccc;
  width: 100%;
  display: inline-block;
  width: 100%;
  background-color: #eee;
  height: 50px;
  line-height: 50px;
  font-size: 130%;
  text-align: center;
}

/*tl icon*/

.tl {
  position: fixed;
  right: 0.5%;
  top: 8%;
  z-index: 1000;
}

/*ma icon*/

.ma {
  position: fixed;
  right: 0.9%;
  top: 16%;
  z-index: 1000;
}

@media only screen and (max-width: 414px) {
  .tl {
    position: fixed;
    right: 0.5%;
    top: 20%;
    z-index: 1000;
  }

  .ma {
    position: fixed;
    right: 0.5%;
    top: 30%;
    z-index: 1000;
  }
}

@media (max-width:414px) {
  .tl,
  .ma {
    transform: scale(0.7);
  }
}

.row [class^="col-"] {
  padding: 10px;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) {
  margin-bottom: 0px;
}

/*產品格內灰框*/
  
  .intro {
    -webkit-animation-delay: 1.5s;
  }
  
  .intro a {
    overflow: hidden;
    position: relative;
    padding: 5px 10px;
    border: 0px #aaa solid;
    display: inline-block;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    background: #c3002f;
  }
#service .list article {
    background: #fff;
    width: 90%;
    margin: 0%;
    box-shadow: 0px 5px 15px
      rgba(0,0,0,0.16);
    padding: 10px 10px 5px;
    text-align: left;
    height: 100%;
    border-radius: 10px;
  }
  




a {
    color: #CDB099;
    text-decoration: none;
}
body {
    background-color: #fff;
    color: #000;
    font-size: 16px;
    margin: 0;
}
.swiper-container {
    height: auto !important;
}
.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}
.swiper-slide {
  width: 100% !important;
}





/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar {
    background-color: #fff;
  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: #333;
    line-height: 1.3;
      font-weight: bold;
    padding: 10px 20px;
    font-size: 100%;
    border-right: 1px #888 dotted;
}


#nav ul li a:hover{
      background-color: #003456;
      color: #fff;
}

#nav ul li.current a {
    background-color: #e98b20;
    color: #fff;
    font-weight: 600;
}




.h1title {
    color: #203264;
    font-size: 1.5rem;
    font-weight: bold;
  border-bottom:1px #203264 solid;
}



/*圖片*/
.row [class^="col-"] img{
  opacity:3;
    transition:0.7s
}
.row [class^="col-"] {
  padding:10px;
}
.picc {
  overflow:hidden;
}
.picc img:hover {
  transform:scale(1.2);
}



.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;
}



body[data-type="fullpage"] .main {
    min-height: 0px;
}


#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);
}
#side ul li.current > div a {
    color: #346f95;
}




#footer {
    color: #fff;
    background-color: #e98b20;
}
#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fff;
}
.contact-row {
    padding: 0em 0 1em;
    line-height: 1.6;
}
#contact-info ul li span {
    color: #fff;
}
#footer a {
    color: #fff;
}
.contact-row h5 {
    color: #fff;
    padding: .5em 0 1em;
    width: 100%;
}
#foot-nav ul li a {
    color: #fff;
    font-size: 1em;
}




/*index box-1*/
.intro {
	-webkit-animation-delay: 1.5s;
}
.intro a {
	overflow: hidden;
	position: relative;
	padding: 10px 40px;
	border: 0px #aaa solid;
	display: inline-block;
	font-size: 15px;
	color: #fff;
  font-weight:bold;
  	background: #e1ab00;
}
.intro a:hover {
	color: #fff;
	background: #000;
	transition: all 0.4s;
}
.intro a:after {
	position: absolute;
	width: 100%;
	height: 100%;
	content: "";
	top: 0;
	left: -100%;
	display: block;
	background: #000;
	transition: all 0.4s;
	z-index: -1;
}



/*文字變色方塊*/
.serveimg {
   display: block;
   text-align: center;
   width: 100%;
   min-height:200px
   padding-bottom: 100%;
   background:  #006696;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
   border-radius: 35px; width: 100%;
}

.serveimg:hover {
   display: block;
   text-align: center;
   width: 100%;
   min-height:200px
   padding-bottom: 100%;
   background: #e98b20;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
   border-radius: 35px; width: 100%;
}

/*輪播*/
.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-theme .owl-dots {
    display: none;
}/*隱藏點點*/



/*產品格文字顏色*/
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;
}

/*table*/
th {
    border-bottom: 1px solid #d6d6d6;
}

tr:nth-child(even) {
    background: #e9e9e9;
}

table.w3-table-all {
    margin: 20px 0;
}

.w3-table-all {
    border: 1px solid #ccc;
}

.w3-table-all {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    display: table;
}

.w3-white {
    color: #000 !important;
}

.w3-table-all td:first-child {
    padding-left: 16px;
}

.w3-table-all td{
    padding: 8px 8px;
    display: table-cell;
    text-align: left;
    vertical-align: top;
}


.w3-table-all td a{
    color:#222;
}

.w3-table-all {
    border-collapse: collapse;
    border-spacing: 0;
}

/*首頁底圖*/
#wrap{background:url(https://static.iyp.tw/42363/files/9d781637-7a2e-442e-9c2b-5b8c76353b02.jpg)no-repeat;
background-position:top center;background-size:cover;background-attachment:fixed;}


.fcol .container {
    padding: 16px;
    background: 
    rgba(255,255,255,0.9);
}


/*最下層空白處去掉*/
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }

}


/*index_3-6*/
#bodyinhome .fcol.fcol-3{display:none;}
#bodyinhome .fcol.fcol-4{display:none;}
#bodyinhome .fcol.fcol-5{display:none;}
#bodyinhome .fcol.fcol-6{display:none;}

}
