
.tag-rect {
	position: relative;
	top: 0;
	display: inline-block;
	margin: 1px;
	margin-bottom: 5px;
	transition: 0.5s, opacity 1s;
	vertical-align: top;
	width: calc(((100vw)/2) - 3px);
	cursor: pointer;
}

@media (min-width: 768px) {
	.tag-rect {
		width: calc(((100vw)/3) - 3px);
	}
}
@media (min-width: 1000px) {
	.tag-rect {
		width: calc(((100vw - 350px)/4) - 3px);
	}
}
@media (min-width: 1200px) {
	.tag-rect {
		width: calc(((100vw - 350px)/5) - 3px);
	}
}
@media (min-width: 1400px) {
	.tag-rect {
		width: calc(((100vw - 400px)/5) - 3px);
	}
}


.tag-rect > .image {
	position: relative;
	width: 100%;
	background-color: #333;
	margin: 0 0 5px 0;
}
.tag-rect > .image > img {
	width: 100%;
}
.tag-rect > .image > img.screenshot {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: 0.2s;
}
.tag-rect:hover {
	box-shadow: 1px 1px 30px 3px rgba(0,0,0,1);
	z-index: 2;
}
.tag-rect:hover > .image > img.screenshot {
	filter: brightness(120%);

}

.tag-rect > .info {
	position: relative;
	font-size: 8pt;
	padding-bottom: 5px;
	transition: 0.2s;
}
.tag-rect > .info > .tag {
	position: absolute;
	top: -30px;
	left: 0px;
	padding: 0px 15px 0 10px;
	height: 25px;
	line-height: 25px;
	background-color: #444;
	transition: 0.3s;
	font-family: '微軟正黑體';
	text-transform: capitalize;
}
.tag-rect > .info > .tag:hover {
	background-color: #777;
}
.tag-rect:hover > .info > .tag {
	color: #fff;
}

.tag-rect > .info > .title {
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 15px;
	padding-right: 10px;
	position: relative;
	color: #999;
	transition: 0.3s;
	text-overflow: ellipsis;
	overflow: hidden; 
	white-space: nowrap;
}
.tag-rect:hover > .info > .title {
	color: #ccc;
}

.tag-rect > .info > .title:before {
	content: "";
	position: absolute;
	top: 4px;
	left: 5px;
	width: 3px;
	height: 9px;
	border-radius: 2px;
	background-color: #555;
}

.tag-rect.youtube > .info > .title:before {
	background-color: red;
}

.tag-rect.vimeo > .info > .title:before {
	background-color: #00ADEF;
}

.tag-rect.youku > .info > .title:before {
	background-color: #ef6c00;
}