@import "library.less";

.page-advices {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	color: #fff;
	min-height: 600px;
	
	.bg {
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		z-index: 1;
		background: #000;
		
		.bg0 {
			position: absolute;
			top: 0px;
			left: 0px;
			width: 100%;
			height: 100%;
			z-index: 1;
			-webkit-transform: translateZ(0);
			.cover;
		}
		.bg1 {
			position: absolute;
			top: 0px;
			left: 0px;
			width: 100%;
			height: 100%;
			z-index: 2;
			-webkit-transform: translateZ(0);			
			.cover;
		}
		.tint {
			position: absolute;
			top: 0px;
			left: 0px;
			width: 100%;
			height: 100%;
			background: #000;
			z-index: 5;
			opacity: 0.37;
		}
	}
	.logo {
		position: absolute;
		top: 62px;
		left: 239px;
		font-size: 30px;
		line-height: 34px;
		z-index: 10;
		font-family: flounder;
		
		.orange {
			color: @orange;
		}
	}
	
	.tictac-logo {
		position: absolute;
		width: 80px;
		height: 70px;
		right: 20px;
		top: 40px;
		z-index: 2;
		background: url(../images/advices/tictac-logo.png);
	}
	
	.tictac-person {
		position: absolute;
		left: -100px;
		top: 0px;
		bottom: 0px;
		margin: auto;
		width: 290px;
		height: 302px;
		background: url(../images/advices/tictac-person.png);
		z-index: 6;
	}
	
	.container {
		position: absolute;
		top: 150px;
		left: 100px;
		right: 0px;
		bottom: 0px;
		margin: auto;
		z-index: 3;
		width: 950px;
		height: 450px;
		
		.advice {
			font-size: 60px;
			line-height: 1.15;
			font-family: flounder;
			min-height: 320px;
		}
		
		.shares {
			padding-top: 50px;
			
			p {
				float: left;
				font-size: 14px;
				padding-right: 40px;
				margin-top: 15px;
				font-family: trivia-grotesk;
			}
			.share {
				float: left;
				width: 50px;
				height: 50px;
				margin-right: 20px;
				background: #f00;
				cursor: pointer;
				opacity: 0.85;
				
				&.vk {
					background: url(../images/advices/share-vk.png);
				}
				&.tw {
					background: url(../images/advices/share-tw.png);
				}
				
				&:hover {
					opacity: 1;
				}
				&:active {
					opacity: 0.7;
				}
			}
			.more {
				float: right;
				background: @orange;
				width: 240px;
				height: 60px;
				font-size: 30px;
				font-family: flounder;
				line-height: 60px;
				text-align: center;
				cursor: pointer;
				.border-radius;
				
				&:hover {
					background: darken(@orange, 5%);
				}
				&:active {
					margin-top: 1px;
					background: darken(@orange, 10%);
				}
			}
		}
	}
	
	.advices-start {
		position: fixed;
		top: 0px;
		left: 0px;
		z-index: 4;
		left: 0px;
		top: 0px;
		width: 100%;
		height: 100%;
		background: url(../images/index/start.jpg);
		overflow: hidden;
		.cover;
		.transition(@duration: 1s);
		
		.container {
			position: absolute;
			top: 0px;
			left: 0px;
			right: 0px;
			bottom: 0px;
			margin: auto;
			width: 700px;
			height: 250px;
		}
		p {
			font-size: 23px;
			line-height: 33px;
			font-family: trivia-serif;
		}
		.start-button {
			display: inline-block;
			font-size: 38px !important;
			height: 65px;
			line-height: 65px;
			margin-top: 40px;
		}
		
		&.hidden {
			.translate(0px, -100%);
		}
	}
	
}