/*--------------------------------------------------------------
# By Jean
--------------------------------------------------------------*/
.btn-info {
  background: #A7BCD6 !important;
  border-color: #A7BCD6;
}

.btn-info:focus ,.btn-info:active, .btn-info:hover {
  background: #004D9F !important;
  border-color: #004D9F !important;
  box-shadow: none !important;
}

* {
	font-family: Microsoft JhengHei;
}
.table th{
  color:#004D9F;
  font-weight: 300;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #FFFFFF;
  color: #444444;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #A7BCD6;
  transition: 0.5s;
  cursor: pointer;
}

a:hover, a:active, a:focus {
  color: #A7BCD6;
  outline: none;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  /* margin: 0 0 20px 0; */
  padding: 0;
  color:#004D9F;
}

/* Prelaoder */
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: #FFFFFF;
}
.load {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 3px solid #A7BCD6;
  border-top-color: #004D9F;
  border-radius: 50%;
  width: 3em;
  height: 3em;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  background: #A7BCD6;
  color: #FFFFFF;
  padding: 6px 12px 9px 12px;
  font-size: 16px;
  border-radius: 2px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

.back-to-top:focus {
  background: #004D9F;
  outline: none;
}

.back-to-top:hover {
  background: #004D9F;
}



/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  padding: 20px 0px;
  height: 84px;
  transition: all 0.5s;
  z-index: 997;
  background: #FFFFFF;
  box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06);
}

#header #logo img {
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  #header {
    height: 74px;
  }
  #header #logo img {
    max-height: 40px;
  }
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
/* #intro {
  width: 100%;
  height: 60vh;
  background: #000000;
  position: relative;
} */

#intro .intro-content {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#intro .intro-content h2 {
  color: #004D9F;
  margin-bottom: 30px;
  font-size: 64px;
  font-weight: 700;
}

#intro .intro-content h2 span {
  color: #A7BCD6;
  text-decoration: underline;
}

@media (max-width: 767px) {
  #intro .intro-content h2 {
    font-size: 34px;
  }
}

#intro #intro-carousel {
  z-index: 8;
}

/* #intro #intro-carousel::before {
  content: '';
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 7;
} */

#intro #intro-carousel .item {
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition-property: opacity;
  transition-property: opacity;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Nav Menu Essentials */
.nav-menu, .nav-menu * {
  list-style: none;
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu ul li {
  min-width: 180px;
}

/* Nav Menu Arrows */
.sf-arrows .sf-with-ul {
  padding-right: 22px;
}

.sf-arrows .sf-with-ul:after {
  content: "\f107";
  position: absolute;
  right: 8px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
  content: "\f105";
}

/* Nav Meu Container */
#nav-menu-container {
  float: right;
  margin: 0;
}

@media (max-width: 768px) {
  #nav-menu-container {
    display: none;
  }
}

/* Nav Meu Styling */
.nav-menu a {
  padding: 10px 8px;
  text-decoration: none;
  display: inline-block;
  color: #555555;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 14px;
  outline: none;
}

.nav-menu li:hover > a, .nav-menu > .menu-active > a {
  color: #A7BCD6;
}

.nav-menu > li {
  margin-left: 10px;
}

.nav-menu ul {
  margin: 4px 0 0 0;
  padding: 10px;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  background: #FFFFFF;
}

.nav-menu ul li {
  transition: 0.3s;
}

.nav-menu ul li a {
  padding: 10px;
  color: #333333;
  transition: 0.3s;
  display: block;
  font-size: 13px;
  text-transform: none;
}

.nav-menu ul li:hover > a {
  color: #A7BCD6;
}

.nav-menu ul ul {
  margin: 0;
}

/* Mobile Nav Toggle */
#mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  margin: 20px 20px 0 0;
  border: 0;
  background: none;
  font-size: 24px;
  display: none;
  transition: all 0.4s;
  outline: none;
  cursor: pointer;
}

#mobile-nav-toggle i {
  color: #555555;
}

@media (max-width: 768px) {
  #mobile-nav-toggle {
    display: inline;
  }
}

/* Mobile Nav Styling */
#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 18px;
  z-index: 998;
  background: rgba(52, 59, 64, 0.9);
  top:-100%;
  width: 100%;
  overflow-y: auto;
  transition: 0.4s;
}

#mobile-nav ul {
  padding: 0 20px;
  margin: 0;
  list-style: none;
}

#mobile-nav ul li {
  position: relative;
}

#mobile-nav ul li a {
  color: #FFFFFF;
  font-size: 16px;
  overflow: hidden;
  padding: 10px 22px 10px 15px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
}

#mobile-nav ul li a:hover {
  color: #FFFFFF;
}

#mobile-nav ul li li {
  padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0;
  z-index: 99;
  padding: 15px;
  cursor: pointer;
  color: #FFFFFF;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: #A7BCD6;
}

#mobile-nav ul .menu-item-active {
  color: #A7BCD6;
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(52, 59, 64, 0.9);
  display: none;
}

/* Mobile Nav body classes */
body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  top:0;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: #FFFFFF;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
/* Sections Header
--------------------------------*/

.section-header h2 {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.section-header h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #FEDB00;
  bottom: 0;
  left: 0;
}


/* About Section
--------------------------------*/

#about .about-img {
  overflow: hidden;
}

#about .about-img img {
  margin-left: -15px;
  max-width: 100%;
}

@media (max-width: 768px) {
  #about .about-img {
    height: auto;
  }
  #about .about-img img {
    margin-left: 0;
    padding-bottom: 30px;
  }
}

#about .content h2 {
  font-weight: 700;
  font-size: 36px;
  font-family: "Raleway", sans-serif;
}

#about .content p {
  line-height: 26px;
}

#about .content p:last-child {
  margin-bottom: 0;
}

/* Services Section
--------------------------------*/
.box {
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1);
  background: #FFFFFF;
  transition: 0.4s;
}

.box:hover {
  box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15);
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
}

.box h4 {
  font-weight: 700;
  font-size: 22px;
}
.box h6 {
  font-weight: 600;
  font-size: 18px;
}
.box date {
  color: #A7BCD6;
}
.box p {
  color:#000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .box {
     padding: 5px 20px 10px 20px;
  }
  .box .box {
    margin-bottom: 10px;
  }
  .box img {
    width:100% !important;
    float: none !important;
    text-align: center;
    padding-bottom: 15px;
  }
  .box h4, .box p {
    margin-left: 0;
    text-align: center;
  }
}


/* Our Portfolio Section
--------------------------------*/

/* Jean - for news */
.news {
  position: relative;
}

/* Bottom right text */
.news h5 {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background-color: #004D9F;
  color: #FFFFFF;
  margin: 0 0.5rem;
  padding: 0.5rem;
  overflow : hidden;
  text-overflow : ellipsis;
  white-space : nowrap;
  width:90%;
}

/* Testimonials Section
--------------------------------*/

#testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 0 30px;
  margin: 30px 15px;
  text-align: center;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
  #testimonials .testimonial-item {
    margin: 30px 10px;
  }
}

#testimonials .testimonial-item .testimonial-img {
  margin: 0 auto;
}

#testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

#testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999999;
  margin: 0;
}

#testimonials .testimonial-item .quote-sign-left {
  margin-top: -15px;
  padding-right: 10px;
  display: inline-block;
  width: 37px;
}

#testimonials .testimonial-item .quote-sign-right {
  margin-bottom: -15px;
  padding-left: 10px;
  display: inline-block;
  max-width: 100%;
  width: 37px;
}


#testimonials .owl-nav, #testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #DDDDDD;
}

#testimonials .owl-dot.active {
  background-color: #A7BCD6;
}

/* Contact Section
--------------------------------*/

#contact .icon {
	font-size: 48px;
	color: #A7BCD6;
	margin-bottom: 30px;
}

#contact h3 {
  font-size: 18px;
  text-transform: uppercase;
  color: #999999;
}

@media (min-width: 768px) {
  #contact .contact-phone {
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
  }
}


#contact .form #sendmessage {
  color: #A7BCD6;
  border: 1px solid #A7BCD6;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #sendmessage.show, #contact .form #errormessage.show, #contact .form .show {
  display: block;
}

#contact .form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

#contact .form input, #contact .form textarea {
  padding: 10px 14px;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
}

#contact .form input[type="button"] {
  background: #A7BCD6;
  border: 0;
  border-radius: 3px;
  padding: 10px 30px;
  color: #FFFFFF;
  transition: 0.4s;
  cursor: pointer;
}

#contact .form input[type="button"]:hover {
  background: #004D9F;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  background: #004D9F;
}

/* Tab - for APP */
@media (min-width: 768px) {
    .tabbannerdiv {
        height: 850px !important;
        width: 100% !important;
    }

    .tabbannerimg {
        height: 850px !important;
        width: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .tabcentering {
        height: 850px !important;
        margin-top: -425px !important;
        width: 100% !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        margin-left: -50% !important;
        z-index: -100 !important;
    }
}

/* Tab - for APP */
/*@media (max-width: 767px) {
    .tabbannerdiv {
        height: 400px !important;
        width: 100% !important;
    }

    .tabbannerimg {
        height: 400px !important;
        width: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .tabcentering {
        height: 400px !important;
        margin-top: -200px !important;
        width: 100% !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        margin-left: -50% !important;
        z-index: -100 !important;
    }
}*/