html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

/*ANDROID FIX FOR CHECKBOX HACK*/
body { 
	-webkit-animation: bugfix infinite 1s; 
} 

body	{
	margin: 0;
	padding: 0;
	background: #f9fae5;
}	

.clearfix	{
	clear: both;
}
	
img	{
	width: 100%;
	display: block;
	border: none;
}	

body a	{
	text-decoration: none;
}	

#container	{
	position: relative;
}	

#container:before	{
	content: "";
	z-index: -1;
	position: fixed;
	background: #fde8a1 url(../img/texture6.jpg) center -3rem; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;	
}	

h1, h2	{
	font-family: 'Goblin One', sans-serif;
	text-align: left;
	
}

#logo img	{
	border: 2px solid #f9fae5;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}	

#content 	{
	font-family: 'Lora', serif;
	color: #28377b;
}	


/*NAVIGATION*/
nav	{
	font-family: 'Lora', serif;
	font-weight: bold;
}	

nav ul	{
	list-style: none;
}

nav li	{
	padding-bottom: .7em;
}

nav a.current, nav a.current_parent, nav a:hover, nav a:focus	{
	color: #fde8a1;
}	

/*TIMELINE*/

#timeline	{
	position: fixed;
}

#timeline label	{
	margin: 0;
	position: relative;
	z-index: 15;
	display: block;
	cursor: pointer;
}

#timeline input:checked + label,
#timeline label:hover,
#timeline label:focus  {
	color: #fde8a1;
}

#timeline input:checked + label	{
	cursor: default;
}	

#timeline input{
	display: none;
}

#timeline .timeline {
	overflow: hidden;
	height: 0px;
	position: relative;
	z-index: 10;
	-webkit-transition: height 0.5s ease-in-out;
	-moz-transition: height 0.5s ease-in-out;
	-o-transition: height 0.5s ease-in-out;
	-ms-transition: height 0.5s ease-in-out;
	transition: height 0.5s ease-in-out;
}

#timeline input:checked ~ .timeline{
	-webkit-transition: height 0.5s ease-in-out;
	-moz-transition: height 0.5s ease-in-out;
	-o-transition: height 0.5s ease-in-out;
	-ms-transition: height 0.5s ease-in-out;
	transition: height 0.5s ease-in-out;
}

/*TIMELINE DETAILS*/

#timeline .date	{
	position: relative;
}

#timeline1 .date	{
	height: 14%;
}	

#timeline2 .date	{
	height: 25%;
}	

#timeline3 .date	{
	height: 16%;
}	

#timeline a	{
	position: absolute;
	top: 50%;
	margin-top: -.6em;
}

#timeline a.current, #timeline a:hover, #timeline a:focus	{
	color: #fde8a1 !important;
}

#timeline img	{
	width: 4rem;
	border: 2px solid #f9fae5;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	position: absolute;
	top: calc(50% - 2rem - 2px);
	display: none;
}	

#timeline .date:before	{
	content:"";
	width: 1rem;
	height: 2px;
	position: absolute;
	background: #c3952d;
}
	
#timeline .line	{
	width: 2px;
	position: absolute;
	top: 0;
	bottom: 0;
}	
	
#timeline .line:before	{
	content: "";
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	position: absolute;
	left: -3px;
	top: -5px;
}	

#timeline .line:after	{
	content: "";
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	position: absolute;
	left: -3px;
	bottom: -5px;
}	

/*COLORS FOR EARLY THEME*/

.early h1	{
	color: #28377b;
}	

.early #main h2, .early #main h3	{
	color: #5e3110;
}

.early nav a	{
	color: #c3952d;
}

/*.early nav a.current, .early nav a.current_parent, .early nav a:hover, .early nav a:focus	{
	color: #fde8a1;
}	*/

.early #timeline	{
	color: #c3952d;
}

.early #timeline #early input:checked + label, .early #timeline #classic input:checked + label, .early #timeline #postwar input:checked + label	{
	border-bottom: 1px solid #c3952d;
}

.early #timeline #classic label, .early #timeline #postwar label 	{
	border-top: 1px solid #c3952d;
}

.early #timeline a, .early #timeline a:active, .early #timeline a:visited	{
	color: #c3952d;	
}	

.early #timeline .line	{
	background: #c3952d;
}	
	
.early #timeline .line:before, .early #timeline .line:after	{
	border: 4px solid #c3952d;
}	
/****************************/
		
/*COLORS FOR CLASSIC THEME*/

.classic h1	{
	color: #28377b;
}	

.classic #main h2, .classic #main h3	{
	color: #28377b;
}

.classic nav a	{
	color: #c3952d;
}

/*.classic nav a.current, .classic nav a.current_parent, .classic nav a:hover, .classic nav a:focus	{
	color: #fde8a1;
}*/

.classic #timeline	{
	color: #c3952d;
}

.classic #timeline #early input:checked + label, .classic #timeline #classic input:checked + label, .classic #timeline #postwar input:checked + label 	{
	border-bottom: 1px solid #c3952d;
}

.classic #timeline #classic label, .classic #timeline #postwar label 	{
	border-top: 1px solid #c3952d;
}

.classic #timeline a, .classic #timeline a:active, .classic #timeline a:visited	{
	color: #c3952d;	
}	

.classic #timeline a.current, .classic #timeline a:hover, .classic #timeline a:focus	{
	color: #fde8a1;
}

.classic #timeline .line	{
	background: #c3952d;
}	
	
.classic #timeline .line:before, .classic #timeline .line:after	{
	border: 4px solid #c3952d;
}		
/****************************/

/*COLORS FOR POSTWAR THEME*/

.postwar h1	{
	color: #28377b;
}	

.postwar #main h2, .postwar #main h3	{
	color: #28377b;
}	

.postwar nav a	{
	color: #28377b;
}	

/*.postwar nav a.current, .postwar nav a.current_parent, .postwar nav a:hover, .postwar nav a:focus	{
	color: #fde8a1;
}*/

.postwar #timeline	{
	color: #28377b;
}

.postwar #timeline #early input:checked + label, .postwar #timeline #classic input:checked + label, .postwar #timeline #postwar input:checked + label  	{
	border-bottom: 1px solid #28377b;
}

.postwar #timeline #classic label, .postwar #timeline #postwar label 	{
	border-top: 1px solid #28377b;
}

.postwar #timeline a, .postwar #timeline a:active, .postwar #timeline a:visited	{
	color: #28377b;
}	

.postwar #timeline a.current, .postwar #timeline a:hover, .postwar #timeline a:focus	{
	color: #fde8a1;
}

.postwar #timeline .date:before	{
	background: #28377b;
}

.postwar #timeline .line	{
	background: #28377b;
}	
	
.postwar #timeline .line:before, .postwar #timeline .line:after	{
	border: 4px solid #28377b;
}	
/****************************/

/*BICENTENNIAL LOGO*/

#bicentennial_logo	{
	position: fixed;
	width: 6rem;
	bottom: 2rem;
	/*left: calc(50% - 36.5em);*/
}	

/***************************/
/*CONTENT*/	

#main	{
	position: relative;
	top: 3rem;
	/*z-index: 1;*/
	-webkit-transform: translate3d(0,0,0);/*Resolve iPad z-index issue*/
}

#main:before	{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #f9e4ab; 
	opacity: .95;
	-webkit-box-shadow: 0 1px 6px #28377b;
	-moz-box-shadow: 0 1px 6px #28377b;
	box-shadow: 0 1px 6px #28377b;
	z-index: -1;
}


#main .text	{
	width: 65%;
	float: left;
}
	
#main a	{
	color: #5e3110;
	
}	

#main a:hover, #main a:focus	{
	color: #28377b;
}

#main section	{
	margin-bottom: 2rem;
}

.img_left img, .img_right img	{
	display: block;
	width: 100%;
}	

.caption	{
	font-size: .8em;
	font-style: italic;
	margin-right: .5rem;
}		

h3	{
	margin-bottom: 0;
}	

#book h3	{
	margin-bottom: 1rem;
}	

/*THEME PAGES*/

#theme	{
	border-top: 1px solid #28377b;
}	

/*ABOUT*/

.archaeologist	{
	margin-bottom: 2rem;
}

#acknowledgments .special	{
	display: block;
}	
	
.archaeologist .name, #signature .name	{
	font-weight: bold;
	font-style: normal;
}

.submenu, #acknowledgments ul	{
	list-style: circle;
}

.submenu li	{
	padding-top: .3em;
	padding-bottom: .3em;
}	

#acknowledgments ul#signature	{
	list-style: none;
	font-size: .8em;
}	

#events	ul, #news ul, #bicentennial ul	{
	list-style: none;
}

#events li, #news li, #bicentennial li	{
	padding-bottom: .7em;
}

#events li:last-child, #news li:last-child, #bicentennial li:last-child 	{
	padding-bottom: 0;
}
	
#events .date, #bicentennial .date	{
	display: block;
}	
	
/*OBJECTS*/

#objects	{
	border-top: 1px solid #28377b;
	
}	
	
.object 	{
	width: 40%;
	margin: 1rem 0;
	float: left;
	margin-right: 10%;
}	


.object img:hover, .object img:focus	{
	opacity: .8;
	border: none;
	outline: 2px solid #f9fae5;
}	

	
/**************************/
/*OBJECT ZOOM*/

.zoom	{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: #f9fae5;
	-webkit-box-shadow: 0 1rem 1rem -1rem #28377b;
	-moz-box-shadow: 0 1rem 1rem -1rem #28377b;
	box-shadow: 0 1rem 1rem -1rem #28377b;
	display: none;
}

.zoom img	{
	display: block;
	width: 100%;
}

.zoom .tombstone	{
	list-style: none;
	margin: 1rem 0;
	padding: 0 1rem;
}

.double .tombstone	{
	clear: both;
}	

.zoom .tombstone li	{
	padding-bottom: .6em;
}	

.tombstone .obj_name	{
	font-weight: bold;
}	

.tombstone span	{
	margin-right: 1rem;
}	

.zoom:target	{
	display: block;
}

.zoom .close	{
	font-family: arial, sans-serif;
	font-size: 1rem;
	font-weight: bold;
	position: absolute;
	top: -.3rem;
	right: -.3rem;
	padding: .2rem .5rem;
	border: 1px solid #28377b;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	background: #f9fae5;
}
	
.zoom .close a	{
	color: #28377b;
	display: block;
}

.zoom .close a:before	{
	content: "";
	position: absolute;
	top: -.5em;
	right: -.5em;
	bottom: -.5em;
	left: -.5em;
}	

.img_fullsize	{
	width: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;/*enable scrolling on iPhone and iPad*/
}	

.img_fullsize div	{
	overflow: hidden;
}	
	
/*BREADCRUMBS*/
#breadcrumbs	{
	padding-top: 1.5rem;
	font-size: .8rem;
}
	
#breadcrumbs ul {
	margin: 0; 
	padding: 0; 
	list-style: none;
	width: 100%;
}

#breadcrumbs ul	{
	float: left;
}	

#breadcrumbs li	{
	display: inline-block;
	font-style: italic;
	float: left;
	margin-right: .5em;
}	

#breadcrumbs a	{
	display: block;
	text-decoration: none;
}	

#breadcrumbs .current {
	font-weight: bold;
	color: #28377b;
}

/*OBJECTS*/

.index	{
	width: 100%;
	margin: 2rem 0 1rem;
}	

.artifact	{
	margin: 0;
}

.artifact img	{
	display: block;
	width: 100%;
}

.artifact a:hover img, .artifact a:focus img	{
	opacity: .8;
	outline: 2px solid #f9fae5;
}	

.artifact p	{
	margin-bottom: 0;
}	

.card span	{
	display: block;
}	

.card .name	{
	font-size: 1.1em;
	margin-bottom: .5em;
}
	
.card .more	{
	font-size: 1em;
}	

/*TODAY*/

#satellite_map + .caption	{
	text-align: right;
}

#scroll	{
	display: block;
}	
	
/*PHOTOS*/

#photos	{
	border-top: 1px solid #28377b;
	margin-top: 1rem;
}	
	
#photos h3	{
	margin-bottom: 1rem;
}	

/*GALLERY*/

.photo 	{
	margin: 1rem 0;
}	


.photo img:hover, .photo img:focus	{
	opacity: .8;
	border: none;
	outline: 2px solid #f9fae5;
}	

	