body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #5a5a5a;
}

h1 {
  text-transform: uppercase;
}
h1 strong {
  font-weight: 900;
}
h2 {
  text-transform: uppercase;
  margin: 0;
}
h3 {
  font-size: 18px;
  font-weight: 900;
}
h4 {
  text-transform: uppercase;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-family: "Open Sans", sans-serif;
}
p.intro {
  text-indent: 2em;
  line-height: 32px;
}
a {
  color: #fcac45;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #fcac45;
}
#header-logo {
  height: 50px;
}
.navbar-header {
  display: flex;
  align-items: center;
  flex: 1;
}
.nav-expand {
  display: none;
}

.section-title hr {
  border-color: #fcac45;
  border-width: 4px;
  width: 60px;
  float: left;
  clear: both;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix {
  display: inline-block;
}
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
/* Navigation */
#tf-menu {
  padding: 10px;
  transition: all 0.8s;
  margin-bottom: 50px;
}
#tf-menu.navbar-default {
  background-color: #f2f2f2;
}
#tf-menu a.navbar-brand {
}

#tf-menu.navbar-default .navbar-nav > li > a {
  text-transform: uppercase;
  color: #999999;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
}
.on {
  background-color: #f2f2f2 !important;
  padding: 0 !important;
}
.container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #333333 !important;
  background-color: transparent;
  font-weight: 900;
}

.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #0bd983;
  border-color: #0bd983;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #fff;
}
.navbar-right {
  margin-left: 20vw;
  flex: 1;
}
/* Home Style */
#tf-home {
  box-sizing: border-box;
  position: relative;
  top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 15vw;
  background: url(../img/banner.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
  /* color: #cfcfcf; */
  height: 100vh;
  color: #fff;
}

.banner-home-bg {
  visibility: hidden;
  float: left;
  position: absolute;
  width: 490px;
  height: 300px;
  border-radius: 6px;
  background-color: #000;
  opacity: 0.3;
}

@keyframes home-left-in {
  0% {
    left: -10vw;
    opacity: 0;
  }
  100% {
    left: 15vw;
    opacity: 0.3;
  }
}

.banner-home-bg-in {
  visibility: visible;
  animation: home-left-in 1.2s ease-out 0.2s both;
}

.banner-home-main {
  z-index: 10;
}

.banner-home-en-title {
  visibility: hidden;
  position: relative;
  top: 30px;
  margin-left: 18px;
  font-size: 20px;
  font-weight: 500;
}

@keyframes home-en-title-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.banner-home-en-title-in {
  visibility: visible;
  animation: home-en-title-in 1s ease-in-out 0.3s both;
}

.banner-home-title {
  position: relative;
  top: 30px;
  margin-left: 20px;
  font-family: SimSun;
  font-size: 50px;
  font-weight: bolder;
  letter-spacing: 5px;
}

@keyframes home-left-title-in {
  0% {
    left: -500px;
    opacity: 0;
  }
  100% {
    left: 0;
    opacity: 1;
  }
}

@keyframes home-right-title-in {
  0% {
    right: -500px;
    opacity: 0;
  }
  100% {
    right: 0;
    opacity: 1;
  }
}

.banner-home-title-1 {
  visibility: hidden;
  position: relative;
  margin-right: 15px;
}

.banner-home-title-2 {
  visibility: hidden;
  position: relative;
}

.banner-home-title-1-in {
  visibility: visible;
  animation: home-left-title-in 1s ease-out 0.6s both;
}

.banner-home-title-2-in {
  visibility: visible;
  animation: home-right-title-in 1s ease-out 1.2s both;
}

.banner-home-sub {
  visibility: hidden;
  position: relative;
  width: 450px;
  height: 70px;
  margin-left: 20px;
  background-image: url(../img/banner-part.png);
  background-size: 100% 100%;
}

@keyframes home-sub-in {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.banner-home-sub-in {
  visibility: visible;
  animation: home-sub-in 0.6s ease-in-out 1.3s both;
}

.banner-home-content {
  visibility: hidden;
  position: relative;
  top: -20px;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
}

.banner-home-content-in {
  visibility: visible;
  animation: home-en-title-in 0.9s ease-out 1.6s both;
}

.banner-home-underline {
  visibility: hidden;
  position: relative;
  margin-top: 20px;
  margin-left: 23px;
  width: 446px;
  height: 2px;
  background-color: #fff;
}

@keyframes underline-in {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.banner-home-underline-in {
  visibility: visible;
  animation: underline-in 0.7s ease-out 1.9s both;
}

.content {
  position: relative;
  padding: 20% 0 0;
}

a.fa.fa-angle-down {
  padding: 10px 15px;
  color: #fff;
  border: 2px solid #b4b4b4;
  border-radius: 50%;
  font-size: 24px;
  margin-top: 46vh;
  transition: all 0.5s;
}
a.fa.fa-angle-down:hover {
  background: #0bd983;
  color: #ffffff;
  border: 2px solid #0bd983;
}
/* About Section */
#tf-about {
  padding: 80px 0 30px;
}
ul.about-list {
  margin: 30px 0 0;
}
ul.about-list li {
  display: block;
  font-size: 16px;
  line-height: 30px;
  font-family: "Open Sans", sans-serif;
}
ul.about-list li span {
  margin-right: 10px;
}

/* Team Section */
.section-title.center {
  padding: 30px 0;
}
.section-title h2,
.section-title.center h2 {
  position: relative;
  z-index: 2;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-top: 60px;
  margin-bottom: 20px;
}
.section-title.center .line {
  border-top: 4px solid #fcac45;
  height: 10px;
  width: 60px;
  text-align: center;
  margin: 0 auto;
  margin-top: 20px;
}

.section-title.center hr {
  border-top: 4px solid rgba(252, 172, 69, 0.34);
  width: 40px;
  text-align: center;
  margin-top: 10px;
  position: relative;
  left: 17%;
}
.section-title-live {
  visibility: hidden;
}
.section-title-bottom-fix {
  margin-bottom: 0 !important;
}
.title-en {
  position: relative;
  top: -122px;
  color: #d5d5d5;
  z-index: 1;
  font-size: 66px;
  font-weight: bold;
  letter-spacing: 4px;
}
.title-white {
  color: #fff !important;
}
.title-en-deep {
  color: rgba(255, 255, 255, 0.3) !important;
}
.title-en-right {
  position: relative;
  top: 52px;
  left: 10px;
  color: #d5d5d5;
  z-index: 1;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 2px;
}
@keyframes title-in {
  0% {
    left: -500px;
    opacity: 0.1;
  }
  100% {
    left: 0px;
    opacity: 1;
  }
}
.section-title-live-in {
  visibility: visible;
  position: relative;
  animation: title-in 0.8s ease-out;
}
.about-text {
  visibility: hidden;
}
@keyframes text-in {
  0% {
    top: -250px;
    opacity: 0;
  }
  100% {
    top: 0px;
    opacity: 1;
  }
}
.about-text-in {
  visibility: visible;
  position: relative;
  animation: text-in 0.8s ease-out;
}

.about-show {
  width: 100%;
  margin-top: 30px;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about-show-item {
  visibility: hidden;
  flex: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
@keyframes show-item-in {
  0% {
    right: -400px;
    opacity: 0.1;
  }
  100% {
    right: 0px;
    opacity: 1;
  }
}
.about-show-item-in {
  visibility: visible;
  position: relative;
  animation: show-item-in 1.5s ease-out;
}

.about-show-item-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}
.about-show-item-count {
  font-size: 32px;
  font-weight: 900;
  color: #0065d9;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.about-show-item-text {
  font-size: 16px;
}

.product-main {
  background-image: url(../img/banner-home-product.png);
  overflow: hidden;
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-title,
.product-1,
.product-2 {
  visibility: hidden;
}

.product-title {
  margin-top: 90px;
  color: #fff;
  font-weight: 900;
}
@keyframes opacity-in {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}
.product-title-in {
  visibility: visible;
  animation: opacity-in 1s linear;
}
.product-1-in {
  animation: opacity-in 1.2s linear 0.5s both;
}

.product-2-in {
  animation: opacity-in 1.2s linear 0.9s both;
}

.home-product-row {
  display: flex;
}
@keyframes up-in {
  0% {
    top: -500px;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}
@keyframes down-in {
  0% {
    bottom: -500px;
    opacity: 0;
  }
  100% {
    bottom: 0;
    opacity: 1;
  }
}
.home-product-common {
  visibility: hidden;
  position: relative;
  width: 280px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 3px;
}
.home-product-img-1 {
  /* background-color: rgba(14, 63, 169, 0.6); */
  background-color: rgba(211, 217, 233, 0.9);
}
.home-product-img-2 {
  /* background-color: rgba(14, 228, 252, 0.7); */
  /* background-color: #7eb7ef; */
  background-color: rgba(126, 183, 238, 0.9);
}
.home-product-img-3 {
  /* background-color: #1e7bf4; */
  background-color: #87aadd;
}
.home-product-img-1-inner {
  width: 80px;
  height: 60px;
  margin: 20px 0;
}
.home-product-img-2-inner,
.home-product-img-3-inner {
  width: 100px;
  height: 100px;
}
.home-product-img-1-in {
  visibility: visible;
  animation: home-left-title-in 0.6s ease-out;
}

.home-product-img-2-in {
  visibility: visible;
  animation: up-in 1s ease-out 0.6s both;
}
.home-product-img-3-in {
  visibility: visible;
  animation: home-left-title-in 0.6s ease-out 1.2s both;
}
.home-product-img-4 {
  visibility: hidden;
  position: relative;
  width: 560px;
  height: 250px;
}
.home-product-img-4-in {
  visibility: visible;
  animation: down-in 0.6s ease-out 1.8s both;
}

img.img-circle.team-img {
  width: 120px;
  height: 120px;
  border: 4px solid transparent;
  transition: all 0.5s;
}
.owl-theme .owl-controls .owl-page span {
  display: block;
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  filter: Alpha(Opacity=1);
  opacity: 1;
  -webkit-border-radius: 0;
  -moz-border-radius: 20px;
  border-radius: 0;
  background: #ffffff;
  transition: all 0.5s;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
  filter: Alpha(Opacity=100);
  opacity: 1;
  background: #fcac45;
}
.owl-theme .owl-controls .owl-page.active span {
  background: #fcac45;
}

/* Services Section */
.space {
  margin-top: 40px;
}

/* Clients Section */
#tf-clients {
  margin-top: 100px;
}

.clients-container {
  visibility: hidden;
}

.clients-container-in {
  visibility: visible;
  animation: opacity-in 1.5s linear;
}

.clients-text {
  margin: -90px 0 40px 0;
  font-size: 17px;
}

#clients .item {
  padding: 0;
  margin: 35px;
  text-align: center;
  font-size: 20px;
}
.clients-icon {
  float: left;
  height: 85px;
  margin: 2px 4px;
  /* margin: 20px 25px 60px 25px; */
}
.clients-icon-large {
  height: 80px;
}
.clients-icon-more {
  box-sizing: border-box;
  width: 80px;
  height: 80px;
  line-height: 40px;
  text-align: center;
  letter-spacing: 4px;
  font-size: 60px;
  font-weight: bolder;
  color: #888;
}
#tf-news {
  margin-bottom: 100px;
}

.news-head-line {
  width: 95%;
  height: 2px;
  margin-bottom: 8px;
  background-color: #a2a2a2;
}

.news-item {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 10px 5px;
  border-bottom: 1px dotted #e3e3e3;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 5px;
  margin-right: 50px;
}

.news-item-title {
  flex: 1;
  color: #333333;
}

.news-item-date {
  flex-shrink: 0;
  color: #999999;
}

.news-more {
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 250px;
  height: 250px;
  background-image: linear-gradient(to bottom right, #0065d9, #0065d992);
  color: #fff;
  cursor: pointer;
}

@keyframes news-more-opacity-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.news-more-in {
  visibility: visible;
  animation: news-more-opacity-in 1.2s ease-out 0.8s both;
}

.news-more-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.news-more-arrow {
  position: absolute;
  width: 30px;
  right: 10px;
  bottom: 10px;
}

.news {
  visibility: hidden;
}

@keyframes bottom-in {
  0% {
    bottom: -400px;
    opacity: 0.1;
  }
  100% {
    bottom: 0px;
    opacity: 1;
  }
}

.news-in {
  visibility: visible;
  position: relative;
  animation: bottom-in 1.5s ease-out;
}

/* Gallery Section 
==============================*/
#tf-works {
  padding-bottom: 50px;
}
#tf-works .content {
  margin: 0 0 30px 0;
  padding: 0;
}
/* Contact Section */
#tf-contact {
  padding: 40px 0;
}
#tf-contact #allmap {
  height: 400px;
}
#tf-contact #allmap .BMapLib_sendToPhone,
#tf-contact #allmap .anchorBL {
  display: none;
}
#tf-contact #allmap td {
  padding-left: 4px !important;
}

/* Footer */
nav#footer {
  background: #222222;
  color: #ffffff;
  padding: 20px 0 15px 0;
}
nav#footer .info {
  margin: 40px 0;
  line-height: 30px;
}
.info-item-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
nav#footer .fnav {
  vertical-align: middle;
}
nav#footer .fnav a {
  color: #ffffff;
}
ul.footer-social li {
  display: inline-block;
  margin-right: 10px;
}
nav#footer p {
  font-size: 12px;
  margin-top: 10px;
}
#footer i.fa {
  height: 30px;
  width: 30px;
  border: 2px solid #8c8c8c;
  font-size: 20px;
  padding: 4px 5px;
  border-radius: 50%;
  color: #8c8c8c;
  transition: all 0.5s;
}
#footer i.fa:hover {
  background: #fcac45;
  border-color: #fcac45;
  color: #ffffff;
}

.footer-row {
  display: flex;
  flex: 1;
  justify-content: space-between;
}

.footer-font,
.footer-font a {
  color: #fff;
}
.footer-font a:hover {
  color: #fff;
  background-color: transparent !important;
}

.footer-logo {
  width: 70px;
}

.footer-padding {
  text-align: right;
  margin: 12px 10px 0 0;
  /* margin: 30px 20px; */
}

.footer-logo-box {
  text-align: right;
  margin-right: 10px;
  /* margin-top: 70px; */
}

@media screen and (max-width: 667px) {
  a.fa.fa-angle-down {
    margin-top: 50px;
  }
  #tf-menu.navbar-default {
    background-color: #f2f2f2 !important;
  }
  #header-logo {
    height: 40px;
  }
  #tf-home {
    top: 40px;
    height: 40vh;
    padding-left: 3vw;
    background-attachment: unset;
    background-position: 90% 40%;
  }
  .nav-expand {
    display: inline-block;
    position: absolute;
    right: 20px;
    width: 30px;
    height: 30px;
  }
  .menu-show {
    position: absolute;
    right: 10px;
    top: 60px;
    display: block;
    visibility: visible;
    overflow-y: auto;
    background-color: #ffffff;
  }
  .navbar-right {
    margin-left: 0;
  }
  .content {
    padding-top: 60% !important;
  }
  #tf-home h1 {
    font-size: 22px;
  }
  #tf-home h1 .color {
    font-size: 25px;
  }
  #tf-about {
    padding-top: 30px;
  }
  #tf-about img.img-responsive {
    margin-bottom: 20px;
  }
  #tf-works .content {
    padding: 0 !important;
  }
  #tf-clients {
    margin-top: 20px;
  }
  .about-show {
    flex-direction: column;
  }
  .about-text {
    margin-top: 30px;
  }

  .section-title,
  .section-title-live {
    margin-top: 50px;
    margin-bottom: -100px;
  }
  .section-title h2,
  .section-title.center h2 {
    margin-top: 10px;
    font-size: 28px;
  }
  .title-en {
    font-size: 36px;
    top: -85px;
  }
  .title-en-right {
    font-size: 26px;
    letter-spacing: 1px;
    top: 8px;
    margin-left: -5px;
  }
  .product-main {
    height: 300px;
  }
  .home-product-common {
    width: 31vw;
    height: 30vw;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 1px;
  }
  .home-product-img-1 {
    margin-top: 70px;
  }
  .home-product-img-2 {
    margin-top: 70px;
  }
  .home-product-img-1-inner {
    width: 12vw;
    height: 10vw;
    margin: 2.5vw 0;
  }
  .home-product-img-2-inner,
  .home-product-img-3-inner {
    width: 15vw;
    height: 15vw;
  }
  .home-product-img-4 {
    width: 60vw;
    height: 30vw;
  }
  .clients-icon {
    float: none;
    height: 45px;
    /* margin: 20px 15px; */
    margin: 20px 2px;
  }
  .clients-icon-large {
    height: 45px;
  }
  .clients-icon-more {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 30px;
    font-size: 30px;
  }
  .clients-text {
    margin-top: 30px;
  }
  .news-item {
    font-size: 12px;
    margin-right: 10px;
  }
  .news-more {
    float: right;
    width: 150px;
    height: 150px;
    margin: 15px;
  }
  .news-more-title {
    font-size: 18px;
  }
  .footer-row {
    flex-direction: column;
    align-items: center;
  }
  .footer-font,
  .footer-font a {
    display: flex;
    flex-wrap: wrap;
  }
  .footer-logo-box {
    /* margin-top: 15px; */
  }
  nav#footer .info {
    font-size: 12px;
  }
  .info-item-icon {
    width: 15px;
    height: 15px;
    margin-right: 4px;
  }
}
