/*二级导航条*/
.dh{
    text-align: center;
    cursor: pointer;
}
/*控制列表中列数*/
.media-body > span{
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box; /** 将对象作为伸缩盒子模型显示 **/
    -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
    -webkit-line-clamp: 3; /** 显示的行数 **/
}
/*导航条激活样式*/
.dhactive{
    background: #e30002;
    color: white;
    transition: 1s;
}
/*给新闻之间设置下划线*/
.list-unstyled>li{
    padding-bottom: 1%;
    border-bottom: 1px solid #e9e9e9;
}
/*给标题设置样式*/
a{
    color: black;
}
a:hover{
    color: #e30002;
}
/*给图片设置样式*/
img{
    cursor: pointer;
}
/*热门新闻内容超出部分隐藏*/
.list-group>li{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
/*设置背景颜色*/
.list-group-item>div{
    height: auto;
    text-align: center;
}
.list-group-item>div>a{
    color: white;
    font-size: 20px;
}
#bq>p{
    color: white;
}
/*增加间距*/
body>.container{
    margin-top: 1%;
}