/**
 * ALICE colors
 * 		Dark red	#f3152b
 *		Blue		#273b45
 *		Orange		#f97f39
 *		Light red	#ce4d4f
 */

body {
	background: #eee;
	font-family: "Gill Sans", "Gill Sans MT", sans-serif;
	color: #273b45;
	font-size: 14px;
}
h1, h2, h3, h4, h5, p {
	padding: 0px;
	margin: 0px;
	margin-bottom: 5px;
	margin-top: 5px;
}
p {
	text-align: justify;
}

/* Reusable tags */
.error-block {
	color: #b94a48;
	background-color: #f2dede;
	padding: 8px 35px 8px 14px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border: 1px solid #eed3d7;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
a, a:hover, a:active, a:visited {
	color: #f97f39;
}

/* No JavaScript Alert */
.no-js-alert {
	color: red;
	padding: 5px;
	text-align: center;	
	display: none;
}
html.no-js .no-js-alert {
	display: block;
}
html.no-js #years_tape {
	display: none;
}

/* Header */
body > header {
	width: 100%;
	min-width: 960px;
	background: #fff;
}
body > header div#banner {
	width: 960px;
	margin: 0px auto;
	position: relative;
}
body > header div#banner div#links_container {
	position: absolute;
	top: 5px;
	left: 0px;
}
body > header div#banner div#links_container a {
	margin: 3px 0px;
	padding: 0px 3px;
	clear: both;
	background: #eee;
	text-decoration: none;
	font-size: 120%;
}
body > header div#banner div#logo {
	padding: 10px;
	width: 150px;
	margin: 0px auto;
}
body > header div#banner div#logo img {
	width: 150px;
}

/* Main contaner */
div#main {
	width: 100%;
	min-width: 960px;
	position: relative;
}
div#main div#line {
	padding: 0px;
	margin: 0px
	width: 0px;
	margin-left: 3px;		
	border-left: 4px solid #ce4d4f;
	margin-right: 3px;
	float: left;		
	top: 1px;
	left: 475px;
	position: absolute;
	z-index: 1000;
}

/* Tape */
div#years_tape {
	width: 58px;
	position: fixed;
	z-index: 10000;	
	margin-left: 20px;
	top: 20px;
}
@media ( max-width: 1160px ) {
	div#years_tape { display: none; }
}
div#years_tape {
	margin: 0px;
	padding: 0px;
	width: 100px;
}
div#years_tape div.year-label {
	margin: 3px 0px;
	padding-left: 3px;	
	padding-right: 3px;	
	text-align: center;
	font-size: 15px;
	width: 58px;
	float: right;

	-moz-transition: width 0.5s, font-size 0.5s;
	-o-transition: width 0.5s, font-size 0.5s;
	-webkit-transition: width 0.5s, font-size 0.5s;
	transition: width 0.5s, font-size 0.5s;
	
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: white;
	text-decoration: none;
	text-shadow: 0 1px rgba(255,255,255,0.7);

	background: #585454;	
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 1px;
	transition: all 0.3s ease-out;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.5),
		0 2px 2px rgba(0,0,0,0.3),
		0 0 4px 1px rgba(0,0,0,0.2);
		
	/*	
		margin: 3px;
		padding: 6px 7px;
		font-size: 25px;
	*/
}
div#years_tape div.year-label.current,
div#years_tape div.year-label:hover {
	font-size: 40px;
	width: 100px;
	
	background: #F05A2F;
	cursor: hand;
	cursor: pointer;	
}
	
/* Content of years */
div#years_content {	
}
div#years_content div.year {
	width: 100%;
	min-width: 960px;
	border-top: 1px solid rgba( 255, 255, 255, 0.3 );
	border-bottom: 1px solid rgba( 0, 0, 0, 0.4 );
	-webkit-box-shadow: 0 0 50px rgba( 0, 0, 0, 0.8 );
	-moz-box-shadow: 0 0 50px rgba( 0, 0, 0, 0.8 );
	-o-box-shadow: 0 0 50px rgba( 0, 0, 0, 0.8 );
	box-shadow: 0 0 50px; 
	padding-top: 3px;
	position: relative;
	z-index: 100;
	/* Full page background */
	background-repeat: no-repeat;
	background-position: center center;	
	background-attachment: fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
div#years_content div.inner {
	width: 960px;
	margin: 0px auto;
}
div#years_content div.hidden {
	display: none;
}
div#years_content div.boxes-container {
	width: 470px;	
	float: left;
}
div#years_content div.boxes-container.left {		
	margin-left: 5px;
	padding-right: 5px;
}
div#years_content div.boxes-container.right {
	margin-right: 5px;
	padding-left: 5px;
}
div#years_content div.box {
	margin-top: 3px;
	margin-bottom: 3px;
	background: #eee;
	padding: 5px;
	max-width: 460px;
}
div#years_content div.box.html {
	padding: 20px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	background: rgba(84,84,84,0.80)	;
	color: white;
	max-width: 450px;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.5),
		0 2px 2px rgba(0,0,0,0.3),
		0 0 4px 1px rgba(0,0,0,0.2);
}
div#years_content div.box.image {
	position: relative;
} 
div#years_content div.box.image img {
	width: 100%;	
}
div#years_content div.box.left {
	float: right;
}
div#years_content div.box.right {
	float: left;
}
div#years_content div.box.loader-box {
	height: 50px;
	width: 50px;
	padding: 0px;
	text-align: center; 
	background: #273b45;
}
div#years_content div.box.loader-box img {
	width: 26px;
	margin-top: 12px;
}
div#years_content div.box.html p:first-child {
	color: #f97f39;
}
div#years_content div.box.html a.read-more,
div#years_content div.box.html a.read-more:visited,
div#years_content div.box.html a.read-more:hover,
div#years_content div.box.html a.read-more:active {
	margin-top: 5px;
	margin-bottom: 5px;
	color: #f97f39;
	display: block;
	text-align: right;
}
div#years_content div.box.image a.read-more,
div#years_content div.box.image a.read-more:visited,
div#years_content div.box.image a.read-more:hover,
div#years_content div.box.image a.read-more:active {
	position: absolute;
	bottom: 5px;
	right: 5px;
	padding: 0px;
	padding-left: 5px;
	padding-right: 5px;
	font-size: 16px;
	line-height: 20px;
	background: #eee;
	color: #666;
	text-decoration: none;
}
div#years_content div.box.image div.label {
	position: absolute;
	bottom: 5px;
	left: 5px;
	padding: 0px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top:10px;
	padding-bottom:5px;
	font-size: 14px;
	line-height: 16px;
	background: #eee;
	color: #F05A2F;
	text-decoration: none;
	opacity: 0.8;
}
div#years_content div.box.year-label {
	background: #f3152b;
	padding: 0px;
	margin: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	margin-top: 3px;
	margin-bottom: 3px;
	color: #f97f39;
}
div#years_content div.box.year-label h2 {
	padding: 0px;
	margin: 0px;
	font-size: 50px;
	line-height: 50px;
}
div#years_content div.box.period-title {
	padding: 0px 10px;
	border: none;
	margin-right: 5px;	
}
div#years_content div.box.period-title h1 {
	font-weight: normal;
	font-size: 150%;
}

/* Video label  */
footer#video_label {
    margin: 0px auto;
    padding: 20px 0px 10px 0px;
}
footer#video_label h1 {
    padding: 10px 20px;
    width: 500px;
    margin: 0px auto;
    display: block;
    text-align: center;
    color: #f97f39;
    font-weight: bold;
    font-size: 24px;
    -webkit-border-radius: 2px;
	border-radius: 2px;
	background: rgba(84,84,84,0.80)	;
	max-width: 450px;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.5),
		0 2px 2px rgba(0,0,0,0.3),
		0 0 4px 1px rgba(0,0,0,0.2);
    z-index: 100000;
    position: relative;
}

/* Final video */
footer#video_container {
	margin: 0px auto;
    padding: 10px 0px 20px 0px;
	text-align: center;
}
footer#video_container video {
	z-index: 100000;
	position: relative;
}

/* Foregrounds */
div#years_content div.foregrounds-container div.foreground {
	position: absolute;	
	z-index: 5000;
}
div#years_content div.foregrounds-container div.foreground img {
	width: 100%;
}

/* Model window */
div#modal_window {
	border: 1px solid #eee;
	width: 800px;
	height: 600px;
	background: #f3f7f6;
	position: fixed;
	z-index: 1000;
	-webkit-box-shadow:  0px 0px 30px 5px rgba( 0, 0, 0, 0.9 );
	box-shadow:  0px 0px 30px 5px rgba( 0, 0, 0, 0.9 );
    display: none;
}
div#modal_window header {	
	height: 25px;
}
div#modal_window header div.close {
	height: 25px;
	padding-left: 10px;
	padding-right: 10px;
	line-height: 25px;
	text-align: center;
	font-size: 20px;
	color: #F05A2F;
	float: right;
	cursor: hand;
	cursor: pointer;
}
div#modal_window header div.close:hover {
	color: #333;
}
div#modal_window div.content {
	height: 555px;
	width: auto;
	padding: 0px 30px 10px 30px;
	overflow-y: auto;
	font-size: 16px;
}
div#modal_window div.content div.loader {
	background: url("../img/loader.gif") center center no-repeat #273b45;
	width: 150px;
	height: 30px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	margin: 0 auto;
	color: #f97f39;
	text-align: center;
	padding-top: 80px;
}
/* Youtube viedos */
div#modal_window div.content iframe {
	margin: 0px auto;
	display: block;
}

/* Global shadow */
div#global_shadow {
	width: 100%;
	min-width: 960px;
	background: #666;
	opacity: 0.5;
	position: fixed;
	z-index: 100;
	top: 0px;
	left: 0px;
	display: none;
}

/* Loader */
div#loader {
	width: 100px;
	height: 30px;
	text-align: center;
	background: #273b45;
	position: fixed;
	top: 200px;
	z-index: 1000;
    display: none;
    padding: 35px 0;
    margin: 0px;
	-webkit-border-radius: 5px;
	border-radius: 5px;    
	border: 1px solid #f97f39;
}
div#loader img {
	width: 30px;
	height: 30px;
}
