@charset "UTF-8";
/* CSS Document line-height: 1;*/

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

a:link {color: blue; text-decoration: none; }
a:visited {color: #551a8f;}
a:hover, a:active, a:focus {color: #C00; text-decoration: underline; }

body {
	margin: 0; padding: 0;
	background: #222;
	font-family: Monaco, monospace;
	font-size: 14px;
}

#container {
	width: 872px;  /*-40*/
	margin: 0 auto;
}

#head {
	width: 100%;
}

#head h1 {
	color: #eee;
	margin: 8px;
	font-size: 24px;
	display: inline-block;
}

#head p {
	color: #ccc;
	font-size: 14px;
	display: inline;
	/*margin-left: 6px;*/
}

#head img {
	margin-right: 6px;
}

ul#tabs {text-align: right; list-style-type: none; margin: 0 auto; padding: 10px 0 2px 0; }
ul#tabs li {display: inline; }
ul#tabs li.this {color: #003; padding: 0 8px 1px 8px; margin: 0 2px; background-color:#eeb; border: 1px solid #000; border-bottom: 1px solid #786; }
ul#tabs li a:link, ul#tabs li a:visited {text-decoration: none; color: #003; padding: 0 8px 1px 8px; margin: 0 2px; background-color: #c96; border: 1px solid #666; border-bottom: none; }
ul#tabs li a:hover, ul#tabs li a:active, ul#tabs li a:focus {color: red; background-color: #ffc; border: 1px solid #f00; border-bottom: none; }

#main {
	border-collapse: separate;
	border-spacing: 10px;  /*cellspacing*/
	background: #70788E;
	border: 2px solid #A9B2C4;
	/*width: 100%;*/
}

#main td {
	margin: 0; padding: 0;
}

#main td.bo {
	border: 2px solid #A9B2C4;
	/*vertical-align: middle;*/  /*remove gap*/
}

#area {
	background: #000;
	border: 15px solid transparent;  /* #272727 */
}

#area img {
	position: absolute;
	/*z-index: auto;*/
}

#arearel {
	position: relative;
}

#arearel img {
	/*position: absolute;*/
	/*z-index: auto;*/
}

#canvas {
	width: 401px; height: 401px;
	vertical-align: bottom;  /*remove gap*/
}

#textOutput {   /*print text box*/
	position: absolute;
	resize: none;  /* remove handel */
	width: 416px;
	height: 416px;
	color: white;
	font-family: Monaco, monospace;
	font-size: 14px;
	background: transparent;
	border: none;
	padding: 15px 0 0 15px;
	margin: -15px 0 0 -15px;
	overflow: auto;
}

#area2 {
	position: relative;
	/*border: 15px solid #eee;*/  /* #ccc */
	background: #eee;
	width: 361px; height: 401px;  /*-40*/
	padding: 15px;
	border: 2px solid #777;
}

#code {  /*code text box*/
	position: absolute;
	resize: none;
	width: 376px;  /*-40*/
	height: 416px;
	font-family: Monaco, monospace;
	font-size: 14px;
	background: transparent;
	border: none;
	padding: 15px 0 0 15px;
	margin: -15px 0 0 -15px;  /*ff*/
	overflow: auto;
}

#live {  /*code text box */
	resize: none;
	width: 290px;  /*260px;*/
	height: 18px;
	font-family: Monaco, monospace;
	font-size: 12px;
	background: #eee;
	border: 1px solid #777;
	padding: 2px 4px;
	margin-top: 4px;
	overflow: hidden;
}

.info {
	border-collapse: separate; border-spacing: 5px;  /*cellspacing*/
	background: #70788E;
	border: 2px solid #A9B2C4;
	width: 100%;
	margin: 8px 0;
}

.info td {
	background: #A9B2C4;
	padding: 6px 4px 6px 8px;
	vertical-align: top;
}

#guide, #reference, #programs {
	display: block;
	overflow: auto;
	height: 350px;
}

#guide, #reference table td, #programs {
	white-space: pre-wrap;
	padding-right: 16px;
}

#gui, #ref, #pro {
	display: block;
	white-space: pre-wrap;
	padding-right: 16px;
}

#programs table {
	margin-top: -24px;
}

td.bord {
	border-left: 2px solid #70788E;
}

#drawing, #recursion, #testdemo, #procedures, #swop {
	display: none;
}

.c {background: #bcd; }
.foo {color: #eee; }

/*.no-wrap {white-space: nowrap; }*/
/** {border: 1px solid red !important;}*/