@import "base.less";

.graph_list_item {
	position: relative;
	margin-bottom: 4vw;
	.lineBottom();

	.tag {
		position: absolute;
		width: 8vw;
		height: 6vw;
		color: @infoColor;
		left: 0;
		top: 40%;
		background: rgba(0, 0, 0, 0.3);
		text-align: center;
		font-size: 2vw;
		line-height: 7vw;
		border-radius: 0 2vw 2vw 0;
	}

	img {
		width: 100%;
		display: block;
	}

	.summary {
		text-align: center;
		color: @titleColor;
		padding: 4vw;
		font-size: 4vw;
	}
}



.native-ad {
	height: 50vw;
	display: block;
	overflow: hidden;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;

	.ad-notice {
		position: absolute;
		top: 0;
		right: 0;
		background-image: url('img/ad_logo@2x.png');
		background-size: contain;
		background-position: right;
		background-repeat: no-repeat;
		width: 8vw;
		height: 5vw;
	}

	.title-con {
		position: absolute;
		bottom: 0;
		left: 0;
		height: 12vw;
		width: 96vw;
		padding: 2vw;
		background: rgba(0, 0, 0, 0.75);

		.title {
			font-size: 4vw;
			line-height: 7.5vw;
			color: @titleColor;
		}

		.caption {
			font-size: 3vw;
			color: @contentColor;
		}

		.ad-icon{
			float: right;
			margin-top: 4vw;
			width: 8vw;
			height: 4vw;
			line-height: 4vw;
			font-size: 2.4vw;
			border: 1px solid @infoColorWeak;
			color: @infoColorWeak;
			text-align: center;
			border-radius: 0.5vw;
		}
		
	}
}



@media screen and (min-width: 768px) {

	.graph_list_item {
		margin-bottom: 4vw;

		.tag {
			width: 5vw;
			height: 4vw;
			font-size: 2vw;
			line-height: 4vw;
			border-radius: 0 0.75vw 0.75vw 0;
		}

		.summary {
			font-size: 2.5vw;
			padding: 3vw;
		}
	}

	.native-ad {
		height: 40vw;

		.ad-notice {
			width: 6vw;
			height: 4vw;
		}

		.title-con {
			height: 8vw;
			width: 96vw;
			padding: 2vw;

			.title {
				font-size: 2.5vw;
				line-height: 5vw;
			}

			.caption {
				font-size: 2.4vw;
			}

			.ad-icon{
				margin-top: 2.25vw;
				width: 6vw;
				height: 3.5vw;
				line-height: 3.5vw;
				font-size: 2vw;
				border-radius: 0.5vw;
			}
		}
	}

}
