.block {
    display: block;
    text-align: left;
    width: 100%;
    height:auto;
    padding-bottom:auto;
    padding-top: 5%;
    padding-left: 5%;
    padding-right: 5%;
    background: #cccccc;
   overflow: hidden;
   position: relative;
    transition:all 0.5s;
}
.block:hover {
    transform:scale(1.2);
}
.serveimg {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #11b3ff;
   overflow: hidden;
   position: relative;
   border-radius:5px;
   padding:20px 15px;
}
.serveimg:hover {
     display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #ff8c11;
   overflow: hidden;
   position: relative;
   border-radius:5px;
   padding:20px 15px;
}
.serveimg2 {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #ccc;
   overflow: hidden;
   position: relative;
   border-radius:5px;
   padding:20px 15px;
}
.serveimg2:hover {
     display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #bf2821;
   overflow: hidden;
   position: relative;
   border-radius:5px;
   padding:20px 15px;
      color: #fff;  
}




.serveimg3 {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #ccc;
   overflow: hidden;
   position: relative;
   border-radius:5px;
   padding:15px 15px;
}




/*Google 翻譯*/
#google_translate_element {
    border-radius: 3px;
    display: block;
    right: 0px;
    padding: 2px;
    position: fixed;
    top: 50px;
    z-index: 999;
}
@media(max-width:414px){
  
#google_translate_element {
    border-radius: 3px;
    display: block;
    right: 1%;
    padding: 1px;
    position: fixed;
    top: 0px;
    z-index: 400;
    width: 1px;
}

}


@media only screen and (max-width: 767px) {
/* 螢幕尺寸小於 767px, iPhone6 plus、Samsung Note 等⼤大螢幕的⼿手機 css 寫這*/
    #google_translate_element {
    display: none;
 }
}


/*gotop*/
#gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;    
    padding: 10px 15px;    
    font-size: 20px;
    background: #f99901;
    color: white;
    cursor: pointer;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }

#bodyinpage #wrap{
  background:url(https://static.iyp.tw/41469/files/42b4139e-234f-4786-8df8-4aa6fc2da38b.png);
  background-position:top center;
  background-attachment:fixed;
  background-size:cover;
}

.row [class^="col-"] {
  padding:10px;
}



/*top*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
    height: 100%;
    padding-top: 0px;
    padding-bottom: 10px;
    /*text-align: center;*/    
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
  background-color: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 8px 15px;
    font-size: 93%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #1580c3;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #1580c3;padding-top:5px;}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
}


#nav ul li.current a  {
    color: #1580c3;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: rgba(75,75,75,0.55);
} 


#nav ul .subnav li a {
    background-color: rgba(75, 75, 75,0.85);
    color: #fff;
    text-align: left;
    width: 200px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 2300px;
}


#nav li.has-subnav ul li a {
    color: #fff;
    width:200px;
    white-space: pre-line;  
}



/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index*/
.ser-top span.ser-line {
    background: #1684c4;
    width: 25px;
    height: 5px;
    display: block;
    margin: 1em auto 1em;
}


.ser-top p {
	font-size: medium;
	font-weight: 400;
	color: #fff;
	line-height: 1.6em;
	width: 80%;
	margin: 0em auto 0em;
	text-align: center;
}


/*Index_1*/
#bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/41469/files/2cf1c6e2-403d-4bef-84e7-69c800e65dae.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
}


#bodyinhome .fcol.fcol-1 .container  {
  padding:0 100px;
}

@media(max-width:768px){
#bodyinhome .fcol.fcol-1 .container {
  padding:0 25px;
 }
} 

@media(max-width:414px){
#bodyinhome .fcol.fcol-1 .container{
  padding:0 16px;
 }
} 

#bodyinhome .fcol.fcol-1 .container p span {line-height:1.8em;}


/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:#0f52a4;
 }

/*圖*/
#bodyinhome .rk_imgblock1{ 
  text-align:center;
}
#bodyinhome .rk_imgblock1 figure{
	width: 100%;
	position:relative; overflow:hidden;
	display:inline-block;margin:5px;
	transition:all .5s;
}
#bodyinhome .rk_imgblock1 figure img {
  width: 100%; height: 100%; 
  transition:all .5s;
  display:block;
}
#bodyinhome .rk_imgblock1 figcaption{
	width: 100%; height: 100%; 
  box-sizing:border-box;
	background: rgba(0,0,0,0.55);
	color:#FFFFFF; font-weight:bold;
	font-size:20px; line-height: 40px;
	text-shadow:1px 1px 3px #000,-1px -1px 3px #000;
	box-shadow:inset 0 0 50px rgba(0,0,0,0.46),inset 0 0 100px rgba(0,0,0,0.75);
	position:absolute; top:0; left:0;
	transition:all .5s;
    }
#bodyinhome .rk_imgblock1 figcaption a{
  display: block;color:#fff;
  width:100%;height:100%;
  padding-top:110px;
}
#bodyinhome .rk_imgblock1 figcaption span{ 
  font-size:16px;  line-height: 20px;
  display: block;color:#fff
}
#bodyinhome .rk_imgblock1 figure:nth-child(1) figcaption	{ opacity:0;}		
#bodyinhome .rk_imgblock1 figure:nth-child(1) figcaption:hover { opacity:1;}
#bodyinhome .rk_imgblock1 figure:nth-child(2) figcaption	{ opacity:0;}		
#bodyinhome .rk_imgblock1 figure:nth-child(2) figcaption:hover { opacity:1;}
#bodyinhome .rk_imgblock1 figure:nth-child(3) figcaption	{ opacity:0;}		
#bodyinhome .rk_imgblock1 figure:nth-child(3) figcaption:hover { opacity:1;}


/*Index_3*/
#bodyinhome .fcol.fcol-3{background:#F89800;}

/*Index_4*/
#bodyinhome .fcol.fcol-4{background:#fff;}

.rk_proxy.row .col-5 img{border:1px solid #ccc;border-radius:10px;padding:5px;} 


/*Index_5~6*/

#bodyinhome .fcol.fcol-5{display:none;}
#bodyinhome .fcol.fcol-6{display:none;}


  
/*more*/


.intro {
	-webkit-animation-delay: 1.5s;
}
.intro a {
	overflow: hidden;
	position: relative;
	padding: 5px 20px;
	border: 1px #1580C3 solid;
	display: inline-block;
	font-size: 16px;
	color: #1580C3;
  	background: transparent;
}
.intro a:hover {
	color: #fff;
    background: #00A0C6;
	transition: all 0.4s ease;
}
.intro a:hover:after {
	left: 0;
}


/*Product*/
#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: 350px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 75%;
  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;
  background: #efefef;
}

.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: #2688cc;
  padding: 5px 5px;
  float: right;
}



/*h1*/
.h1title{color:#003e81;border-bottom:1px dashed #003e81;}



/*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: #6d2320;
    text-shadow: none;
    padding: 0 10px;
}


/*代理產品*/
.rwd-table {
            background: #fff;
            overflow: hidden;
        }
        .rwd-table tr:nth-of-type(2n) {
            background: #eee;
        }
        .rwd-table th, .rwd-table td {
            margin: 0.5em 1em;
        }
        .rwd-table {
            min-width: 100%;
        }
        .rwd-table th {
            display: none;
        }
        .rwd-table td {
            display: block;
        }
        .rwd-table td:before {
            content: attr(data-th) "";
            font-weight: bold;
            width: 8em;
            display: inline-block;
        }
        .rwd-table th, .rwd-table td {
            text-align: left;
        }
        .rwd-table th, .rwd-table td:before {
            color: #1696b1;
            font-weight: bold;
        }
        @media (min-width: 480px) {
            .rwd-table td:before {
                display: none;
            }
            .rwd-table th, .rwd-table td {
                display: table-cell;
                padding: 0.25em 0.5em;
            }
            .rwd-table th:first-child, .rwd-table td:first-child {
                padding-left: 0;
            }
            .rwd-table th:last-child, .rwd-table td:last-child {
                padding-right: 0;
            }
            .rwd-table th, .rwd-table td {
                padding: 1em !important;
            }
          }

@media (max-width: 414px) {
  .rwd-table img{display:none;
  }
}



/*產品消息*/
.button2 {
    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
}


/*FORM*/
.mark {
    background: none;
   }


/*footer*/
#footer{background:#00a0c6;}

#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;
}

#contact-info ul li span {
    color: #fff;
}

#copyright, #copyright a{color:#dcdcdc;}


#logo img {
    padding: 0 5px;
}




/*子頁籤文字連結框框語法*/
.product-link .row .col-2 > a{
  border:0px solid #ccc;
  width:100%;
  display:inline-block;
  width:100%; 
  background-color: #53B4B3;
  height:50px;
  line-height: 50px;
   font-size:130%;
  text-align: center;
}
.product-link .row .col-2 > a:hover {
 color:#39c;
 background:#036EB8;
}

/*側邊欄按鈕隱藏*/
.right-nav__title {display: none;}

.right-nav a,#side .side-content li a{display: none;}

.right-nav a:hover ,#side .side-content li a:hover{display: none;}

#side h1, #side h2, #side h3, #side h4, #side h5, #side h6 {
    display: none;
}

body[data-type="fullpage"] #product-header {
     display: none;
}

/*隱藏後標題與內文高度調整*/
.fcol .container {
    padding: 3px;
}


/*購物車庫存隱藏*/
.cart-container li .dd b {
  margin-left: 30px;
  display: none;
}

#inventory{display:none;}
