/* 

CSS Contents
1. Selector Classes
2. General Classes
3. Specific Classes
4. Owl Carousel CSS Overwrite
5. Media Classes

*/

/* Selector Classes */
body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    "microsoft yahei", sans-serif;
}

a {
  text-decoration: none;
}

/* General Classes */
.logo {
  width: 120px;
  height: 26px;
  background-image: url(../images/logo.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  display: block;
  align-self: flex-end;
}

.icon::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-size: 100%;
}

.wrapper {
  width: 100%;
  max-width: 1150px;
}

.row-wrapper {
  display: flex;
  margin-bottom: 30px;
}

.links-wrapper {
  display: flex;
  flex-direction: column;
}

.links-row {
  display: flex;
}

.links-row:first-child {
  margin-bottom: 20px;
}

.link {
  width: 139px;
  height: 53px;
  margin: 0 12px;
  background: linear-gradient(180deg, #ffffff 0%, #e7edf5 100%);
  box-shadow: inset 0px -3px 6px #e7eef8;
  border-radius: 12px;
  font-size: 14px;
}

.link:first-child {
  margin-left: 0px;
}

.link:last-child {
  margin-right: 0px;
}

.link a {
  display: flex;
  align-items: center;
  height: 100%;
  color: #63606c;
  padding-left: 13px;
}

.title-wrapper {
  display: flex;
  font-size: 14px;
  justify-content: center;
  align-items: center;
  color: #83909b;
  height: 100px;
  width: 135px;
  margin-right: 50px;
  border-radius: 20px;
  font-weight: bold;
  position: relative;
  background: linear-gradient(to right, #ffffff 0%, #e7edf5 100%);
}

.title-wrapper .triangle {
  z-index: -1;
  width: 60px;
  height: 60px;
  position: absolute;
  background: #e7edf5;
  right: -25px;
  transform: rotate(45deg);
}

/* .title-wrapper::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -30px;
  border-radius: 20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 63px 0 63px 40px;
  border-color: transparent transparent transparent #e7edf5;
} */

.app a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #83909b;
  font-size: 14px;
  margin-bottom: 20px;
}

.app a img {
  width: 80px;
  height: auto;
  margin-bottom: 5px;
}

/* Specific Classes */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #ffffff url("../images/header-bg.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.top-nav {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1150px;
  justify-content: stretch;
}

.menu {
  flex: 1;
}

.menu ul {
  display: flex;
  justify-content: flex-end;
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.menu ul li {
  display: flex;
  justify-content: center;
  padding: 30px 25px;
}

.menu ul li:last-child {
  padding-right: 0px;
}

.menu ul li a {
  color: #83909b;
}

.icon-computer::before {
  content: url("../images/icons/icon-computer.svg");
}

.icon-heart::before {
  content: url("../images/icons/icon-heart.svg");
}

.icon-play::before {
  content: url("../images/icons/icon-play.svg");
}

.icon-hand::before {
  content: url("../images/icons/icon-hand.svg");
}

.icon-card::before {
  content: url("../images/icons/icon-card.svg");
  position: relative;
  left: -10px;
}

.icon-news::before {
  content: url("../images/icons/icon-news.svg");
  position: relative;
  left: -10px;
}

.icon-point::before {
  content: url("../images/icons/icon-point.svg");
  position: relative;
  left: -10px;
  top: -5px;
}

.icon-globe::before {
  content: url("../images/icons/icon-globe.svg");
  position: relative;
  left: -10px;
  top: -5px;
}

.icon-58::before {
  background-image: url("../images/icons/icon-58.png");
}

.icon-4399xy::before {
  background-image: url("../images/icons/icon-4399xy.png");
}

.icon-12306::before {
  background-image: url("../images/icons/icon-12306.png");
}

.icon-abc::before {
  background-image: url("../images/icons/icon-abc.png");
}

.icon-baidu::before {
  background-image: url("../images/icons/icon-baidu.png");
}

.icon-baidunews::before {
  background-image: url("../images/icons/icon-baidunews.png");
}

.icon-bankofchina::before {
  background-image: url("../images/icons/icon-bankofchina.png");
}

.icon-boc::before {
  background-image: url("../images/icons/icon-boc.png");
}

.icon-cctv::before {
  background-image: url("../images/icons/icon-cctv.png");
}

.icon-ceb::before {
  background-image: url("../images/icons/icon-ceb.png");
}

.icon-chi::before {
  background-image: url("../images/icons/icon-chi.png");
}

.icon-chinaconsbank::before {
  background-image: url("../images/icons/icon-chinaconsbank.png");
}

.icon-cmb::before {
  background-image: url("../images/icons/icon-cmb.png");
}

.icon-cmsb::before {
  background-image: url("../images/icons/icon-cmsb.png");
}

.icon-gt::before {
  background-image: url("../images/icons/icon-gt.png");
}

.icon-guangfa::before {
  background-image: url("../images/icons/icon-guangfa.png");
}

.icon-huaxia::before {
  background-image: url("../images/icons/icon-huaxia.png");
}

.icon-icbc::before {
  background-image: url("../images/icons/icon-icbc.png");
}

.icon-ifeng::before {
  background-image: url("../images/icons/icon-ifeng.png");
}

.icon-ifengnews::before {
  background-image: url("../images/icons/icon-ifengnews.png");
}

.icon-industrialbank::before {
  background-image: url("../images/icons/icon-industrialbank.png");
}

.icon-jd::before {
  background-image: url("../images/icons/icon-jd.png");
}

.icon-lhzb::before {
  background-image: url("../images/icons/icon-lhzb.png");
}

.icon-netease::before {
  background-image: url("../images/icons/icon-netease.png");
}

.icon-news163::before {
  background-image: url("../images/icons/icon-news163.png");
}

.icon-peoplecn::before {
  background-image: url("../images/icons/icon-peoplecn.png");
}

.icon-psbc::before {
  background-image: url("../images/icons/icon-psbc.png");
}

.icon-sina::before {
  background-image: url("../images/icons/icon-sina.png");
}

.icon-sohu::before {
  background-image: url("../images/icons/icon-sohu.png");
}

.icon-taobao::before {
  background-image: url("../images/icons/icon-taobao.png");
}

.icon-tencentqq::before {
  background-image: url("../images/icons/icon-tencentqq.png");
}

.icon-trip::before {
  background-image: url("../images/icons/icon-trip.png");
}

.icon-xinhuanet::before {
  background-image: url("../images/icons/icon-xinhuanet.png");
}

.icon-youku::before {
  background-image: url("../images/icons/icon-youku.png");
}

.entrance-wrapper {
  display: flex;
  z-index: 1;
  padding: 40px 0 35px;
}

#pingTest {
  display: flex;
  flex: 1;
  justify-content: center;
}

#pingTest div:nth-child(2) {
  margin-left: 10px;
}

.entrance {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100px;
  max-width: 150px;
  background: linear-gradient(180deg, #ffffff 0%, #e7edf5 100%);
  box-shadow: inset 0px 3px 7px #c3d6f2;
  border: solid 5px transparent;
  border-radius: 20px;
  margin: 0 10px;
  background-clip: padding-box;
  position: relative;
  box-sizing: border-box;
  color: #167dde;
  font-size: 16px;
  font-weight: bold;
}

.entrance-wrapper div:nth-child(2) {
  margin-left: 0;
}

.entrance a {
  display: flex;
  color: #167dde;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 100%;
  margin: -5px -5px -13px;
  border-radius: 20px;
}

.entrance a span {
  font-size: 14px;
  padding-top: 15px;
  color: #83909b;
  font-weight: normal;
}

.entrance a span.timing {
  color: #354660;
}

.entrance a span.timing.fastest::after {
  content: url("../images/icons/icon-fastest.svg");
  position: absolute;
  right: -5px;
  top: -5px;
}

.entrance::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: -5px;
  left: 0;
  z-index: -1;
  margin: -5px;
  border-radius: 25px;
  background: linear-gradient(90deg, #8eb4ee 0%, #fbe2d4 88%, #ffd7c5 100%);
}

.entrance::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  margin: -5px;
  border-radius: 20px;
  background: conic-gradient(from -57deg at 50% 50%, #f8fafc 0%, #fbe2d4 100%);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 17px 0;
}

.row-wrapper .title-wrapper {
  height: 126px;
  width: 135px;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 48%,
    rgba(231, 237, 245, 1) 100%
  );
  box-shadow: inset 5px 3px 5px #c3d6f2;
}

.content-wrapper .title-wrapper .triangle {
  height: 100px;
  width: 100px;
  right: -30px;
  border-radius: 20%;
  position: absolute;
}

.content-wrapper .title-wrapper .triangle::after {
  box-shadow: inset 0px 3px 7px #c3d6f2;
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 20%;
}

.sidebar-wrapper {
  position: fixed;
  right: 20px;
  z-index: 9;
}

/* Owl Carousel CSS Overwrite */

.owl-carousel.off {
  display: block;
  width: 80px;
}

.owl-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.owl-nav .owl-prev {
  float: left;
}

.owl-nav .owl-next {
  float: right;
}

.owl-nav button {
  color: #167dde !important;
  font-size: 35px !important;
}

.owl-carousel .nav-btn {
  height: 15px;
  position: absolute;
  width: 8px;
  cursor: pointer;
}

.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
  pointer-events: none;
  opacity: 0.2;
}

.owl-carousel .prev-btn {
  background: url(../images/icons/icon-left.svg) no-repeat;
  left: 5px;
}
.owl-carousel .next-btn {
  background: url(../images/icons/icon-right.svg) no-repeat;
  right: 5px;
}

/* Media Classes */

@media screen and (max-width: 600px) {
  .container {
    padding-bottom: 100px;
    background-image: url("../images/mobile-bg.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
  }

  .header-wrapper {
    background: none;
  }

  .entrance-wrapper,
  .top-nav,
  .row-wrapper {
    width: 100%;
    max-width: unset;
    flex-direction: column;
  }

  .entrance-wrapper {
    padding-top: 20px;
  }

  .top-nav {
    justify-content: center;
  }

  .logo {
    padding: 20px 0;
    align-self: center;
  }

  .menu ul,
  .title-wrapper .triangle {
    display: none;
  }

  .title-wrapper,
  .row-wrapper .title-wrapper {
    width: calc(100% - 32px);
    margin: 0 16px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #e7edf5 100%);
    border-radius: 10px;
    height: 45px;
    box-shadow: none;
  }

  #pingTest,
  .links-row {
    flex-wrap: wrap;
  }

  #pingTest div {
    flex: 1 0 50%;
    margin-bottom: 20px;
  }

  .links-row {
    width: 100%;
    justify-content: space-evenly;
  }

  .links-row:first-child {
    margin-bottom: 0px;
  }

  .link {
    margin: 0px 0px 12px;
    width: 151px;
  }

  .sidebar-wrapper {
    padding: 20px 0 15px;
    bottom: 0px;
    right: 0;
    width: 100%;
    display: flex;
    background: linear-gradient(180deg, #ffffff 0%, #e7edf5 100%);
    border-radius: 16px 16px 0px 0px;
    align-items: center;
    justify-content: center;
  }

  .app a {
    margin: 0 20px 0;
  }
}
