/**********************************
STS 1 Final Project
William Bauer
March 15, 2016
**********************************/


/**********************************
Layout Containers
**********************************/
body { 
/*	background: black url('img/black_noise.png') repeat; */
	background: black; 
}

#topbar {
	width: 100%;
	position: relative;
    z-index: 10;
	min-height: 8em;
/*	background: #990000 url('img/red_noise.png') repeat;*/
	background: #8C1515;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
}

#wrapper {
	position: absolute;
	width: 100%;
	top: 0px;
	left: 0px;
}

#nav {
	float: left;
	margin-top: 3.5em;
}

#content {
	position: relative;
    z-index: 5;
	margin: 0 auto;
	width: 70%;
	min-height: 40em;
	padding-left: 2em;
	padding-right: 2em;
	padding-bottom: 2em;
    margin-top: -1.75em;
    margin-bottom: -2.5em;
	background: white;
/*	border-radius: 2em;*/
	opacity: 0.9;
}

#footer {
	width: 100%;
	clear: both;
	position: relative;
    z-index: 9;
	min-height: 10em;
/*	background: #990000 url('img/red_noise.png') repeat;*/
	background: #8C1515;
}


/**********************************
Typography
**********************************/


h1 {
    padding-top: 1em;
	font-family: 'Source Serif Pro', serif;
/*    padding-left: 0.3em;*/
}

h2 {
	font-family: 'Source Sans Pro', sans-serif;
/*    padding-left: 0.5em;*/
}

h3 {
	font-family: 'Source Serif Pro', serif;
    font-size: 1.25em;
/*    padding-left: 0.5em;*/
}

h1.title {
    font-size: 2.5em;
    padding-bottom: 0em;
    margin-bottom: -0.5em;
    text-align: center;
}

h2.subtitle {
    font-size: 1.5em;
    padding-left: 0.5em;
    text-align: center;
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote p {
  display: inline;
}

a {
	font-family: Sans-Serif;
	font-size: 1em;
	text-decoration: none;
	color: #393939;
	-webkit-transition: color 0.75s ease;
	-moz-transition: color 0.75s ease;
	-o-transition: color 0.75s ease;
}

table {
	font-family: Sans-Serif;
	font-size: 1.2em;
	-webkit-transition: color 0.75s ease;
	-moz-transition: color 0.75s ease;
	-o-transition: color 0.75s ease;
}

table th {
	border: 1px dotted;
	text-align:center;
	padding: 0.5em;
}

table td {
	border: 1px dotted;
	text-align:left;
	padding: 0.5em;
}

a {
    color: #820000;
}

a:hover {
	color: #FF3300;
}

#content p {
/*	max-width: 30em;*/
	font-size: 1em;
	line-height: 1.2em;
	font-family: 'Source Sans Pro', sans-serif;
/*	padding: 0.5em*/
}

#content span {
/*	max-width: 30em;*/
	font-size: 1em;
	line-height: 1.2em;
	font-family: 'Source Sans Pro', sans-serif;
/*	padding: 0.5em*/
}

#content li {
/*	max-width: 30em;*/
	font-size: 1em;
	font-family: 'Source Sans Pro', sans-serif;
}

#content li a {
	font-size: 1em;
}

#copyright {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1em;
	color: white;
	padding-right: 3.5em;
	float: right;
	-webkit-transition: color 0.75s ease;
	-moz-transition: color 0.75s ease;
	-o-transition: color 0.75s ease;
}

#copyright a {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1em;
	text-decoration: none;
	color: white;
	-webkit-transition: color 0.75s ease;
	-moz-transition: color 0.75s ease;
	-o-transition: color 0.75s ease;
}

#nav a {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 2em;
	text-decoration: none;
	color: white;
	-webkit-transition: color 0.75s ease;
	-moz-transition: color 0.75s ease;
	-o-transition: color 0.75s ease;
}

#nav a:hover {
	color: #FF3300;
}

.navhome {
	margin-left: 1em;
}

.navitem {
	margin-left: 1em;
}

.nav-prev-topic {
    float: left;
}

.nav-next-topic {
    float: right;
}

.nav-topic-container {
    min-height: 7em;
}

.nav-topic-container .subtitle {
    color: black;
}

.nav-prev-topic .subtitle {
    margin-left: 1.25em;
}

ul {
    margin-top: 0.25em;
}

.italic {
    font-style: italic;
}

/**********************************
Images
**********************************/
#name-logo img {
	height: 5em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	margin-right:2em;
	float: right;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
}

#navexpand {
	height: 1em;
	margin-top: 0.25em;
	margin-left: 0.75em;
	float: right;
	display: none;
}

/**********************************
Media Queries
**********************************/

@media screen and (max-width: 1350px)
{
	#nav a {
		font-size: 1.5em;
	}
	
	#name-logo img {
		height: 4.5em;
		margin-top: 1.2em;
		margin-bottom: 1.2em;
		margin-right:2em;
	}
	
	#topbar {
		min-height: 7em;
	}
	
	#nav {
		margin-top: 3em;
	}
}

@media screen and (max-width: 1100px)
{
	#nav a {
		font-size: 1.2em;
	}	
	
	#name-logo img {
		height: 4em;
		margin-top: 1em;
		margin-bottom: 1em;
		margin-right:1.5em;
	}
	
	#topbar {
		min-height: 6em;
	}
	
	#nav {
		margin-top: 2.5em;
	}
}

@media screen and (max-width: 900px)
{
	#nav a {
		font-size: 1em;
	}
	
	.navitem {
		margin-left: .7em;
	}
		
	#name-logo img {
		height: 3em;
		margin-top: 1em;
		margin-bottom: 1em;
		margin-right:1em;
	}
	
	#topbar {
		min-height: 5em;
	}
	
	#nav {
		margin-top: 2em;
	}
}

@media screen and (max-width: 750px)
{
	#nav a {
		font-size: 2em;
	}
	
	#navexpand {
		/*display: block;*/
	}
	
	.navitem {
		display:none;
	}
	
	#nav {
		margin-top: 1.75em;
	}
}
