/* Grid */

.grid {
	position: relative;
	z-index: 2;
	display: block;
}

.grid__sizer {
	margin-bottom: 0 !important;
}

.grid__link,
.grid__img {
	display: block;
}

.grid__img {
	width: 100%;
}

.grid .grid__item,
.grid .grid__sizer {
    width:32.9%;
	/*width: calc(33.333% - 20px);*/
	
	
}

.grid .grid__item {
	box-sizing: border-grid__item;
	/*box-shadow: 0 2px 3px rgba(0,0,0,0.15),1px 0 3px rgba(0,0,0,0.15),-1px 0 3px rgba(0,0,0,0.15);*/
}
.grid__link{
    margin: 10px 0;
    border-radius: 5px;
    overflow: hidden;
    margin-left:10px;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.15), 1px 0 3px rgba(0,0,0,0.15), -1px 0 3px rgba(0,0,0,0.15);
	font-size:0.9375rem;
    width: calc(100% - 15px);
}

.grid .grid__item .fa-youtube-play {
	position: absolute;
	right: 15px;
	top: 20px;
	z-index: 999;
	color: #ee2323;
	width: 30px;
	display: none;
}

.grid .grid__item .fa-youtube-play.active {
	display: block;
}

.grid .grid__item p {
}

.grid .grid__item p.img {
	position: relative;
}

.grid .grid__item p.img:after {
	content: '';
	height: 50px;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.75+100 */
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#bf000000',GradientType=0 ); /* IE6-9 */
}

.grid .grid__item p.text {
	padding: 15px 10px 10px 10px;
	background: url(../Images/bg_manga_entry.png) no-repeat right bottom, #f2f0f0;
	background-size: 25px;
}

.grid .grid__item p.text span {
	display: block;
}

.grid .grid__item p.text span.who {
	position: relative;
}

.grid .grid__item p.text span.who o {
	width: 80px;
	height: 80px;
	line-height: 80px;
	background: #FFF;
	position: absolute;
	top: -87px;
	border: 3px solid #FFF;
	box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
	overflow:hidden;
}

.grid .grid__item p.text span.who img {
    line-height:1.2;
	width: 100%;
	vertical-align: middle;
	margin: -4px 0 0 0;
}

.grid .grid__item p.text span.who b {
	color: #FFF;
	display: inline-block;
	padding: 3px 5px;
	font-size: 1.187rem;
	position: absolute;
	font-weight: bolder;
	top: -47px;
	left: 90px;
	text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/*.grid .grid__item p.text span.time {
	color: #7e7e7e;
	font-size: 13px;
	padding: 5px 0;
}*/

.grid .grid__item p.text span.txt {
	letter-spacing: 0;
	padding: 7px 0 0 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media screen and (max-width: 1024px) {
	.grid .grid__item,
	.grid .grid__sizer {
		width: calc((100% / 2) - 20px);
	}
}

@media screen and (max-width: 640px) {

	.grid .grid__item,
	.grid .grid__sizer {
		width: calc(100% - 20px);
	}

	.grid .grid__item p.text span.who o {
		width: 60px;
		height: 60px;
		line-height: 60px;
		top: -67px;
	}

	.grid .grid__item p.text span.who b {
		top: -50px;
		left: 70px;
	}

	main {
		display: block;
	}

	.codrops-header {
		padding: 1em;
		flex-wrap: wrap;
	}

	.codrops-links {
		margin: 0;
	}

	.codrops-header__title {
		width: 100%;
		text-align: left;
		flex: none;
		margin: 1em 0;
	}

	.content--side {
		width: 100%;
	}

	.content--right {
		order: 3;
	}

	.content--center {
		max-width: 100vw;
	}

	.control {
		margin: 0 0 1em;
		text-align: left;
	}

	.control__item,
	.control__btn {
		display: inline-block;
	}

	.control__btn {
		width: auto;
	}
}
