* {
    margin: 0;
    padding: 0;
}

article, aside, figure, footer, header, nav, section { display:block; }

body {
	background: url(../images/bg2.png) #edb repeat-y left top;
	width: 680px;
	color: #000;
	font-size: 100%;
}

h1 {
	margin: 5px 30px 0;
	border-bottom: 1px solid #888;
	font-size: 1.8em;
	font-family: "special_elite_regular", "courier new", courier, monospace;
}

h2 {
	margin: 20px 0 10px 0;
	padding: 2px 5px;
	background-color: #000;
	color: #fa7;
	font-size: 1.6em;
	font-family: "special_elite_regular", "courier new", courier, monospace;
}

h3 {
	margin: 20px 0 10px 0;
	font-size: 1.4em;
	font-family: "special_elite_regular", "courier new", courier, monospace;
}

img {
	border: none;
}

label[lang=de], span[lang=de] {
	border-bottom: 1px dotted #333;
	cursor: help;
}

a {
	color: #0000c0;
}

a:visited {
	color: #600060;
}

a:hover {
	color: #c00000;
}

a:active {
	color: #ff0000;
}

#footer {
    clear: both;
    margin: 0 0 0 18px;
    border-top: 1px solid #000;
    padding: 10px 20px;
    text-align: center;
}

#wrapper {
    width: 100%;
    float: right;
    margin-left: -18px;
}

#content {
    margin: 10px 10px 10px 18px;
	padding: 10px;
	line-height: 1.5em;
}

#navigation {
	float: left;
	position: fixed;
	width: 16px;
	padding: 10px;
	background-color: #000;
	color: #fff;
	font-family: "special_elite_regular", "courier new", courier, monospace;
}

#navigation ul li {
	list-style: none;
	padding: 3px 0 10px 0;
	background: url(../images/uline.png) transparent no-repeat bottom;
	text-align: center;
}

#navigation a {
	color: #dfdfdf;
	text-decoration: none;
}

#navigation a:visited {
	color: #dfdfdf;
}

#navigation a:hover {
	color: #ffffc0;
}

#navigation a:active {
	color: #ff0000;
}

#help-wrapper {
    width: 100%;
    float: left;
    margin-right: -18px;
}

#help-content {
    margin: 0 18px 0 0;
	padding: 0;
}
#content #help_contents {
	position: fixed;
	top: 50px;
	right: 20px;
	width: 250px;
	margin: 0;
	border: 1px solid #000;
	padding: 0;
	background-color: #fff;
	color: #000;
}
#content #help_contents h2 {margin-top: 0;}

#content h2.increment {
	counter-increment: section 1;
}

#content h2.increment:before  {
	content: counter(section) ". "; 
}

#content h3.increment {
	counter-increment: subsection 1;
}

#content h3.increment:before  {
	content: counter(section) "." counter(subsection) ". "; 
}

#content .samplemsg {
	margin: 10px 20px;
	border: 1px solid #808080;
	padding: 0 5px;
	background-color: #fff;
	color: #000;
	letter-spacing: 0.1em;
	font-family: "special_elite_regular", "courier new", courier, monospace;
	font-size: 0.9em;
}

#content .samplemsg b {
	color: #0000ff;
}
#content dl, #content ol, #content ul {
	margin: 10px 0 10px 20px;
}

#content ol li ol li {
	counter-increment: s 1;
	list-style: none;
	margin-left: 0;
}

#content ol li ol li:before {
	content: "2." counter(s) ". "; 
}

#content dt {
	font-weight: bold;
}

#content dd, #content li {
	margin: 0 0 5px 20px;
}

#content p {
	margin: 10px 0;
}

#content .backtotop {
	text-align: center;
}

#content .imgfloat_r {
	float: right;
	margin: 0 40px 20px 40px;
}

#content .fig {
	margin: 10px auto;
	font-size: 0.85em;
	font-style: italic;
	text-align: center;
}

.hidden {
	display: none;
}
#content .inanutshell {
	font-size: 1.2em;
	font-style: italic;
}

#content .launch {
	margin: 40px 20px;
	text-align: center;
	font-family: "special_elite_regular", "courier new", courier, monospace;
	font-size: 2em;
	fonbt-weight: bold;
}

#content .technote {
	clear: both;
	font-size: 0.85em;
}

#content .refer_to {
	font-style: italic;
}


/* KEY GENERATOR */

#dkgen fieldset {
	margin: 10px 0;
	border-width: 1px 0;
	border-style: solid;
	border-color: #000;
	padding: 10px 20px;
}

#dkgen legend {
	padding: 0 5px;
}

#dkgen dt {
	clear: both;
	width: 120px;
	float: left;
}

#dkgen p {
	clear: both;
	margin: 10px 10px 10px 120px;
}

#dkgen option {
	padding: 0 5px;
}

#dkgen input {
	padding: 3px 10px;
}

/* Letter ENGIMA MACHINE */

#content #encdec {
	margin: 10px 0;
	line-height: 1.2em;
}

#content #encdec p {
	margin-bottom: 5px;
}

#content #encdec table {
    margin: 0 auto 3px auto;
    border: none;
    border-collapse: collapse;
	padding: 1px;
	padding-left:  1px;
	padding-right: 1px;
	background-color: #dfae2d;
	border-radius: 6px 6px 6px 6px;
}

#content #encdec td, #content #encdec th {
    padding: 1px 8px;
}

#wheels {
	width: 630px;
	height: 110px;
	padding: 1px;
	padding-left:  1px;
	padding-right: 1px;

	border-radius: 6px 6px 6px 6px;
}

#content #encdec #wheels th {
	text-align: right;
	padding: 1px;
	padding-left:  1px;
	padding-right: 5px;
}
#content #encdec #letter td {
	padding: 2px;
	padding-left:  250px;
}

#letter {
	width: 640px;
	height: 15px;
	padding: 2px;
	padding-left:  1px;
	padding-right: 1px;
}

#content #encdec #letter th {
	width: 180px;
	text-align: right;
	padding: 2px;
	padding-left:  1px;
	padding-right: 1px;
}
#content #encdec #letter input {
    width: 15px;
    padding: 1px;
    padding-left:  1px;
    padding-right: 1px;
    background-color: #eeeeff;
    text-align: left;
    font-family: "courier new", courier, monospaced;
}

#content #encdec #letter select {
    width: 75px;
    padding: 1px;
    padding-left:  1px;
    padding-right: 1px;
    background-color: #eeeeff;
    text-align: left;
    font-family: "courier new", courier, monospaced;
}

#content #encdec #letter option {
	width: 44px;
	padding: 0 5px 0 3px;
	background-color: #161916;
	color: #fd9844;
	font-family: "courier new", courier, monospaced;
}


#content #encdec #plugboard {
	width: 600px;
	height: 100px;
	padding: 1px;
    padding-left:  1px;
    padding-right: 1px;
    background-color: #484848;
    border-radius: 6px 6px 6px 6px;
}
#content #encdec #plugboard th {
    background-color: #edcb88;
    color: #123456;
    padding: 0;
    border-radius: 6px 6px 0 0;
}

#content #encdec #plugboard td {
    width: 28px;
    padding-bottom: 6px;
    text-align: center;
    color: #ed8844;
    font-family: "courier new", courier, monospaced;
}

#content #encdec #keyboard {
	border-collapse: separate;
	border-spacing: 3px;
}

#content #encdec #keyboard td {
    text-align: center;
	vertical-align: top;
	padding: 0;
}
#content #encdec #bgboard {
 	width: 620px;
	height: 190px;
    padding: 1px;
    padding-left:  1px;
    padding-right: 1px;
    background-color: #5f5f5f;
    border-radius: 6px 6px 6px 6px;
}

#content #encdec #ledboard {
	width: 455px;
	height: 70px;
    padding: 1px;
    padding-left:  1px;
    padding-right: 1px;
    background-color: #464646;
    border-radius: 0 0 6px 6px;
}

#content #encdec #lightboard {
	margin: 5px 0;
	text-align: center;
}
#content #encdec #lightboard b {
    padding: 3px 15px;
    background: url(../images/led.png) transparent no-repeat center center;
	font-family: "courier new", courier, monospaced;
	font-weight: bolder;
	font-size: 1.3em;	
}

#content #encdec #lightboard .led_off {
    color: #6f6f6f;
}

#content #encdec #lightboard .led_on {
    color: #9affdb;
}

#content #encdec label {
    font-weight: bold;
}

#content #encdec input, #content #encdec select {
    text-align: center;
	font-family: "courier new", courier, monospaced;
}

#content #encdec #wheels .settings input {
	width: 64px;
	font-family: "courier new", courier, monospaced;
}

#content #encdec #wheels .settings select {
	width: 66px;
	font-family: "courier new", courier, monospaced;
}

#content #encdec option {
	width: 252px;
	padding: 0 5px 0 3px;
	background-color: #161916;
	color: #fd9844;
	font-family: "courier new", courier, monospaced;

}

#content #encdec #plugboard input {
    width: 26px;
	font-family: "courier new", courier, monospaced;
}

#content #encdec #keyboard .typeletter label {
	display: block;
}

#content #encdec #keyboard .typeletter {
	background: url(../images/entertext.png) #dfc077 no-repeat center;
	width: 340px;
	height: 102px;
	border: 1px solid #01c1ee;
	border-radius: 6px 6px 6px 6px;
}

#content #encdec #keyboard .typeletter input {
    width: 50px;
    height: 50px;
    border: 2px solid #ee1001;
    font-family: "courier new", courier, monospaced;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 6px 6px 6px 6px;
}

#content #encdec #keyboard textarea {
	height: 80px;
	font-family: "courier new", courier, monospaced;

}

#content #jsmsg, #content #debugmode {
	width: 380px;
	margin: 10px auto;
	border: 2px solid #ff0000;
	padding: 5px 5px 5px 50px;
	background: url(../images/alert.png) #ffaaeb no-repeat left top;
	color: #000;
    border-radius: 6px 6px 6px 6px;
}

#content .showsave {
	width: 80%;
	margin: 10px auto;
	border: 2px solid #ffff80;
	padding: 5px;
	background-color: #ffffc0;
	color: #000;
}

.note {
	width: 80%;
	margin: 10px auto;
	border-top: 1px solid #ff0000;
	border-bottom: 1px solid #ff0000;
	padding: 5px 0;
	text-align: center;
}

.note strong {
	color: #ff0000;
}