/*fb icon*/
/*.fb{position:fixed;right:0.5%;top:24%;z-index:1000;}*/
.line{position:fixed;right:0.5%;top:32%;z-index:1000;}
.tl{position:fixed;right:0.5%;top:40%;z-index:1000;}

@media only screen and (max-width: 428px) {
   .fb{position:fixed;right:0.5%;top:30%;z-index:1000;  
   }
   .line{position:fixed;right:0.5%;top:36%;z-index:1000;     
  }
   .tl{position:fixed;right:0.5%;top:42%;z-index:1000;     
  }
}


@media(max-width:414px){
  .fb{transform:scale(0.7); 
  }
  .line{transform:scale(0.7); 
  }
  .tl{
    transform:scale(0.7);   
 }
}  









/*整體文字調整*/
.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 0;
 }

@media(max-width:428px){
#logo img {
  padding: 0 0 0 5%;
  }
}  



/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/  
  padding-top:0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
  background-color:rgba(20,20,30,0.75);
  height:100px;
}


/*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 #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #1580c3;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #1580c3;padding-top:5px;}


#nav ul li.current a  {
    color: #1580c3;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: #00458b;
} 


#nav ul .subnav li a {
    background-color: #fff;
    color: #333;
    text-align: left;
    width: 100px;
}

#nav ul .subnav li a:hover {
    color: #fff; 
}

#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: #333;
    width:200px;
    white-space: pre-line;
    padding:10px 5px;
  }




/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(1200 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index_1*/
#bodyinhome .fcol.fcol-1{
  background:#201c1b;
  background-position:left center;
  background-size:cover;
  background-attachment:fixed;
}


/*Index_2*/
#bodyinhome .fcol.fcol-2 .container{
  max-width:100%;
  width:100%
 }

#bodyinhome .fcol.fcol-2 div{
  padding:0px;;
  margin-bottom: -4px;
}


#bodyinhome .fcol.fcol-2 .courBox .courTxt {
  overflow: hidden;
  position: absolute;
  top: 94%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(50, 50, 50, 0.75); /* 將這裡的背景色從黑色改為深灰色，並稍微增加不透明度 */
  width: 100%;
  padding-top: 6px;
}


@media(max-width:1600px){
#bodyinhome .fcol.fcol-2 .courBox .courTxt {
  overflow: hidden;
  position: absolute;
  top: 93%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(50, 50, 50, 0.75); /* 在響應式設定中也進行同樣的修改 */
  width: 100%;
  padding-top: 6px;
  }
}

@media(max-width:1400px){
#bodyinhome .fcol.fcol-2 .courBox .courTxt {
  overflow: hidden;
  position: absolute;
  top: 91%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(50, 50, 50, 0.75); /* 在響應式設定中也進行同樣的修改 */
  width: 100%;
  padding-top: 6px;
  }
}

@media(max-width:1280px){
#bodyinhome .fcol.fcol-2 .courBox .courTxt {
  padding-top: 10px;
  }
}


@media(max-width:480px){
#bodyinhome .fcol.fcol-2 .courBox .courTxt {
  overflow: hidden;
  position: absolute;
  top: 85%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(50, 50, 50, 0.75); /* 在響應式設定中也進行同樣的修改 */
  width: 100%;
  padding-top: 6px;
  }
}

#bodyinhome .fcol.fcol-2 .courBox .courTxt h3::after {
  display: none;
}


@media (max-width: 1280px){
#bodyinhome .fcol.fcol-2  .courBox .courTxt h3 {
  display: block;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
  padding-left: 10px;
 }
}


@media(max-width:480px){
 #bodyinhome .fcol.fcol-2 .courBox .courTxt h3 {
    display: block;
    font-size: 0.7rem;
    color: #fff;
    margin-bottom: 10px;
    padding-left: 10px;
 }
}



/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:#383838;
}


/*Index_4*/
#bodyinhome .fcol.fcol-4{
  background:#ffffff ;
} 

#bodyinhome .fcol.fcol-4 .container{
   padding:40px 20px;
   min-height:200px;
}


@media only screen and (max-width: 428px){
 #bodyinhome .fcol.fcol-4 .col-5 {
      flex:0 0 50%;
    }   
}



/*Index_5*/
#bodyinhome .fcol.fcol-5 .container{
  max-width:100%;
  width:100%;
 }

#bodyinhome .fcol.fcol-5 div{
  padding:0px;;
}


.courBox {
    width: 100%;
}

.courBox .mark {
  transition: 0.4s;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 99%;
  height: 99%;
  z-index: 2;
  background: #000;
  opacity: 0;
}

.courBox li {
    position: relative;
    float: left;
    width: 33.3%;
    list-style: none;
    padding:0px;
}

.courBox .courTxt {
    overflow: hidden;
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    width: 100%;
    padding-left: 30px;
    z-index: 3;
    /*text-shadow: #030303 2px 0px 2px;*/
    background: rgba(0,0,0,0.65);
    width: 40%;
}

.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.750rem;
    color: #fff;
    margin-bottom: 10px;
    padding-left: 30px;
}

.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: 50%;
  }
} 


@media(max-width:1280px){
.courBox .courTxt  {
    padding-left: 10px;
    padding-top:40%;
 }  
}  

@media(max-width:1280px){
.courBox .courTxt h3 {
    display: block;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    padding-left: 10px;
 }
}

@media(max-width:767px){
.courBox .courTxt h3 {
    font-size: 1.4rem; 
 }
}  

@media(max-width:480px){
.courBox .courTxt  {
    padding-left: 10px;
    padding-top:40%;
 }  
}  

@media(max-width:480px){
.courBox .courTxt h3 {
    display: block;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    padding-left: 10px;
 }
} 

@media(max-width:480px){
.courBox .courTxt {
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding-left: 30px;
    z-index: 3;
    background: rgba(0,0,0,0.65);
    width: 50%;
 }
}  


/*Index_6*/
#bodyinhome .fcol.fcol-6{
  background:url();
  background-position:top 40% left;
  min-height:300px;
}

@media(max-width:428px){
   #bodyinhome .fcol.fcol-6{
       background-size:cover;
   }
}


#bodyinhome .fcol.fcol-6 .container{
  padding:60px 20px;
}

@media(max-width:427px){
 #bodyinhome .fcol.fcol-6 .container{
   background:rgba(255,255,255,0.75);
  }
}


/*button*/
#call a.more-btn {
  position: relative;
  margin-top: 53px;
  padding:5px 15px;
  border: solid 1px #e9730b;
  color: #e9730b;
  font-size:16px;
  border-radius: 0px;
}

#call a.more-btn span {
    color: #FFE9AB;
    text-shadow: 0px 0px 6px rgba(248, 255, 51, 0.76);
}

#call a.more-btn:hover{
    border: solid 0px #e9730b;
    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: 0px;
}


#call a.more-btn:hover:before {
    right: 0px;
    width: 100%;
    border-radius: 0px;
}

#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;
}




/*h1*/
.h1title{
  color:#003061;
  text-align:center;
}


/*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: #003061;
    text-shadow: none;
    padding: 0 10px;
}


/*form*/
.mark {
    background: none;
}



/*footer*/
#foot-nav{
  display:none;
}


@media only screen and (max-width: 428px){
  #footer .container .col-5 {
    flex:0 0 50%;
 }
}

/*copyright*/
#footer-service #copyright{
  display:none;
}



/*滑動放大*/
.block {
  display: block;
  text-align: center;
  width: 100%;
  height: auto;
  padding-bottom: auto;
  padding: 5%;
  color: #fff;
  background: #2b2b2b;
  overflow: hidden;
  position: relative;
  transition: all 0.5s;
  border-radius: 5px;
}

.block:hover {
  transform: scale(1.1);
  background: #383c3c;
}

/*以下為手機板底部BAR*/

@media screen and (min-width: 768px) { 
.mobilebar{   display: none; }}


.topnavbar111 {
  position:absolute;
  left:0px;
  top:0em;
  z-index:1000;
  width:37.5%;
  height:300px;
  background: url( 'https://resource.iyp.tw/static.iyp.tw/39988/files/f8a367df-aa78-4983-9ea3-abee405589e8.png' )no-repeat;
  background-size: 100%;
  }
.topnavbar111 img{
margin:1.3em 1.3em 0 35%;
}





@media (min-width: 1300px) and (max-width: 1500px) {
  .topnavbar111{
  min-width:32.5%;
  height:5px;
  }
}

@media (min-width: 768px) and (max-width: 1025px) {
   .topnavbar #logo img{
   display: none; 
  }
  #nav ul li a {
    padding: 10px 12px;
    font-size: 100%;
    color:#FFF;
}
  
}
@media (min-width: 1000px) and (max-width: 1300px) {
  .topnavbar111{
  min-width:25%;
  height:5px;
  }
}
@media screen and (max-width: 1200px) { 
.fb,.ig,.line01
  {
    display: none;
  }
}
.mobilebar1{
  position: fixed;
  bottom:0px;
  background:#0A5391;
  width:100%;
  padding:0;
  height:10px;
}
.mobilebar{
  position: fixed;
  bottom:10px;
  background:#0A5391;
  width:100%;
  padding:100 50px;
  height:49px;
}
.mobilebar p{
text-align: center;
   font-size: 10px;
}
.mobilebar a{
color:#000;
}

.mobilebar img{
width:100%;
height:auto;
display: block; margin-left: auto; margin-right: auto;
}


/*以上為手機板底部BAR*/




/*底下基本資訊-中華黃頁隱藏*/
#copyright {
    display: none;
}