/*Google 翻譯*/
#google_translate_element {
    border-radius: 3px;
    display: block;
    right: 50px;
    padding: 2px;
    position: fixed;
    top: 0px;
    z-index: 999;
}



@media only screen and (max-width: 1440px) {
#google_translate_element {
  border-radius: 3px;
  display: block;
  right: 350px;
  padding: 2px;
  position: fixed;
  top: 0px;
  z-index: 999;
 }
}



@media only screen and (max-width: 1024px) {
/* 螢幕尺寸小於 767px, iPhone6 plus、Samsung Note 等⼤大螢幕的⼿手機 css 寫這*/
    #google_translate_element {
      right: 150px;
 }
}

@media only screen and (max-width: 767px) {
/* 螢幕尺寸小於 767px, iPhone6 plus、Samsung Note 等⼤大螢幕的⼿手機 css 寫這*/
    #google_translate_element {
    right: 50px;
    top:50px;  
 }
}

@media only screen and (max-width: 480px) {
/* 螢幕尺寸小於 767px, iPhone6 plus、Samsung Note 等⼤大螢幕的⼿手機 css 寫這*/
    #google_translate_element {
    right: 0px;
    top:350px;  
 }
}

/*body*/
body {
    color: #333;
}
a {
    color: #0a79bf;
    text-decoration: none;
}
a:hover {
    color: #3fcbea;
}

.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }

#wrap{
  background:url(https://static.iyp.tw/408925/files/b6365f49-5f11-4c45-a08a-a3fb58a1422c.png)no-repeat;
  background-position:bottom center;
  background-size:cover;
}

/*logo*/

 #logo img {
   padding: 0 16px 16px;
 }


/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/ 
  padding-top:0px;
}

.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: 90px;
}

@media(max-width:1024px){
.topnavbar {
  background-color: #fff;
  top: 0px;
  position: relative;
  z-index: 100;
  width: 100%;
  padding: .6rem 0;
  height: 110px;
 }
}


/*fall*/
body[data-type="fullpage"] #nav {
    font-size: 1rem;
    width: 100%;
}


#header .topnavbar .container {
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}


@media(min-width:1920px){
body[data-type="fullpage"] #footer .container {
    width: 1160px;
 }
}

#header .topnavbar .container {
  padding-left: 60px;
  padding-right: 60px;
  width: 100%;
}

@media(max-width:900px){
#header .topnavbar .container {
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
 }
}


/*nav*/
#nav{margin-top:-45px;}

@media(max-width:1024px){
  #nav{margin-top:-20px;
  }
}

#nav ul{float:right;}

#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;
  }



/*Banner*/
.swiper-container {
  height: auto !important;
}

#bodyinhome .swiper-wrapper,#bodyinhome .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(780 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

#bodyinpage .swiper-wrapper,#bodyinpage .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(450 / 1600 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index_1*/
#bodyinhome .fcol.fcol-1 .container{
  padding:60px 20px;
}

.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;
}

.service_img {
  position: relative;
}

.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: right;
  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;
}

.service_text:hover {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: right;
  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);
  transition: 0.5s;
}

.service_text div {
  font-size: 24px;
  line-height: 30px;
  position: relative;
  top: 50%;
  font-weight: bold;
}

@media (max-width: 768px) {
  .service_text div {
    font-size: 25px;
    line-height: 30px;
    position: relative;
    top: 50%;
  }
}


/*Index_2*/
#bodyinhome .fcol.fcol-2 .container{
  padding:40px 20px;
}

/*
.ab.row{
   padding:20px 300px;
}


@media(max-width:767px){
#bodyinhome .fcol.fcol-2 .col-md-6{
 flex: 0 0 100%;
 }
}

@media(max-width:767px){
  .ab.row{
   padding:20px 100px;
 } 
}


@media(max-width:480px){
  .ab.row{
   padding:20px 40px;
 } 
}
*/



/*Index_3*/
#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;
  border-radius: 5px 25px 5px 25px;
}

@media screen and (max-width: 768px) {
  #service .list article {
    height: 400px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 60%;
  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;
}

.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: #093d8b;
  padding: 5px 5px;
  float: right;
  margin-top:10px;
}



/*Index_4~6*/
#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}


/*h1*/
.h1title{color:#015691;text-align:center;}

.h1title h1 span::after {
    content: "";
    display: inline-block;
    font-family: monospace;
    background: #2ca5d2;
    width: 25px;
    height: 5px;
    display: block;
    margin: .5em auto 1em;
}


/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  

/*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;
}


/*form*/
.mark {
    background: none;
   }


/*footer*/
#footer {
  background: rgba(4,35,69,0.65);
   color:#fff;
}


#foot-nav{
  display:none;
}

#contact-info ul li span {
  color: #fff;
}


#footer-service #copyright{
  display:none;
}

.contact-row {
  padding: 0em;
  line-height: 1.6;
}



/*最新消息 白線去掉*/
.news .fcol .news-list li, .news .news.main-content li {
  border-top: 0px solid #eee;
}