@import url('https://fonts.googleapis.com/earlyaccess/cwtexyen.css');

{font-family: 'cwTeXYen', sans-serif;}


/*手機版logo底色*/
@media only screen and (max-width: 767px) {
    body[data-type="fullpage"] .topnavbar {
        background-color: rgba(0, 0, 0, 0.85);
    }
}

/*icon*/
.tl{position:fixed;right:0.5%;top:20%;z-index:1000;}
.ma{position:fixed;right:0.5%;top:30%;z-index:1000}




@media only screen and (max-width: 428px) {
  .tl{position:fixed;right:0.5%;top:24%;z-index:1000;}
  .ma{position:fixed;right:0.5%;top:38%;z-index:1000;}
}

@media(max-width:428px){
  .tl, .line, .ma, .FB, .x, .IG,{
    transform:scale(0.7);  }
}


/*整體文字調整*/
body {
    color: #333;
    font-size: 15px;
    margin: 0;
}
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; }


/*logo*/
 #logo img {
   padding: 0 16px 16px 16px;
 }

/*top*/
.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 ul li a {
    white-space: nowrap;
    color:#333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 100%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
  color:#6094b7;
 }


#nav ul li a::before {
  content:"";
  border-top:3px solid #6094b7;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:5px;
  margin:0 auto;
  transition:.3s all ease
}

#nav ul li.current a{
  color:#6094b7;
 }

#nav ul li a:hover::before {
 width:50%;
}

#nav ul li.current a::before  {
  content:"";
  border-top:1px solid #6094b7;
  width:50%;
  position:absolute;
  top:5px;
  margin:0 auto;
}


#nav ul li.current a:hover{
  color:#6094b7;
 }


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}



/*h1*/
.h1title h1{
   display:none;
}


/*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;
}


/*Index_1*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 {
  min-height:400px;
}

/*title*/
.aboutArea .titleBox {
  position: absolute;
  top: -28px;
  left: calc(55% + 30px);
  z-index: 1;
  color: #222;
}

.titleBox .enTitle {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 40pt;
    line-height: 1;
    color:#223762;
}

@media (max-width: 1180px) {
    .titleBox .enTitle {
        font-size: 40px;
    }
}

@media (max-width: 420px) {
    .titleBox .enTitle {
        font-size: 36px;
    }
}

.titleBox .enTitle span {
    -webkit-text-stroke: 1px #223762;
    color: transparent;
    font-weight: bold;
}


.about .aboutBox {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .about .aboutBox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.about .aboutBox .articleBox {
  margin-bottom: 50px;
}

@media (max-width: 1180px) {
  .about .aboutBox .articleBox {
    margin-bottom: 20px;
  }
}

@media (max-width: 420px) {
  .about .aboutBox .articleBox {
    margin-bottom: 10px;
  }
}


.about .aboutBox .subTitle {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #223762;
}



#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 img {
  margin-top: -85px;
  z-index: 99999;
  position: relative;
  border:5px solid #fff;
  box-shadow: 0 7px 7px rgba(44,44,44,0.25);
}


/*文字滑過變色方塊*/
.serveimg {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background:  #0a4881;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
}
.serveimg:hover {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #018dd6;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
}


/*Index_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 {
  background-color:#273b5c;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}


.ser-box{
	background:#fff;
	padding: 10px;
	border-radius:10px;

}

.ser-box:hover{
	transition-duration: 1s;
	background:#568fac;
}

.ser-icon{
	filter:grayscale(80%);
	margin:10px;
	transition-duration: .5s;
}

.ser-icon:hover{
	filter:none;
	margin:10px;
}

.ser-text{
	margin:10px;
	font-family:'Noto Sans TC';
	font-weight:400;
	font-size:16px;
  	transition-duration: .5s;
}

.ser-text:hover{
	color:#fff;
}


/*Index_3*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3{
  background:url(https://static.iyp.tw/409178/files/e851e892-85f7-4384-8221-9d25e510f49d.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
  min-height:400px;
} 


/*Index_4 5 6*/
#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;
}


/*櫥窗圖庫語法_輪播*/
.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-theme .owl-dots {
    display: none;
}/*隱藏點點*/


