
/* ********** ********** ********** ********** ********** General Stuff ********** ********** ********** ********** ********** */

.d-none { display: none; }

body {
	font-family: Ubuntu, Calibri, "Droid Sans", Tahoma, Arial, Helvetica, sans-serif;
	background: white;
	width: 700px;
	margin: 0 auto;
}

code {
	font-family: "Ubuntu Mono", Consolas, "Droid Sans Mono", "Lucida Console", "Courier New", Courier, monospace;
	white-space: nowrap;
}

a  { text-decoration:none; outline:none; }
a:link    { color:#0000FF; }
a:visited { color:#000090; }
a:hover   { color:#AA0000; text-decoration:underline; }
a:active  { color:#FF0000; text-decoration:underline; }

.cc_b { color: darkblue; }
.cc_g { color: darkcyan; }
.cc_r { color: red;  }

/* ********** ********** ********** ********** ********** Image Placement ********** ********** ********** ********** ********** */

#header {
	/* height: 10px padding + 60px image + 40px title + 10px padding = 120px */
	width: 700px; height: 120px;
	position: fixed; top: 0px;
	background-color: rgba(255, 255, 255, 1);
}
	#header_picture { /* img is 700x60 */
		width: 700px; height: 60px;
		position: absolute; top: 10px;
	}
	#header_title {
		width: 700px; height: 40px;
		position: absolute; top: 70px; /* top: 10px padding + 60px title pic */
	}
		#header_title_leftpic { /* img is 100x40 */
			position: absolute; left: 0;
		}
		#title_h1 {
			/* width: 700px - 100px leftpic - 10px padding - 5px padding - 40px rightpic = 545px */
			width: 545px;
			position: absolute; bottom: 0; left: 110px;
			margin: 0; display: inline;
			text-align: right;
		}
		#header_title_rightpic { /* img is 40x40 */
			position: absolute; right: 0;
		}

#menu {
	/* header bottom is 120px - 10px header padding */
	position: fixed; top: 110px; width: 100px;
}
	/* topline img is 100x20 */
	#menu_topline + .menuitem { margin-top: 0; }
	.menuitem:before { content:"[ "; }
	.menuitem:after  { content:" ]"; }
	.menuitem {
		margin-top: 1em;
		font-size: 0.8rem;
		white-space: nowrap;
	}
	.menu_current {
		font-weight: bold;
		color: black !important;
		text-decoration: none !important;
	}
	/* bottomline img is 100x4 */
	#menu_bottomline { margin-top: 1em; }
	.postmenuitem {
		font-size: 0.7rem;
		text-align: center;
	}

#content {
	/* header bottom is 120px */
	position: absolute; top: 120px; bottom: 0px;
	width: 580px; margin-left: 120px;
	padding-right: 1rem;
	margin-top: 0; margin-bottom: 1rem;
	overflow: auto;
}

/* ********** ********** ********** ********** ********** Content ********** ********** ********** ********** ********** */

p,li,td,th {
	font-size: 0.9rem;
}
p.text {
	text-align: justify;
}
h1 {
	font-size: 1.5rem;
	color: #008000;
}
h2 {
	margin-top: 2rem;
	font-size: 1.2rem;
	color: #008000;
}
h3 {
	font-size: 1rem;
	color: #008000;
}
h4 {
	font-size: 0.9rem;
}
table {
	border-collapse: collapse;
}
td,th {
	padding: 0.1rem 0.4rem;
}
table.bordered td,th {
	border: 1px solid black;
}

/* ********** ********** ********** ********** ********** Special Cases ********** ********** ********** ********** ********** */

/* ********** ********** Home ********** ********** */

#home h2 {
	margin-top: 0;
}

#hoverfade {
	opacity: 0.2;
	transition: opacity 0.5s ease-in-out;
}
#hoverfade:hover {
	opacity: 1;
}

/* ********** ********** About ********** ********** */

.emojibox {
	width: 100%;
	font-size: 2rem;
	text-align: center;
	margin: 1rem 0 2rem 0;
}

#haukecool {
	position: relative;
	margin-left: 2rem;
	width: 160px;
	min-width: 160px;
	height: 120px;
}
#haukecool img {
	position: absolute;
	left: 0;
	transition: opacity 2s ease-in-out;
}
#haukecool #haukeimg1:hover {
	opacity: 0;
}

/* ********** ********** Code ********** ********** */

#japh {
	display: inline-block;
	margin: 1rem 0;
}
#japh > code {
	margin-bottom: 0.1rem;
}
#japh_what {
	font-size: 0.7rem;
	text-align: right;
	margin-top: 0.1rem;
	opacity: 0.5;
}
#japh_what:hover { opacity: 1; }

.linkbox {
	display: inline-block;
	border: 1px dashed darkgrey;
	padding: 0.5rem;
	margin: 0.5rem 0.3rem;
	vertical-align: bottom;
	text-align: center;
}
.linkbox p, .linkbox ul {
	text-align: justify;
	margin: 0.3rem 0;
}
.linkbox ul {
	padding-left: 1rem;
}

/* ********** ********** Contact ********** ********** */

.earth_backed {
	position: relative;
	background-image: url("pics/earth.jpg");
	background-repeat: no-repeat;
	background-attachment: local;
	background-position: center top;
	min-width: 500px;
	min-height: 500px;
}
.over_earth {
	padding: 0.2rem 0.5rem;
	background-color: rgba(255, 255, 255, 0.9);
}
