@charset "UTF-8";



/*-----------------------------*/
/* Loader */
/*-----------------------------*/
#loader-wrapper{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #eee;
    z-index: 1000;
}
#loader-wrapper .loader-section.section-top {
    top: 0;
}
#loader {
    z-index: 1001; /* anything higher than z-index: 1000 of .loader-section */
}
.loaded #loader-wrapper .loader-section.section-top {
    -webkit-transform: translateY(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateY(-100%);  /* IE 9 */
    transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */
}
.loaded #loader {
    opacity: 0;
}
#loader {
    position: relative;
    width: 100px;
    height: 100px;
    display: block;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 50%;
    
}
#loader,
#loader:before,
#loader:after {
    animation: 1s infinite ease-in-out;
}
#loader:before,
#loader:after {
    width: 100%; 
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}
#loader:before,
#loader:after {
    content: '';
}
#loader:before {
    border: 1px solid yellowgreen;
    top: -1px;
    left: -1px;
    opacity: 0;
    animation-name: loader;
}
@keyframes loader {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}
#loader:after {
    background-color: yellowgreen;
    animation-name: loader2;
}
@keyframes loader2 {
    0% { transform: scale(1); }
    50% { transform: scale(0.7); }
    100% { transform: scale(1);  }
}
.loaded #loader-wrapper {
    visibility: hidden;
}
.loaded #loader {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
            transition: all 0.3s ease-out;
}
.loaded #loader-wrapper .loader-section.section-topt {
 
    -webkit-transition: all 0.3s 0.3s ease-out;
            transition: all 0.3s 0.3s ease-out;
}
.loaded #loader-wrapper {
        -webkit-transform: translateY(-100%);
            -ms-transform: translateY(-100%);
                transform: translateY(-100%);
 
        -webkit-transition: all 0.3s 0.6s ease-out;
                transition: all 0.3s 0.6s ease-out;
}



/*-----------------------------*/
/* Common settings */
/*-----------------------------*/
* {
  font-family: "Lato", sans-serif, "微軟正黑體";
}
html, body {
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  max-width: 100%;
}
body {
  font-size: 16px;
  overflow-x: hidden;
  
}
h1, h2, h3, h4 {
  font-weight: 300;
  text-align: center;
  padding: 50px;
}
section {
  padding: 60px 20px;
  
}
a {
  color: inherit;
}
a:hover,button:hover {
  cursor: pointer;
}
a:hover {
  text-decoration: none;
  color: inherit;
}
.btn:focus {
  box-shadow: none;
}
.center {
    text-align: center;
}



/*-----------------------------*/
/*section_about*/
/*-----------------------------*/
#section_about .about {
    font-weight: 900;
    font-size: 1.6rem;
    color: #9fc617;
}
#section_about .maincontent {
    line-height: 2.5rem;
    font-size: 1rem;
    padding: 0 7rem;
}



/*-----------------------------*/
/* Navbar */
/*-----------------------------*/
nav.navbar {
  transition: 1s;
}
nav.navbar a {
  padding: 0 5px;
}
nav.navbar .lang {
  font-size: 0.8rem;
}
nav.navbar #lang-en {
  padding-left: 50px !important;
}
nav.navbar .icon {
  font-size: 1rem;
}
.fixed-top {
    z-index: 999;
}
.navbar.navbar-expand-sm.navbar-light.bg-light.fixed-top.navbar-top {
  background-color: transparent !important;
}
.navbar.navbar-expand-sm.navbar-light.bg-light.fixed-top.navbar-top a {
  color: #212224;
  transition: 0.5s;
}
.navbar.navbar-expand-sm.navbar-light.bg-light.fixed-top.navbar-top a:hover {
  color: #fff;
}
.navbar.navbar-expand-sm.navbar-light.bg-light.fixed-top .navbar-brand {
  color: #9fc617;
}
.navbar.navbar-expand-sm.navbar-light.bg-light.fixed-top a {
  color: #212224;
  transition: 0.5s;
}
.navbar.navbar-expand-sm.navbar-light.bg-light.fixed-top a:hover {
  color: #9fc617;
}
.navbar.navbar-expand-sm.navbar-light.bg-light.fixed-top #lang-en {
  padding: 0.5rem !important;
}



/*-----------------------------*/
/*header*/
/*-----------------------------*/
#header_index {
  height: 100vh;
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url("./image/cover_family.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #212224;
}
#header_index h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
}
#header_index .explore {
  position: absolute;
  left: 50%;
  /*top: 50%;*/
  transform: translate(-50%, -50%);
  font-size: 16px;
  top: 85%;
  color: #fff;
  opacity: 0;
  text-align: center;
  transition: 2s;
  animation: arror 2s both infinite;
}
#header_index .explore:after {
  content: "⇣";
  display: block;
  transform: scale(1.2);
}
#header_index .explore.at_top {
  opacity: 1;
}
@keyframes arror {
  0%,100% {
    bottom: -10px;
  }
  50% {
    bottom: 20px;
  }
}
@keyframes blink {
  0%,100%{
    opacity: 1;
  }
  50%{
    opacity: 0;
  }
}
@keyframes rightIn {
  0%{
    transform: translateX(15px);
  }
  100%{
   transform: translateX(0px);
  }
}



/*-----------------------------*/
/*section_iip*/
/*-----------------------------*/
#section_iip {
  position: relative;
  background-color: #fff;
}
#section_iip #iip_control {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
}
#section_iip #iip_control .item {
  width: 200px;
  margin: 20px;
  border: 0.5px solid #ececec;
  background-color: #ececec;
  transition: 0.5s;
}
#section_iip #iip_control .item:hover {
  background-color: #fff;
  color: #9fc617;
  border: 0.5px solid #9fc617;
  transition: 0.5s;
}
#section_iip #iip_control .list-group-item.active {
  background-color: #fff;
  color: #9fc617;
  border: 0.5px solid #9fc617;
  transition: 0.5s;
}
#section_iip .tab-content>nav{
    width: 1000px;
}
#section_iip #iip-control {
  z-index: 100;
  position: absolute;
  width: 1000px;
  left: 50%;
  transform: translateX(-25%);
  background-color: #333;
  top: 60px;
}
#section_iip #iip-control span, #section_iip #iip-control i {
    font-size: 1.2rem;
    opacity: 0;
    color: rgba(255,255,255,0.8);
    transition: 1.5s;
}
#section_iip #iip-control>button:hover i{
    opacity: 1;
    animation: click 1.5s infinite;
}
@keyframes click{
    0%,100%{
        transform: scale(0.8);
    }
    50%{
        transform: scale(1.2);
    }   
}
#LE_1 {
    position: absolute;
    width: 450px;
    height: 180px;
    top: 185px;
    left: -125px;
}
#LE_2 {
    position: absolute;
    width: 304px;
    height: 159px;
    top: 389px;
    left: 400px;
}
#LE_3 {
    position: absolute;
    width: 262px;
    height: 159px;
    top: 389px;
    left: 116px;
}
#LE_4 {
    position: absolute;
    top: 389px;
    width: 205px;
    height: 159px;
    left: -216px;
}
#iip-control {
    text-align: center;
    z-index: 100;
}
#section_iip svg {
  max-width: 1000px;
}
#section_iip #iip-image {
  text-align: center;
  margin-top: -90px;
  margin-bottom: -140px;
  z-index: 0;
}
#section_iip .iip-button {
  background-color: transparent;
  border: none ;
  outline: none;
}
#section_iip .dot-control {
  position: absolute;
  max-width: 1000px;
  width: 100%;
  left: 50%;
  transform: translateX(-25%);
  z-index: 500;
}
#section_iip .iip-dots {
  border: 2px solid #fff;
  cursor: pointer;
  position: absolute;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  background-color: #9fc617;
  transition: 1s;
  animation: blink 2s 0.8s infinite, rightIn 0.8s;
  outline: none;
}
.iip-spane{
    width: 10rem;
    left: 25px;
    top: -5px;
    position: absolute;
}
#section_iip .iip-dots:hover {
  background-color: #ececec;
  transform: translate(-10px, -10px);
}
#section_iip .iip-dots.active {
    background-color: #212224;
}
#LE-outside-tab {
    left: 400px;
    top: -400px;
}
.nav-link {
    padding: 0 !important;
}
#LE-bedroom-tab {
    left: 100px;
    top: -400px;
}
#LE-room-tab {
    left: 250px;
    top: -200px;
}
#LE-door-tab {
    left: 620px;
    top: -170px;
}
#HA-outside-tab {
    left: -200px;
    top: -330px;
}
#HA-ac-tab {
    left: 185px;
    top: -360px;
}
#HA-curtain-tab {
    left: 300px;
    top: -320px;
}
#HA-car-tab {
    left: -120px;
    top: -160px;
}
#HA-room-tab {
    left: 280px;
    top: -160px;
}
#SS-infrared-tab{
    left: -148px;
    top: -400px;
}
#SS-window-tab{
    left: 329px;
    top: -330px;
}
#SS-monitor-tab{
    left: -240px;
    top: -240px;
}
#SS-ai-tab{
    left: -10px;
    top: -180px;
}
#SS-kitchen-tab{
    left: 500px;
    top: -215px;
}
.iip-product {
  margin: 0 auto !important;
  border-radius: 10px;
  text-align: center;
  width: 80%;
  position: relative;
  z-index: 100;
}
.iip-product img {
  width: 5rem !important;
  margin-top: 1rem;
}
.iip-product p {
  margin: 20px 0 0 0 !important;
  line-height: 2rem;
}
#iip-tab .carousel {
    padding: 20px;
}
#iip-tab .carousel-indicators{
    bottom: -35px;
}
#iip-tab .carousel-control-next,
#iip-tab .carousel-control-prev{
    width: 5%;
}
#iip-tab .carousel-control-next,
#iip-tab .carousel-control-prev,
#iip-tab .carousel-indicators{
    filter: invert(100%);
}



/*-----------------------------*/
/*section_broadlink*/
/*-----------------------------*/
#section_broadlink {
  background-color: #fff;
  position: relative;
}
#section_broadlink .dummy {
  margin-top: 100%;
}
#section_broadlink .block {
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;
}
#section_broadlink .broadlink {
  cursor: pointer;
  background-size: 45%;
  background-position: center;
  background-repeat: no-repeat;
}
#section_broadlink .broadlink:before {
  content: "";
  display: block;
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  transition: 0.5s;
  z-index: 5;
}
#section_broadlink .broadlink h2 {
  margin-top: 30px;
  font-weight: 300;
}
#section_broadlink .broadlink img {
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 0 50px;
}
#section_broadlink .broadlink .texts {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  color: #fff;
  z-index: 8;
  opacity: 0;
  transition: 0.5s;
  text-align: center;
  font-size: 0.9rem;
  margin: 0;
  padding: 0px;
  line-height: 35px;
}
#section_broadlink .broadlink .texts .title {
  text-align: center;
}
#section_broadlink .broadlink .texts a {
  font-weight: 300;
}
#section_broadlink .broadlink .texts a:hover {
  font-weight: 500;
}
#section_broadlink .broadlink:hover:before, section#section_broadlink .broadlink:hover .texts {
  opacity: 1;
}



/*-----------------------------*/
/*section_client*/
/*-----------------------------*/
#section_client {
  background-color: #212224;
  color: #fff;
  height: 750px;
}
#section_client p {
  letter-spacing: 0.05rem;
}
#section_client .carousel{
    height: 400px;
}
.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 100%;
}
#section_client .client {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  align-content: center;
  transition: all .75s ;
  padding: 0;
}
#section_client .client li {
  padding: 0.5rem;
  list-style: none;
  display: inline-block;
  width: 32.2%;
  text-align: center;
}
#section_client .client-bottom{
    margin-top: 20px;
    color: #666;
}



/*-----------------------------*/
/*section_contact*/
/*-----------------------------*/
#section_contact {
  background-color: #fff;
  color: #212224;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 12rem;
}

#section_contact p{
    line-height: 2rem;
}

#contact_upper{
    margin: 50px 0px;
}



/*-----------------------------*/
/*footer*/
/*-----------------------------*/
footer {
  position: relative;
  background-color: #9fc617;
  text-align: center;
  height: 50px;
  bottom: 0px;
}
footer p {
  line-height: 50px;
  color: #fff;
  margin: 0px;
  font-weight: 300;
}



/*Tablet view*/
@media screen and (max-width: 1200px) {
    
    #section_iip #iip-control {
        width: 1000px;
        left: 50%;
        transform: translateX(-25%);
        background-color: #333;
        top: 60px;
    }
    #LE_1 {
        width: 425px;
        height: 166px;
        top: 174px;
        left: -102px;
    }
    #LE_2 {
        width: 285px;
        height: 149px;
        top: 361px;
        left: 389px;
    }
    #LE_3 {
        width: 244px;
        height: 149px;
        top: 361px;
        left: 126px;
    }
    #LE_4 {
        top: 361px;
        width: 193px;
        height: 149px;
        left: -184px;
    }
    
    #LE-bedroom-tab {
        left: 100px;
        top: -330px;
    }
    #LE-outside-tab {
        left: 350px;
        top: -330px;
      }
    #LE-room-tab {
        left: 230px;
        top: -170px;
      }
    #LE-door-tab {
        left: 550px;
        top: -170px;
    }
    #HA-outside-tab {
        left: -100px;
        top: -300px;
    }
    #HA-ac-tab {
        top: -325px;
    }
    #HA-curtain-tab {
        left: 280px;
        top: -290px;
    }
    #SS-infrared-tab {
        left: -120px;
        top: -320px;
    }
    #SS-monitor-tab {
        left: -200px;
        top: -200px;
    }
    #SS-ai-tab {
        left: 10px;
        top: -150px;
    }
    #SS-kitchen-tab {
        top: -185px;
    }
}



/*Tablet view*/
@media screen and (max-width: 1023px) {

  header h1 {
    letter-spacing: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  #section_iip svg {
      width: 800px;
  }
  
  #section_iip #iip-image {
    margin-top: -50px;
    margin-bottom: -100px;
  }
  
  .broadlink h2 {
    margin-top: 0 !important;
    font-size: 2rem;
  }
  .broadlink .title {
    font-size: 0.8rem;
    line-height: 25px;
  }
  
  #section_iip #iip-control {
    width: 800px;
    top: 75px;
  }
  
  #LE_1 {
    width: 365px;
    height: 142px;
  }
  #LE_2 {
    width: 245px;
    height: 129px;
    top: 336px;
    left: 320px;
  }
   #LE_3 {
       top: 336px;
       height: 129px;
       width: 211px;
       left: 93px;
   }
   #LE_4 {
       top: 336px;
       height: 129px;
       width: 166px;
       left: -174px;
   }
}



/*Tablet view*/
@media screen and (max-width: 991px) {
    #LE_1 {
        top: 265px;
        left: -45px;
    }
    #LE_2{
        top: 426px;
        left: 375px;
    }
    #LE_3{
        top: 426px;
        left: 148px;
    }
    #LE_4{
        top: 426px;
        left: -118px;
    }

}



/*Mobile view*/
@media screen and (max-width: 768px) {
  body {
      font-size: 12pt;
  }
  h1, h2, h3, h4 {
      padding: 50px 0px;
    }

  section {
    min-height: auto;
    padding: 30px 0px;
  }
  
  header h1 {
    font-size: 2rem;
    line-height: 45px;
    padding: 0 !important;
    margin: 0 !important;
    letter-spacing: 1px !important;
  }
  #section_about .maincontent{
      padding: 3rem;
  }
  
  .broadlink h2 {
    font-size: 2rem;
  }
  .broadlink .title {
    font-size: .8rem;
    line-height: 1.5rem;
  }
  #section_iip #svg-area {
      display: none;
  }
  
  #section_iip .tab-content .tab-pane {
    padding: 5px !important;
  }
  #section_iip #iip-tab>.tab-pane.fade.active.show>.dot-control{
      animation: showpane 0.5s both;
  }
 
  @keyframes showpane{
      0%{
          left: 60%;
      }
      100%{
          left: 50%;
      } 
  }
  
  
  #section_iip .tab-content .iip-dots {
    display: none;
  }
  
  #section_client .client {
    min-width: 250px;
    margin: 1rem 0.5;
  }
  #section_client .client-name{
      font-size: 0.6rem;
  }
  
  #section_client {
    height: 1150px;
  }
  
  #section_client .carousel {
    height: 820px;
  }
  #section_client .client li {
    width: 90%;
  }

  #section_contact p {
      text-align: center;
      margin: 50px 0px;
  }

  
}


