/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}

body, html {
  position: relative;
  height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

ul {
	list-style-type: none;
}

ul, li { 
	margin: 0; padding: 0;
}

p {
	font-size: 14px;
}

h1,h2,h3,h4,h5{
	font-weight: normal;
}
@font-face {
    font-family: 'flama_ultracondensedsemibold';
    src: url('../fonts/flamaultracondensed-semibold-webfont.eot');
    src: url('../fonts/flamaultracondensed-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flamaultracondensed-semibold-webfont.woff2') format('woff2'),
         url('../fonts/flamaultracondensed-semibold-webfont.woff') format('woff'),
         url('../fonts/flamaultracondensed-semibold-webfont.ttf') format('truetype'),
         url('../fonts/flamaultracondensed-semibold-webfont.svg#flama_ultracondensedsemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'flamabook';
    src: url('../fonts/flama-book-webfont.eot');
    src: url('../fonts/flama-book-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-book-webfont.woff') format('woff'),
         url('../fonts/flama-book-webfont.ttf') format('truetype'),
         url('../fonts/flama-book-webfont.svg#flamabook') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'flamamedium';
    src: url('../fonts/flama-medium-webfont.eot');
    src: url('../fonts/flama-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-medium-webfont.woff') format('woff'),
         url('../fonts/flama-medium-webfont.ttf') format('truetype'),
         url('../fonts/flama-medium-webfont.svg#flamamedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	font-size: 16px;
	font-family: 'flamabook';
	/*font-family: 'freightdispboldregular', Georgia, serif;*/
	color: #4d4d4f;
	margin:0;
	padding:0;
	background: #fff;
}


#container{
	position: relative;
	width: 100%; height: 100%;
	z-index: 100;
}

#top {
	position: fixed;
	margin:0;
	width: 100%;
	height: 240px;
	overflow:hidden;
	background: #eef1f3;
	box-shadow: inset 0 -10px 40px -10px rgba(0,0,0,0.15);
    -moz-box-shadow: inset 0 -10px 40px -10px rgba(0,0,0,0.15);
    -webkit-box-shadow: inset 0 -10px 40px -10px rgba(0,0,0,0.15);
	/* url("../img/bottom-gradient2.png") repeat-x bottom center;*/
	/*border-bottom: 30px solid #fff;*/
	z-index:1000;
}
#content{
	position: relative;
	width: 100%; height: 100%;
	max-width: 940px;
	margin: 0px auto 0 auto;
	overflow: hidden;
	
}

#sideTab{
	display:none;
	width: 20px; height: 100%;
	background: #eff2f3 url('../img/arrow-right-left.png') no-repeat right center;
	position: absolute;
	z-index:100;
	right:0;
}
#sideTab.active{
	background-position: left center;
	background-color: transparent;
}




#textSource{
	width: 100%;
	height:100%;
	padding-right: 20px;
}

#textBlock p{
	margin:  0 0 1.7em 0;
	font-size: 1em;
	line-height: 1.7em;
}
#decadeListHolder{
	position: absolute;
	display:none;
	height: 100px; width: 100%;
	padding-top: 35px;
	overflow: hidden;
	z-index:100;
}
#decadeList{
	display: block;
	width: 950px; height: 60px;
	list-style:none;
	position: absolute;
	margin:0;
	left: 50%;
	margin-left: -545px;
}
#decadeList li{
	float: left;
	display: block;
	margin: 0 15px;
}
#decadeList li a{
	/*font-family: 'flamabook';*/
	font-family: 'flama_ultracondensedsemibold';
	font-size: 1.4em;
	color: #fff;
	text-align: center;
	
	display: block;
	border-radius: 20px;
	width: 32px; height: 32px;
	padding-top: 2px;
	margin-top:10px;
	background: #a8c0cc;
	
	-webkit-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
	
}
#decadeList li a:hover{
	background: #df7f1b;
}

/******************************
*******************************/
a.timelineArrow{
	width:30px;
	height: 220px;
	position: absolute;
	top:20px;
	right:0px;
	background: #ccd9df url('../img/arrow-right-left-2.png') no-repeat right center;
	z-index:99;
}

a.timelineArrow.left{
	left:0px;
	background-position: left center;
}

#timelineContent{
	width:100%; height:260px;
	padding: 0 20px;
	max-width: 100%;
	overflow: auto;
	overflow-x: scroll;
 	-webkit-overflow-scrolling: touch;	
	font-size: 12px;
	line-height:1.25em;
	display:none;
	margin-right: 0px;
}

#itemList{
	list-style:none;
	margin-top:40px;
	padding:0;
	float:left;
	white-space: nowrap;
}

#itemList li{
	display: inline-block;
	vertical-align:bottom;
	min-width:150px; max-width:600px;
	max-height:175px;
	margin-left: 45px;
	white-space: nowrap;
}

#itemList li .itemHolder{
	white-space: nowrap;
	display: inline-block;
	vertical-align:bottom;
	height:175px;
	min-width:150px;
}

#itemList li .itemText{
	white-space: nowrap;
	display: inline-block;
	vertical-align:bottom;
	max-width:340px;
	height:120px;
	padding-left:22px;
	padding-right:0;
	margin-top:65px;
	border-left: 1px solid #d0d9dd;
	border-top: none;
	float: none;
}

#itemList li .itemText.halfWidth{
	max-width:170px;
}

#itemList li .itemText .content {
	white-space: normal;
	display: inline-block;
	vertical-align:bottom;
	margin-top: -3px;
	float: none;
	margin-bottom: 0;
	padding-top: 0; padding-left:0;
}
#itemList li .itemText .content a {
	white-space: normal;
	display: block;
}

#itemList li .itemText .content span {
	color:#006392;
	font-family: 'flamamedium';
	display:block;
	margin-top:3px;
}

#itemList li .itemText .itemYear{
	font-family: 'flama_ultracondensedsemibold';
	display:block; float:left; 
	vertical-align:top;
	font-weight:normal;
	font-size: 1.6em;
	color: #fff;
	background: #a8c0cc;
	margin: -10px 4px 10px -36px;
	padding-top:7px;
	text-align:center;
	
	border-radius:14px;
	-moz-border-radius:14px;
	width:28px; height:28px;
	overflow:visible;
}

#itemList li .itemText .itemYear.smallBall{	
	border-radius:4px;
	-moz-border-radius:4px;
	width:8px; height:8px;
	margin: 0px 4px 10px -26px;
}

#itemList li .itemText .itemYear span {
	
	vertical-align:bottom;
	font-size:1.8em;
	margin-right: 4px;
}

.itemImg{
	display: inline-block;
	vertical-align:bottom;
	height: 100px;
	margin: 0 0 20px 8px;
	background: #eaf1f4;
	border:0;
}

.itemImg.bigHeight{
	height: 150px;
}

@media all and (max-width: 480px){
	#top{
		height: 100%;
	}
	#decadeList{
		width: 850px;
	}
	#decadeList li{
		margin-left:12px; margin-right:12px;
	}
	#sideMenu{
		width: 100%;
		position: fixed;
		padding: 40px 0 0 0;
		background: #eff2f3;
		border-right: 1px solid #dedede;
		/*right: -20px;
		*/
		left:-100%;
		margin-left:20px;
		
		-webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.5);
		-moz-box-shadow:    0px 0px 10px 0px rgba(50, 50, 50, 0.5);
		box-shadow:         0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	}
	#sideTab{
		display:block;
	}
	#textBlock{
		width: 100%;
		margin: 0;
		padding: 10px 10px 10px 40px;
		margin-top: 55px;
	}
	#siteBar{
		display:none;
	}
	#siteBarMobile{
		display:block;
	}
	#timelineContent{
		height:100%; width: 100%;
		padding: 0px 5% 20px 0;
		margin-top:90px;
		margin-right: -20px;
		overflow: hidden;
		overflow-x: hidden;
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;	
		font-size: 14px;
		line-height:1.25em;
	}
	#itemList{
		list-style:none;
		margin-top:10px;
		float:none;
		white-space: normal;
	}
	#itemList li{
		display: block;
		min-width:150px; max-width:450px;
		max-height:none;
		height:auto;
		overflow: auto;
		margin-left: 45px;
		margin-bottom: 30px;
		white-space: normal;
	}
	
	#itemList li .itemHolder{
		white-space: normal;
		display: inline-block;
		vertical-align:bottom;
		height:175px;
		min-width:150px;
	}
	
	#itemList li .itemText{
		white-space: normal;
		display: block;
		vertical-align:bottom;
		max-width:300px;
		height:auto;
		padding-left:22px;
		padding-right:0;
		margin-top:15px;
		border-top: 1px solid #d0d9dd;
		border-left: none;
		float:none;
	}
	.itemImg{
		display: block;
		margin: 6px 0px 20px 42px;
	}
	
	.itemImg.bigHeight{
		height: 150px;
	}

	#itemList li .itemText.halfWidth{
		max-width:300px;
	}
	
	#itemList li .itemText .content {
		white-space: normal;
		display: block;
		vertical-align:top;
		margin-bottom: 5px;
		padding-left:20px;
		padding-top: 15px;
	}
	
	#itemList li .itemText .itemYear{
		display:block; float:left; 
		vertical-align:top;
		font-weight:normal;
		margin: -15px 4px 10px -21px;
		font-size: 18px;
		padding-top:5px;
	}
	
	#itemList li .itemText .itemYear.smallBall{	
		margin: -5px 0px 10px -21px;
	}
	
	#itemList li .itemText .itemYear span {
		
		vertical-align:bottom;
		font-size:1.8em;
		margin-right: 4px;
	}
	
	a.timelineArrow{
		display:none;
	}
}

