/* Import Google's Open Sans font */
@import url("https://fonts.googleapis.com/css?family=Open+Sans");

body {
	height: 100%;
	font-family: 'Open Sans';
	margin: 0px;
	padding: 0px;

	background-color: #C7B292;

	background-image:url("/media/images/sandcastle.jpg");
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center; 
	background-size: cover;

}

/*****************
 *     Header    *
 *****************/
#header {
	position: absolute;
	z-index: 2;
	top: 0px;

	font-size: 12pt;
	height: 8.5em;
	width: 100%;

	background-image:url("/media/images/papertile.jpg");

	box-shadow: 0px 0px 9px 0px #0F0F0F;
}

#header img {
	height: 5em;
}

#header .ip {
	padding: 1em 0.5em;
	font-weight: bold;
	color: #000000;
}

/*****************
 *   Navigation  *
 *****************/
#nav {
	z-index: 2;
	font-weight: bold;

}

#nav A {
	padding: 0.5em;
	text-decoration: none;
	color: #0E0E0E;
}

#nav A:hover {
	color: #0020F0;
}

#nav A:active {
	color: #2080FF;
}

#nav .dropbtn {
	border: none;
	background: none;
	padding: 0;

	font-family: 'Open Sans';
	font-size: 12pt;
	font-weight: bold;
}

/*****************
 *   Container   *
 *****************/
#container {
	position: absolute;

	top: 8em;
	width: 100%;

	height: max;     /* Stretch box to bottom of page */
	min-height: 85%; /* Make sure always covers whole height of screen */

	padding: 1.5em 1em 3em 1em;

	background-color: #ECF0F3;
	box-shadow: 0px 0px 9px 0px #0F0F0F;

	background-image:url("/media/images/wpapertile.jpg");

}

#container li {
	padding-bottom: 0.5em;
}

#main {
	font-size: 11pt;
	padding-bottom: 1.5em;
}

#main H3 {
	margin-bottom: -0.5em;
}
#main code {
	background: #DDE1E4;
	padding: 0.125em 0.25em;
}

#main img {
	max-width: 100%;
}

#main img.emoticon {
	height: 0.9em;
}

/*****************
 *     Footer    *
 *****************/
#footer {
	position: fixed;
	width: 100%;
	height: 3em;
	bottom: 0px;

	z-index: 3;

	text-align: right;
	padding: 0.75em 1em 1em 1em;

	background: #0E0E0E;
	color: #F1F1F1;
}

#footer a {
	text-decoration: none;
}

#footer .right {
	right: 0px;
}

#footer .left {
	position: absolute;
	text-align: left;

}

#footer .left img {
	height: 1.5em;
	padding-right: 0.25em;

}


/*****************
 * Size Specific *
 *****************/

/* Phone screens (< 550px wide) */
@media only screen and (max-width: 550px) {
	#header .logo {
		display: block;
		position: absolute;
		z-index: 50;
	}

	#header .ip {
		display: block;
		position: absolute;
		z-index: 50;
		top: 4.5em;
	}

	#mobilenavbtn {
		width: 100%;
		position: absolute;
		z-index: 4;

		top: 2em;
		right: 2em;

		width: 4em;
		height: 4em;

		background: #C7B292;

		border-color: #202020;
		border-style: solid;
		border-width: 2px;		
	}

	#mobilenavbtn a {
		position: absolute;
		text-decoration: none;
		display: block;

		z-index: 4;

		width: 100%;
		height: auto;
		min-height: 100%;
	}

	#mobilenavbtn .navicon {
		margin: 1.1em auto;
	}

	#mobilenavbtn .naviconline {
		width: 2em;
		height: 0.25em;
		background-color: black;
		margin: 0.35em auto;
	}

	#nav {
		position: absolute;
		display: none;
		top: 0;

		width: 100%;
		height: 100%;

		padding-top: 8em;
	}

	#nav a {
		display: block;
		background: #C7B292;
		border-color: #202020;
		border-style: solid;
		border-width: 1px 0px 1px 2px;
	}

	#nav .dropbtn {
		margin-left: 0.25em;
		padding: 0.5em 0;
	}

	#nav .droplink-content {
		margin-left: 1em;
		background-color: #C7B292;
		margin-bottom: 1em;
	}

	#nav a:hover { background-color: #E6C187; }

	#nav .separator {
		display: none;
	}
}

/* Desktop screens (>= 550px wide) */
@media only screen and (min-width: 550px) {
	#header .mobilenavbtn a { display: none; }

	#header .ip {
		margin-top: 0em;
		padding: 0 0.5em;
	}

	#nav {
		display: block;
		position: absolute;

		min-width: 5em;
	}

	/********************
	* Droplink Styling  *
	*********************/

	#nav .droplink {
		position: relative;
		display: inline-block;
	}

	#nav .dropbtn img {
		height: 0.5em;
		margin-bottom: 0.125em;
	}

	#nav .droplink-content {
		display: none;
		position: absolute;
		z-index: 420;

		min-width: 10em;
		background: #F2D196;

		border-color: #000000;
		border-style: solid;
		border-width: 0.15em;

		text-align: left;
	}

	#nav .droplink-content a {
		display: block;
		border-color: #808080;
		border-style: solid;
		border-width: 0 0 1px 0;
	}

	
	#nav .droplink:hover .droplink-content { display:block; }
	#nav .droplink:hover .dropbtn { color: #0020F0; }
	#nav .droplink-content a:hover { background-color: #E6C187; }

	#nav .separator {
		display: inline-block;
	}

}

/* Desktop screens (>= 800px wide) */
@media only screen and (min-width: 800px) {
	#container {
		width: 60%;
		min-width: 75ch;
		max-width: 90ch;
	}
}

/* Desktop screens (>= 1125px wide) */
@media only screen and (min-width: 1100px) {
	#header {
		height: 11em;
	}

	#header .logo {
		position: absolute;
		display: block;

		left: 50%;
		transform: translate(-50%, 0);
	}

	#header .ip {
		text-align: center;
		padding: 2em;
		margin-top: 3.25em;
	}

	#nav {
		background-image: url("/media/images/scroll.png");
		background-size: 100% 100%;

		text-align: center;
		padding: 1em 3em;
		top: 7em;


		left: 50%;
		transform: translate(-50%, 0);
	}

	#container {
		top: 10.5em;
	}
}

/* Horizontally center an object */
.center {
	margin: 0;
	position: absolute;
	left: 50%;
	-mstransform: translate(-50%,  0%);
	transform: translate(-50%, 0%);	
}

/* Vertical and horizontal for object */
.true-center {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-mstransform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

/* Standardize box sizing */
* { box-sizing: border-box; }


/* All CSS above made by Graham Downey (C) 2021 */