/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .lili-list-container {
 	overflow: hidden;
 }

 .lili-distributor {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    /* justify-content: space-evenly; */
    margin-left: -7.5px;
    margin-right: -7.5px;
 }

.lili-video-thumb-wrapper,
.lili-video-grid-placeholder {
    margin-bottom: 10px;
	flex-basis: 33.33%;
    min-width: 280px;
    flex-grow: 1;
    margin: 0px;
    padding-left: 7.5px;
    padding-right: 7.5px;
    box-sizing: border-box;
}

.lili-video-thumb-wrapper {
	margin-bottom: 30px;
}

 .lili-video-thumb-wrapper .lili-grid-timestamp {
 	margin-top: 0;
 	font-size: 12px;
 	margin-bottom: 15px;
 	color: gray;
 	display: inline-block;
 	font-style: italic;
 }

.lili-video-thumb-wrapper .lili-grid-title {
	margin-bottom: 0px;
}

.lili-video-thumb-wrapper .lili-inner {
    background: salmon;
}

.lili-aspect-ratio {
	width: 100%;
	padding-top: 100%;
	position: relative;
	overflow: hidden;
}

.lili-video-thumb-wrapper .lili-excerpt {
    padding-top: 15px;
    padding-bottom: 15px;
    max-height: 85px;
    overflow: hidden;
    font-size: 14px;
    position: relative;
}

.lili-video-thumb-wrapper .lili-excerpt:after {
    display: block;
    content: ' ';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, white 83%, white 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(83%, white), to(white));
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, white 83%, white 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 83%, white 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}

.lili-video-thumb-wrapper .wp-video {
	position: absolute;
	top: 0;
	left: 0;
}

.lili-video-thumb-wrapper .lili-article-video-wrapper {
    display: none;
}

.lili-article-video-wrapper {
    position: relative;
    min-height: 100%;
    margin-bottom: 15px;
    max-width: 640px;
}

.lili-article-video-wrapper .wp-video,
.lili-article-video-wrapper .mejs-container,
.lili-video-thumb-wrapper .wp-video,
.lili-video-thumb-wrapper .mejs-container {
	height: 100% !important;
	width: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

.lili-article-video-wrapper .wp-video-shortcode video,
.lili-article-video-wrapper video.wp-video-shortcode,
.lili-video-thumb-wrapper .wp-video-shortcode video,
.lili-video-thumb-wrapper video.wp-video-shortcode {
    height: 100% !important;
}

.entry-content {
	width: 100% !important;
}

.lili-show-all-button {
    margin-bottom: 30px;
    float: right;
}

.lili-pagination > * {
    flex-grow: 1;
    flex-basis: 0;
}

.lili-pagination .lili-pagination-num {
    flex-grow: 2;
}
.lili-pagination {
    display: flex;
    justify-content: space-between;
}