/*Google 翻譯*/
#google_translate_element {
    border-radius: 3px;
    display: block;
    right: 50px;
    padding: 2px;
    position: fixed;
    top: 30px;
    z-index: 400;
}

@media only screen and (max-width: 767px) {
/* 螢幕尺寸小於 767px, iPhone6 plus、Samsung Note 等⼤大螢幕的⼿手機 css 寫這*/
    #google_translate_element {
    display: none;
 }
}

/*手機板
@media only screen and (max-width: 767px) {
 #bodyinhome #logo {
  display:none !important
 }
}
*/


  
/*手機頁面樣式
@media only screen and (max-width: 767px){
.navbar .container {
    background-color: #0674B7;
    border-bottom:0px solid #fff;
 }
}
*/



/*body*/
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }

#bodyinhome .fcol.fcol-header {
  display: none;
}


body[data-type="fullpage"]#bodyinhome .fcol .container>* {
  padding-left: 0px;
  padding-right: 0px;
}


/*整體文字調整*/
body {
    color: #333;
    margin: 0;
}
a {
    color: #0a79bf;
    text-decoration: none;
}
a:hover {
    color: #3fcbea;
}
.row [class^="col-"] {
  padding:10px;
}


/*logo*/
#bodyinhome #logo a{background:url("https://static.iyp.tw/32527/files/7194d91d-9f6c-4671-8c27-f3e5bf28b4ad.png") no-repeat scroll 0 0 transparent;display:block;text-indent:-9999px;width:1160px;height:85px;margin-top:-5px;}


@media(max-width:767px){
#bodyinhome #logo a{background:url("https://static.iyp.tw/32527/files/5e221c56-1d48-47f7-aebf-a3e33511ac58.png") no-repeat scroll 0 0 transparent;display:block;text-indent:-9999px;width:767px;height:85px;}
} 

@media(max-width:428px){
#bodyinhome #logo a{background:url("https://static.iyp.tw/32527/files/2d71288e-a9d7-46b8-959d-dda0372fc7be.png") no-repeat scroll 0 0 transparent;display:block;text-indent:-9999px;width:428px;height:85px;margin-left:15px;}
} 


#bodyinpage #logo a{background:url("https://static.iyp.tw/32527/files/2d71288e-a9d7-46b8-959d-dda0372fc7be.png") no-repeat scroll 0 0 transparent;display:block;text-indent:-9999px;width:300px;height:70px;}


/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*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;
  box-shadow: 0 5px 5px rgba(44,44,44,0.1);
}


/*nav*/
#bodyinhome #nav{
   display:none;
}


#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    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.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: 200px;
    padding: 0px 10px;
    border-top:0px;
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
    padding: 0px 10px;
    border-top:0px;
}

#nav li.has-subnav ul li a {
    color: #fff;
    width:200px;
    white-space: pre-line;
    padding:10px 5px;
  }


/*Banner*/
#banner{
  display:none;
}

/*contact_Banner
#bodyinpage.rwd-collapse.viewmode.contact-us #banner{
  display:none;
}
*/


/*Index_1*/
#bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/32527/files/9468e21b-134b-4ee4-8e23-53db614aeba2.jpg)no-repeat;
  background-size:cover;
  background-position:top center;
  background-attachment:fixed;
  min-height:700px;  
}


#top{
   margin:5% auto;
}

#top ul li {
display:block; 
}

#top ul li a {
  padding: 0px 18px;
  line-height: 65px;
  transition: all 0.5s;
  background:rgba(53,150,235);
  max-width: 300px;
  display: block;
  margin: 0 auto;
  margin-top: 10px;
}


#top ul li a:hover {
  background:rgba(255,184,15);
}


#top ul li.current a  {
    color: #c40011;  
}


#bodyinhome .foo.row{
  margin-top:0%;
}


@media(max-width:428px){
.foot.row .col-md-2, .col-md-3, .col-md-5{
  flex: 0 0 100%;
  }
}


.ser-top span.ser-line {
    background: #73c6fb;
    width: 50px;
    height: 2px;
    display: block;
    margin: 0;
}


.ser-top p {
	font-size: medium;
	font-weight: 400;
	color: #fff;
	line-height: 1.6em;
	width: 100%;
}




/*Index_2*/
#bodyinhome .fcol.fcol-2,
#bodyinhome .fcol.fcol-3,
#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}



/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  


#side ul li.current > div a {
  color: #3293cf;
}


/*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;
}


/*------------------Inpage------------/
/*about*/


/*Contact_Us*/
#bodyinpage.rwd-collapse.viewmode.contact-us #wrap{
  background:url(https://static.iyp.tw/32527/files/5ae16a46-1e84-41f6-b1a5-47d8107e0761.jpg)no-repeat;
  background-size:cover;
  background-position:top center;
  background-attachment:fixed;
  min-height:900px;  
}

.foo.row{
  margin-top:0%;
}


/*h1*/
.h1title{
   display:none;
}


/*footer*/
#bodyinhome #footer{
    display:none;
}


#bodyinpage #footer{
    background-color:#fff;
}



#foot-nav{
   display:none;
}

@media(max-width:428px){
.col-md-2{
  flex: 0 0 50%;
 }
}  

/*form*/
.mark{
  background:none;
}

 
/*Banner
.swiper-container {
  height: auto !important;
}

#bodyinhome .swiper-wrapper,#bodyinhome .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(850 / 1920 * 100%); 
}
 


#bodyinpage .swiper-wrapper,#bodyinpage .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(380 / 1920 * 100%); 
}  
  
@media(max-width:414px){
#bodyinhome .swiper-wrapper,#bodyinhome .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(1600 / 1920 * 100%); 
 }  
} 

@media(max-width:414px){
#bodyinpage .swiper-wrapper,#bodyinpage .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(600 / 1920 * 100%); 
 }  
} 

.swiper-slide {
  width: 100% !important;
}  
  

.product #side{
    display: block;
    width:100%;
}
.product #side .side-top{
    display:none;
}

#side .side-content {
    margin-top: 5px;
}

.col-2.A, .col-2.B{
    width:100%;
}}
*/


/*一般網頁尺寸
@media only screen and (min-width: 767px){
.navbar .container {
    background-color: #0674B7;
    border-bottom:0px solid #fff;}

.product #main{
    width:55%;
}

.product  #side{
    width:42%;
}
*/


#side .side-content {
    margin-top:38px;
}

.col-2.A{
    width:32%;
    padding:10px;
}
.col-2.B{
    width:65%;
}}

/*.product #main{
    width:55%;
}

.product  #side{
    width:42%;
}
*/


/*首頁
a img:hover{
  opacity:0.9;
}

#bodyinhome #logo{
    display:none;
}

#bodyinhome #main-wrap {
    margin-top: -350px;
    z-index: 100;
    position: relative;
    height: 300px;
}

@media(max-width:414px){
  #bodyinhome #main-wrap {
    margin-top: -50px;
    height:200px;
  }
}    
  

.column.right, #side,.column.left {
    background-color: transparent;
    background-image: none;
    border: 0px solid #d7d7d7;
    border-radius: 0px;
    box-shadow: 0 0 0px rgba(0,0,0,0);
}

.column.right{
    z-index:9000;
    width:60%;
}

.column.left{
    width:35%;
}
.column.right:after, #side:after,.column.right:before{
    display:none;
}

#bodyinhome #function #post-share {
    margin-top:45px;
    margin-right:30px;
}

#bodyinhome #header{
    padding-top:40px;
}



#main.column.right h2, #side h2{
    color:#084d77;
}

.column h2, #side h2, .related-product>h3{
    border-bottom: 0px solid #fff;
}
*/


/*內頁

#side .side-top {
    visibility:hidden;
}


#side .side-content li a {
    color:#055688;
    border-bottom:1px dashed #ddd;
    padding:8px;
    font-size:15px;
}

#side .side-content li a:hover{
    color: #95c5e2;
}

.navbar-nav {
    background-color: transparent;
    border-radius: 3px;
    margin-top: 40px;
}

#main{
    width:69%;
}

#main h1{
    border-bottom:1px solid #ddd;
    color:#0c4c57;
}

.right {
    float: left;
}

.left {
    float: right;
}

ul.product-list li {
    float: left;
    width: 30%;
    min-width: 150px;
    margin-bottom: 20px;
    margin-left:10px;
}

.profile #main{
    width: 100%;
}

.profile #side{
    display:none
}
*/

      

/*PD*/
.service_img {
  position: relative;
}

.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background: rgba(0, 0, 0, 0);
  text-shadow: black 0.1em 0.1em 0.2em;
  letter-spacing: 0.1em;
  transition: 0.3s;
}

.service_text:hover {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background-color: rgba(0,0,0,0.55);
 }

.service_text div {
  font-size: 21px;
  line-height: 30px;
  position: relative;
  top: 50%;
  font-weight: bold;
  transition:all 0.5s;
}


.service_text:hover div {
  transform:scale(1.2);
}


@media (max-width: 768px) {
  .service_text div {
    font-size: 25px;
    line-height: 30px;
    position: relative;
    top: 50%;
  }
}


/*方塊1*/
.row [class^="col-"] img{
  opacity:3;
    transition:0.7s
}
.row [class^="col-"] {
  padding:10px;
}
.block {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: rgba(255,255,255,0.7);
   overflow: hidden;
   position: relative;
   padding:20px 15px;
   box-shadow: 0 0 0 1px rgba(63,63,68,.05),0 1px 6px 0 rgba(69,79,91,.18);
}


/*more*/
.intro {
	-webkit-animation-delay: 1.5s;
}
.intro a {
	overflow: hidden;
	position: relative;
	padding: 5px 20px;
	border: 1px #071d49 solid;
	display: inline-block;
	color: #071d49;
  	background: transparent;
}
.intro a:hover {
	color: #fff;
	background: #071d49;
	transition: all 0.4s ease;
}
.intro a:hover:after {
	left: 0;
}


/*方塊2*/
.row [class^="col-"] img{
  opacity:3;
    transition:0.7s
}
.row [class^="col-"] {
  padding:10px;
}
.block-2 {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: rgba(248,229,140,0.75);
   overflow: hidden;
   position: relative;
   padding:20px 15px;
   box-shadow: 0 0 0 1px rgba(63,63,68,.05),0 1px 6px 0 rgba(69,79,91,.18);
}

#product-header [class^=col-] {
  position: relative;
}