/*body {margin:0 auto;padding:0;background-color: #000;
	background-image: url(/templates/cache/15921/images/51838275b6a34.jpg);
	background-repeat: repeat;background-attachment: fixed;
    background-position:none;}

#nav {overflow: hidden;height: 45px;border-radius: 5px 5px 0 0;
    background: url("../images/body-bg.png") repeat scroll left top #000;}

#bodyinpage #main-wrap {BACKGROUND: #fff;}

#main-wrap {margin: 0 auto 20px;background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;border-radius: 5px 5px 5px 5px;}*/


/*整體*/
body {
    color: #000;
    font-size: 14px;
    margin: 0;
}

/*LOGO隱藏
#logo a, .modal .logo a {display: none;}
#logo {display: none;}  
*/

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*gotop*/
#gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 15px 15px;
    font-size: 17px;
    width:80px;height:80px;
    border-radius:20px;
    border:2px solid #cb7611;
    background-color: none;
    color: #cb7611;
    text-align:center;
    cursor: pointer;
    font-weight:bold;
}


#logo h1 {
    height: 70px;
}


/*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: 1px #fff dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #c90000;
    font-weight:bold;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #c90000;padding-top:5px;}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
}


#nav ul li.current a  {
    color: #c90000;  
}

.topnavbar {
   background-color:#000;
   top:0px;
   position:relative;
   z-index:100;
   width:100%;
   height:100px;
   border-bottom: 0px solid #000;
}

.topnavbar .container {
 height:120px;
}

@media only screen and (max-width: 767px) {
  .topnavbar {
   height:100px;
   }
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 180px;
    background-color: rgba(75,75,75,0.55);
} 


#nav ul .subnav li a {
    background-color: rgba(201, 0, 0,0.85);
    color: #fff;
    text-align: left;
    width:180px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 180px;
}


#nav li.has-subnav ul li a {
    color: #fff;
    width:180px;
    white-space: pre-line;  
}


#nav .subnav {
    background-color: rgba(75, 75, 75,0.75);
   }  

#nav ul li .subnav a span{color:#fff;}


/*Banner*/
#bodyinhome .swiper-container {
  height: auto !important;
}

#bodyinhome .swiper-wrapper, #bodyinhome .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800/ 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

#bodyinhome .swiper-slide {
  width: 100% !important;
}

#bodyinpage .swiper-container {
  height: auto !important;
}

#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

#bodyinpage .swiper-slide {
  width: 100% !important;
}


/*index_1*/
#bodyinhome .fcol.fcol-1{background:#05325b url(https://static.iyp.tw/15921/files/9eb6854d-cf5e-493a-893c-e8555bb4b181.png)no-repeat;
   padding:50px 0; background-position:left top;
}

@media(max-width:414px){ 
 #bodyinhome .fcol.fcol-1 {
    background:#05325b url(https://static.iyp.tw/15921/files/9eb6854d-cf5e-493a-893c-e8555bb4b181.png) top center no-repeat;
    background-size: cover;
 }
}  


/*Index_2*/
#bodyinhome .fcol.fcol-2{background:#efefef;}

.newsBox {
    padding: 20px 0 20px 0;
}

.newsBox {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.newsBox .title {
    text-align: left;
}

.newsBox .title {
    color: #1f1c1d;
}

.title {
    width: 100%;
    font-size: 1.313rem;
    line-height: 34px;
    margin-bottom: 50px;
    font-family: Noto Serif, PT Serif, "source-han-serif-tc", Songti TC, serif;
}

.newsBox .newsList li {
    width: 100%;
    border-bottom: 1px solid #dddddd;
    list-style: none;
    padding: 0 10px 13px 10px;
    margin-bottom: 25px;
}

.newsBox .newsList li span {
    font-size: 1.188rem;
    color: #6e6e6e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
.newsBox .newsList li  {
    font-size: 1.188rem;
    color: #6e6e6e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
 }
}

.newsBox .newsList li time {
    font-size: 1rem;
    color: #bf0000;
    border: 1px solid #bf0000;
    padding: 0 11px;
    line-height: 29px;
    margin-right: 25px;
    transition: 0.4s;
    display: inline-block;
    vertical-align: middle;
}

.newsBox .newsList li .more {
    float: right;
    color: #6abadd;
    font-size: 1rem;
}

@media(max-width:768px){
.newsBox {
    width: 100%;
    margin: 0 auto;
    padding:27px 0 0 0 ;
  }
}

@media(max-width:768px){
.newsBox {
    width: 100%;
    margin: 0 auto;
 }
}

@media screen and (max-width: 960px) {
  .newsBox .newsList li .more {
    display: none; }
  .newsBox .newsList li time {
    margin-right: 9px; } }

@media screen and (max-width: 768px) {
  .newsBox .newsList li {
    width: 95%;
    margin: 0 auto 25px auto; }
  .newsBox .newsList li time {
    font-size: 0.8rem; }
   .newsBox .newsList li span {
    font-size: 1rem; }
  .newsBox .newsList li span {
    width: 100%;
    font-size: 1rem;
    margin-top: 10px; }
  .moreBtn a {
    font-size: 1.15rem;
    width: 180px;
    height: 39px;
    line-height: 35px; }
  .newsTitle time {
    bottom: -32px; }
  .othernewsList li {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    float: none; }
  .othernewsList li span {
    width: 100%;
    font-size: 0.875rem; } }

@media screen and (max-width: 750px) {
  .newsTitle time, .othernewsList li time {
    width: 90px;
    bottom: 0px;
    float: none;
    display: block;
    margin: 0 0 7px 0;
    font-size: 0.8rem;
    padding: 0 8px;
    line-height: 25px; }
  .newsTitle h2 {
    width: 100%;
    float: none;
    font-size: 1.2rem; }
  .newsBox .newsList li span {
    font-size: 0.875rem; }
  .newspage .back {
    padding-top: 30px; }
  .othernewsList li time {
    margin-bottom: 2px; }
  .othernewsList {
    padding: 0 0 0 10px; }
  .newsxpage .back {
    margin-top: 30px; } }


@media(max-width:768px){
.newsBox .newsList li span {
    font-size: 1rem;
 }
}

@media(max-width:360px){
.newsBox .newsList li span {
    width: 69%;
 }
}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/15921/files/02342042-e16a-4272-8db2-db98006d210c.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;  
}

.lifeBox {
    width: 100%;
}
.lifeContent {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 41px 0 61px 0;
}

.lifeContent .lifetitle {
    width: 100%;
    text-align: center;
    margin-bottom: 47px;
    letter-spacing: 0.1rem;
}

.lifeContent .lifetitle h2 {
    display: block;
    color: #8bcfee;
    font-size: 1.750rem;
    font-family: 'Lora', serif,Times New Roman;
    margin-bottom: 16px;
}

.lifeContent .lifetitle h3 {
    font-weight: normal;
    font-size: 1.1rem;
    color: #fff;
}

.lifeContent .liftxt {
    clear: both;
    padding-top: 42px;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    line-height: 22px;
    letter-spacing: 0.01em;
    color: #fff;
    font-family: "微軟正黑體";
}

.lifeContent li {
    width: 30%;
    max-width: 357px;
    margin-right: 15px;
    margin-left: 15px;
    float: left;
    list-style: none;
}

.lifeContent li a {
    width: 100%;
    height: 100%;
    display: block;
}

.lifeContent .lifeImg {
    width: 336px;
    height: 336px;
    border-radius: 99em;
    overflow: hidden;
    border: 1px solid #fff;
    padding: 12px;
}

.lifeImg img{
vertical-align: middle;}


@media screen and (max-width: 480px) {
  .lifeContent li {
    width: 70%;
    max-width: 70%; }
  .indexpage .courBox .courTxt {
    padding-left: 10px; }
  .indexpage .newsBox .newsList li span {
    font-size: 0.875rem; }
  .indexpage .slick-prev,
  .indexpage .slick-next {
    display: none !important;
  }
}


@media screen and (max-width: 768px) {
  .lifeContent li {
    float: none;
    width: 80%;
    max-width: 80%;
    margin-right: 0;
    margin: 0 auto 30px auto;
  }
}  

@media screen and (max-width: 1050px) {
  .lifeContent .lifeImg {
    width: 98%;
    height: 98%; }
  .lifeContent li {
    margin-right: auto;
  } 
}

.lifeContent .lifeImg div {
    position: relative;
    border-radius: 99em;
    overflow: hidden;
}


.lifeContent .lifeImg div span {
        -webkit-transition: 0.4s;
        transition: 0.4s;
        opacity: 0;
        width: 100%;
        height: 100%;
        display: block;
        background: rgba(201, 238, 255, 0.9);
        font-size: 1.188rem;
        color: #494949;
        position: absolute;
        border-radius: 99em; }
        .lifeContent .lifeImg div span b {
          position: absolute;
          top: 50%;
          -webkit-transform: translateY(-50%);
                  transform: translateY(-50%);
          width: 100%;
          text-align: center; }


.lifeContent .lifeImg:hover div span {
        -webkit-transition: 0.4s;
        transition: 0.4s;
        opacity: 1; }

/*
#ind_ser .imgBox {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.imgBorder {
    display: block;
    height: inherit;
    border-radius: 5px ;
    border: 5px solid #fff;
    transition:all 0.5s;
}

.imgBorder:hover {
    display: block;
    height: inherit;
    border: 5px solid #03477b;
    border-radius:50%;
}

.w-20 {
    width: 19%;
    display: inline-block;
    margin-right: 10px;
}

@media(max-width:414px){
  .w-20 {
    width: 45%; 
    padding-left: 10px;
  }  
}

.ov-h {
    overflow: hidden;
}

.imgBorder img {
    width: 100%;
    display: block;
    transition: all .3s;
}

.imgBorder:hover img {
    transform: scale(1.2);
}

#ind_ser h2 {
    line-height: 2;  
}

.fcol h2{
  padding-top:10px;color:#222;
  font-size: 1.2em;
  font-weight: 500;
}

@media(max-width:414px){
  .fcol h2 {
   font-size:1em;
  }  
}

@media(max-width:414px){
  #bodyinhome .fcol.fcol-2 .col-4 {
    width: 50%;
  }
}  
*/


/*Index_4~6*/
#bodyinhome .fcol.fcol-4,.fcol.fcol-5, .fcol.fcol-6{display:none;}


/*inpage*/
.h1title h1 {border-bottom:1px dashed #555;color:#000;}


/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dotted #999;
}

/*pd*/
ul.product-list li h3 {color:#000;}



ul.product-list li a.focus, ul.product-list li a:hover {
    color: #000;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px 1px rgba(0,0,0,0.08);
}

ul.product-list li a {
    cursor: pointer;
    color: #000;
}/*改產品格滑過去顏色*/


.mark{background:none;}

#footer{border-top:4px solid #c90000;}

/*footer*/
#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fff;
    display: none;
}

#foot-nav ul li a {
    color: #fff;
    font-size: 1.06em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fff;
}

#footer {
    color:#fff;
}

#contact-info ul li span {
    color: #fff;
}

#copyright, #copyright a{color:#dcdcdc;}


/*footBox*/
.footer-edit .col-md-3{padding-right:10px;}

.footer-edit ul li h4 {
        padding-bottom: 5px;
        border-bottom: 1px solid #ff0000; }


.footer-edit ul li {
      text-align: center;
      list-style: none;
      width: 100%;
      margin-bottom: 10px; }


.footer-edit .add {
    text-align: right;
    float: right;
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.500rem; }


.footer-edit .add .seicon {
      margin-bottom: 15px;
      width: 100%;
      display: block;
      float: none; }

.footer-edit .add .seicon li {
        width: auto;
        display: inline-block;
        vertical-align: top;
        margin: 0 6px 0 0; }

.footer-edit .add .seicon li a {
          width: 30px;
          height: 30px;
          display: block;
          text-indent: -10000px; }

@media screen and (max-width: 767px) {
.fooBox ul {
    width: 100%;
    margin: 0 0 40px 0;
 }
}

@media only screen and (max-width: 414px) {
 .footer-edit .col-6 {
  width:100%;
 }
}