/* main.css
Main style sheet for portfolio site.
*/

* {
	/*border: 1px dotted #ccc;*/
	margin: 0;
	padding: 0;
}

::selection {
	background-color: #ddd;
	color: #fff;
	text-shadow: .05em 0.05em .1em #000;
}

.nsel {
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
	
	pointer-events: none;
}

html, body {
	height: 100%;
}

#bgimage {
	position: absolute;
	left: 0;
	width: 611px;
	height: 470px;
	background-image: url("../images/bg.png");
	background-repeat: no-repeat;
	z-index: -1;
	filter: blur(1px);
}

#bgimagefaderh {
	position: absolute;
	left: 0;
	width: 615px;
	height: 475px;
	background-image: linear-gradient(90deg, rgba(7, 7, 7, .2) 0%, rgba(7, 7, 7, 1) 99%);
	background-repeat: no-repeat;
	z-index: -1;
}

#bgimagefaderv {
	position: absolute;
	left: 0;
	width: 615px;
	height: 475px;
	background-image: linear-gradient(180deg, rgba(7, 7, 7, .2) 0%, rgba(7, 7, 7, 1) 99%);
	background-repeat: no-repeat;
	z-index: -1;
}

body {
	background-color: #070707;
	color: #ddd;
	font-family: 'Open Sans', Helvetica, sans-serif;
	
	position: relative;
	height: auto !important;
	min-width: 80em;
	min-height: 100%;
}

@keyframes h_divider_anim {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

#h_divider {
	width: 50%;
	border-bottom: 2px solid #ddd;
	margin: 0 auto;
}

#container {
	min-width: 60em;
	max-width: 80em;
	margin: 0 auto;
}

#content {
	width: 100%;
}

.extlinks {
	width: 100%;
	text-align: center;
	list-style-type: none;
	margin: 1.5em auto;
	font-weight: bold;
}

.extlinks li {
	margin-bottom: 1em;
}

.gallery {
	width: 100%;
	text-align: center;
}

.gallery img {
	width: 30%;
	margin: 0 auto;
	display: inline-block;
}

.medialinks {
	margin: 32px auto;
	width: 100%;
	text-align: center;
}

.medialinks img {
	display: inline-block;
	width: 64px;
	height: 64px;
	margin: 0 8px;
}

header, nav {
	font-family: 'Source Code Pro', Consolas, "Courier New", monospace;
}

header h1 {
	padding: 64px 0;
	text-align: center;
}

header h1:before {
	content: "{";
	padding-right: 1em;
}

header h1:after {
	content: "}";
	padding-left: 1em;
}

p {
	text-indent: 3em;
	/*text-align: justify;*/
	padding: 0 1.25em 1.25em 1.25em;
}

p a {
	text-decoration: underline;
}

.panleft {
	width: 70%;
	margin-right: auto;
}

.panright {
	width: 70%;
	margin-left: auto;
}

.pancenter {
	width: 70%;
	margin-left: auto;
	margin-right: auto;
	text-indent: 0;
	text-align: center;
}

a {
	color: #fff;
	text-decoration: none;
	transition: opacity .25s;
}

a:hover {
	opacity: 0.6;
}

video {
	margin-top: 2em;
	margin-bottom: 2em;
}

h4 {
	color: #999;
	text-align: center;
	margin: 1em auto;
}

main {
	margin: 4em;
	overflow: hidden;
	padding: 0 0 3em 0;
}

nav {
	width: 20%;
	float: left;
	margin: 6em 4em;
	text-indent: 0;
}

nav .current {
	font-weight: bold;
	transition: opacity .25s;
	padding-left: .75em;
}

nav a {
	display: inline-block;
	width: 80%;
}

nav ul {
	list-style-type: none;
	height: 100%;
}

nav li {
	margin: .4em 0;
	font-weight: bold;
	padding-left: 20%;
}

nav li li {
	font-weight: normal;
	font-size: 90%;
	padding-left: 1em;
}

nav li li:before {
	content: ">";
	padding-right: .5em;
	vertical-align: top;
}

footer {
	clear: both;
	position: absolute;
	bottom: 0;
	vertical-align: middle;
	width: 100%;
	height: 0;
}

footer p {
	color: #777;
	font-size: 80%;
	text-align: center;
	text-indent: 0;
	margin: 0;
	padding: 0;
}

footer .medialinks img {
	width: 32px;
	height: 32px;
	margin: 0 4px;
}

/* DEBUG MODE * /
body { background-color: #060 !important; }
footer { background-color: #606 !important; }
nav { background-color: #600 !important; }
main { background-color: #066 !important; }
header { background-color: #660 !important; }
/**/