/*素材通用样式*/

.layui-material-list li {
    position: relative;
    margin: 0 10px 10px 0;
    float: left;
    width: 15%;
    min-width: 250px;
    border: 1px solid #e6e6e6;
    text-align: center;
}

.layui-material-list li .layui-card-header {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 35px;
    position: relative;
}

.layui-material-list li .layui-card-header .checkbox-item {
    position: absolute;
    top: 0;
    left: 10px;
}

/*图片*/

.layui-material-list .img-box {
    margin: 0 auto;
    max-width: 200px;
    height: 200px;
    line-height: 200px;
    overflow: hidden;
    margin-bottom: 10px;
    text-align: center;
}

.layui-material-list .img-box img {
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
}

.layui-material-list .img-count-box {
    height: 30px;
    font-size: 14px;
    color: #666;
}

/*文本*/

.layui-material-list .content-box {
    text-align: left;
    font-size: 13px;
    color: #666;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    height: 40px;
}

.layui-material-list .album-info {
    position: relative;
}

.layui-material-list .album-info-box {
    font-size: 14px;
    color: #666;
}

.layui-material-list .layui-album-btn-group {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    background-color: white;
    margin-bottom: 0;
}

.layui-material-list .layui-album-btns .layui-btn {
    margin-right: 2px !important;
    margin-left: 2px !important;
}

.layui-material-list .channel-material-box {
    position: absolute;
    top: 0;
    right: 10px;
}

.layui-material-list .channel-material-box img{
    height: 18px;
}

/*相册分组*/

.album-group-info {
    min-height: 52px;
    padding: 10px 0 10px 60px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 0;
}

.album-group-info img.thumb {
    line-height: 0;
    background-color: #FFF;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    width: 48px;
    height: 48px;
    border: solid 1px #e5e5e5;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 0;
}

.album-group-info .group-name {
    font-size: 14px;
    color: #00A0DE;
    height: 20px;
    margin: 2px 10px;
}


/*来源导航*/

.channel-nav-btn {
    border: 1px solid transparent;
    box-shadow: unset;
    text-align: center;
    min-width: 80px;
    padding: 0;
    height: 28px;
    line-height: 28px;
    background-color: transparent;
    border-radius: 16px;
    border-color: #C9C9C9;
    color: #555;
}

.channel-nav-btn:hover,.channel-nav-btn.active{
    border-radius: 16px;
    border-color: #38f;
    color: #38f;
}


/*图文展示*/

.big-news {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden
}

.big-news span {
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.5)!important;
    color: #FFFFFF;
    font-size: 14px;
    overflow:hidden; 
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 3px 0
}

.big-news img {
    width: 100%;
    height: 150px;
}

.big-news-hover {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: #333;
    filter: alpha(opacity=50);
    text-align: center;
    padding-top: 28%;
    -moz-opacity: 0.50;
    opacity: 0.50;
    display: none;
}

.big-news-hover a {
    text-decoration: none;
    color: white;
    padding: 10px;
    font-size: 13px;
}

.big-news:hover .big-news-hover {
    display: block
}

.small-news {
    width: 100%;
    margin: 0px auto;
    border-top: 0px;
    background: #FFFFFF;
    padding: 10px 0px;
    border-bottom: 1px solid #e7e7eb;
    position: relative;
    height: 65px;
    clear: both;
    overflow: hidden;
}

.small-news .small-title {
    float: left;
    max-width: 100px;
    line-height: 65px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.small-news .small-img {
    float: right;
    width: 65px;
}

.small-news .small-img img {
    width: 65px;
    height: 65px;
}

.small-news-hover {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: #333;
    filter: alpha(opacity=50);
    color: #FFFFFF;
    text-align: center;
    padding-top: 30px;
    -moz-opacity: 0.50;
    opacity: 0.50;
    display: none;
}

.small-news-hover span {
    font-size: 18px;
    font-weight: bold;
    padding: 0px 5px;
    cursor: pointer;
    margin-top: -5px
}

.small-news-hover a {
    text-decoration: none;
    color: white;
    padding: 10px;
    font-size: 13px;
}

.small-news:hover .small-news-hover {
    display: block
}

/*素材类型选择*/

.wx-media-editor {
    border: 1px solid #e6e6e6;
    overflow: hidden;
}

.wx-media-editor .wx-media-title {
    border-bottom: 1px solid #e6e6e6;
    clear: both;
    padding: 10px;
    height: auto;
    overflow: auto
}

.wx-media-editor .wx-media-title a {
    color: #999;
    display: block;
    float: left;
    margin: 0px 20px;
    font-size: 15px;
    font-weight: 400
}

.wx-media-editor .wx-media-title a i {
    margin-right: 5px
}

.wx-media-editor .wx-media-title a:hover {
    color: #1b1b1b
}

.wx-media-editor .wx-media-title a.hover {
    color: #1b1b1b
}

.wx-media-editor .wx-media-content {
    min-height: 160px;
    height: auto;
    overflow: auto;
    outline: none;
    padding: 20px;
    line-height: 2em
}

.wx-media-editor .wx-media-content .wx-media-add-left {
    width: 49%;
    float: left;
    border: 2px dashed #e6e6e6;
    height: 160px;
}

.wx-media-editor .wx-media-content .wx-media-add-left:hover {
    border: 2px dashed #D0D0D0
}

.wx-media-editor .wx-media-content .wx-media-add-a {
    background: url(../images/news_editor_add.png) center center no-repeat;
    color: #999;
    width: 150px;
    text-align: center;
    height: 0px;
    padding-top: 30px;
    line-height: 2em;
    display: block;
    margin: 0px auto;
    margin-top: 60px;
}

.wx-media-editor .wx-media-content .wx-media-add-right {
    width: 49%;
    float: right;
    border: 2px dashed #e6e6e6;
    height: 160px;
}

.wx-media-editor .wx-media-content .wx-media-add-right:hover {
    border: 2px dashed #D0D0D0
}

.wx-media-select {
    margin-top: 15px;
}

.wx-media-select .select-box {
    position: relative;
    overflow: hidden;
    padding-left: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e9eb;
} 

.wx-media-select a.select-box:hover .box-right p {
    color: #459ae9;
}

.wx-media-select .select-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
} 

.wx-media-select .select-box .box-right {
    padding-left: 10px;
    vertical-align: middle;
} 

.wx-media-select .select-box .box-right .type, .wx-media-select .select-box .box-right .title {
    font-size: 12px;
    color: #666;
    line-height: 30px;
} 
