 /* Neutralize styling:
   Elements we want to clean out entirely: */
html, body, form, fieldset {
		background-color: #333333;
		text-align: center;
		min-width: 600px;
		background-image: url('images/jmbg.jpg');
}

* {
		margin:0;
		padding:0;
		}

html, body {
		height:100%;
		}


/* Neutralize styling:
   Elements with a vertical margin: */
h1, h2, h3, h4, h5, h6, p, pre,
blockquote, ul, ol, dl, address {
        margin: 4px 0;
        padding: 0;
}

a {
	color: #d01c0a;	
	text-decoration: none;
}

/* Apply left margin:
   Only to the few elements that need it: */
li, dd, blockquote {
        margin-left: 5px;
}

	#distance { 
		width:1px;
		height:50%;
		margin-bottom:-250px; /* half of container's height */
		float:left;
		}


#logo {
	padding:15px 0 0 15px;
	color: #330000;
	font-size: 12pt;
	float: left;
}

#main {
	color: #00f;
}

#JMWindow {
	width: 720px;
	height: 480px;
	background-color: #000000;
	border: 1px #000000 solid;
	position:relative; /* puts container in front of distance */
	background-repeat: repeat;
	float: inherit;	
	margin:0 auto;
	padding: 0;
	text-align: left;
	clear:left;
}

#JMHeader {
	height:50px;
	background-color: #cccccc;
	padding: 0px;
	margin: 0px;
	clear:both;
	border-bottom: 1px #8b8149 solid;
	background: url('images/patterndarkly.gif');
}

#JMContact {

		padding: 25px;
}

#JMNavigation {
	position: relative;
	float: right;
	margin: 0 10px 0 0;
	padding: 0;
}

.JMNaviItem {
	font-family: Georgia;
	font-size: 11pt;
	list-style: none;
	float: left;
	margin: 0 5px 0 0;
	padding: 7px 10px 0 3px;
	/*background-color: #EEE;*/
	position: relative;
	color: #d01c0a;
	/* border-top: solid 1px #999; */
	/* border-right: solid 1px #999; */
	border-left: solid 1px #d01c0a;
	/* border-bottom: solid 1px #CCC; */
}

.JMNaviItem a {
	text-decoration: none;
	color: #000000;	
}

.JMNaviItem a:hover {
	color: #660000;	
}

.JMNaviItem #selected {
	color: #d01c0a;	
}

#JMSubNavigation {

	float: right;
	margin: 0 10px 0 0;
	padding: 0;
}

.JMSubNaviItem {
	font-family: Georgia;
	font-size: 10pt;
	list-style: none;
	float: left;
	margin: 0 0 0 0;
	padding: 0 10px 3px 10px;
	border-left: solid 1px #d01c0a;
	border-bottom: dotted #ffffff 1px;
}

.SubHover {
	/*border-bottom: solid 1px #d01c0a;*/
	color: #d01c0a;
	cursor: pointer;
}

.SubSelected {
	color: #d01c0a;
	/*border-bottom: solid 1px #d01c0a;*/
}

/* Miscellaneous conveniences: */
form label {
        cursor: pointer;
}
fieldset {
        border: none;
}
input, select, textarea {
        font-size: 100%;
}

.JMContent h1 {
	font-size: 24pt;
	border-bottom: 1px #d01c0a solid;
}

.JMContent h2 {
	font-size: 14pt;
}

.JMContent h3 {
	font-size: 12pt;
}

.JMContent {	
	background: url('images/pattern.gif');
	text-align: left;
	font-family: Georgia;
	font-size: 8pt;
	clear: both;
	width: 100%;
	height: 429px;
	bottom: 0em;
	overflow: auto;
	scrollbar-3dlight-color:#f9eb9b;
	scrollbar-arrow-color:#330000;
	scrollbar-base-color:#866c11;
	scrollbar-darkshadow-color:#f9eb9b;
	scrollbar-face-color:#8b8149;
	scrollbar-highlight-color:#f9eb9b;
	scrollbar-shadow-color:#f9eb9b;
	}
	
.JMDocument {
	width: 570px;
	padding: 24pt;
}

.JMFront {	
	background-color: #000000;
	text-align: left;
	font-family: Georgia;
	font-size: 8pt;
	clear: both;
	width: 100%;
	height: 429px;
	bottom: 0em;
	overflow: hidden;
	visibility: hidden;
	}

.frontinsert {
	background-color: #000000;
	color: #cccccc;
	padding: 10px;
	position: absolute;
	top: 50px;
	left: 50px;
	}
	
.frontcaption {
	background-color: #000000;
	color: #cccccc;
	padding: 10px;
	position: absolute;
	bottom: 50px;
	right: 50px;
	}
	
.JMBio p{
	margin: 8pt 0 0 24pt;	
}

.JMBio h2{
	margin: 16pt 0 0 0;	
}

.JMBio h3{
	margin: 16pt 0 0 0;	
}

.title {
	margin: 0px 0 10px 0;
}

.project {
	clear: both;
	padding: 20px 0 30px 0;

}

.divider {
	clear:all;
		border: 1px #d01c0a solid;
}

.videoscreen{
	visibility:hidden;
}

.translation {
	color: #900;
}

.description {
	margin: 0 0 0 215px;
	}
	
.picture {
	float: left;
	padding: 0.5em 0 0.5em 0;
	margin: 0 0.5em 0.5em 0;
	background-color: #000;
	clear: both;
}

/* These are standard sIFR styles... do not modify */

.sIFR-flash {
	visibility: visible !important;
	margin: 0;
}

.sIFR-replaced {
	visibility: visible !important;
}

span.sIFR-alternate {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	display: block;
	overflow: hidden;
}

/* Hide Adblock Object tab: the text should show up just fine, not poorly with a tab laid over it. */
.sIFR-flash + div[adblocktab=true] {
  display: none !important;
}

/* These "decoy" styles are used to hide the browser text before it is replaced... the negative-letter spacing in this case is used to make the browser text metrics match up with the sIFR text metrics since the sIFR text in this example is so much narrower... your own settings may vary... any weird sizing issues you may run into are usually fixed by tweaking these decoy styles */
/*
.sIFR-hasFlash h1 {
	visibility: hidden;
	letter-spacing: -9px;
	font-size: 3.0em;
}

.sIFR-hasFlash h2 {
	visibility: hidden;
	letter-spacing: -9px;
	font-size: 2.0em;
}

.sIFR-hasFlash h3 {
	visibility: hidden;
	letter-spacing: -6px;
	font-size: 8.0em;
}

.sIFR-hasFlash h4 {
	visibility: hidden;
	letter-spacing: -5px;
	font-size: 7.0em;
}

.sIFR-hasFlash h5#pullquote {
	letter-spacing: -4px;
	visibility: hidden;
	font-size: 6em;
}
*/

/* -------------------------- VIDEO POPUP STYLES ------------------------ */
				.popup{
					display: none;
				}
				
				.popcontainer{
					position: fixed;
					z-index: 100001;
					width: 100%;
					height: 100%;
					top: 0px;
					left: 0px;
					bottom: 0px;
					right: 0px;
					display: table;
					text-align: center;
				}
				
				.popcontainer .popinnercontainer{
					width: 320px;
					text-align: center;
				}
				
				.popcontainer .popboxcontainer{
					width: 100%;
				}
				
				.popbg {
					position: fixed;
					z-index: 100000;
					left: 0px;
					right: 0px;
					top: 0px;
					bottom: 0px;
					opacity: 0.9;
					filter: alpha(opacity=90);
					background-color: #000000;
				}
				
				.popbox {
					width: 320px;
					position: relative;
					z-index: 100001;
					border: 5px #333333;
					padding: 15px;
					background-color: #100000;
				}
				
				.popbox .poptitle {
					text-align: left;
					font-size: 10pt;
					font-family: Calibri, Arial, Helvetica, sans-serif;
					/*border-bottom: 0px;*/
					background-color: #000000;
					padding: 3px;
					margin: 2px 5px 25px 10px;
					color: #ccbbbb;
					float: left;
				}
				
				.poptext {
					padding: 3px;
					clear: all;
					background-color: #100000;
					text-align: center;
				}
				
				.popbox .popbuttons {
					float: right;
					padding: 3px;
					text-align: right;
					background-color: #100000;
				}
				
				.popbox input {
					border: 1px solid #000000;
					background-color: #100000;
					color: #cccccc;
					text-align: center;
					margin: 1px;
				}
				
				.popbox input[type="text"] {
					width: 60%;
					margin: 1px;
				}
				
				.popbox input:hover{
					border: 1px solid #333333;
					cursor: pointer;
				}
				
				.popbox input[type="text"]:hover{
					border: 1px solid #000000;
					cursor: auto;
				}
				
				.popbox .poptimer {
					padding: 3px;
					text-align: center;
					color: #999999;
				}
