/* ===== legend.css: Legend ===== */

/* ===== Legend ===== */


@font-face {
    font-family: 'Tkachenko Sketch 4F';
    src: url('../fonts/Tkachenko Sketch 4F.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

div#legend .f-tkachenko {
	font-family: 'Tkachenko Sketch 4F', 'proxima_nova_rgregular', 'Arial', sans-serif;
	font-weight: bold;
}

div#legend .f-proxima {
	font-family: 'proxima_nova_rgregular', 'Arial', sans-serif;
}


div#legend {
	position: absolute; 
	top: 0; 
	width: 100%;
	min-width: 20.5rem;
}


a.scroll-to-top {
	position: fixed;
	right: 0;
	bottom: 0;
	display: block;
	width: 3.8rem;
	height: 3.8rem;
	background: url(../../images/legend/footer.jpg);
}


p {
	margin: 0;
	padding: 0;
}



/* slide */

div#legend div.slide {
	position: relative;
	width: 100%;
	height: 100%;
	background-size: cover;
	/*min-height: 730px;*/
	min-height: 38.5rem;

	text-align: center;
	color: white;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.5);

	background-position: 50% 50%;
	overflow: hidden;
}

div#legend div.slide div.bg-wrap {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	overflow: hidden;
}
div#legend div.slide div.bg-wrap div.bg {
	position: absolute;
	top: -0.65rem;
	left: -0.65rem;
	right: -0.65rem;
	bottom: -0.65rem;

	background-size: cover;
}

div#legend div.slide div.target {
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(../../images/legend/target-simple.png) 50% 50% no-repeat;
	background: rgba(0,9,6,0.18);
	border-radius: 50%;
	width: 49.2rem;
	height: 49.2rem;
	left: 50%;
	top: 50%;
	margin-left: -24.6rem;
	margin-top: -31rem; /* 384 + oversize/2 */
	
	display: none;
	opacity: 0;
}
		div#legend.not-animated div.slide div.target {
			display: block;
			opacity: 1;

			margin-top: -24.6rem; /* 384 + oversize/2 */
		}

	div#legend div.slide div.target div {
		position: absolute;
		background: rgba(0,9,6,0.32);
		border-radius: 50%;
		width: 31.4rem;
		height: 31.4rem;
		top: 8.9rem;
		left: 8.9rem;
	}




/* data */

div#legend div.slide div.data {
	position: relative;
	height: 50%;
	width: 44.9rem;
	margin: 0 auto;

	top: -8.35rem; /* 30 + oversize/2 */
}

	div#legend.not-animated div.slide div.data {
		top: -1.9rem; /* 30 + oversize/2 */
	}


div#legend div.slide div.data div.data-top {
	position: absolute;
	font-size: 3.2rem;
	line-height: 0.9em;

	bottom: 0;
	padding-bottom: 0.65rem;

	left: 0;
	width: 100%;

	display: none;
	opacity: 0;
}

	div#legend.not-animated div.slide div.data div.data-top {
		display: block;
		opacity: 1;
	}


div#legend div.slide div.data div.data-bottom {
	position: absolute;
	font-size: 1.15rem;
	text-transform: uppercase;

	top: 100%;
	padding-top: 0.65rem;

	right: 0;
	width: 100%;

	display: none;
	opacity: 0;
}

	div#legend.not-animated div.slide div.data div.data-bottom {
		display: block;
		opacity: 1;
	}


div#legend div.slide div.data div.data-middle {
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	margin: 0 auto;
	padding-top: 16rem;
}


div#legend div.slide div.data a.next {
	display: inline-block;
	border: 1px solid white;
	padding: 1em 2em;
	font-family: 'proxima_nova_rgregular', 'Arial', sans-serif;
	text-decoration: none;
	font-size: 0.75rem;
	color: white;
	text-transform: uppercase;
	text-align: center;
	line-height: 1em;
}

/*
div#legend div.slide div.data a.next:after {
	content: "\022C1";
	display: block;
	font-size: 6px;
}
*/
	
div#legend div.slide div.data a.next:hover {
	background: white;
	color: black;
	text-shadow: none;
}


/* first slide specific */

div#legend div.slide.first div.target {
	margin-top: -24.6rem;
}

div#legend div.slide.first div.data {
	top: -1.9rem;
}

div#legend div.slide.first div.data div.data-top {
	display: block;
	opacity: 1;

	margin-bottom: 7.35rem;
}


div#legend div.slide.first div.data div.data-left {
	position: absolute;
	bottom: -6.2rem;
	right: 50%;
	width: 21.8rem;
	text-align: right;
	margin-right: 0.65rem;
}

div#legend div.slide.first div.data div.data-left.on-top {
	text-transform: uppercase;
	font-size: 1.15rem;
	margin-bottom: 0.65rem;
	bottom: 0;
}
div#legend div.slide.first div.data div.data-left.on-bottom {
	font-size: 0.9rem;
	top: 100%;
	line-height: 1em;
}

div#legend div.slide.first div.data div.data-right {
	position: absolute;
	bottom: -6.2rem;
	left: 50%;
	width: 21.8rem;
	margin-left: 0.65rem;
	z-index: 1;
}

div#legend div.slide.first div.data div.data-right a.video {
	position: relative;
	display: block;
	margin: 0.45rem 0 0 0;
	width: 18.8rem;
	height: 12.45rem;
	border: 1px solid #bebd00;
	background: url(../../images/legend/video-play.png) 50% 40% no-repeat;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 1.5rem;
}

div#legend div.slide.first div.data div.data-right a.video:hover {
	
}

div#legend div.slide.first div.data div.data-right a.video span {
	position: absolute;
	bottom: 1.9rem;
	width: 100%;
	left: 0;
}

div#legend div.slide.first div.data div.data-bottom {
	font-size: 1.9rem;

	display: block;
	opacity: 1;

	margin-top: 6.75rem;
	line-height: 0.9em;
}




/* last slide specific */

div#legend div.slide.last div.target {
	margin-top: -24.6rem;
}

div#legend div.slide.last div.data {
	top: -1.9rem;
}

div#legend div.slide.last div.data div.data-top {
	bottom: 5.1rem;
}

div#legend div.slide.last div.data div.data-bottom {
	display: block;
	opacity: 1;

	margin-top: -5.1rem;
}

div#legend div.slide.last div.data div.data-bottom div.on-top {
	display: none;
	opacity: 0;
}

		div#legend.not-animated div.slide.last div.data div.data-bottom div.on-top {
			display: block;	
			opacity: 1;
		}

	div#legend div.slide.last div.data div.data-bottom div.on-bottom {
		text-transform: none;
		position: relative;

		width: 44.9rem;
		margin: 0 auto;
	}

			div#legend.not-animated div.slide.last div.data-bottom div.on-bottom {
			}

		div#legend div.slide.last div.data div.data-left,
		div#legend div.slide.last div.data div.data-right {
			margin-top: 1rem;
			width: 50%;
			max-width: 22.45rem;
			font-size: 1rem;
			border: 0;
			display: none;
			opacity: 0;

			position: absolute;
		}

		div#legend div.slide.last div.data div.data-left {
			/*right: 50%;*/ /* v2 */
			left: 0;
			text-align: right;
		}

				div#legend.not-animated div.slide.last div.data div.data-left {
					display: block;	
					opacity: 1;
				}

			div#legend div.slide.last div.data div.data-left span {
				margin-right: 0.65rem;
				display: inline-block;
			}

		div#legend div.slide.last div.data div.data-right {
			/*left: 50%;*/ /* v2 */
			right: 0;
			text-align: left;
		}

				div#legend.not-animated div.slide.last div.data div.data-right {
					display: block;
					opacity: 1;
				}		

			div#legend div.slide.last div.data div.data-right span {
				display: inline-block;
				margin-left: 0.65rem;
			}




div#legend div.slide.last div.data a.next {
	width: auto;
	height: 3.5rem;
	line-height: 3.5rem;
	background: #bebd00;
	font-size: 1.35rem;
	padding: 0 1.3rem;
	color: #4e394e;
	text-transform: uppercase;
	text-shadow: none;
	text-decoration: none;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
	border: 0;
}

div#legend div.slide.last div.data a.next:hover {
	background: #dedd00;
}




@media screen and (max-width: 750px) {


div#legend div.slide div.target {
	margin-top: -26.2rem;
}


	/* data */

div#legend div.slide div.data {
	top: -3.5rem;
	width: 92%;
}


	div#legend div.slide div.data div.wrap {
		position: relative;
	}	

	div#legend div.slide div.data div.data-top {
		position: static;
		font-size: 2.7rem;
	}

	div#legend div.slide div.data div.data-bottom {
		position: static;
		font-size: 1rem;
	}


	div#legend div.slide div.data div.data-middle {
		position: static;
		padding-top: 3.2rem;
	}		

	

	/* first slide specific */


	div#legend div.slide.first div.data div.data-top {
		margin-bottom: 0;
		position: static;
	}

	div#legend div.slide.first div.data div.data-left {
		position: static;
		width: 100%;
		right: auto;
		bottom: 0;
		text-align: center;
		margin: 0;
	}

	div#legend div.slide.first div.data div.data-left.on-top {
		font-size: 0.9rem;
	}

	div#legend div.slide.first div.data div.data-left.on-bottom {
		display: none;
	}

	div#legend div.slide.first div.data div.data-right {
		width: 100%;
		left: auto;
		bottom: 0;
		margin: 0;
		position: static;
	}

	div#legend div.slide.first div.data div.data-right a.video {
		margin: 0 auto;
		/*border: 0;*/
		font-size: 1.15rem;
	}

	div#legend div.slide.first div.data div.data-right a.video span {
		position: absolute;
		bottom: 1.9rem;
		width: 100%;
		left: 0;
	}	

	div#legend div.slide.first div.data div.data-bottom {
		margin-top: 0;
		position: static;
		font-size: 1.5rem;
	}	

	div#legend div.slide.first div.data div.data-middle {
		position: static;
		padding-top: 0.65rem;
	}


	/* last slide specific */



/*	div#legend div.slide.last div.data div.data-top {
		position: static;
	}
*/
	div#legend div.slide.last div.data div.data-bottom {
		margin-top: 0;
		/*position: static;*/
	}	




	div#legend div.slide.last div.data div.data-bottom div.on-bottom {
		width: 100%;
	}

		div#legend div.slide.last div.data div.data-left,
		div#legend div.slide.last div.data div.data-right {
			position: static;
		}

		div#legend div.slide.last div.data div.data-left {
			float: left;
		}
		div#legend div.slide.last div.data div.data-right {
			float: right;
		}


	div#legend div.slide.last div.data div.data-middle {
		position: static;
		padding-top: 3.2rem;

		clear: both;
	}		



}


@media screen and (max-width: 600px) { 

	div#legend div.slide div.data div.data-top {
		font-size: 2.3rem;
	}

	div#legend div.slide div.data div.data-bottom {
		font-size: 0.9rem;
	}	


	div#legend div.slide.first div.data div.data-right {
		display: none;
	}

	div#legend div.slide.first div.data div.data-right a.video {
		position: static;

		/*border: 0;*/
		display: inline-block;
		width: auto;
		height: auto;
		background: none;
		padding: 0.35rem 0.65rem;
		margin: 0.65rem 0;
	}
	div#legend div.slide.first div.data div.data-right a.video span {
		position: static;
		/*display: inline-block;*/
		/*margin: 10px 0;*/
	}

	/* first slide specific */

	div#legend div.slide.first div.data div.data-bottom {
		/*font-size: 20px;*/
		display: none !important;
	}	


	/* last slide specific */

	div#legend div.slide.last div.data div.data-left,
	div#legend div.slide.last div.data div.data-right {
		display: none !important;
	}

}



