/* 重置bootstrap 默认样式 */
.nav-link:hover{
  color: #e50012;
}

/* 公共页头 */
#header {
  background-color: #e50012;
}

#header .nav-link {
  color: #fff;
  font-size: 1.35rem;
}

#header .nav-link:hover {
  font-weight: bold;
}

@media screen and (min-width: 992px) {
  #header .navbar-brand {
    font-family: cursive;
    font-size: 2.8rem;
    padding: 20px 0px;
  }
  #header .slogan {
    position: relative;
    left: 5px;
    top: 5px;
    background: #fff;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 13px;
    opacity: 0.95;
    cursor: default;
  }

  #header #navbarSupportedContent {
    position: relative;
  }
  #header #navbarSupportedContent .navbar-nav {
    position: absolute;
    right: 0;
  }
  .md-w-80{
  	width: 80%;
  }
}

/* 公共页脚 */
.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
}

/*轮播图*/
.carousel-item img {
  height: 500px;
}
.carousel-item .info{
  position:absolute;
  left:0;
  right:0;
  background-color: rgb(50 50 50 / 80%);
}

.carousel-item .info .nav-link:hover{
color:unset;
font-weight: bold;
}

.block-content {
  background-color: #f9f9f9;
}

.block-content .content-title {
  border-bottom: 1px solid #eaeaea;
}

.block-content .content-list {
  list-style: none;
}

.block-content .text-truncate-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.block-content .text-truncate-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* 内容block */
.block-content {
  background-color: #f9f9f9;
}

.block-content .content-title {
  border-bottom: 1px solid #eaeaea;
}

.block-content .content-list {
  list-style: none;
}

.block-content .text-truncate-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.block-content .text-truncate-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.block-content .content-list img{
height:160px;
}

/* 排行 */
.ranking li span {
  background: #333;
  padding: 2px 4px;
  color: #fff;
  font-size: 13px;
  margin-right: 8px;
  border-radius: 2px;
}

.c-title:before {
  position: absolute;
  left: 5px;
  content: "";
  width: 5px;
  height: 25px;
  background: #e50012;
}

/* 内容页独有样式 */
.a-title {
  text-align: center;
  font-size: 1.35rem;
  margin-top: 0.875rem;
  margin-bottom: 5px;
  padding: 0px 20px;
}

.a-info {
  text-align: center;
  font-size: 0.875rem;
  color: #666;
  border-bottom: 2px solid #e50012;
}

.card .card-body img {
  max-width: 90%;
  display:block;
  margin: 0 auto;
  height: auto;
}

.card-breadcrumb a {
  color: unset;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
}

