﻿/*
 * style.css
 * Copyright 2012-2021 Ryan McCann
 * All Rights Reserved
 */

/* blue: 	background-color:#5e9de2;*/
html
{
	margin-bottom: 20px;
}
body
{
	background-color: #222222; /* solid color fallback */
	background-image: url('/images/stripe.png');
	font-family: trebuchet ms, trebuchet, ubuntu, arial, sans-serif;
	height: 100%;
	margin: 0px;
	/*margin-top: 10px;*/
	/*padding-top: 10px;*/
}
div
{
	/*background-color: #DDDDDD;*/
	font-family: Tahoma, Verdana, sans-serif; /*TODO: Oswald font*/
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

a:link,
a:visited
{
	color: #6C8BA6;
	text-decoration: none;
}
a:hover
{
	color: #aaaaaa;
}
a:active
{
	color: silver;
}

/* keep nav menu links gray */
a.alt-link:link,
a.alt-link:visited
{
	color: #686868;
}
a.alt-link:hover
{
	color: #aaaaaa;
}

p
{
	margin: 20px;
	margin-left: 20px;
	color: #2f343f;
	font-family: trebuchet ms, trebuchet, arial, sans-serif;
}

h1
{
	font-family: trebuchet ms, trebuchet, arial, sans-serif;
	color: #2f343f;
	margin: 0px;
	text-align: center;
	text-indent: 0px;
}

ul
{
	list-style: none;
	line-height: 30px;
	padding-left: 30px;
}

img
{
	border: 0px;
}
img.center
{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#container
{
	margin: auto;
	width: 1000px;
	position: relative;
}
#wrapper
{
	position: relative;
	top: 130px;
	margin-top: 10px;
	padding-bottom: 20px;
}
#menu-wrapper
{
	float: left;
}
#nav
{
	background-color: #DDDDDD;
	position: absolute;
	width: 200px;
	padding: 10px;
	margin-left: 10px;
	margin-right: 10px;

	min-height: calc(100% - 20px);
}
#content
{
	background-color: #DDDDDD;
	position: relative;
	width: 760px;
	padding: 10px;
	float: right;
	margin-left: 10px;
	margin-right: 10px;

	height: 100%;
	min-height: calc(100vh - 160px);
}
div#header
{
	background-color: #DDDDDD;
	position: absolute;
	width: 980px;
	height: 100px;
	margin: 10px;
}
#menu-btn
{
	display: none;
}
img#title
{
	margin: auto;
	display: block;
}
span#footer
{
	background-color: #DDDDDD;
	font-size: 10pt;
	position: absolute;
	bottom: 0px;
}

div.error_box
{
	background-color: #D2F0FF;
	padding: 20px;
	text-align: center;
	margin: 20px;
	margin-left: 25%;
	margin-right: 25%;
}

.drop-shadow
{
	box-shadow: 0px 5px 5px #000000;
	-ms-box-shadow: 0px 5px 5px #000000;
	-moz-box-shadow: 0px 5px 5px #000000;
	-webkit-box-shadow: 0px 5px 5px #000000;
}

.flash,
.java
{
	display: block;
	margin: auto;
}

.center
{
	text-align: center;
}

.clear
{
	clear: both;
	height: 0;
}

/* Home page */
.overview
{
	padding: 5px;
	display: inline-block;
	font-size: 35px;
	width: 300px;
	width: 326px;
	width: 346px;
	/*width: 48%;*/

	height: 200px;
	margin: 10px;
}
.a{background-color: #A5C5D5;}
.b{background-color: #A7A299;}
.c{background-color: #B3C1AA;}
.d{background-color: #797B7C;}
/* end Home page */

/* About page */
#about-title
{
	position: relative;
	font-size: 30pt;
	top: 0px;
	left: 250px;
}
#about-text
{
	position: absolute;
	left: 240px;
}
/* end About page */

/*TEMP*/
#home-link
{
	/* disabled by default for desktop */
	pointer-events: none;
	cursor: default;
}
#menu-btn
{
	position: absolute;
	/*display: block;*/
	/*padding: 10px;*/
	/*margin: 10px;*/
	padding-left: 8px;
	top: 0px;
	/*left: 10px;*/
	font-size: 18pt;
	/*font-size: 20pt;*/
	opacity: 0.6;
	color: #aaaaaa;
}
.cd-panel
{
	/* hide by default */
	/*display: none;*/
}
/*END TEMP*/

/**
 * Mobile styles
 */

/* Tablet */
@media only screen and (max-width: 1024px)
{
	#menu-wrapper, #nav
	{
		display: none;
	}

	#menu-btn
	{
		display: block;
	}

	div#container
	{
		width: 800px;
	}
	div#header
	{
		width: 760px;
		margin-left: 20px;
		margin-right: 20px;
	}
	div#content
	{
		margin-left: 20px;
		margin-right: 20px;
	}

	.cd-panel
	{
		display: inherit;
	}
}

/* Phone */
@media only screen and (max-width: 800px), only screen and (max-device-width: 480px)
{
	img#title
	{
		width: auto;
		height: auto;
		max-width: calc(100% - 60px);
		max-height: 100%;
	}

	div#container
	{
		width: 100%;
		min-width: 320px;
	}
	div#header
	{
		width: calc(100% - 40px);
		margin-left: 20px;
		margin-right: 20px;
	}
	div#nav
	{
		display: none;
	}
	div#content
	{
		width: calc(100% - 40px);
		margin: 10px;
		margin-left: 20px;
		margin-right: 20px;
		float: none;
	}
	div#wrapper
	{
		padding-bottom: 10px;
	}

	#social
	{
		display: none;
	}

	/* Home page */
	.overview
	{
		width: calc(100% - 20px);
		height: 100px;
	}
	#shortcuts
	{
		/*padding: 0px;*/
	}
	/* end Home page */

	/* About page */
	/*img#me*/
	/*{*/
	/*	!*position: initial;*!*/
	/*	display: none;*/
	/*}*/
	#about-title
	{
		/*position: initial;*/
		display: none;
	}
	p#about-text
	{
		position: initial;
	}
	/* end About page */
}
