/*tl icon*/
.tl{position:fixed;right:0.5%;top:16%;z-index:1000;}
/*mail icon*/
.ma{position:fixed;right:0.5%;top:24%;z-index:1000;}

@media only screen and (max-width: 428px) {
  .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:428px){
  .tl, .ma{
    transform:scale(0.8);  }
}

/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }



/*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: 100px;
}



/*nav*/
#nav{
   margin-top:32px;
}

#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{
    background:#0146ad;
    color: #fff;
}

#nav ul li.current a{
    background:#0190c5;
    color: #fff;
}

#nav ul li a span{
   display:block;
   text-align:center;
}


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}



/*about_1*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1{
   background:url(https://static.iyp.tw/409142/files/9582818f-b6bc-4e66-ae4d-1902920176b6.jpg)no-repeat;
   background-position:top  center;
   background-size:cover;
   min-height:400px;
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .h1title h1{
  display:none;
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .col-md-7{
   padding-left:8%;
}



@media (max-width: 900px) {
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 .titleBox {
  display:none;
  }
}

.titleBox{
  writing-mode: vertical-rl;
  width: 130px;
  background: rgba(0,0,0,0.65);
  padding: 15px;
}

.titleBox .titleTw {
  font-size: 45px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  padding-right: 0px;
  font-family: 源樣宋體;
  letter-spacing: 0.5rem;
}


.titleBox .titleEn {
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  padding-right: 5px;
}


.ab_txt{
  padding: 55px 45px 30px 45px;
  margin-left: -85px;
  box-shadow: 0 5px 5px rgba(44,44,44,0.1);
}

@media(max-width:428px){
.ab_txt{
  padding: 55px 45px 30px 45px;
  margin-left: 0px;
  box-shadow: 0 5px 5px rgba(44,44,44,0.1);
 }
}




/*about_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
  background:url(https://static.iyp.tw/409142/files/c0cfed09-48b1-42c4-bd04-da07b88c708c.jpg)no-repeat ;
  background-position:top center;
  background-size:100%;
  /*background-attachment:fixed;*/
  min-height:450px;
}

@media(max-width:1280px){
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
   background-size:cover;
  }
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
   padding:100px 20px;
}

@media(max-width:480px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
   padding:40px 20px;
  }  
}


/*owl*/
.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-item img {
  display:block;
  width:100%;
  border-radius: 99em;
}


@media(max-width:480px){
.owl-carousel .owl-item img {
  display:block;
  width:15%;
 }
}


@media (max-width: 480px) {
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


/*about_3*
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3{
   background:#003686;
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container{
   max-width:100%;
   width:100%;
   padding:0 0 0 150px;  
}

@media(max-width:900px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container{
   max-width:100%;
   width:100%;
   padding:0 0 0 20px;  
 }
}*/

/*map
.responsive-16by9 {
    display: block;
    position: relative;
    height: 0;
    overflow: hidden;
    padding: 0;
    padding-bottom: 56.25%;
}
.responsive-16by9 iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}
*/

/*about_4~6*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-6{
  display:none;
}


/*h1*/
.h1title{color:#0146ad;}


/*營業項目*/
.service-item0 {
	display: flex;
	width:100%;
	height:100%;
  	background-color:#0D52BE;
	border-radius:20px;
	color:#fff;
	font-size:20px;
	text-align:center;
	align-items: center;
	box-shadow: 0px 0px 12px rgba(0,0,0,0.2);
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s;
}

.service-item0:hover {
    margin-right: auto;
    margin-left: auto;
    margin-top: 0px;
    transition: 0.3s;
}

.service-item1:{
    margin: auto;
}

.service-item2 {
  	background-color:#0190C5;
	height:100%;
	border-radius:20px 0px 0px 20px;
}

.service-item2 img {
display: flex; margin-left: auto; margin-right: auto; margin-top: 5px; margin-bottom: auto;justify-content: center; align-items: center;
}

/*機器介紹*/

.intro{
	font-size:20px;
	line-height:23px;
	display: flex;
	justify-content:center;
	align-items: center;
}

.intro-tittle{
	background-color:#0D52BE;
	background:linear-gradient(-45deg, transparent 35px, #0D52BE 0);
	color:#fff;
	font-weight:700;
}

.intro li{
	padding-bottom:10px;
	border-bottom:1px dotted #b8b8b8;
}



/*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*/
#foot-nav{
  display:none;
}
