@media(min-width:1920px){
body[data-type="fullpage"] #nav .container {
    width: 1500px;
 }
} 


/*index*/
#indexOne {
    background-image: url(https://resource.iyp.tw/static.iyp.tw/40345/files/5356562b-7406-4dc9-94b2-fe699d03b9b8.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 30px 0px;
}

@media(max-width:414px){
#indexOne {
    background-image: url(https://resource.iyp.tw/static.iyp.tw/40345/files/0375d4f7-8383-4b21-8cb4-2a2c1416a0d2.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 30px 0px;
}}

#indexT {
    background-image: url(https://resource.iyp.tw/static.iyp.tw/40345/files/db4d2577-a2b4-4a17-b21a-49de396d4a3c.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 30px 0px;
}

@media(max-width:414px){
#indexT {
    background-image: url(https://resource.iyp.tw/static.iyp.tw/40345/files/92062140-f03d-437c-9ec6-ceec85bf30e6.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 30px 0px;
}}



@media (min-width: 1200px) {
 body[data-type="fullpage"] .container {
  width:1300px;
 }
}

/*手機選單*/
.navbar-icon-bar {
    background-color: #c40000;
}

.navbar-icon-bar:before,
.navbar-icon-bar:after {
 background-color:#c40000
}

.navbar {
 transition:background .4s, border .2s, -webkit-transform .4s;
 transition:transform .4s, background .4s, border .2s;
 transition:transform .4s, background .4s, border .2s, -webkit-transform .4s;
 -webkit-transform:translateZ(0);
 transform:translateZ(0);
 margin-bottom:0;
 background-color:rgba(0,0,0,0.60)
}

.rwd-navbar-toggle .label {
    color: #fff;
}


/*A icon*/
.A{position:fixed;right:0.5%;top:16%;z-index:1000;}
/*B icon*/
.B{position:fixed;right:0.5%;top:28%;z-index:1000;}
/*C icon*/
.C{position:fixed;right:0.5%;top:40%;z-index:1000;}
/*D icon*/
.D{position:fixed;right:0.5%;top:16%;z-index:1000;}


/*產品輪播*/
.rwd-table {
  	overflow-y: visible !important;
}

#myDiv img {
        max-width: none;
}

#myDiv {
    background: none;
    overflow: hidden;
    width: 100%;
}


#demo { 
    background: none; 
    overflow:hidden; 
    border: 0px dashed #CCC; 
    width: 100%; 
} 
#demo img { 
    border: 0px solid #c4c4c4; 
    padding:3px;
} 
#indemo { 
    float: left; 
    width:100%; 
} 
#demo1 { 
    float: left; 
} 
#demo2 { 
    float: left; 
} 


/*框框語法*/
.border { border: 2px solid #E70012 !important; }
.p-lg-3 { padding: 2rem !important; }
.mb-2 img{transition:all 0.5s;} .mb-2 img:hover{opacity:0.5;}
.mb-2 img{
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}


#wrap{
    background: url(https://static.iyp.tw/40345/files/d1b2e4c2-5e0c-4119-ad55-86409522ab23.jpg)no-repeat;
    background-position:top center;background-attachment:fixed;background-size:cover;   
}

.fcol .container {
    padding: 16px;
    background: 
    rgba(255,255,255,0.85);
}


/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
    height: 100%;
    padding-top: 0px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 0;
}

.topnavbar {
  background:url(https://static.iyp.tw/40345/files/4053f250-8ac4-4d70-bd71-88d95e11a58e.jpg);
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
  padding-top:0px;
  position: fixed;
}

@media(max-width:414px){
  .topnavbar {
   position: relative; 
  }
}

/*nav*/
#nav{ padding-top: 15px;}

#nav ul li a {
    white-space: nowrap;
    color: #fff;    
    font-weight: normal;
    padding: 10px 0px;
    font-size: 95%;
    border-right: 0px #888 dotted;
    transition:all 0.5s;
    border-radius:0px;
    font-weight:bold;
    border-radius:50%;
    background:#c15900;
    width:120px;
    margin-right:2px;
    text-align:center;
}

#nav ul li a:hover{
    background:#c20000;
    color: #fff;
    border-radius:50%;
}


#nav ul li.current a  {
    background:#980000;
    color: #fff;  
}


#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;
    border-radius:0;
}


#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
    font-size: 18px;
    text-shadow: none;
    padding-left:10px;
}

#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(600 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
  margin-top:50px;
}

@media(max-width:414px) {
  .swiper-wrapper, .swiper-slide{
   margin-top:0px;
 }
}  

.swiper-slide {
  width: 100% !important;
}


/*Index*/
.rk_nav__title {
    background:#d03600 url(https://static.iyp.tw/40345/files/856874c6-a477-4704-948a-d9a158798a75.png);    
    height:60px;border-radius:5px 5px 0 0;
    padding-top:20px;
   font-size: 20px;
}


.rk_nav a {background:#e3ddd1;
    border-bottom: 1px solid #ccc;box-shadow: 0 1px 0 #fff inset;
    display: block;
    /*font-weight:bold*/;font-size: 14px;
    height: 50px;
    line-height: 50px;
    text-align: left;padding-left:12px;color:#000;
    font-size: 16px;
}
.rk_nav a:hover {background:#f07c00;
    border-bottom: 1px solid #ccc;box-shadow: 0 1px 0 #fff inset;
    display: block;
    /*font-weight:bold*/;font-size: 16px;
    height: 50px;
    line-height: 50px;
    text-align: left;padding-left:12px;color:#fff;
}


/*index_fcol_2*/
.intro {
	-webkit-animation-delay: 1.5s;
}
.intro a {
	overflow: hidden;
	position: relative;
	padding: 10px 40px;
	border: 0px #aaa solid;
	display: inline-block;
	font-size: 16px;
	color: #fff;
    font-weight:bold;
  	background: #6fc33c;
}
.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;
}

#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:400px;
}
@media screen and (max-width: 768px) { 
#service .list article{
  height:auto;
 }
} 

#service .list article a{
display:block;
}
#service .list article .image_hover{
    display: flex;
    align-items: center;
}

#service p {
font-size:90%;
padding:8px 0px;
  color:#777;
}
#service p span {
padding:8px 0px;
  color:#000;
}

/*service_2*/
#service2 .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:200px;
}
@media screen and (max-width: 768px) { 
#service2 .list article{
  height:auto;
 }
} 

#service2 .list article a{
display:block;
}
#service2 .list article .image_hover{
    display: flex;
    align-items: center;
}

#service2 p {
font-size:90%;
padding:8px 0px;
  color:#777;
}
#service2 p span {
padding:8px 0px;
  color:#000;
}

/*service_3*/
#service3 .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:290px;
}
@media screen and (max-width: 768px) { 
#service3 .list article{
  height:auto;
 }
} 

#service3 .list article a{
display:block;
}
#service3 .list article .image_hover{
    display: flex;
    align-items: center;
}

#service2 p {
font-size:90%;
padding:8px 0px;
  color:#777;
}
#service2 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);
}

#bodyinhome .col-2, .col-3 {
   /* padding: 10px 0 10px 15px;*/
    padding: 10px 30px 10px 30px;
    float: left;
    min-height: 1px;
}


#bodyinhome .col-3 {
    /*padding: 10px 20px 10px 15px;*/
    padding: 10px 29px 10px 29px;
    float: left;
    min-height: 1px;
}

@media(max-width:414px){
   #bodyinhome .col-3 {
     padding: 10px 5px 10px 15px;
   }
}

}

#bodyinhome .fcol.fcol-3{display:none;}
#bodyinhome .fcol.fcol-4{display:none;}
#bodyinhome .fcol.fcol-5{display:none;}
#bodyinhome .fcol.fcol-6{display:none;}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*h1*/
.h1title{color:#000;border-bottom:1px dashed #000;}

#breadcrumb li a {
    color: #000;
}

#breadcrumb li  {
    color: #000;
}

/*side*/
#side ul li a {
    color: #af0000;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    font-size: 16px;
    border-bottom: 1px dashed #ad0000;
}


#side ul li.current > div a {
    color: #008000;
}


/*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: #59aacb;
    text-shadow: none;
    padding: 0 10px;
}

.mark {
    background: none;
   }


/*footer*/
#footer{background:#b05d00;}

#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;}


body[data-type="fullpage"] #footer-service {
  display:none;
  
}

#footer-service #copyright {
display: none;
}