@font-face {
  font-family: OpenSansReg;
  src: url(fonts/OpenSans-Regular.ttf);
}

@font-face {
  font-family: OpenSansBold;
  src: url(fonts/OpenSans-Bold.ttf);
}

@font-face {
  font-family: OpenSansLight;
  src: url(fonts/OpenSans-Light.ttf);
}

body {
  margin: 0 auto;
  font-family: Arial;
  display: flex;
}

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
  flex: 1 1 auto;
}

.content-msg {
  margin-top: 32px;
}

.logo {
  margin-top: -66px;
}

.logo-graphics {
  object-fit: contain;
}

.maintenance {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 60px;
}

.maintenance-cn {
  margin-top: 16px;
}

.maintenance-header {
  font-size: 46px;
  color: #333333;
  height: 48px;
}

.maintenance-header-cn {
  font-size: 36px;
  color: #08197b;
}

.maintenance-message {
  font-family: Arial;
  display: block;
  line-height: 24px;
  font-size: 18px;
  text-align: center;
  margin-top: 60px;
}

.maintenance-message-cn {
  margin-top: 8px;
  font-size: 16px;
  margin-bottom: 24px;
}

.maintenance-sub-message {
  margin-top: 20px;
  font-size: 14px;
  font-style: italic;
}

.inline-phone:link,
.inline-phone:visited {
  font-family: Arial;
  font-weight: bold;
  font-size: 18px;
  color: #08197b;
  text-decoration: none;
}

.inline-phone:hover {
  color: #e1091d;
}

.footer {
  height: 66px;
  flex: 0 1 auto;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #08197b;
  color: #ffffff;
  font-size: 12px;
  position: fixed;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.footer-content {
  margin-left: 40px;
  margin-right: 40px;
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.footer-content > div {
  box-sizing: border-box; 
}

.footer-link:link,
.footer-link:visited {
  color: #ffffff;
  text-decoration: none;
}

.footer-link:hover {
  color: #e1091d;
}

.pipe-red {
  display: block;
  width: 30px;
  text-align: center;
  line-height: 18px;
  font-size: 12px;
  color: #e1091d;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  body {
    display: block;
  }
  .content {
    height: 100%;
  }
}

@media screen and (max-width: 678px) {
  .content {
    padding: 20px;
    margin:0 auto;
    padding-bottom: 130px;
  }
  .logo {
    margin-top: 0;
  }
  .inline-phone {
    font-size: 14px !important;
  }
  .content-msg {
    margin: 32px 16px 16px 16px;
  }
  .maintenance-header {
    font-size: 34px;
    height: 38px;
  }
  
  .maintenance-message {
    margin-top: 40px;
  }
  .maintenance-header-cn {
    font-size: 24px;
    height: auto;
  }
  .maintenance-message-cn {
    font-size: 14px;
    margin-bottom: 32px;
  }
  .footer {
    flex-direction: column;
    height: 136px;
    justify-content: center;
  }
  .footer-content {
    margin:0 0 16px 0;
    padding: 0 20px;
  }
}

@media screen and (min-width: 678px) and (max-width: 1024px) {
  .footer {
    height: 66px;
    justify-content: center;
  }
  .footer-content {
    width: 50%;
    margin-bottom: 16px;
    margin: 0 auto;
  }
  .right-content {
    justify-content: flex-end;
    padding-right: 8px;
  }
  .left-content {
    justify-content: flex-start;
    padding-left: 8px;
  }
}

@media screen and (min-width: 1024px) {
  .footer {
    text-align: center;
  }
  .footer-content {
    width: auto;
  }
}
