@import "base.less";
@import "detail-item-new.less";
@import "detail-card-new.less";
@import "loading.less";
@import "sweetalert.less";
@import "detail-movie-new.less";

.pageView{
	z-index: 2;
	
	.message {
		margin-top: 0;
	}
}

#extendedBg {
	position: fixed;
	width: 100%;
	height: 100px;
	background: @backgroundColor;
	bottom: -100px;
	z-index: 100;
	opacity: 0.8;
}

.goto-apps{
	width: 100%;
	height: 43px;

	@media screen and (min-width: 375px){
		height: 50px;
	}
	
	@media screen and (min-width: 414px){
		height: 55px;
	}

	@media screen and (min-width: 768px){
		height: 102px;
	}

	img{
		width: 100%;
	}
}

.error-notice{
	color: @titleColor;
	text-align: center;
	font-size: 1.2em;

	p{
		margin-top: 40px;
	}

	.unfollow{
		color: @titleColor;
		display: inline-block;
		padding: 7px 15px;
		border: 1px solid @titleColor;
		border-radius: 3px;
	}
}


.email-link {
	color: #0099cc;
	font-weight: normal;
	display: block;
	text-align: center;
}


.report-link{
	margin-top: 5px;
	display: inline-block;
	font-size: 0.9em;
	color: rgba(255, 255, 255, 0.5);

	@media screen and (min-width: 768px){
		margin-top: 10px;
		font-size: 1.2em;
	}
}

.sweet-alert{

	@media screen and (min-width: 375px){
		left: 30px;
		right: 30px;
	}
	
	@media screen and (min-width: 768px){
		left: 50%;
		right: auto;
	}
}

.sweet-alert fieldset{
	display: none;
}

.sweet-alert h2 {
	font-size: 1.5em;
	margin: 0 0 0.5em;
	font-weight: normal;
}

.sweet-alert p{
	text-align: left;
	padding: 0;
	margin: 0;
	color: #555;
}

.report-con p{
	padding: 10px;

	@media screen and (min-width: 768px){
		padding: 20px;
	}
}

.sweet-alert .video-report{
	width: auto;
	height: auto;
	margin: 0;
	display: inline;
}

.go-app-con{
	display: none;
	text-align: center;
	padding-left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	.lineBottom();

	a{
		
		display: inline-block;
		height: 36px;
		line-height: 36px;
		// padding-left: 35px;
		font-size: 12px;

	}

	.app-link-bg{
		// background-image: url('img/source/other_off@2x.png?v=6');
		background-image: url('img/app-arrow.svg');
        background-position: right 9px;
        background-size: 20px auto;
        background-repeat: no-repeat;
        padding-right: 20px;
        opacity: 0.8;
	}
}

.error-refresh{
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -1.1em 0 0 -15%;
	border: 1px solid @infoColor;
	color: @titleColor;
	width: 30%;
	height: 2.2em;
	line-height: 2.2em;
	text-align: center;
	border-radius: 4px;
}


.detail-ads {
	margin: 0 3vw 5vw;

	.gamead-link {
		height: 15vw;
		display: block;
		background-color: @linkActiveColor;
		position: relative;
		
		.thumb {
			position: absolute;
			left: 0;
			top: 0;
			height: 100%;
			width: 25%;
			background-size: cover;
		}

		.content {
			margin-left: 27%;
			padding: 2vw;
			margin-right: 10%;
		}

		.title {
			.ellipsis();
			line-height: 1.3;
			font-size: 3.8vw;
			margin-bottom: 1.5vw;
			margin-right: 5vw;
		}

		.description {
			.ellipsis();
			font-size: 3vw;
			color: @infoColor;
		}

		.label {
			width: 8vw;
			height: 4vw;
			font-size: 2.4vw;
			line-height: 4vw;
			text-align: center;
			color: @infoColorWeak;
			float: right;
			border-radius: 0.6vw;
			border: @lineColor 1px solid;
		}

		.close {
			width: 5vw;
			height: 5vw;
			position: absolute;
			right: 3vw;
			top: 5vw;
			background-image: url(img/cancel@3x.png);
			background-size: cover;
			background-position: center;
			background-repeat: no-repeat;
			border-radius: 2.5vw;
			background-color: rgba(0, 0, 0, 0.5);
		}
	}
}


@media screen and (min-width: 768px) {
	.detail-ads {
		margin: 0 15vw 5vw;

		.gamead-link {
			height: 11vw;
			
			.thumb {
				height: 100%;
				width: 25%;
			}

			.content {
				margin-left: 25%;
				padding: 2vw;
				margin-right: 13%;
			}

			.title {
				font-size: 2.5vw;
				margin-bottom: 1vw;
				margin-right: 5vw;
			}

			.description {
				.ellipsis();
				font-size: 2vw;
				line-height: 4vw;
			}

			.label {
				width: 5vw;
				height: 3vw;
				font-size: 2vw;
				line-height: 3vw;
				border-radius: 0.5vw;
				border: @lineColor 1px solid;
				color: @infoColorWeak;
			}

			.close {
				width: 3.4vw;
				height: 3.4vw;
				position: absolute;
				right: 3vw;
				top: 3.8vw;
				border-radius: 1.8vw;
			}
		}
	}
}
