/*icon*/
.tl_liao{position:fixed;right:0.5%;top:58%;z-index:1000;}
.line_liao{position:fixed;right:0.5%;top:71%;z-index:1000;}


.tl_liao, .line_liao {
    transform:scale(0.6);
 }

@media only screen and (max-width: 428px) {
  .tl_liao{position:fixed;right:0.5%;top:51%;z-index:1000;}
  .line_liao{position:fixed;right:0.5%;top:62%;z-index:1000;} 
}

@media(max-width:428px){
 .tl_liao,.line_liao,  {
    transform:scale(0.5);
 }
}

/*body*/
.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;
 }


#logo a{background:url("https://static.iyp.tw/409038/files/ea1f7bf2-a227-4061-b4b0-3a5a15181638.png") no-repeat scroll 0 0 transparent;display:block;text-indent:-9999px;width:350px;height:80px;}


/*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-color: #222;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding:0;
  border-bottom:4px solid #00b7ee;
  height:100px;
}


/*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{
  background:#006aa7;
}



/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/409038/files/34b3b3a9-773f-4da8-8b05-3878d770b3d6.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}


#bodyinhome .fcol.fcol-2 .container{
   padding:40px 20px;
}

.about_ln {
  width: 100%;
  padding: 20px 30px;
  border-top-left-radius: 2em;
  border-top: 2px solid #a4a4a4;
  border-left: 2px solid #a4a4a4;
  position: relative;
  top: 10px;
}

@media(max-width:480px){
  .about_ln {
  width: 100%;
  padding: 20px 20px;
  }
}


/*Index_3*/
#bodyinhome .fcol.fcol-3 div{
   padding:0;margin:0;
}

#bodyinhome .fcol.fcol-3  .container{
  max-width:100%;
  width:100%;
}


.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;
}

.courBox .courTxt {
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding-left: 30px;
    z-index: 3;
    text-shadow: black 0.1em 0.1em 0.2em;
}

.courBox li a:hover .mark {
      -webkit-transition: 0.4s;
      transition: 0.4s;
      opacity: 0.5; }


.courBox .courTxt p {
    font-family:'華康中黑體';
    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 {
    font-family:'華康中黑體';
    display: block;
    font-size: 1.750rem;
    color: #fff;
    margin-bottom: 30px;
    padding-left: 30px;
   font-weight: bold;
}

.courBox .courTxt h3::after {
    content: '';
    margin-top: 15px;
    display: block;
    width: 15%;
    height: 5px;
    background: #1b88d4;
}

.courPhoto .mark:hover{opacity:0.65;}

@media(max-width:960px){
.courBox li {
    width: 100%;
  }
} 

@media(max-width:767px){
.courBox .courTxt h3 {
    font-size: 1.550rem; 
 }
}  

@media(max-width:480px){
.courBox .courTxt  {
    padding-left: 10px;
    padding-top:40%;
 }  
} 


/*Index_4*/
#bodyinhome .fcol.fcol-4{
  background:url(https://static.iyp.tw/409038/files/cb92ec53-5164-4462-95b7-98773e7ebf94.jpg)no-repeat; 
  background-position:top center;
  background-size:cover;
  min-height:400px;
}

#bodyinhome .fcol.fcol-4 .container{
   padding:40px 20px;
}


/*Index_5~6*/
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}


/*h1*/
.h1title h1{
   color:#015fa6;
}

/*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: inherit;
  overflow: hidden;
  padding: 0 16px;
  color: #333;
}

body[data-type="fullpage"] .main {
  min-height: 50px;
}


/*form*/
.mark{
   background:none;
}

/*footer*/
#footer{
   background:url(https://static.iyp.tw/409038/files/b9971646-0b51-4a59-a38f-ab6fb6719824.jpg)no-repeat;
   background-position:top center;
   background-size:cover;
}

