﻿/* 头部 banner */
.main-banner {
  height: 300px;
  width: 100%;
  background-repeat: no-repeat;
  background-position: 60%;
  background-size: auto 100%;
}
.main-banner.ssl-banner {
  height: 280px;
}
.main-banner.cloud-banner {
  height: 280px;
}
.main-banner.cloud-mi-banner {
  height: 300px;
}
.main-banner.vuln-banner,
.main-banner.trust-banner,
.main-banner.cloud-ma-banner {
  height: 300px;
}
.main-banner.tech-banner,
.main-banner.sms-banner,
.main-banner.proxyip-banner,
.main-banner.mail-banner,
.main-banner.web-banner,
.main-banner.guance-banner,
.main-banner.ac-banner,
.main-banner.waf-banner,
.main-banner.taishi-banner {
  height: 280px;
}
.main-banner .banner-inner {
  width: calc(100% - var(--grid-style3-margin) * 2);
  height: 100%;
  margin: 0 auto;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
}
.main-banner .banner-inner h1 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  color: #181818;
}
.main-banner .banner-inner h1 em {
  font-style: normal;
  color: #FF6A00;
}
.main-banner .banner-inner p.main-banner-desc {
  width: min(690px, 100%);
  text-align: justify;
  font-size: 12px;
  line-height: 22px;
  font-weight: 400;
  color: #787878;
}
.main-banner .banner-inner .banner-activity {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 20px;
}
.main-banner .banner-inner .banner-activity a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 6px;
}
.main-banner .banner-inner .banner-activity a:hover {
  text-decoration: none;
  color: inherit;
}
.main-banner .banner-inner .banner-activity a span {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  color: #FFFFFF;
  padding: 1px 4px;
  background: #FF4E00;
  line-height: 1;
  margin-right: 4px;
}
.main-banner .banner-inner .banner-activity p {
  font-size: 12px;
  font-weight: 400;
  color: #007bff;
}
.main-banner .banner-inner .banner-btns {
  width: calc(100% + 10px);
  margin-left: -10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 20px;
}
.main-banner .banner-inner .banner-btns a {
  margin-right: 10px;
}
.main-banner .banner-inner .banner-btns a:hover {
  color: inherit;
  text-decoration: none;
}
.main-banner .banner-inner .banner-btns a.banner-btn-org {
  display: inline-block;
  min-width: 100px;
  height: 36px;
  line-height: 36px;
  background: #007bff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #FFFFFF;
}
.main-banner .banner-inner .banner-btns a.banner-gradient-btn-org {
  display: inline-block;
  min-width: 100px;
  height: 36px;
  line-height: 36px;
  background: linear-gradient(-90deg, #FF6A00, #FFA200);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #FFFFFF;
}
.main-banner .banner-inner .banner-btns a.banner-btn-default {
  display: inline-block;
  min-width: 100px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #007BFF;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #007BFF;
  transition: all 0.3s ease;
}
.main-banner .banner-inner .banner-btns a.banner-btn-default:hover {
  color: #fff;
  background: #007BFF;
}
.main-banner .banner-inner .banner-btns a.banner-btn-datacenter,
.main-banner .banner-inner .banner-btns a.banner-btn-document,
.main-banner .banner-inner .banner-btns a.banner-btn-download {
  position: relative;
  margin-left: 10px;
  padding-left: 25px;
  font-size: 14px;
  font-weight: 500;
  color: #FF6A00;
}
.main-banner .banner-inner .banner-btns a.banner-btn-datacenter:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto 0;
  content: "";
  display: block;
  height: 14px;
  width: 14px;
  background-image: url('../image/icon-small-search.png');
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: center;
}
.main-banner .banner-inner .banner-btns a.banner-btn-document:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto 0;
  content: "";
  display: block;
  height: 15px;
  width: 15px;
  background-image: url('../image/icon-banner-document.png');
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: center;
}
.main-banner .banner-inner .banner-btns a.banner-btn-download:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto 0;
  content: "";
  display: block;
  height: 14px;
  width: 12px;
  background-size: 12px 14px;
  background-repeat: no-repeat;
  background-position: center;
}
@media (min-width: 768px) {
  .main-banner {
    height: 480px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
  }
  .main-banner.ssl-banner {
    height: 480px;
  }
  .main-banner.cloud-banner {
    height: 480px;
  }
  .main-banner.cloud-mi-banner {
    height: 480px;
  }
  .main-banner.vuln-banner,
  .main-banner.trust-banner,
  .main-banner.cloud-ma-banner {
    height: 480px;
  }
  .main-banner.tech-banner,
  .main-banner.sms-banner,
  .main-banner.proxyip-banner,
  .main-banner.mail-banner,
  .main-banner.web-banner,
  .main-banner.guance-banner,
  .main-banner.ac-banner,
  .main-banner.waf-banner,
  .main-banner.taishi-banner {
    height: 480px;
  }
  .main-banner .banner-inner {
    width: calc(100% - var(--grid-style3-margin) * 2);
    height: 100%;
    margin: 0 auto;
    padding-top: 29px;
    padding-left: 0;
    padding-right: 0;
  }
  .main-banner .banner-inner h1 {
    margin-top: 29px;
    margin-bottom: 24px;
    font-size: 36px;
    font-weight: 500;
    color: #181818;
  }
  .main-banner .banner-inner h1 em {
    font-style: normal;
    color: #FF6A00;
  }
  .main-banner .banner-inner p.main-banner-desc {
    width: min(690px, 100%);
    text-align: justify;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #787878;
  }
  .main-banner .banner-inner .banner-activity {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 34px;
  }
  .main-banner .banner-inner .banner-activity a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 6px;
  }
  .main-banner .banner-inner .banner-activity a:hover {
    text-decoration: none;
    color: inherit;
  }
  .main-banner .banner-inner .banner-activity a span {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    padding: 1px 4px;
    background: #FF4E00;
    line-height: 1;
    margin-right: 4px;
  }
  .main-banner .banner-inner .banner-activity p {
    font-size: 14px;
    font-weight: 400;
    color: #181818;
    transition: all 0.3s ease;
  }
  .main-banner .banner-inner .banner-activity p:hover {
    color: #007bff;
  }
  .main-banner .banner-inner .banner-btns {
    width: auto;
    margin-left: 0px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 60px;
  }
  .main-banner .banner-inner .banner-btns a {
    margin-right: 17px;
  }
  .main-banner .banner-inner .banner-btns a:hover {
    color: inherit;
    text-decoration: none;
  }
  .main-banner .banner-inner .banner-btns a.banner-btn-org {
    display: inline-block;
    min-width: 130px;
    height: 40px;
    line-height: 40px;
    background: #007bff;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #FFFFFF;
    transition: all 0.3s ease;
  }
  .main-banner .banner-inner .banner-btns a.banner-btn-org:hover {
    opacity: 0.8;
  }
  .main-banner .banner-inner .banner-btns a.banner-gradient-btn-org {
    display: inline-block;
    min-width: 130px;
    height: 40px;
    line-height: 40px;
    background: linear-gradient(-90deg, #FF6A00, #FFA200);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #FFFFFF;
  }
  .main-banner .banner-inner .banner-btns a.banner-btn-default {
    display: inline-block;
    min-width: 130px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #007BFF;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #007BFF;
    transition: all 0.3s ease;
  }
  .main-banner .banner-inner .banner-btns a.banner-btn-default:hover {
    color: #fff;
    background: #007BFF;
  }
  .main-banner .banner-inner .banner-btns a.banner-btn-datacenter,
  .main-banner .banner-inner .banner-btns a.banner-btn-document,
  .main-banner .banner-inner .banner-btns a.banner-btn-download {
    position: relative;
    margin-left: 35px;
    padding-left: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #FF6A00;
  }
  .main-banner .banner-inner .banner-btns a.banner-btn-datacenter:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto 0;
    content: "";
    display: block;
    height: 14px;
    width: 14px;
    background-image: url('../image/icon-small-search.png');
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: center;
  }
  .main-banner .banner-inner .banner-btns a.banner-btn-document:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto 0;
    content: "";
    display: block;
    height: 15px;
    width: 15px;
    background-image: url('../image/icon-banner-document.png');
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: center;
  }
  .main-banner .banner-inner .banner-btns a.banner-btn-download:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto 0;
    content: "";
    display: block;
    height: 14px;
    width: 12px;
    background-size: 12px 14px;
    background-repeat: no-repeat;
    background-position: center;
  }
}
/* 头部 banner end */
/* 导航 */
.main-content .top-product-location {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 0 20px;
  background-color: #FFFFFF;
  border-top: 1px solid #EFEFEF;
  box-shadow: 0 4px 8px 0 rgba(212, 212, 212, 0.14);
  z-index: 100;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}
.main-content .top-product-location .top-product-location-inner {
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
}
.main-content .top-product-location .top-product-location-inner b {
  display: none;
}
.main-content .top-product-location .top-product-location-inner a {
  position: relative;
  display: inline-block;
  height: 100%;
  line-height: 56px;
  margin-right: 20px;
  font-size: 14px;
  font-weight: 400;
  color: #181818;
  cursor: pointer;
  flex-shrink: 0;
}
.main-content .top-product-location .top-product-location-inner a.active {
  color: #007BFF;
}
.main-content .top-product-location .top-product-location-inner a.active:before {
  opacity: 1;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  content: "";
  display: inline-block;
  width: 80%;
  height: 3px;
  background: #007BFF;
  border-radius: 16px;
}
@media (min-width: 768px) {
  .main-content .top-product-location {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 0;
    background-color: #FFFFFF;
    border-top: 1px solid #EFEFEF;
    box-shadow: 0 4px 8px 0 rgba(212, 212, 212, 0.14);
    z-index: 100;
    box-shadow: none;
  }
  .main-content .top-product-location .top-product-location-inner {
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: visible;
    box-shadow: 0px 2px 6px 0px rgba(52, 65, 91, 0.08);
  }
  .main-content .top-product-location .top-product-location-inner b {
    visibility: hidden;
    display: inline-block;
    margin-right: 0px;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 20px;
    font-weight: 700;
    max-width: 0;
    transition: max-width 0.3s 0s, margin-right 0.3s 0s, color 0s 0.3s;
  }
  .main-content .top-product-location .top-product-location-inner b.show {
    visibility: visible;
    max-width: 200px;
    margin-right: 50px;
    color: #252b3a;
  }
  .main-content .top-product-location .top-product-location-inner a {
    position: relative;
    display: inline-block;
    height: 100%;
    line-height: 56px;
    margin-right: 50px;
    font-size: 18px;
    font-weight: 400;
    color: #181818;
    cursor: pointer;
  }
  .main-content .top-product-location .top-product-location-inner a.active {
    color: #007BFF;
  }
  .main-content .top-product-location .top-product-location-inner a.active:before {
    opacity: 1;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    content: "";
    display: inline-block;
    width: 80%;
    height: 3px;
    background: #007BFF;
    border-radius: 12px;
  }
  .main-content .top-product-location .top-product-location-inner a:hover {
    color: #007BFF;
  }
  .main-content .top-product-location .top-product-location-inner a:before {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    display: inline-block;
    opacity: 0;
    content: "";
    width: 2px;
    height: 3px;
    background: #007BFF;
    transition: all 0.26s ease-out 0s;
    border-radius: 16px;
  }
  .main-content .top-product-location .top-product-location-inner a:hover:before {
    opacity: 1;
    width: 80%;
  }
}
/* 导航 end */
