/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
* {
	position:relative;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box; 
	box-sizing:border-box;
}

body {
	background: black;
	overflow: none;
}

div {
	position: absolute;
	background: white;
	font-family: 'Quicksand', sans-serif;
	/*font-family: 'Inconsolata', sans-serif;*/
	color: black;
} div#mouth-bottom {
	z-index: 10;
} 

span#output {
	position: absolute;
	display: block;
	bottom: 5px;
	left: 5px;
	padding: 0px;
	margin: 0px;
	border-right: solid rgba(0, 0, 0, 0) 1px;
	animation: border-blink 1s infinite;
	-webkit-animation: border-blink 1s infinite;
	border-right: solid rgba(0, 0, 0, 0) 2px;
	text-align: left;
	/*white-space: nowrap;*/
	text-shadow: 2px 2px 2px white;
	overflow: none;
}

@keyframes border-blink {
    0%   { border-right-color: rgba(0, 0, 0, 0); }
    49%   { border-right-color: rgba(0, 0, 0, 0); }
    50%  { border-right-color: rgba(0, 0, 0, 1); }
    99%   { border-right-color: rgba(0, 0, 0, 1); }
}

@-webkit-keyframes border-blink {
    0%   { border-right-color: rgba(0, 0, 0, 0); }
    49%   { border-right-color: rgba(0, 0, 0, 0); }
    50%  { border-right-color: rgba(0, 0, 0, 1); }
    99%   { border-right-color: rgba(0, 0, 0, 1); }
}

/** Nav Styling */
/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */
nav {
	height: 40px;
	width: 100%;
	background: #455868;
	font-size: 11pt;
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: bold;
	position: relative;
	border-bottom: 2px solid #283744;
	z-index: 100;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 900px;
	height: 40px;
	display: flex;
	justify-content: center;
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #fff;
	display: inline-block;
	width: 150px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	text-shadow: 1px 1px 0px #283744;
	font-size: 10pt;
}
nav li a {
	border-right: 1px solid #576979;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	border-right: 0;
}
nav a:hover, nav a:active {
	background-color: #8c99a4;
}
nav a#pull {
	display: none;
}

/*Collapsed*/
@media only screen and (max-width : 900px) {
	nav { 
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #576979;
		border-right: 1px solid #576979;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
	nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		background-color: #283744;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #576979;
	}
}