@import url("./common.css");
.shadow {
  box-shadow: 5px 5px 5px #888888;
}

header {
  width: 100%;
  border-top: 3px solid #d10709;
  overflow: hidden;
}
header .head-nav {
  width: 1220px;
  height: 103px;
  margin: 0 auto;
  display: flex;
  position: relative !important;
  z-index: 1000 !important;
  justify-content: space-between;
}
header .head-nav .h-logo {
  margin: 5px 0 0 10px;
}
header .head-nav .nav {
  width: 730px;
  height: 40px;
  margin: 50px 50px 0 0;
}
header .head-nav .nav .dropdown {
  display: flex;
  justify-content: space-evenly;
  position: relative;
}
header .head-nav .nav .dropdown .dp-itmes {
  flex: auto;
  height: 40px;
}
header .head-nav .nav .dropdown .dp-itmes .dp-head {
  display: block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-bottom: 2px solid #fff;
}
header .head-nav .nav .dropdown .dp-itmes .dp-head:hover {
  border-bottom: 3px solid red;
}
header .head-nav .nav .dropdown .dp-itmes:hover .dp-content {
  display: block;
}
header .head-nav .nav .dropdown .dp-itmes .dp-content {
  background-color: #fff;
  display: none;
}
header .head-nav .nav .dropdown .dp-itmes .dp-content li {
  line-height: 40px;
  text-align: center;
}
header .head-nav .nav .dropdown .dp-itmes .dp-content li a {
  display: block;
  height: 100%;
  width: 100%;
}
header .head-nav .nav .dropdown .dp-itmes .dp-content li a:hover {
  background-color: #d10709;
  border-radius: 3px;
  color: #fff;
}
header .head-slide {
  width: 100%;
  height: 540px;
  position: relative;
  z-index: 0 !important;
}
header .head-slide img {
  width: 100%;
  height: 100%;
}

main {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
main .about {
  width: 1220px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
main .about .about-text {
  flex: auto;
  height: 435px;
  width: 550px;
  display: flex;
  flex-flow: column;
}
main .about .about-text header {
  font-size: 2rem;
  height: 60px;
  padding: 10px 0 0 30px;
  color: #d10709;
  border: 0;
}
main .about .about-text .content {
  flex: auto;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 1rem;
  overflow: hidden;
  text-indent: 2.4rem;
}
main .about .about-text .content p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  font-size: 1.2rem;
  line-height: 2.3rem;
}
main .about .about-text footer {
  height: 120px;
  background-color: #fff;
}
main .about .about-text footer a {
  display: inline-block;
  padding: 12px 30px;
  background-color: #d10709;
  border-radius: 0.6rem;
  margin: 10px 0 0 30px;
  color: #fff;
}
main .about .about-img {
  width: 640px;
  height: 435px;
  margin-left: 20px;
}
main .about .about-img img{
  width: 100%;
  height: 100%;
}
main .products {
  width: 100%;
  height: 680px;
  background-color: #f3f2f4;
}
main .products .header {
  height: 100px;
  width: 1220px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 10px;
  text-align: center;
}
main .products .header h2 {
  font-size: 2.5rem;
  color: #d10709;
  font-weight: 400;
  margin-top: 10px;
}
main .products .header small {
  color: #333;
}
main .products .contianer {
  display: grid;
  margin: 0 auto;
  width: 1220px;
  height: 580px;
  gap: 30px;
  box-sizing: border-box;
  padding: 20px;
  grid-template-rows: repeate(2, 1fr);
  grid-template-columns: repeat(4, 1fr);
}
main .products .contianer a {
  display: inline-block;
  border: 2px solid #ddd;
  overflow: hidden;
  border-radius: 1rem;
  transition: 1s;
}
main .products .contianer a:hover {
  border: 2px solid #d10709;
}
main .products .contianer a:hover img {
  transform: scale(1.05, 1.05);
}
main .products .contianer a img {
  width: 100%;
  height: 100%;
  transition: 1s;
}
main .news {
  width: 1220px;
  height: 470px;
  margin: 0 auto;
}
main .news .header {
  height: 100px;
  width: 1220px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 10px;
  text-align: center;
}
main .news .header h2 {
  font-size: 2.5rem;
  color: #d10709;
  font-weight: 400;
  margin-top: 10px;
}
main .news .header small {
  color: #333;
}
main .news .contianer {
  display: grid;
  margin: 0 auto;
  width: 1220px;
  border-radius: 5px;
  gap: 30px;
  box-sizing: border-box;
  grid-template-rows: repeate(2, 1fr);
  grid-template-columns: repeat(2, 1fr);
}
main .news .contianer .list {
  display: flex;
  flex-flow: column nowrap;
}
main .news .contianer .list .body {
  flex: auto;
  margin: 10px 0;
}
main .news .contianer .list .body li {
  display: flex;
  height: 50px;
  line-height: 50px;
  border-bottom: 1px dashed #ccc;
  flex-flow: row nowrap;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 18px;
  margin: 10px 10px;
}
main .news .contianer .list .body li:hover {
  background-color: #d10709;
  cursor: pointer;
  border-radius: 5px;
  color: #fff;
}
main .news .contianer .list .body li:hover a {
  color: #fff;
}
main .news .contianer .list .body li i {
  margin-right: 10px;
}
main .news .contianer .list .body li a {
  overflow: hidden;
  overflow-wrap: break-word;
  flex: auto;
  white-space: nowrap;
  text-overflow: ellipsis;
}
main .news .contianer .list .body li span {
  display: inline-block;
  width: 160px;
  text-align: right;
}

footer {
  height: 365px;
  width: 100%;
  height: 362px;
  background-color: #262626;
  overflow: hidden;
}
footer .container {
  height: 100%;
  display: flex;
  flex-flow: column;
}
footer .container .footer-nav {
  height: 143px;
  border-bottom: 1px solid #515151;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer .container .footer-nav a {
  font-size: 1rem;
  padding: 10px 20px;
  color: #ddd;
  margin-top: 50px;
  font-weight: normal;
}
footer .container .footer-nav a:hover {
  color: red;
}
footer .container .footer-content {
  flex: auto;
  display: flex;
  padding-top: 20px;
}
footer .container .footer-content .box:nth-child(2) {
  border-left: 1px solid #515151;
  border-right: 1px solid #515151;
}
footer .container .footer-content .box {
  flex: auto;
  height: 80%;
  display: flex;
  width: fit-content;
  justify-content: center;
  align-items: center;
  color: #ddd;
}
footer .container .footer-content .box .center {
  text-align: center;
}
footer .container .footer-content .box .center p {
  line-height: 1.8rem;
}
footer .container .footer-content .box .box-img {
  display: flex;
  flex-flow: column;
  align-items: center;
}
footer .container .footer-content .box .box-img img {
  height: 108px;
  width: 108px;
  margin-bottom: 4px;
}