/*
 * @package	HB.Admin
 * @copyright	Copyright (c) Hamon-Bienvenue (http://www.hamon-bienvenue.ca)
 */

#timeline{
	position: relative;
	height: 740px;
	background: #f5f5f5;
}
	#timeline img{
		max-width: none;
	}
	#canvas{
		position: relative;
		height: 740px;
		overflow: hidden;
	}
	#scrub, #scrub:before{
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		background: url('../images/bckg-scrub.jpg?v=2') repeat-x 0 40px;
	}
	#scrub:before{
		display: none;
		height: 120px;
		background: url('../images/bckg-scrub.png?v=2') no-repeat top center;
		content: "";
	}
	#scrub.loaded:before{ display: block; }
		#markers{
			position: relative;
			display: none;
			height: 120px;
			overflow: hidden;
		}
			#markers h2{
				position: absolute;
				top: 0;
				height: 120px;
				margin: 0;
				padding-left: 6px;
				background: url('../images/bckg-marker.png?v=2') no-repeat 0 33px;
				text-align: center;
				font-size: 17px;
				color: #000000;
				cursor: pointer;
			}
			#markers h2.current{ background: url('../images/bckg-marker-current.png?v=2') no-repeat 0 33px; }
			#markers h2.end{
				right: 0;
				padding-right: 6px;
				padding-left: 0;
				border-left: none;
				border-right: 2px solid #cecece;
				text-transform: uppercase;
			}
		#scrubber{
			position: absolute;
			bottom: 0;
			left: 0;
			cursor: pointer;
		}
			#scrubber .canoe{
				display: block;
				margin: 0 0 0 20px;
				max-width: none;
			}
			#scrubber .paddle{
				position: absolute;
				bottom: -10px;
				left: -10px;
			}
		.waves{
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			height: 10px;
		}

.slide{
	position: absolute;
	display: none;
	top: 0;
	left: 0;
	width: 100%;
}
	.slide p, .slide img, .slide div{
		position: absolute;
	}
	.slide p{
		text-align: center;
		line-height: 1.55em;
		font-size: 16px;
		font-style: italic;
	}
	.slide .out{
		display: none;
	}
	.slide .text{ font: 75px "GreatVibes"; }
	.slide .year{ font: 95px "MuseoSansLight"; }
	.slide .year span{ font-size: 70px; }
	#y10000 .year{ font-size: 95px; }
	#y8000 .year{ font-size: 140px; }
	#y1000 .year{ font-size: 90px; }
	#y1534 .year{ font-size: 140px; }
	#y1608 .year{ font-size: 146px; }
	#y1760 .year{ font-size: 170px; }
	#y1867 .year{ font-size: 140px; }

#opening{
	display: block;
	padding: 100px 0;
	text-align: center;
}
	#opening h1{
		position: relative;
		padding: 100px 0 0;
		font-size: 70px;
		letter-spacing: .1em;
		z-index: 1;
	}
		#preload_status,
		#instructions{
			font-style: italic;
			color: #000000;
		}
		#opening h1 span{
			display: block;
			margin: 0 0 1em;
			font: 42px "GreatVibes";
			letter-spacing: 2px;
			color: #000000;
		}
	#preloader{
		position: absolute;
		top: 100px;
		left: 50%;
		width: 430px;
		height: 479px;
		margin-left: -215px;
	}
		#preload_fill{
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			background: url('../images/pic-preload.jpg') center bottom no-repeat;
		}
	#preload_status,
	#instructions{
		position: absolute;
		left: 0;
		width: 100%;
		font-size: 20px;
	}
	#preload_status{
		top: 470px;
	}
	#instructions{
		display: none;
		padding-top: 70px;
		top: 400px;
	}

#y0{
	padding-top: 150px;
	min-height: 450px;
	text-align: center;
}
	#y0 p{
		position: relative;
		margin-bottom: 1.9em;
		line-height: 1.9em;
		font-size: 16px;
		font-style: normal;
	}

#demo h2{
	position: absolute;
	top: 270px;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 200px;
}

/*#timeline-mobile{ display: none; }*/
#timeline, .btn-menu{ display: none; }

@media (max-width: 1000px){
	html, body{
		background: #f5f5f5;
	}
	#timeline-mobile{
		display: block;
	}
	#timeline{
		display: none;
	}
}

@media (max-height: 870px){
	#inner-wrap{
		margin-bottom: 0;
	}
	#timeline{
		height: 640px;
	}
	#canvas{
		height: 690px;
		top: -50px;
	}
	.overlay-open{
		top: 470px;
	}
}

@media (max-height: 770px){
	/*#scrub{
		position: fixed;
	}*/
	.overlay-open{
		top: 470px;
	}
}

@media (min-width: 980px){
	#top{
		margin: 0;
	}
}

.timeline-nav{
	position: absolute;
	width: 100%;
	overflow: hidden;
}
.timeline-nav.open{
	height: 1000px;
	overflow-x: hidden;
}
.sidenav{
	position: absolute;
	width: 270px;
	right: 0;
	padding-top: 50px;
	background: #000000;
	z-index: 9999;
	-webkit-transform: translate(270px, 0);
	-moz-transform: translate(270px, 0);
	-ms-transform: translate(270px, 0);
	-o-transform: translate(270px, 0);
	transform: translate(270px, 0);
}
.sidenav, .btn-menu{
	-webkit-transition: -webkit-transform 350ms ease;
	-moz-transition: -moz-transform 350ms ease;
	-ms-transition: -moz-transform 350ms ease;
	-o-transition: -o-transform 350ms ease;
	transition: transform 350ms ease;
}
.sidenav.open, .btn-menu{
	-webkit-transform: translate(0, 0);
	-moz-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	transform: translate(0, 0);
}
.btn-menu.active{
	-webkit-transform: translate(-270px, 0);
	-moz-transform: translate(-270px, 0);
	-ms-transform: translate(-270px, 0);
	-o-transform: translate(-270px, 0);
	transform: translate(-270px, 0);
}