.main.neiye {
  background-color: #fff;
}
header.header {
  height: 80px;
  background-color: #3d8aff;
}
.header-middle.top-fixed {
  padding: 16px 0;
  background: #3d8aff;
}
@media screen and (max-width: 1405px) {
  .header-middle {
    padding: 8px 0;
  }
  .main-menu-btn {
    margin: 25px 20px;
  }
  .main-menu-btn-icon,
  .main-menu-btn-icon:before,
  .main-menu-btn-icon:after {
    width: 20px;
    height: 3px;
    background: #222;
  }
}
@media screen and (max-width: 768px) {
  header.header {
    background-color: #fff;
  }
  .header-middle.top-fixed {
    background: #fff;
  }
  .header-middle,
  .header-middle.top-fixed {
    padding: 20px 0;
  }
  .header-logo-box > a:after {
    content: '';
    display: inline-block;
    width: 78px;
    height: 20px;
    background-image: url('../images/ic_header_logo_color.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .header-logo-box .logo {
    display: none;
  }
}
.width-limit {
  width: 100%;
  max-width: 1400px;
  padding: 28px 20px;
  margin: 0 auto;
}
.breadcrumb {
  color: #8A8A8A;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
}
.breadcrumb a {
  color: #8A8A8A;
}
.breadcrumb a:hover {
  color: #3D8AFF;
}
.breadcrumb .current {
  color: #222;
}
.certificate-banner-img,
.certificate-banner-img-md,
.certificate-banner-img-xs {
  width: 100%;
  height: auto;
  display: inline-block;
  margin-top: 28px;
}
.certificate-banner-img {
  margin-top: 32px;
}
@media screen and (min-width: 1406px) {
  .certificate-banner-img-md,
  .certificate-banner-img-xs {
    display: none !important;
  }
}
@media screen and (min-width: 718px) and (max-width: 1405px) {
  .certificate-banner-img,
  .certificate-banner-img-xs {
    display: none !important;
  }
}
@media screen and (max-width: 717px) {
  .certificate-banner-img,
  .certificate-banner-img-md {
    display: none !important;
  }
}
.primary-block {
  display: flex;
  margin-top: 32px;
}
.primary-block .primary-left {
  flex-grow: 2;
}
.primary-block .primary-right {
  width: 280px;
  margin-left: 32px;
  flex-shrink: 0;
}
.certificate-intro-block {
  min-height: 156px;
  border: 1px solid #97C0FF;
  position: relative;
  padding: 18px 36px;
  display: flex;
  align-items: center;
}
.certificate-intro-block:before {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #3D8AFF;
  position: absolute;
  left: 0;
  bottom: 0;
}
.certificate-intro-block .intro-title {
  flex-shrink: 0;
  color: #313131;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  line-height: 40px;
  margin-right: 36px;
  word-break: keep-all;
}
.certificate-intro-block .intro-title:before,
.certificate-intro-block .intro-title:after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 29px;
  background-size: 16px 29px;
  background-repeat: no-repeat;
  background-position: 0% 50%;
  position: relative;
  top: 2px;
}
.certificate-intro-block .intro-title:before {
  background-image: url('../images/ic_wings_left.png');
  margin-right: 8px;
}
.certificate-intro-block .intro-title:after {
  background-image: url('../images/ic_wings_right.png');
  margin-left: 8px;
}
.certificate-intro-block .intro-wrap h1 {
  color: #3D8AFF;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}
.certificate-intro-block .intro-wrap p {
  color: #7A7A7A;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.56px;
}
.certificate-intro-block .view-detail-link {
  width: 145px;
  height: 45px;
  display: inline-block;
  position: absolute;
  top: -2px;
  right: -2px;
  background: url('../images/bg_to_certificate_detail.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #3D8AFF;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  padding: 12px 0;
  text-align: center;
  transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
}
.certificate-intro-block .view-detail-link:hover {
  background: url('../images/bg_to_certificate_detail_actived.png');
  color: #fff;
}
.training-notice {
  color: #222;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 2.88px;
  background: linear-gradient(90deg, rgba(61, 138, 255, 0.12) 0%, rgba(61, 138, 255, 0) 100%);
  padding: 8px 20px;
}
.training-notice .en-text {
  color: #bbb;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 3.96px;
  text-transform: uppercase;
  margin-left: 12px;
}
.training-notice-block {
  margin-top: 32px;
}
.training-notice-block .notice-list {
  padding: 8px 0;
}
.training-notice-block .notice-list li a {
  color: #222;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.4px;
  display: inline-block;
  padding: 0 16px;
}
.training-notice-block .notice-list li a:hover {
  color: #3D8AFF;
}
.training-notice-block .notice-list li a:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #3D8AFF;
  margin-right: 16px;
  position: relative;
  top: -2px;
}
.training-notice-block .notice-list li + li {
  margin-top: 4px;
}
.certificate-preview-block .certificate-photo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #f6f6f6;
  margin-top: 2px;
  padding: 15px;
}
.certificate-preview-block .certificate-photo-wrap .certificate-photo {
  width: 190px;
  height: auto;
  cursor: pointer;
}
.scan-block {
  display: flex;
  margin-top: 10px;
}
.scan-block .scan-title-warp {
  padding: 24px 20px;
  background: linear-gradient(90deg, rgba(61, 138, 255, 0.12) 0%, rgba(61, 138, 255, 0) 100%);
  margin-right: 2px;
  flex-shrink: 0;
}
.scan-block .scan-title-warp .scan-title {
  width: 1em;
  color: #222;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 2.56px;
  text-transform: uppercase;
  display: inline-block;
}
.scan-block .qr-code-block {
  padding: 15px 46px;
  background-color: #f6f6f6;
}
.scan-block .qr-code-block img {
  width: 130px;
  height: 130px;
}
@media screen and (min-width: 718px) and (max-width: 1405px) {
  .primary-block {
    display: block;
  }
  .primary-block .primary-right {
    width: 100%;
    margin-left: 0;
    margin-top: 32px;
  }
  .certificate-intro-block {
    padding-right: 52px;
  }
  .certificate-preview-block .certificate-photo-wrap {
    max-width: 400px;
    margin: 2px auto;
  }
  .certificate-preview-block .certificate-photo-wrap .certificate-photo {
    width: 400px;
  }
  .scan-block {
    justify-content: center;
    margin-top: 6px;
  }
  .scan-block .qr-code-block {
    width: 100%;
    max-width: 330px;
    display: flex;
    justify-content: center;
  }
}
@media screen and (max-width: 717px) {
  .primary-block {
    display: block;
  }
  .primary-block .primary-right {
    width: 100%;
    margin-left: 0;
    margin-top: 32px;
  }
  .certificate-intro-block {
    display: block;
    border: none;
    padding-top: 0;
    padding-right: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  .certificate-intro-block:before {
    display: none;
  }
  .certificate-intro-block .intro-title {
    margin: 0 auto;
    display: block;
    text-align: center;
    font-size: 21px;
    line-height: 30px;
  }
  .certificate-intro-block .intro-title:before,
  .certificate-intro-block .intro-title:after {
    width: 12px;
    height: 22px;
    background-size: 12px 22px;
  }
  .certificate-intro-block .intro-wrap h1 {
    display: none;
  }
  .certificate-intro-block .intro-wrap p {
    color: #7A7A7A;
    font-size: 12px;
    line-height: 20px;
    margin-top: 16px;
  }
  .certificate-intro-block .view-detail-link-wrap {
    text-align: center;
  }
  .certificate-intro-block .view-detail-link {
    position: static;
    background: none;
    width: auto;
    margin: 12px auto 0;
    display: inline-block;
  }
  .certificate-intro-block .view-detail-link:hover {
    background: none;
    color: #3D8AFF;
  }
  .certificate-intro-block .view-detail-link:after {
    content: '';
    width: 14px;
    height: 14px;
    display: inline-block;
    background-image: url('../images/ic_arrow_to_detail.png');
    background-size: 14px 14px;
    background-repeat: no-repeat;
    margin-right: 6px;
  }
  .training-notice-block {
    margin-top: 20px;
  }
  .training-notice-block .notice-list {
    padding: 0;
    padding-top: 6px;
  }
  .training-notice-block .notice-list li a {
    font-size: 12px;
    line-height: 32px;
  }
  .training-notice-block .notice-list li + li {
    margin-top: 0;
  }
  .certificate-preview-block .certificate-photo-wrap {
    padding: 0;
  }
  .certificate-preview-block .certificate-photo-wrap .certificate-photo {
    width: 100%;
    max-width: 335px;
    height: 100%;
  }
  .scan-block .qr-code-block {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}
.preview-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
}
.preview-popup .preview-image-wrap {
  position: relative;
}
.preview-popup .preview-image-wrap:after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 32px;
  right: 32px;
  background-image: url('../images/ic_popup_close.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.preview-popup img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
}
