/* Basics */
@font-face {
  font-family: 'Gilroy-Light';
  src: url('fonts/Gilroy-Light.woff2') format('woff2'),
      url('fonts/Gilroy-Light.woff') format('woff'),
      url('fonts/Gilroy-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Gilroy-Medium';
  src: url('fonts/Gilroy-Medium.woff2') format('woff2'),
      url('fonts/Gilroy-Medium.woff') format('woff'),
      url('fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Gilroy-Bold';
  src: url('fonts/Gilroy-Bold.woff2') format('woff2'),
      url('fonts/Gilroy-Bold.woff') format('woff'),
      url('fonts/Gilroy-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Gilroy-ExtraBold';
  src: url('fonts/Gilroy-ExtraBold.woff2') format('woff2'),
      url('fonts/Gilroy-ExtraBold.woff') format('woff'),
      url('fonts/Gilroy-ExtraBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Gilroy-Medium', Arial, sans-serif;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

a,
.button {
  transition: all 0.25s linear;
}

img {
  max-width: 100%;
}

p b, b {
  font-family: 'Gilroy-Bold', Arial, sans-serif;
}

.font-light { font-family: 'Gilroy-Light', Arial, sans-serif; }
.font-bold { font-family: 'Gilroy-ExtraBold', Arial, sans-serif; }
.font-semibold { font-family: 'Gilroy-Bold', Arial, sans-serif; }
.text-uppercase { text-transform: uppercase; }


/*===============
   Main Styles
 ===============*/
body {
  min-height: 100vh;
  background-color: #f9f9f9;
  background: #ffffff url('images/bg-body.jpg') no-repeat 50% 100% / cover;
  background-attachment: fixed;
  padding: 32px 0;
  color: #666;
}

.lang-en .cn,
.lang-cn .en {
  display: none!important;
}

.container {
  padding: 0;
}

.row {
  margin-left: 0;
  margin-right: 0;
  padding-left: 10px;
}

.rounded-block {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 0.5rem rgba(48,155,255,.35);
}

.header {
  display: flex;
  position: relative;
  flex-direction: column;
  height: 400px;
  background: #ffffff url('images/bg-header.jpg') no-repeat 0 0 / cover;
  margin-bottom: 24px;
}
.header-title {
  color: #ffffff;
  font-family: 'Gilroy-ExtraBold', Arial, sans-serif;
  font-size: 3rem;
  line-height: 3rem;
  padding-left: 300px;
  padding-top: 75px;
  text-shadow: 2px 2px 0.5rem rgba(48, 155, 255, 0.65);
}
.language-toggles {
  position: absolute;
  right: 16px;
  top: 12px;
  font-family: 'Gilroy-Bold', Arial, sans-serif;
  color: #bbb;
  font-size: 1.25rem;
}
.language-toggles a {
  text-decoration: underline!important;
  color: #1182e2!important;
  cursor: pointer;
}

.navbar {
  margin-top: auto;
  background-color: rgba(28, 150, 230, 0.75);
  border-radius: 0 0 16px 16px;
  padding-bottom: 1rem;
}

.nav-item {
  margin: 0 0.5rem 0 0;
}
.nav-link {
  font-size: 1.25rem;
  font-family: 'Gilroy-Bold', Arial, sans-serif;
  border-radius: 5px;
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 1);
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(255,255,255,0.15);
}
.navbar-dark .navbar-nav .active .nav-link {
  background-color: #ffffff;
  color: #1182e2;
}

.footer {
  margin-top: 16px;
  padding: 20px 10px 4px;
  text-align: center;
}
.footer ul {
  width: 100%;
  list-style-type: none;
  padding: 0 0 8px;
  margin: 0;
  text-align: center;
}
.footer ul li {
  display: inline-block;
  padding: 0 12px;
}

/* Content Styles */
.content {
  padding-bottom: 50px;
}
.content a,
.news a {
  text-decoration: underline;
}

h2 {
  font-family: 'Gilroy-Bold', Arial, sans-serif;
  color: #1182e2;
  padding-top: 24px;
}

h3 {
  font-family: 'Gilroy-Bold', Arial, sans-serif;
  color: #1182e2;
  padding-top: 12px;
  margin-bottom: 0;
}

.illustration {
  padding: 5px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
}

.news-date {
  display: inline-block;
  color: #fff;
  background-color: #1182e2;
  font-size: 90%;
  padding: 0 6px;
  margin: 0 0 4px -6px;
}

.table td {
  border-top: none;
  vertical-align: middle;
  padding: 0 0.5rem;
}


@media all and (max-width: 992px) {
  .container {
    max-width: calc(100vw - 30px);
  }
  .header {
    background: #fff;
    height: auto;
  }
  .header-title {
    display: none;
  }
  .language-toggles {
    z-index: 5;
    top: 16px;
    color: #eee;
  }
  .language-toggles a {
    color: #fff!important;
  }
  .navbar {
    border-radius: 16px;
    padding-bottom: 8px;
  }
  .navbar-nav {
    display: block;
    padding-right: 100px;
  }
  .nav-item {
    display: inline-block;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}
@media all and (max-width: 768px) {
  body {
    padding: 0;
  }
  .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  .rounded-block,
  .navbar {
    border-radius: 0;
  }
  .nav-item {
    margin: 0;
  }
}