/*整體文字調整*/
body {
    color: #333;
    font-size: 16px;
    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 {
  padding: 0 16px 16px 0px;
}

#logo img {
  padding: 0 16px 16px 0px;
}



/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  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;
  box-shadow: 0 5px 5px rgba(44,44,44,0.1);
}


/*logo*/

 #logo img {
   padding: 10px;
 }


/*nav*/
#nav{
  line-height: 70px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top:-15px;
}

#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 70px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: normal;
    font-size: 95%;
    transition:all 0.5s;
}

#nav ul li a:hover{
    background:#1e2283;
    color: #fff;;
    line-height: 70px;
    padding-left: 20px;
    padding-right: 20px;
}


#nav ul li.current a  {
    background:#2e5496;
    color: #fff;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 220px;
    background-color: #efefef;
} 


#nav ul .subnav li a {
    background-color: #fff;
    color: #333;
    text-align: left;
    width: 220px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 220px;
    padding: 0px 10px;
    border-top:0px;
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 220px;
    border-top: 0px solid;
    padding: 0px 10px;
    border-top:0px;
}

#nav li.has-subnav ul li a {
    color: #333;
    width:220px;
    white-space: pre-line;
    padding:10px 5px;
    border-bottom:1px solid #eee;
     line-height: 30px;
  }



/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}


.swiper-slide {
  width: 100% !important;
}

/*
#bodyinpage #banner{display:none;}
*/


/*about_1*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1{
  background:url(https://static.iyp.tw/25649/files/30b36119-bbcd-43cb-a9aa-39332ae64d6c.png)no-repeat;
  background-size:cover;
  background-position:top center;
  min-height:500px;
  background-attachment:fixed;
}

/*about_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
  background:url(https://static.iyp.tw/25649/files/f19b3333-e0dd-44a0-a933-14119f02ad0c.png)no-repeat;
  background-size:cover;
  background-position:top center;
  min-height:400px;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
   padding:60px 16px;;
}

/*about_3*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3{
  background:url(https://static.iyp.tw/25649/files/7cd020aa-2136-4224-9586-aec4ba744152.png)no-repeat;
  background-size:cover;
  background-position:top center;
  min-height:400px;
}



/*about_4~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;
}



/*about*/
.box .box-heading span {
    padding: 0 50px 0 0;
    border-bottom: 2px solid #2e5496;
    border-bottom-color: rgb(46, 84, 150);
    height: 32px;
    line-height: 0px;
    display: inline-block;
    font-family: "Microsoft Yahei", PingFangSC-Regular, "Helvetica Neue", Helvetica, Arial,
     "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
    letter-spacing: 0.2em;
}

.box .box-heading {
    text-transform: uppercase;
    padding: 0px 0px 0px 0px;
    margin-bottom: 20px;
    font-size: 32px;
    line-height: 16px;
    color: #222;
    border-bottom: 1px solid #fff;
}

.box .box-tt span {
    padding: 0 50px 0 0;
    display: inline-block;
    font-size: 22px;
    color: #7a7a7a;
    font-family: "Microsoft Yahei", PingFangSC-Regular, "Helvetica Neue", Helvetica, Arial,
     "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
    letter-spacing: 0.1em;
}


/*Index_Service*/


.courBox {
    width: 100%;
}

.courBox .mark {
    transition: 0.4s;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: #000;
    opacity: 0;
}

.courBox li {
  position: relative;
  float: left;
  width: 25%;
  list-style: none;
  padding: 5px;
}

.courBox .courTxt {
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding-left: 10px;
    z-index: 3;
    text-shadow: #030303 2px 0px 2px;
}

.courBox li a:hover .mark {
      -webkit-transition: 0.4s;
      transition: 0.4s;
      opacity: 0.5; }


.courBox .courTxt p {
    position: relative;
    display: block;
    color: #fff;
    font-size: 1rem;
    opacity: 0;
    top: 10px;
    transition: 0.4s;
}

.courBox li .courTxt p {
      opacity: 0;
      -webkit-transition: 0.4s;
      transition: 0.4s;
      top: 10px;
      left:30px;
}

.courBox li:hover .courTxt p {
      opacity: 1;
      -webkit-transition: 0.4s;
      top: -10px; 
      left:30px;
}


.courBox .courTxt h3 {
    display: block;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 30px;
    padding-left: 30px;
    font-weight: bold;
}

.courBox .courTxt h3::after {
    content: '';
    margin-top: 15px;
    display: block;
    width: 15%;
    height: 2px;
    background: #75c6e9;
}

.courPhoto .mark:hover{opacity:0.65;}

@media(max-width:960px){
.courBox li {
    width: 33.3%;
  }
} 

@media(max-width:767px){
.courBox .courTxt h3 {
    font-size: 1.550rem; 
 }
}  

@media(max-width:480px){
.courBox .courTxt  {
    padding-left: 10px;
    padding-top:40%;
 }  
} 

@media(max-width:428px){
   .courBox li {
     position: relative;
     float: left;
     width: 50%;
     list-style: none;
     padding: 5px;
 }
}

@media(max-width:428px){
.courBox li .courTxt p {
      opacity: 0;
      -webkit-transition: 0.4s;
      transition: 0.4s;
      top: 10px;
      left:10px;
 }
}  





/*h1*/
.h1title {display: none;}

body[data-type="fullpage"] .main {
    min-height: 50px;
}



/*產品格*/
ul.product-list li .desc {
    display: block;
    min-height: 1.2rem;
    max-height: 2.4rem;
    margin-bottom: auto;
    font-size: .8rem;
    line-height: 1.5;
    word-break: break-word;
    color: #666;
    overflow: hidden;
    padding: 0 16px;
    display: none;
}


/*隱藏詳細介紹*/
ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #000;
}
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: #444;
    overflow: hidden;
    padding: 0 16px;
}


/*改產品格名稱顏色*/
#side ul li.current > div a {
    color: #94a440;
}
#side ul li a {
    color: #000;
    display: block;
    padding: 10px 20px;
    transition: .3s;
}
.product-list-div h2 a {
    color: #000;
    text-decoration: none;
    display: inline-block;

}
.product-list-div h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
    text-shadow: 0 0px 0 #fff;
}
body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #000;
    transition-property: left, color;
}
ul.product-list li .money-icon {
    color: #000;
    font-size: 95%;
    margin-right: 8px;
    margin-left: 16px;
    text-shadow: 0 0px 0 rgba(255,255,255,0.7);
}

/* LOGO調整*/
@media only screen and (max-width: 767px) {
  .topnavbar .container {
    text-align: center;
    font-size: initial; /* 或 14px、16px， */
  }
}
