img[src=''],
img:not([src]) {
    opacity: 0;
}

.sidebar_wrapper {
    border-radius: 8px;
}

.textwidget img {
    border-radius: 8px;
}

.flickr img {
    border-radius: 8px;
}

.video-container {
    border-radius: 8px;
}

.sidebar_content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    justify-content: space-around;
}

.video_card {
    position: relative;
    width: 40%;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 50px;
}

.video_cover {
    border-radius: 8px;
    overflow: hidden;
    background-color: #d2d2d2;
    justify-items: center;
}

.video_cover .hot {
    position: absolute;
    justify-self: baseline;
    margin: 10px;
    font-weight: bolder;
    color: #ffffff;
    opacity: 0;
}

.hot .hot_n {
    color: #ff0808;
}

.video_cover a {
    display: flex;
    height: 200px;
    width: calc(200px * (16/9));
}

.video_cover img {
    justify-self: center;
    align-self: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.video_card .video_cover_wrapper {
    position: relative;
}

.video_cover_wrapper .mask {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    height: 40px;
    width: 100%;
    position: absolute;
    border-radius: 8px;
}

.video_info {
    height: 17%;
    max-height: 20%;
    overflow: hidden;
    display: grid;
}

.video_info a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video_description {
    overflow: hidden;
    height: 12%;
}

.description p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
}

.video_time {
    margin-top: 2%;
}
