/*整體文字調整*/
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;
 }



/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/  
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
  background:background: -webkit-radial-gradient(circle,#01b4ee,#0168b7);
  background: -o-radial-gradient(circle,#01b4ee,#0168b7);
  background: -moz-radial-gradient(circle,#01b4ee,#0168b7);
  background: radial-gradient(circle,#01b4ee,#0168b7);
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
}



#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 100%;
    transition:all 0.5s  all ease; 
}

#nav ul li a:hover{
    color: #ffd544;
}

#nav ul li a::before {
  content:"";
  border-top:2px solid #ffd544;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:5px;
  margin:0 auto;
  transition:.3s all ease
}

#nav ul li a:hover::before {
 width:50%;
}

#nav ul li.current a::before  {
  content:"";
  border-top:1px solid #f8c412;
  width:50%;
  position:absolute;
  top:5px;
  margin:0 auto;
}

#nav ul li.current a  {
    color: #ffd544;  
}



/*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_3*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3{
  background:#2d95e0 url(https://static.iyp.tw/43064/files/60546519-dd93-4012-a035-b6281f773e02.png)no-repeat;
  background-position:center center;
  background-size:cover;
  min-height:450px;
}

@media(max-width:428px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3{
      background-position:center left;
  }
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container{
   max-width:100%;
   width:80%;
   padding:60px 16px;
}

.idea.row{padding-top:5%;}


/*about_4*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4{
  background:url(https://static.iyp.tw/43064/files/f82ff2a9-023c-4d17-ab6a-e75bdb58b3b3.jpg)no-repeat;
  background-position:center center;
  background-size:cover;
  min-height:350px;
}


.greyLine {
    position: relative;
    margin: 0 auto;
    height: 5rem;
    width: .0625rem;
    background: rgba(44,44,44,0.3);
    display: block;
    margin-bottom: 2rem;
}

.greyLine::after {
    content: '';
    display: block;
    position: absolute;
    height: .625rem;
    width: .625rem;
    border: .0625rem solid rgba(44,44,44,0.3);
    transform: rotate(45deg);
    bottom: -.8rem;
    left: -.3125rem;
}

#call a.more-btn {
  position: relative;
  margin-top: 65px;
  padding: 8px 10px;
  border: solid 1px #e9730b;
  color: #e9730b;
  font-size: 18px;
  border-radius: 99em;
  display: block;
  width: 100px;
  text-align: center;
  margin: 0 auto;
  z-index:99999;
}

#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: 99em;
}


#call a.more-btn:hover:before {
    right: 0px;
    width: 100%;
    border-radius: 99em;
}

#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;
}



/*about_5~6*/
#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:#006b9b;border-bottom:1px solid #dcdcdc;}


/*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: #006b9b;
    text-shadow: none;
    padding: 0 10px;
}


/*form*/
.mark {
    background: none;
   }




/*變色方塊*/
.A1{
  background:transparent;
  text-align: center;
  height:auto;
  padding-bottom:auto;
  padding: 5%;
  border-radius:2px;
  border: 1px solid #fff;
  cursor: pointer;
  display:block'
}

.A1:hover{
  background:#0d468d;
}

.A1 a{
  display:block;
}


.b1{
  background:#0091cc;
  text-align: center;
  height:auto;
  padding-bottom:auto;
  padding: 5%;
  border-radius:2px;
}

.b1:hover{
  background:#0d468d;
}

/*滑動放大*/
.block {
    display: block;
    text-align: center;
    width: 100%;
    height:auto;
    padding-bottom:auto;
    padding: 5%;
    background: #124388;
   overflow: hidden;
   position: relative;
    transition:all 0.5s;
  border-radius: 50px;
}
.block:hover {
    transform:scale(1.2);
      background:#01b0f1;
}
