/*
	Mapping the Archive Timeline
	based on Northwestern University Knight Lab's TimelineJS 2.30.1 — see license in timeline.css

    Sean Schumacher for Lexa Walsh, the De Young Museum, and the Oakland Museum of California
    2014
    
*/

/*
	Typography
	
	Bitstream Charter for body text and fancier display settings
	FiraSans for detail text, informational text, captions, and the like
	
*/

/*
	Charter 

	This is a copy of the Charter fonts which Bitstream contributed to the X consortium. This is the original notice included with the fonts: 
	(c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA. You are hereby granted permission under all Bitstream propriety rights to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts for any purpose and without restriction; provided, that this notice is left intact on all copies of such fonts and that Bitstream's trademark is acknowledged as shown below on all unmodified copies of the 4 Charter Type 1 fonts. BITSTREAM CHARTER is a registered trademark of Bitstream Inc. 
	
*/

@font-face {
    font-family: 'Bitstream Charter';
    src: url('/build/fonts/charter_regular-webfont.eot');
    src: url('/build/fonts/charter_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('/build/fonts/charter_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Bitstream Charter';
    src: url('/build/fonts/charter_bold_italic-webfont.eot');
    src: url('/build/fonts/charter_bold_italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/build/fonts/charter_bold_italic-webfont.woff') format('woff');
    font-weight: 600;
    font-style: italic;

}

@font-face {
    font-family: 'Bitstream Charter';
    src: url('/build/fonts/charter_bold-webfont.eot');
    src: url('/build/fonts/charter_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/build/fonts/charter_bold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;

}

@font-face {
    font-family: 'Bitstream Charter';
    src: url('/build/fonts/charter_italic-webfont.eot');
    src: url('/build/fonts/charter_italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/build/fonts/charter_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;

}


/*	Fira Sans

	This Font Software is licensed under the SIL Open Font License, Version 1.1.
	This license is copied below, and is also available with a FAQ at:
	http://scripts.sil.org/OFL


	-----------------------------------------------------------
	SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
	-----------------------------------------------------------
	
	PREAMBLE
	The goals of the Open Font License (OFL) are to stimulate worldwide
	development of collaborative font projects, to support the font creation
	efforts of academic and linguistic communities, and to provide a free and
	open framework in which fonts may be shared and improved in partnership
	with others.
	
	The OFL allows the licensed fonts to be used, studied, modified and
	redistributed freely as long as they are not sold by themselves. The
	fonts, including any derivative works, can be bundled, embedded,
	redistributed and/or sold with any software provided that any reserved
	names are not used by derivative works. The fonts and derivatives,
	however, cannot be released under any other type of license. The
	requirement for fonts to remain under this license does not apply
	to any document created using the fonts or their derivatives.
	
	DEFINITIONS
	"Font Software" refers to the set of files released by the Copyright
	Holder(s) under this license and clearly marked as such. This may
	include source files, build scripts and documentation.
	
	"Reserved Font Name" refers to any names specified as such after the
	copyright statement(s).
	
	"Original Version" refers to the collection of Font Software components as
	distributed by the Copyright Holder(s).
	
	"Modified Version" refers to any derivative made by adding to, deleting,
	or substituting -- in part or in whole -- any of the components of the
	Original Version, by changing formats or by porting the Font Software to a
	new environment.
	
	"Author" refers to any designer, engineer, programmer, technical
	writer or other person who contributed to the Font Software.
	
	PERMISSION & CONDITIONS
	Permission is hereby granted, free of charge, to any person obtaining
	a copy of the Font Software, to use, study, copy, merge, embed, modify,
	redistribute, and sell modified and unmodified copies of the Font
	Software, subject to the following conditions:
	
	1) Neither the Font Software nor any of its individual components,
	in Original or Modified Versions, may be sold by itself.
	
	2) Original or Modified Versions of the Font Software may be bundled,
	redistributed and/or sold with any software, provided that each copy
	contains the above copyright notice and this license. These can be
	included either as stand-alone text files, human-readable headers or
	in the appropriate machine-readable metadata fields within text or
	binary files as long as those fields can be easily viewed by the user.
	
	3) No Modified Version of the Font Software may use the Reserved Font
	Name(s) unless explicit written permission is granted by the corresponding
	Copyright Holder. This restriction only applies to the primary font name as
	presented to the users.
	
	4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
	Software shall not be used to promote, endorse or advertise any
	Modified Version, except to acknowledge the contribution(s) of the
	Copyright Holder(s) and the Author(s) or with their explicit written
	permission.
	
	5) The Font Software, modified or unmodified, in part or in whole,
	must be distributed entirely under this license, and must not be
	distributed under any other license. The requirement for fonts to
	remain under this license does not apply to any document created
	using the Font Software.
	
	TERMINATION
	This license becomes null and void if any of the above conditions are
	not met.
	
	DISCLAIMER
	THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
	EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
	OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
	COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
	INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
	DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
	FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
	OTHER DEALINGS IN THE FONT SOFTWARE.
	
	
*/

@font-face {
    font-family: 'FiraSans';
    src: url('/build/fonts/FiraSans-Light.eot');
    src: url('/build/fonts/FiraSans-Light.eot?#iefix') format('embedded-opentype'),
         url('/build/fonts/FiraSans-Light.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'FiraSans';
    src: url('/build/fonts/FiraSans-Regular.eot');
    src: url('/build/fonts/FiraSans-Regular.eot?#iefix') format('embedded-opentype'),
         url('/build/fonts/FiraSans-Regular.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'FiraSans';
    src: url('/build/fonts/FiraSans-Medium.eot');
    src: url('/build/fonts/FiraSans-Medium.eot?#iefix') format('embedded-opentype'),
         url('/build/fonts/FiraSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'FiraSans';
    src: url('/build/fonts/FiraSans-Bold.eot');
    src: url('/build/fonts/FiraSans-Bold.eot?#iefix') format('embedded-opentype'),
         url('/build/fonts/FiraSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}


/* 	Fontello, for iconography */
/*
	Fontelico

	   Copyright (C) 2012 by Fontello project

   Author:    Crowdsourced, for Fontello project
   License:   SIL (http://scripts.sil.org/OFL)
   Homepage:  http://fontello.com


   Elusive

   Copyright (C) 2013 by Aristeides Stathopoulos

   Author:    Aristeides Stathopoulos
   License:   SIL (http://scripts.sil.org/OFL)
   Homepage:  http://aristeides.com/
*/



@font-face {
  font-family: 'fontello';
  src: url('/build/fonts/fontello.eot?39401519');
  src: url('/build/fonts/fontello.eot?39401519#iefix') format('embedded-opentype'),
       url('/build/fonts/fontello.woff?39401519') format('woff'),
       url('/build/fonts/fontello.ttf?39401519') format('truetype'),
       url('/build/fonts/fontello.svg?39401519#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
     
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
}
 
.icon-spin1:before { content: '\e809'; } /* '' */
.icon-firefox:before { content: '\e807'; } /* '' */
.icon-chrome:before { content: '\e808'; } /* '' */
.icon-search-circled:before { content: '\e806'; } /* '' */
.icon-zoom-in:before { content: '\e800'; } /* '' */
.icon-zoom-out:before { content: '\e801'; } /* '' */
.icon-down-open:before { content: '\e804'; } /* '' */
.icon-left-open:before { content: '\e803'; } /* '' */
.icon-right-open:before { content: '\e802'; } /* '' */
.icon-up-open:before { content: '\e805'; } /* '' */




/* BEGIN */


html,
body {
	height:100%;
	padding: 0;
	margin: 0;
	overflow-x: hidden;
	overflow-y: hidden;
}

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

a,
a:hover {
	color: rgb(14, 184, 206);
}

h1 a {
	display: block;
	width: 200px;
	height: 200px;
	background-image: url(mappingthearchive.svg);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: contain;
	font-size: 0.1em;
	color:transparent;
	position: absolute;
	top: 0;
	left: 2px;
	z-index: 999;
  
	-webkit-transition-property: -webkit-transform;
	-webkit-transition-duration: 360s;
	-moz-transition-property: -moz-transform;
	-moz-transition-duration: 360s;
	-webkit-animation-name: rotate; 
	-webkit-animation-duration: 720s; 
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: rotate; 
	-moz-animation-duration: 720s; 
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;
}
      
@-webkit-keyframes rotate {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}

@-moz-keyframes rotate {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(360deg);}
}

h1 a:hover {
	text-decoration: none;
	color: transparent;
}
      
nav {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 999;
}

nav li {
	display: inline-block;
	margin-left: 10px;
}

nav a {
	font-family: "FiraSans", Calibri, sans-serif;
	color: rgb(14,184,206);
	text-transform: uppercase;
	letter-spacing:0.1rem;
	font-size:10.3px;
	font-weight:600;
	text-decoration: none;
}

nav a:hover {
	color: rgb(240,55,94);
}

article#about {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(250,250,245,0.5);
	background: -moz-linear-gradient(top, rgba(250,250,245,.9) 45%, rgba(240,55,94,.8) 66%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(45%,rgba(250,250,245,0.9)), color-stop(66%,rgba(240,55,94,0.8)));
	background: -webkit-linear-gradient(top, rgba(250,250,245,0.9) 45%,rgba(240,55,94,0.8) 66%);
	background: -o-linear-gradient(top, rgba(250,250,245,.9) 45%,rgba(240,55,94,.8) 66%);
	background: -ms-linear-gradient(top, rgba(250,250,245,.9) 45%,rgba(240,55,94,.8) 66%);
	background: linear-gradient(to bottom, rgba(250,250,245,.9) 45%,rgba(240,55,94,.8) 66%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#A0fafaf5', endColorstr='#C0f0375e',GradientType=0 );
	z-index: 998;
	overflow-x: hidden;
	overflow-y: visible;
}

article#about div {
	width: 70%;
	max-width:326px;
	margin: 8rem auto 1rem;
	padding: 2rem;
	background-color: rgba(250,250,245,.90);
	border-top: 8px solid rgba(240,55,94,0.98);
	font-family: 'Bitstream Charter', Georgia, serif;
	z-index: 999;
}

article#about p {
	margin: 0;
	font-size:1em;
	font-weight:normal;
	line-height:1.3em;
	color:#4d4d4d;
	text-indent: 1rem;
}

article#about p:first-child {
	text-indent: 0;
}


#startClick {
	display: block;
	text-align: center;
	background-color: rgb(14,184,206);
	margin: 1rem 2rem 0;
	padding: 1rem;
	border-radius: 100px;
	color: #fff;
	text-decoration: none;
	font-family: "FiraSans";
	font-weight: 600;
}

#startClick:hover {
	background-color: rgb(240,55,94);
}

.blur {
	-webkit-filter: blur(5px);
	filter: blur(5px);
}
      
      
/*
	Border hack, based on work by Jon Hicks
	
*/

b {
	position:fixed;
	background-color: rgb(14,184,206);
	display:block;
	z-index:99999;
	pointer-events: none;
}

b#lft {width: 8px; height:100%; left:0; top:0;}
b#rt {width: 8px;  height:100%; right:0; top:0;}
b#top {height:8px; width:100%; top:0; left:0;}
b#btm {height:8px; width:100%; bottom:0; left:0;}



/* Media Queries */

@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait) {
	article#about div {margin-top: 13rem;}
}

@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:landscape) {
	article#about div {margin-top: 6rem;}
}

@media only screen and (max-width:480px){
	h1 a {
		width:75px;
		height:75px;
		top:20px;
		left: 20px;
	}
	.blur {
		-webkit-filter: none;
		filter: none;
	}
	article#about {display:none;}
}

@media only screen and (max-width:321px) and (orientation:portrait) {
	nav li {display: none;}
	nav li:last-child {display:inline-block;}
	.blur {
		-webkit-filter: none;
		filter: none;
	}
	article#about {display:none;}
}
