/*!
 * Chin Shing Technology Service Limited. (http://www.chinshingtech.com/)
 */

body {
  background-color: #e1e1e1;
  font-family: 'Noto Sans TC', sans-serif;
  overflow-x: hidden;
}

.text-center .img-responsive {
  margin: 0 auto;
}

nav.navbar {
  background-color: #ffffff;
  border: none;
  box-shadow: 0 0 20px rgba(0,0,0,.5);
  margin-bottom: 0;
}

nav.navbar .navbar-logo {
  margin-top: 30px;
  width: 290px;
  height: 145px;
}

nav.navbar .navbar-toggle {
  margin-top: 30px;
}

nav.navbar .navbar-toggle .icon-bar {
  background-color: #333333;
  border-radius: 0;
}

nav.navbar ul#main-menu {
  margin-top: 115px;
}

nav.navbar ul#main-menu li {
  border-left: 1px solid #555555;
  height: 20px;
  line-height: 20px;
  padding: 0 30px;
}

nav.navbar ul#main-menu li:first-child {
  border-left: none;
}

nav.navbar ul#main-menu li:last-child {
  padding-right: 0;
}

nav.navbar ul#main-menu li a {
  color: #555555;
  font-size: 20px;
  text-decoration: none;
}

html[lang="zh-hk"] nav.navbar ul#main-menu li a {
  letter-spacing: 2px;
}

@media (max-width: 1199px) {
  nav.navbar .navbar-logo {
    margin-top: 20px;
    width: 250px;
    height: 125px;
  }

  nav.navbar ul#main-menu {
    margin-top: 90px;
  }

  nav.navbar ul#main-menu li {
    height: 16px;
    line-height: 16px;
    padding-left: 16px;
    padding-right: 10px;
  }

  nav.navbar ul#main-menu li a {
    font-size: 16px;
    letter-spacing: 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  nav.navbar .navbar-logo {
    width: 200px;
    height: auto;
  }

  nav.navbar ul#main-menu {
    margin-top: 60px;
  }

  html[lang="en"] nav.navbar ul#main-menu li {
    padding-left: 10px;
    padding-right: 7px;
  }

  html[lang="en"] nav.navbar ul#main-menu li a {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  nav.navbar .navbar-logo {
    margin-top: 15px;
    margin-left: 15px;
    width: 170px;
    height: auto;
  }

  nav.navbar ul#main-menu {
    margin: 0;
    width: 100%;
  }

  nav.navbar ul#main-menu li {
    display: block;
    padding: 0;
    margin: 20px 0;
    border: none;
  }

  nav.navbar ul#main-menu li:first-child {
    margin-top: 10px;
  }
}

section.section-slider {
  box-shadow: 0 0 30px rgba(0,0,0,.8);
}

section.section-slider .flexslider {
  border: none;
  margin: 0;
}

section.section-slider .flexslider .slide-wrapper {
  position: relative;
  overflow: hidden;
}

section.section-slider .flexslider .flex-control-nav {
  bottom: 30px;
}

section.section-slider .flexslider .flex-control-nav li {
  margin: 0 15px;
}

section.section-slider .flexslider .flex-control-paging li a {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  box-shadow: none;
  background-color: transparent;
  border: 3px solid #ffffff;
}

section.section-slider .flexslider .flex-control-paging li a.flex-active {
  background-color: #ffffff;
}

@media (max-width: 767px) {
  section.section-slider .flexslider .slide-wrapper img {
    width: 190% !important;
    margin-left: -30%;
  }

  section.section-slider .flexslider .flex-control-nav {
    display: none;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  section.section-slider .flexslider .slide-wrapper img {
    width: 120% !important;
    margin-left: -15%;
  }
}

.section-banner {
  height: 416px;
  background-position: center
}

@media (max-width: 1199px) {
  .section-banner {
    background-position: 30% center;
    background-size: cover;
  }
}

@media (max-width: 991px) {
  .section-banner {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .section-banner {
    height: 200px;
  }
}

@media (max-width: 320px) {
  .section-banner {
    background-position: 28% center;
  }
}

.text-blue {
  color: #16537a;
}

.white-wrapper {
  position: relative;
  max-width: 100%;
  width: 1500px;
  min-height: 400px;
  margin: 0 auto;
  padding: 70px 0 30px;
  background-color: #ffffff;
  z-index: 10;
  box-shadow: 10px 10px 20px rgba(0,0,0,.2);
}

.white-wrapper p {
  color: #222222;
}

.blue-wrapper {
  position: relative;
  padding: 70px 0 50px;
  text-align: center;
  background-color: #00769c;
  z-index: 11;
  box-shadow: 0 8px 18px rgba(0,0,0,.4);
}

.blue-wrapper p {
  color: #ffffff;
}

.dark-blue-wrapper {
  position: relative;
  padding: 40px 0 30px;
  background-color: #16537a;
  z-index: 11;
  box-shadow: 0 8px 18px rgba(0,0,0,.4);
}

.dark-blue-wrapper p {
  color: #ffffff;
}

.home-top-content {
  margin-top: -40px;
}

@media (min-width: 1922px) {
  .white-wrapper {
    width: 1800px;
  }
}

@media (max-width: 1500px) {
  .home-top-content {
    margin-top: 0;
  }
}

@media (max-width: 991px) {
  .white-wrapper {
    padding: 30px 0 10px;
  }

  .blue-wrapper {
    padding: 30px 0 15px;
  }

  .blue-wrapper br {
    display: none !important;
  }

  .dark-blue-wrapper {
    position: relative;
    background-color: #16537a;
    z-index: 11;
    box-shadow: 0 8px 18px rgba(0,0,0,.4);
  }
}

@media (max-width: 767px) {
  .dark-blue-wrapper {
    padding: 10px 0 0;
  }
}

section.section-content h2 {
  margin: .7em 0 1em;
  font-size: 30px;
  color: #16537a;
}

section.section-content h3 {
  margin: 1em 0 1.7em;
  font-size: 24px;
  line-height: 1.4em;
  color: #16537a;
}

section.section-content p,
section.section-content li,
.dark-blue-wrapper p {
  margin: 0 0 1em;
  font-size: 20px;
  line-height: 1.8em;
}

section.section-content a,
section.section-content a h3 {
  color: #333333;
  text-decoration: none;
}

section.section-content a:hover,
section.section-content a:hover h3 {
  color: #16537a;
}

section.section-content ul {
  padding-left: 1.6em;
}

.table {
  margin: 0 -30px 2em;
  width: calc(100% + 60px);
  max-width: calc(100% + 60px);
}

.table th:first-child,
.table td:first-child,
.table th:last-child,
.table td:last-child {
  width: 24px;
  border-top: none;
}

.table.multiple-columns th {
  background-color: #16537a;
  color: #ffffff;
  font-size: 20px;
  font-weight: normal;
  line-height: 2em !important;
}

.table.multiple-columns td {
  font-size: 18px;
  line-height: 3em !important;
}

.table.multiple-columns td:nth-child(2) {
  font-size: 24px;
  line-height: 2.25em !important;
}

.table.multiple-columns th,
.table.multiple-columns tr:nth-child(2) td {
  border-top: none !important;
}

.table.two-columns {
  table-layout: fixed;
}

.table.two-columns th {
  background-color: #16537a;
  color: #ffffff;
  font-size: 20px;
  font-weight: normal;
  line-height: 2em !important;
}

.table.two-columns th:nth-child(2),
.table.two-columns th:nth-child(3) {
  width: 50%;
}

.table.two-columns td {
  font-size: 20px;
  line-height: 3em !important;
  background-color: #ebebeb;
  border-top: none;
  border-bottom: 4px solid #ffffff;
}

.table.two-columns.horizontal-border td {
  border-top: none;
  border-bottom: 4px solid #ffffff;
}

.table.two-columns.vertical-border td:nth-child(2) {
  border-right: 4px solid #ffffff;
}

.table.two-columns.vertical-border th:nth-child(3) {
  padding-left: 30px;
}

.table.two-columns.vertical-border td:nth-child(3) {
  border-left: 4px solid #ffffff;
  padding-left: 30px;
}

.table.two-columns th,
.table.two-columns tr:nth-child(2) td {
  border-top: none !important;
}

.img-wrapper {
  position: relative;
  height: 265px;
}

.img-wrapper img {
  position: absolute;
  display: block;
  width: 280px;
  max-width: 100%;
  bottom: 0;
  left: 50%;
  margin-left: -140px;
  transition: all .6s;
}

.img-wrapper img:nth-child(1) {
  transform: scale(1,1);
}

.img-wrapper img:nth-child(2) {
  transform: scale(0,0);
}

section.section-content a:hover .img-wrapper img:nth-child(1) {
  transform: scale(0,0);
}

section.section-content a:hover .img-wrapper img:nth-child(2) {
  transform: scale(1,1);
}

@media (max-width: 1199px) {
  section.section-content h2 {
    font-size: 26px;
  }

  section.section-content h3 {
    font-size: 20px;
  }

  section.section-content p,
  section.section-content li,
  .dark-blue-wrapper p {
    font-size: 16px;
  }

  .table {
    margin: 0 -15px 2em;
    width: calc(100% + 30px);
    max-width: calc(100% + 30px);
  }

  .table th:first-child,
  .table td:first-child,
  .table th:last-child,
  .table td:last-child {
    width: 5px;
    padding: 0;
  }

  .table.multiple-columns th {
    font-size: 18px;
  }

  .table.multiple-columns td {
    font-size: 16px;
  }

  .table.multiple-columns td:nth-child(2) {
    font-size: 22px;
  }

  .table.two-columns th {
    font-size: 18px;
  }

  .table.two-columns td {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  section.section-content h2 {
    font-size: 22px;
  }

  section.section-content h3 {
    font-size: 16px;
  }

  section.section-content p,
  section.section-content li,
  .dark-blue-wrapper p {
    font-size: 13px;
  }

  .home section.section-content img {
    width: 280px;
  }

  .table.multiple-columns th {
    font-size: 14px;
  }

  .table.multiple-columns td {
    font-size: 13px;
  }

  .table.multiple-columns td:nth-child(2) {
    font-size: 18px;
  }

  .table.two-columns th {
    font-size: 14px;
  }

  .table.two-columns td {
    font-size: 13px;
  }

  .img-wrapper {
    height: auto;
  }

  .img-wrapper img {
    position: relative;
    margin: 0 auto;
    left: auto;
    bottom: auto;
  }

  section.section-content a:hover .img-wrapper img:nth-child(1) {
    transform: scale(1,1);
  }

  .img-wrapper img:nth-child(2) {
    display: none;
  }
}

@media (max-width: 767px) {
  section.section-content h2 {
    text-align: center;
  }

  section.section-content h3 {
    font-size: 14px;
  }

  section.section-content ul {
    padding-left: 1.2em;
  }
}

@media (max-width: 450px) {
  .table.multiple-columns td,
  .table.two-columns td {
    line-height: 1.8em !important;
  }

  .table.multiple-columns td:nth-child(2) {
    line-height: 1.3em !important;
  }
}

section.section-contact {
  position: relative;
  height: 25vw;
  min-height: 240px;
  max-height: 480px;
  margin-bottom: 70px;
  background: url(../images/footer-contact-banner.jpg) no-repeat center;
  background-size: cover;
  z-index: 10;
}

html[lang="en"] section.section-contact {
  background-image: url(../images/en/footer-contact-banner.jpg);
}

section.section-contact a {
  position: absolute;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
}

footer {
  background-color: #ffffff;
}

footer ul.partners {
  margin: 0;
}

footer ul.partners li {
  margin: 0;
}

footer ul.partners li img {
  width: 150px;
  height: 100px;
}

footer .copyright {
  padding: 50px 30px 40px;
}

@media (max-width: 1199px) {
  footer ul.partners li img {
    width: 102px;
    height: 68px;
  }
}

@media (max-width: 767px) {
  section.section-contact {
    margin-bottom: 0;
  }

  footer ul.partners li {
    margin: 5px 10px;
  }

  footer ul.partners li img {
    margin: -15px;
  }

  footer .copyright {
    padding: 20px 10px 10px;
    font-size: 12px;
  }
}

.contactus .white-wrapper {
  padding-top: 0;
}

.contactus #map-canvas {
  height: 400px;
}

.contactus section.section-contact {
  display: none;
}

.contactus .form-control {
  border-radius: 0;
  border: 2px solid #16537a;
}

.contactus input.form-control {
  height: 50px;
}

.contactus textarea.form-control {
  padding-top: 12px;
  padding-bottom: 12px;
}

.contactus .form-control:focus {
  border-color: inherit;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.contactus .btn {
  background-color: #16537a;
  color: #ffffff;
  border: none;
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 767px) {
  .contactus #map-canvas {
    height: 200px;
  }
}

.alert {
  margin-top: 30px;
}

.contactus p i {
  display: inline-block;
  width: 20px;
}

.error-page section.section-contact {
  display: none;
}

@media (min-width: 992px) {
  .error-page .white-wrapper {
    min-height: 600px;
  }
}