﻿.carousel-box {
  height: 280px;
}

.layui-card-header {
  height: auto;
}

/* 滚动热点新闻 */
.swiper-image {
  width: 100%;
  height: 100%;
}

.header-title {
  font-weight: bold;
  font-size: 18px;
  height: 84px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.header-body {
  height: 115px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.layui-card-footer {
  position: relative;
  height: 42px;
  bottom: 0px;
  line-height: 38px;
  padding: 0 15px;
  color: #333;
  border-radius: 2px 2px 0 0;
  font-size: 14px;
}

.layui-icon-time {
  font-size: 16px;
  color: #9f9f9f;
}

.hot-message {
  float: right;
}

.layui-badge {
  margin-left: 5px;
}

.badge-red {
  background-color: #de1f20;
}

/* 滚动热点新闻 */



/* 通用 */
.layui-icon span {
  font-size: 15px;
  color: #9f9f9f;
}

.system a {
  width: 100%;
  height: 127px;
  display: block;
  color: #fff;
  /*margin: 0px 10px;*/
  margin: 0 auto;
}

.system img {
  width: 100%;
  height: 127px;
}

.system p {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30px;
  line-height: 30px;
  background: rgba(3, 3, 3, 0.6);
  text-align: center;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99333333, endColorstr=#99333333);
}

.textc {
  text-align: center;
}

li {
  height: 40px;
  line-height: 40px;
  color: #666666;
  font-size: 14px;
  padding-left: 5px;
}

li:hover {
  background-color: #f3f3f3;
}

/* 通用 */



/* card栏目模块 */


.layui-row { 
  margin-top: 20px;
}

.header-no-line {
  border-bottom: 0px;
}

/* card内栏目标题div */
.news-header {
  width: 100%;
  font-size: 16px;
  font-size: 18px;
  text-align: center;
  display: flex;
  justify-content: space-between;
}

/* card内栏目标题 */

.card-title {
  width: 100px;
  color: #de1f20;
  border-bottom: 2px solid #de1f20;
}

/* card内栏目标题查看更多 */
.more {
  color: #999999;
  font-size: 15px;
}

.more a {
  color: #999999;
  font-size: 15px;
}


.card-news-body {
  height: 246px;
}

/* 内容标题 */
.news-title {
  width: 70%;
  float: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-left: 8px;
}

/* 内容时间 */
.news-time {
  width: 100px;
  float: right;
}

/* card栏目模块 */


/* 右侧专题专栏 */
.system-link {
  width: 100%;
  height: 101px;
  margin-top: 5px;
}

.system-link img {
  height: 70px;
}

.linkp {
  bottom: 0;
  height: 25px;
  line-height: 25px;
  opacity: 0.7;
  color: #ffffff;
  background: rgba(3, 3, 3, 0.6);
  text-align: center;
}

/* 右侧专题专栏 */


/* 右侧固定悬浮 */
.flex {
  position: fixed;
  right: 0;
  top: 40%;
  width: 60px;
  background: #fff;
  border-top: 4px solid #de1f20;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
}

.flex div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  cursor: pointer;
  transition: all 0.7s ease;
}

.flex div img {
  width: 25px;
}

.ewmcount {
  padding: 5px 5px;
  text-align: center;
  position: absolute;
  right: 63px;
  background-color: #fff;
  top: -45px;
  width: 115px;
  border: 1px solid #d4d2d2;
}

/* 右侧固定悬浮 */


/* 社会体系建设 */
.other-link {
  width: 16.5%;
  height: 35px;
  line-height: 35px;
  font-size: 14px;
  color: #de1f20;
}

#div_shxytxjsldxzcymd {
  display: flex;
  flex-wrap: wrap;
  z-index: 0;
  overflow: hidden;
}

/* 社会体系建设 */

/* 底部友情链接 */
select {
  width: 150px;
  font-size: 14px;
  outline: none;
  height: 45px;
  line-height: 45px;
  padding-left: 5px;
  margin-top: 5px;
  border-radius: 5px;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition-property: border-color, box-shadow;
  transition-duration: 0.15s, 0.15s;
  transition-timing-function: ease-in-out, ease-in-out;
  transition-delay: 0s, 0s;
  border: 1px solid #ccc;
  color: #555;
  background-image: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/* 底部友情链接 */


/*小屏样式 */
@media screen and (max-width: 768px) {
  .carousel-box {
    height: 430px;
  }

  .news-title {
    width: 70%;
    float: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 8px;
  }

  li {
    font-size: 12px;
  }

  .news-time {
    width: unset;
  }

  .other-link {
    width: 30%;
    overflow: hidden;
  }
}

/*小屏样式 */

#header{
  height: 355px;
}