:root {
  --color: #002fa3;
  --sub-color: #002fa3;
  --body-bg: #333;
  --footer-bg: #494949;
  --text-color: #333;
  --ccc: #ccc;
  --eee: #eee;
}

body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-color);
  font-family: "微软雅黑", arial, helvetica, sans-serif;
}

body,
html {
  height: 100%;
  position: relative;
}

a {
  color: var(--text-color);
}

a:hover,
a:focus {
  color: var(--color);
  text-decoration: none;
}

body,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
input,
p,
blockquote,
th,
td {
  font-weight: 400;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h4,
h5 {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
}

ol,
ul,
li {
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

/* top */
.w-80 {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
header {
  background-color: var(--color);
  color: var(--body-bg);
}
.w-90 {
  position: relative;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  padding: 0 20px;
  color: var(--body-bg);
  font-size: 16px;
}

.menu_drop {
  position: absolute;
  left: 0;
  min-width: 100%;
  white-space: nowrap;
  background-color: var(--body-bg);
  border: 1px solid var(--ccc);
  display: none;
  padding: 4px 0;
  border-radius: 4px;
  z-index: 99;
}

.menu_drop li a {
  color: var(--text-color);
  display: block;
  text-align: center;
  line-height: 2;
  transition: all 0.5s;
}
.menu_drop li:hover a {
  background-color: var(--color);
  color: var(--body-bg);
}
.swiper-pagination span {
  width: 12px;
  height: 12px;
}
.index-banner .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--body-bg);
}
/* banner */
.index-banner .swiper-button-next.swiper-button-white,
.index-banner .swiper-button-prev.swiper-button-white {
  background-color: rgba(255, 255, 255, 0.7);
}
.index-banner .swiper-button-prev,
.index-banner .swiper-button-next {
  background-size: 60%;
}

/* 右边 */
.side_kefu {
  display: none;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.side_kefu li {
  position: relative;
  margin-bottom: 5px;
}
.side_kefu li i {
  font-size: 20px;
}
.side_kefu li.toTop {
  cursor: pointer;
}
.side_kefu li.toTop i {
  font-size: 24px;
}
.side_kefu li .side_kefu_con {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  right: 0;
  top: 0;
  padding: 5px 10px;
  transition: all 0.5s;
  transform: translateX(100%);
  z-index: -1;
}
.side_kefu li:hover .side_kefu_con {
  transform: translateX(-50px);
}
.side_kefu_con:after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid #ccc;
  border-color: transparent #ccc #ccc transparent;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position: absolute;
  right: -6px;
  top: 10px;
  background-color: #fff;
}
.side_kefu li span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--color);
  color: #fff;
}

/* search */
.search {
  position: relative;
}
.search:hover form {
  opacity: 1;
  visibility: visible;
}
.search form {
  position: absolute;
  right: 0;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}
.search form input {
  border: 0;
  line-height: 35px;
  height: 35px;
  padding-left: 10px;
  min-width: 150px;
  outline: none;
}
.search form button {
  width: 50px;
  height: 35px;
  line-height: 35px;
  border: none;
  background-color: var(--text-color);
  color: #fff;
  outline: none;
}

.mt-6,
.my-6 {
  margin-top: 4rem;
}
.mb-6,
.my-6 {
  margin-bottom: 4rem;
}
/* products */
.pro_title {
  position: relative;
}
.pro_title p {
  text-transform: uppercase;
  display: inline-block;
  background-color: #fff;
  padding: 0 20px;
}
.pro_title p:before {
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #ccc;
  content: "";
  left: 0;
  bottom: 12px;
  z-index: -1;
}
.products_list a h2 {
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
  margin-top: 15px;
}
.products_list a h2:before {
  position: absolute;
  display: block;
  content: "";
  width: 20px;
  height: 2px;
  background-color: var(--text-color);
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
}

/* news */
.news_title span {
  position: relative;
}
.news_title span:before {
  position: absolute;
  display: block;
  content: "";
  width: 80px;
  height: 2px;
  background-color: #888;
  right: -220px;
  top: 50%;
}
.news_list li a {
  background-color: #e4e4e4;
  display: block;
  padding-bottom: 10px;
}
.news_list li a.news_link {
  background-color: transparent;
  display: block;
  margin: 0 10px;
}
.news_list li span {
  color: #606060;
  margin: 15px;
  display: block;
}
.news_list li p {
  margin: 0 15px;
  font-size: 14px;
  white-space: nowrap;
}

/* footer */
footer {
  background-color: var(--footer-bg);
  padding-top: 3rem;
  padding-bottom: 1rem;
}
footer,
footer a {
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.5s;
}
.foot_menu {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
}
.foot_menu li h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.5);
}
.foot_menu li h3 a {
  color: rgba(255, 255, 255, 0.5);
}
.foot_menu li span {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
}
.plrow li {
  margin-bottom: 10px;
}

header {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 99;
  background-color: transparent;
}
