/*icon*/
/*tl icon*/
.tl{position:fixed;right:0.5%;top:16%;z-index:1000;}

/*line icon*/
.line{position:fixed;right:0.5%;top:24%;z-index:1000;}


/*整體文字調整*/
body {
    color: #333;
    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; }



/*top*/
.topnavbar {
  /*position: absolute;*/
  left: 0;
  z-index: 100;
  width: 100%;
  padding: .6rem 0;
  height: 100px;
  border-bottom:4px solid #bd9b63;
}

@media (max-width: 767px) {
  .topnavbar {
    background:#222;
  }  
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/
  padding-top:0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

@media(max-width:767px){
.topnavbar .container {
  text-align: center;
 }
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    border-right: 0px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #ac996c;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #ac996c;padding-top:5px;}


#nav ul li.current a  {
    color: #ac996c;  
}

#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;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}





/*Index_1*/

#bodyinhome .fcol.fcol-1 .container{
  padding:40px 16px;
}


#bodyinhome .fcol.fcol-1 {
    background-color: #e5f0fb;
    clip-path: polygon(0 0%,100% 0%,85% 100%,0% 100%);
}


@media(max-width:1280px){
#bodyinhome .fcol.fcol-1{
   clip-path: polygon(0 0%,100% 0%,100% 100%,0% 100%);
   }
}



/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/409513/files/3642f06b-f327-4436-b65d-a3f2b5c5a766.jpg)no-repeat;
  background-position:center center;
  background-size:cover;
  min-height:450px;
 }



#bodyinhome .fcol.fcol-2 .container{
  padding:40px 16px;
}


#service .list article {
  background:url(https://static.iyp.tw/42868/files/b8655e08-a228-4ef7-b9e8-8aab1f690da9.jpg);
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.16);
  padding: 15px 15px 5px;
  text-align: left;
  height: 280px;
}

@media screen and (max-width: 767px) {
  #service .list article {
    height: 250px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 80%;
  display: flex;
  align-items: top;
}

@media screen and (max-width:1400px) {
 #service .list article .image_hover {
  height: 60%;
  display: flex;
  align-items: top;
 }
}


@media screen and (max-width:1280px) {
 #service .list article .image_hover {
  height: 75%;
  display: flex;
  align-items: top;
 }
}

@media screen and (max-width: 767px) {
 #service .list article .image_hover {
  height: 65%;
  display: flex;
  align-items: top;
 }
}

@media screen and (max-width: 428px) {
 #service .list article .image_hover {
  height: 80%;
  display: flex;
  align-items: top;
 }
}

#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: #007cbc;
  padding: 5px 5px;
  float: right;
  margin-top: -15px;
}



/*Index_4*/
#bodyinhome .fcol.fcol-4{
  background:url(https://static.iyp.tw/409513/files/0bcad8bf-58bc-4e5c-bc8c-ba23a82b321e.jpg)no-repeat;
  background-position:top 45% center;
  background-size:cover;
  min-height:400px;
 }


#bodyinhome .fcol.fcol-4 .container{
  padding:40px 16px;
}


#bodyinhome .fcol.fcol-4::before {
  content: "";
  background-color: rgba(165,204,232,0.45);
  clip-path: polygon(0 0%,100% 0%,0% 100%,0% 100%);
  width: 20%;
  display: block;
  height: 400px;
  position:absolute;
}

#bodyinhome .fcol.fcol-4 .about .aboutBox .Txt {
  width: 50%;
  padding-left: 0px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.5;
}



@media(max-width:767px){
  #bodyinhome .fcol.fcol-4 .about .aboutBox .Txt {
  width: 100%;
  }  
}

#bodyinhome .fcol.fcol-4 .row {
  margin-right: 5px;
  margin-left: 5px;
}



/*Index_5~6*/
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}


/*about*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 {
    background-color: #e5f0fb;
    clip-path: polygon(0 0%,100% 0%,85% 100%,0% 100%);
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 .container{
  padding:60px 0;
}

@media(max-width:1280px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 {
   clip-path: polygon(0 0%,100% 0%,100% 100%,0% 100%);
   }
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-header{
  display:none;
}


/*h1*/
.h1title {
  color: #ac8b5c;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .h1title{
  display:none;
}


/*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: #ac8b5c;
    text-shadow: none;
    padding: 0 10px;
}


/*form*/
.mark {
    background: none;
   }


/*form*/
#footer {
  color: #b6b6b6;
  background-color: #222;
}




/*about*/
.aboutArea .titleBox {
  position: absolute;
  top: -28px;
  left: calc(55% + 30px);
  z-index: 1;
  color: #0e93e7;
}

.titleBox .enTitle {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 50px;
    line-height: 1;
    color:#cb0000;
}

@media (max-width: 1180px) {
    .titleBox .enTitle {
       font-size: 44px;
    }
}

@media (max-width: 420px) {
    .titleBox .enTitle {
        font-size: 36px;
    }
}

.titleBox .enTitle span {
    -webkit-text-stroke: 1px #111;
    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 .Img {
  position: relative;
  width: 50%;
}



@media (max-width: 767px) {
  .about .aboutBox .Img {
    margin-bottom: 20px;
    width: 100%;
  }
}

.about .aboutBox .Img:before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -17px;
  width: 96%;
  height: 89%;
  background-color: #a7c1da;
}

.about .aboutBox .Img img {
  position: relative;
  display: block;
  width: 100%;
}

.about .aboutBox .Txt {
  width: 50%;
  padding-left: 70px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .about .aboutBox .Txt {
    padding-top: 20px;
    padding-left: 0;
    width: 100%;
  }
}

.about .aboutBox .Txt p {
  color: #525252;
}

.about .aboutBox .subTitle {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}



/*button*/
#call a.more-btn {
  position: relative;
  margin-top: 53px;
  padding: 15px 15px;
  border: solid 1px #e9730b;
  color: #e9730b;
  font-size:18px;
  border-radius: 50px;
}

#call a.more-btn span {
    color: #FFE9AB;
    text-shadow: 0px 0px 6px rgba(248, 255, 51, 0.76);
}

#call a.more-btn:hover{
    color: #fff;
    text-decoration: none;
}

#call a.more-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-color: #DFA500;
  left: 0px;
  top: 0px;
  bottom: 0px;
  width: 0px;
  border-radius: 50px;
}


#call a.more-btn:hover:before {
    right: 0px;
    width: 100%;
    border-radius: 50px;
}

#call a.more-btn:before {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}


#call a.more-btn span {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}







/*文字滑過變色方塊*/
.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: #4682b4;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
}


/*rwd*/
@media(max-width:600px){
  .ab.row .col-2{
    flex:0 0 100%;
    max-width:100%;
  }
}