* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    height: 0;
}
.clearfix {
  zoom: 1;
}
a {
  color: #666;
}
header {
  padding-right: 15px;
}
header .it_logo img {
  width: 100%;
}
header .it_nav {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
}
header .it_nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 30px;
  font-size: 16px;
}
header .it_nav a:hover {
  background-color: #fff;
  color: #333;
}
header .it_nav a::before {
  padding-right: 10px;
  font-size: 20px;
}
@media screen and (max-width: 991px) {
  header .it_nav {
    background-color: #eee;
    border-bottom: 1px solid #ccc;
  }
  header .it_nav li {
    float: left;
    width: 20%;
  }
  header .it_nav li a {
    padding-left: 10px;
    font-size: 14px;
  }
  header .it_nav li a:hover {
    background-color: #fff;
    color: #333;
  }
  header .it_nav li a::before {
    padding-right: 2px;
    font-size: 16px;
  }
}
.it_news li {
  width: 25%;
  float: left;
  height: 128px;
  padding-right: 10px;
  margin-bottom: 10px;
}
.it_news li a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.it_news li a img {
  width: 100%;
  height: 100%;
}
.it_news li a p {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 5px 10px;
  width: 100%;
  height: 41px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  color: #fff;
}
.it_news li:nth-child(1) {
  width: 50%;
  height: 266px;
}
.it_news li:nth-child(1) p {
  padding: 0 10px;
  line-height: 41px;
  font-size: 20px;
}
.itpublish {
  border-top: 1px solid #ccc;
}
.itpublish .layui-row {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}
.itpublish .layui-row .it_wrap2 {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.itpublish .layui-row .it_wrap1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.itpublish .it_pic img {
  width: 100%;
}
