* {
  margin: 0;
  padding: 0;
}

#ys-service {
  width: 100%;
}

li {
  list-style: none;
}
.testinAIHeader {
  box-sizing: border-box;
}
.testinAIHeader .navbar-nav>.active>a {
  border-bottom-color: #0B89FF!important;
}

@media screen and (min-width: 1200px) {
  li.service {
    position: relative;
  }
  li.service .mobile-service {
    display: none;
  }
  li.service ul.elevator,
  li.service ul.solution_spread {
    width: auto !important;
    min-width: 140px;
    white-space: nowrap;
    background-color: rgba(11, 26, 40, 0.98);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    padding: 8px 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000000;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  li.service ul.elevator li.li,
  li.service ul.solution_spread li.li {
    width: 100%;
    line-height: 40px;
    padding: 0 20px;
    color: #fff;
  }
  li.service ul.elevator li.li a,
  li.service ul.solution_spread li.li a {
    color: inherit;
    text-decoration: none;
    display: block;
  }
  li.service ul.elevator li.li span.iconfont,
  li.service ul.solution_spread li.li span.iconfont {
    float: right;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
  }
  li.service ul.elevator li.li:hover,
  li.service ul.solution_spread li.li:hover {
    background-color: rgba(14, 164, 229, 0.3);
  }
  li.service ul.elevator li.li:hover a,
  li.service ul.solution_spread li.li:hover a {
    color: #fff;
  }
  li.service ul.elevator li.triangle,
  li.service ul.solution_spread li.triangle {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-bottom: 8px solid rgba(11, 26, 40, 0.98);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
  }
  li.service ul.elevator li:hover {
    cursor: pointer;
  }
  li.service ul.elevator ul.spread2 {
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: rgba(0, 0, 0, 0.8);
  }
  li.service ul.elevator ul.spread2 li {
    color: #fff;
    line-height: 40px;
    padding: 0 20px;
    cursor: pointer;
    text-align: center;
  }
  li.service ul.elevator ul.spread3 {
    white-space: nowrap;
    position: absolutes;
    left: 100%;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
  }
  li.service ul.elevator ul.spread3 li {
    color: #fff;
    line-height: 40px;
    padding: 0 20px;
    cursor: pointer;
    text-align: center;
  }
  li.service ul.mobile-spread {
    display: none;
  }
}

@media screen and (max-width: 1199px) {
  .whitepaper-hoticon {
    display: none;
  }
  li.service li.li {
    width: 100%;
    line-height: 40px;
    padding: 0 10px;
    color: #fff;
  }
  li.service li.li span.iconfont {
    float: right;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
  }
}

@media screen and (min-width: 768px) {
  li.service {
    position: relative;
  }
  li.service .mobile-service {
    display: none;
  }
  li.service ul.elevator,
  li.service ul.solution_spread {
    width: auto !important;
    min-width: 140px;
    white-space: nowrap;
    background-color: rgba(11, 26, 40, 0.98);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    padding: 8px 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000000;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  li.service ul.elevator li.li,
  li.service ul.solution_spread li.li {
    width: 100%;
    line-height: 40px;
    padding: 0 20px;
    color: #fff;
  }
  li.service ul.elevator li.li a,
  li.service ul.solution_spread li.li a {
    color: inherit;
    text-decoration: none;
    display: block;
  }
  li.service ul.elevator li.li span.iconfont,
  li.service ul.solution_spread li.li span.iconfont {
    float: right;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
  }
  li.service ul.elevator li.li:hover,
  li.service ul.solution_spread li.li:hover {
    background-color: rgba(14, 164, 229, 0.3);
  }
  li.service ul.elevator li.triangle,
  li.service ul.solution_spread li.triangle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -8px;
    width: 0;
    height: 0;
    border-bottom: 8px solid rgba(11, 26, 40, 0.98);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
  }
  li.service ul.elevator li:hover,
  li.service ul.solution_spread li:hover {
    cursor: pointer;
  }
  li.service ul.elevator ul.spread2 {
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: rgba(0, 0, 0, 0.8);
  }
  li.service ul.elevator ul.spread2 li {
    color: #fff;
    line-height: 40px;
    padding: 0 20px;
    cursor: pointer;
    text-align: center;
  }
  li.service ul.elevator ul.spread3 {
    white-space: nowrap;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
  }
  li.service ul.elevator ul.spread3 li {
    color: #fff;
    line-height: 40px;
    padding: 0 20px;
    cursor: pointer;
    text-align: center;
  }
  li.service ul.mobile-spread {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  ul.navbar-nav a {
    text-align: left;
  }
  li.service {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  li.service a.pc-service {
    display: none;
  }
  li.service a.mobile-service {
    width: 100%;
    height: 38px;
    line-height: 38px;
    display: block;
    position: relative;
  }
  li.service a.mobile-service span.iconfont {
    position: absolute;
    height: 100%;
    width: 30px;
    text-align: center;
    font-size: 10px;
    left: 90px;
  }
  li.service ul.spread2 {
    display: none;
  }
  li.service ul.spread3 {
    display: none;
  }
  li.service ul.mobile-spread {
    width: 100%;
  }
  li.service ul.mobile-spread li.li {
    width: 100%;
    line-height: 30px;
    color: rgba(163, 186, 202, 0.8);
    padding-left: 30px;
    text-align: left;
  }
}