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

/* Basic Styles */
body {
	background-color: #473C8B;
	width: 100%;
}
nav {
	height: 40px;
	width: 100%;
	background: #101010;
	font-size: 11pt;
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: bold;
	position: relative;
	margin-bottom: 36px;
	min-width: 960px;
}

#foot {
	height: 100px;
	width: 100%;
	background: #101010;
	font-size: 11pt;
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: bold;
	margin-bottom: 0;
}

#foot ul {
	padding: 0;
	margin: 0 auto;
	width: 400px;
	height: auto;
}

#foot ul img {
	padding-top: 35px;
	padding-bottom: 18px;
}

nav ul {
	padding: 0;
	margin: 0 auto;
	width: 400px;
	height: 40px;
}
nav li {
	display: inline;
	float: left;
}
a {
	text-decoration: none;
	color: #999;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
}
a:hover {
	color: #6600FF;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
}
#portfolio a:hover, #portfolio img:hover, #main a:hover, #main img:hover {
	transform: scale(0.99);
	-webkit-transform: scale(0.99);
	-moz-transform:    scale(0.99);
	-ms-transform:     scale(0.99,0.99);
	-o-transform:      scale(0.99);
}
nav a {
	color: #fff;
	display: inline-block;
	width: 100px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	text-shadow: 1px 1px 0px #283744;
}
nav li a {
	border-right: 1px solid #333;
	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: #333;
	color: #fff;
}
nav a#pull {
	display: none;
}

#portfolio {
	margin: 0 auto;
	width: 960px;
	overflow: auto;
	clear: both;
	padding: 36px 0 0 0;
}

#main {
	margin: 0 auto;
	width: 960px;
	overflow: auto;
	clear: both;
}

.mid, .left, .right {
	float: left;
	margin: 0 10px 12px 10px;
	width: 300px;
}

h3 {
	color: #fff;
	font-size: 15px;
	padding: 10px 0 8px 0;
	margin: 0;
	width: 100%;
}

p {
	line-height: 1.5;
	font-size: 14px;
}

#center {
	text-align: center;
}

#video {
	width: 100%;
	height: 500px;
}
#slinky {
	width: 100%;
	height: 700px;
	overflow:hidden;
}
.lefty {
	float: left;
	padding-right: 20px;
	padding-bottom: 15px;
}

.blackButton {
	background-color: #333333;
	padding: 10px;
	margin: auto;
}

.blackButton:hover {
	color: #FFFFFF;
}

#noUnity {
	display: none;
}
.sqImg {
	width: 100%;
	float: left;
	margin-bottom: 6px;
}

/* Word Press */

.storytitle {
	width: 75%;
	height: 22px;
	float: left;
	overflow: hidden;
}

.postdate {
	padding: 18px 2% 12px 1%;
	width: 20%;
	height: 16px;
	float: left;
	text-align: right;
	color: #CCC;
	font-size: 10px;
	white-space:nowrap;
}

.storycontent {
	background-color: #fff;
	padding: 5px 2% 5px 2%;
	overflow: auto;
	margin-top: -6px;
}

.storycontent img {
	margin-bottom: 10px;
}

.storycontent h3 {
	color: #000000;
}

.imgPadR {
	width: 32%;
	padding-left: 0.65%;
	padding-right: 0.65%;
}

.post {
	background-color: #101010;
	margin-bottom: 12px;
	margin-top: -4px;
}

#postHead {
	background-color: #101010;
	margin-bottom: 12px;
	margin-top: -4px;
	text-indent: 2%;
}

#titleBar h3 {
	text-indent: 2%;
}

#titleBar {
	height: 45px;
	width: 100%;
	background-color: #101010;
}
#titleBar h3 {
	padding: 14px 0 10px 0;
	color: #FFFFFF;
}
.sqImg {
	width: 100%;
	float: left;
	margin-bottom: 6px;
}
article {
	margin: 0 10px 24px 10px;
}

/* Contact Form */
fieldset {
	border: none;
	background-color: #fff;
	margin: 0;
	padding: 0;
}

fieldset label {
	color: #101010;
	width: 100%;
	padding: 5px 0 5px 0;
	font-family: Arial, Helvetica, sans-serif;
}

textarea, input {
	width: 100%;
	padding: 4px 0 4px 0;
	resize: none;
	text-indent: 5px;
	margin: 6px 0 0 0;
	border: 1px solid #ccc;
	margin-bottom: 20px;
}

textarea:focus, input:focus {
	border: 1px solid #101010;
}

#button {
	width: 100%;
	background-color: #101010;
	color: #fff;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
}

#button:hover {
	opacity: 0.8;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
}

form {
	margin: 24px 0 0 0;
	width: 100%;
}

#aboutPic {
	margin:10px 10px 24px 10px;
}

#myphoto {
	border: solid 8px #fff;
	width: 350px;
	height: 350px;
	margin: auto;
}

.circular {
	width: 350px;
	height: 350px;
	border-radius: 175px;
	-webkit-border-radius: 175px;
	-moz-border-radius: 175px;
	background: url(images/me.jpg) no-repeat;
	-webkit-background-size: 350px 350px;
       -moz-background-size: 350px 350px;
         -o-background-size: 350px 350px;
            background-size: 350px 350px;
	box-shadow: 0 0 18px rgba(200, 200, 200, 1);
	-webkit-box-shadow: 0 0 18px rgba(200, 200, 200, 1);
	-moz-box-shadow: 0 0 18px rgba(200, 200, 200, 1);
	-o-box-shadow: 0 0 18px rgba(200, 200, 200, 1);
	-ms-box-shadow: 0 0 18px rgba(200, 200, 200, 1);
}

@media screen and (max-width: 959px) {
	#portfolio {
		margin: 0 auto;
		width: 640px;
		padding: 36px 0 0 0;
		overflow: auto;
		clear: both;
	}
	#main {
		margin: 0 auto;
		width: 96%;
	}
	.mid, .left, .right {
		float: left;
		width: 300px;
	}
	#video {
		height: 338px;
	}
	.lefty {
		float: left;
		padding-right: 20px;
		padding-bottom: 15px;
	}
	.imgPadR {
		width: 48%;
		padding-left: 1%;
		padding-right: 1s%;
	}
	nav {
		min-width: 640px;
	}
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 639px) {
	nav { 
  		height: auto;
		position: fixed;
  	}
	#foot { 
  		height: auto;
		position: relative;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
	#foot ul {
		padding: 0;
		margin: 0 auto;
		width: 100%;
		height: auto;
	}
	#foot li {
		width: 25%;
  		float: left;
  		position: relative;
	}
  	nav li {
  		width: 25%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #333;
		border-right: 1px solid #333;
	}
  	nav a {
	  	text-align: center;
	  	width: 100%;
  	}
	h3 {
		font-size: 14px;
	}
	#portfolio {
		padding-top: 56px;
		margin: 0 auto;
		width: 320px;
		overflow: auto;
		clear: both;
	}
	#main {
		padding-top: 56px;
		margin: 0 auto;
		
	}
	.storytitle {
		height: 22px;
		float: left;
		overflow: hidden;
	}
	.postdate {
		font-size: 8px;
		width: 19%;
	}
	#titleBar h3 {
		padding: 14px 0 10px 3%;
		font-size: 13px;
	}
	p {
		font-size: 12px;
	}
	.storycontent {
		background-color: #fff;
		padding: 5px 3% 5px 3%;
	}
	.storycontent img {
		margin-bottom: 2px;
	}
	#video {
		height: 160px;
	}
	.lefty {
		padding-right: 0px;
	}
	#myphoto {
		width: 280px;
		height: 280px;
	}
	.circular {
		width: 280px;
		height: 280px;
	}
	#unityPlayer {
		display: none;
	}
	#noUnity {
		display: block;
		font-weight: bold;
	}
	nav {
		min-width: 320px;
	}


/*Smartphone*/
@media only screen and (max-width : 319px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #333;
	}
	nav {
		min-width: 0;
	}
}