.sprite-gallery {
	background-image: url(../images/sprites/gallery@1x.png);
	background-image: -webkit-image-set(url(../images/sprites/gallery@1x.png) 1x, url(../images/sprites/gallery@2x.png) 2x);
	background-repeat: no-repeat;
	background-size: 250px;
}

.gallery-item {
	background-color: #fff;
	border-radius: 4px;
	display: inline-block;
	height: 195px;
	margin: 0px 20px 30px 0px;
	padding: 5px;
	width: 233px;
}

.gallery-item:nth-child(3n) {
    margin-right: 0px;
}

.gallery-item > .thumbnail {
    background-color: #3b3b3e;
    background-image: url(../images/gallery-background.png);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: 4px;
    display: block;
    height: 145px;
    overflow: hidden;
    position: relative;
    width: 233px;
}

.gallery-item > .thumbnail > .image {
	object-fit: cover;
	height: 145px;
	width: 233px;
}

.gallery-item > .thumbnail > .curtain {
	background: rgba(255,255,255,0.2);
	height: 100%;
	left: 0px;
	opacity: 0;
	position: absolute;
	top: 0px;
	width: 100%;
	transition: all 0.2s ease-out;
	-webkit-transition: all 0.2s ease-out;
}

.gallery-item > .thumbnail:hover > .curtain {
	opacity: 1;
}

.gallery-item > .thumbnail > .staffpick {
	background-position: 0px 0px;
	height: 21px;
	left: 5px;
	position: absolute;
	top: 5px;
	width: 21px;
}

.gallery-item > .thumbnail > .staffpick.disabled {
	display: none;
}

.gallery-item > .thumbnail > .top {
	height: 16px;
	position: absolute;
	right: 8px;
	top: 8px;
}

.gallery-item > .thumbnail > .top > .reference {
	background-color: #2653a7;
	border-radius: 8px;
	color: #ffffff;
	float: left;
	font-size: 10px;
	font-weight: 300;
	height: 16px;
	line-height: 16px;
	padding: 0px 7px;
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: auto;
}

.gallery-item > .thumbnail > .top > .animation {
	filter: drop-shadow(0 0 1px #000000);
	fill: #fff;
	float:left;
	height: 16px;
	margin-left: 5px;
	opacity: 0.6;
	width: 16px;
}

.gallery-item > .thumbnail > .top > .reference.disabled,
.gallery-item > .thumbnail > .top > .animation.disabled {
	display: none;
}

.gallery-item > .thumbnail > .stats {
	bottom: 3px;
	height: 17px;
	left: 10px;
	opacity: 0.6;
	position: absolute;
	transition: all 0.2s ease-out;
	-webkit-transition: all 0.2s ease-out;
	width: 213px;
}

.gallery-item > .thumbnail:hover > .stats {
	opacity: 1;
}

.gallery-item > .thumbnail > .stats > .data {
	color: #ffffff;
	font-size: 12px;
	font-weight: 400;
	height: 17px;
	line-height: 17px;
	margin-right: 10px;
	text-shadow: 0px 0px 1px rgba(0,0,0,0.5);
}

.gallery-item > .thumbnail > .stats > .data.left {
	float: left;
}

.gallery-item > .thumbnail > .stats > .data.right {
	float: right;
}

.gallery-item > .thumbnail > .stats > .comments {
	margin-right: 0px;
}

.gallery-item > .thumbnail > .stats > .views::before,
.gallery-item > .thumbnail > .stats > .likes::before,
.gallery-item > .thumbnail > .stats > .downloads::before,
.gallery-item > .thumbnail > .stats > .renderings::before,
.gallery-item > .thumbnail > .stats > .renderings::before,
.gallery-item > .thumbnail > .stats > .comments::before {
	background-image: url(../images/sprites/gallery@1x.png);
	background-image: -webkit-image-set(url(../images/sprites/gallery@1x.png) 1x, url(../images/sprites/gallery@2x.png) 2x);
	background-repeat: no-repeat;
	background-size: 250px;
	content: '';
	display: block;
	float: left;
	height: 17px;
	margin-right: 4px;
	margin-top: 0px;
}

.gallery-item > .thumbnail > .stats > .views::before {
	background-position: -25px 0px;
	width: 17px;
}

.gallery-item > .thumbnail > .stats > .likes::before {
	background-position: -45px 0px;
	width: 14px;
}

.gallery-item > .thumbnail > .stats > .downloads::before {
	background-position: -105px 0px;
	width: 15px;
}

.gallery-item > .thumbnail > .stats > .renderings::before {
	background-position: -65px 0px;
	width: 15px;
}

.gallery-item > .thumbnail > .stats > .renderings.disabled {
	display: none;
}

.gallery-item > .thumbnail > .stats > .comments::before {
	background-position: -85px 0px;
	width: 17px;
}

.gallery-item > .footer {
	height: 50px;
}

.gallery-item > .footer > .avatar {
	background-size: contain;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	border-radius: 50%;
	display: block;
    float: left;
    height: 35px;
    margin: 10px 10px 5px 5px;
    width: 35px;
}

.gallery-item > .footer > .data {
	float: left;
	margin-top: 10px;
}

.gallery-item > .footer > .data > .title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 178px;
}

.gallery-item > .footer > .data > .title > a {
    color: #43484d;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.gallery-item > .footer > .data > .title > a:hover {
    color: #1B78DF;
}

.gallery-item > .footer > .data > .username {
	color: #a7b4c2;
	font-size: 11px;
	font-weight: 300;
	width: 178px;
}

.gallery-item > .footer > .data > .username > a {
	color: #43484d;
	text-decoration: none;
}

.gallery-item > .footer > .data > .username > a:hover {
	color: #1B78DF;
}
