#doc2 {
	margin-top: 15px;
	background: white url(../images/bg-doc.gif) 0 0 repeat-y;
	color: #242b2e;
	font-family: "Lucida Grande", Tahoma, Verdana, sans-serif;
}

#bd {
	
}

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

a {
	padding-left: 0;
	padding: 0 0 2px 0;
	color: #e2007c;
}

a:hover{
	text-decoration: underline;
}

h1,h2,h3,h4 {
	color: #00a8eb;
}

strong {
	font-weight: bold;
}
 	
dt {
	font-weight: bold;
}
dd {
	padding-left:30px;
}

textarea {
	width: 100%;
	min-height: 100px;
	font-family: mono-spaced, Courier New;
}

acronym {
	cursor: help;
	border-bottom: 1px dotted gray;
}

blockquote, cite {
	
	font-size:0.9em;
	line-height:1.8em;
}

blockquote {
	background: #fff;
	margin: 1em 2em 0em 2em;
}
cite {
	text-align:right;
	float: right;
	width: 400px;
	margin: 0 60px 15px 0;
	font-style:italic;
}


.images {
	margin-top: 1em;
	margin-bottom: 1em;
	overflow:hidden;
	max-width:100%;
}
.images div {
	float:left;
}
.images div img {
	padding: 5px;
	background:white;
	border:1px solid #eee;
	margin-right:15px;
}
#content .images div p {
	font-size:85%;
	margin:0;
	font-style:italic;
	line-height:140% !important;
	max-width:100%;
}


p.info {
	font-size: 89%;
}
p.tags {
	font-style: italic;
	font-size: 85%;
}

div.info {
	overflow:hidden;
	max-width:100%;
	
}
div.course {
	float:left;
	margin-right: 40px;
}

/* HEADER */
#hd {
	background: url(../images/bg-hd.gif) no-repeat;
	height: 140px;
	padding: 30px 0 0 230px;
}

#hd h1 {
	font-size: 340%;
	margin: 25px 0 0 0;
	float: left;
}

#hd h1 a {
	color: #e2007c;
	background: url(../images/hdl-creative-coding.gif) 0 0 no-repeat;
	width: 358px;
	height: 66px;
	overflow: hidden;
	display: block;
	text-indent: -9999em;
	line-height: 0;
}

#hd h1 a:hover {
	background-position: -358px 0;
}

#hd h2 {
	font-size: 100%;
	margin: 0;
	font-weight: bold;
	text-transform: uppercase;
	text-indent: -9999em;
	height: 15px;
	width: 76px;
	overflow: hidden;
	background: url(../images/hdl-till-nagel.gif) 0 0 no-repeat;
	float: none;
	clear: both;
}

#hd h3 {
	font-size: 140%;
	margin: 0;
	text-indent: -9999em;
	margin: 35px 60px 0 0;
	float: right;
}

#hd h3 a {
	height: 43px;
	width: 46px;
	display: block;
	overflow: hidden;
	background: url(../images/logo-btk.gif) 0 0 no-repeat;
}

#hd h3 a:hover {
	background-position: 0 -43px;
}

/* CONTENT */
#content {
	border-top: 8px #fce5f2 solid;
	background: #fafdff;
	overflow: hidden;
	padding: 25px 25px 40px 25px;
	margin: 0 60px 0 10px;
	line-height: 160% !important;
	border-bottom: 8px #fce5f2 solid;
}

#content h1 {
	font-size: 220%;
	letter-spacing: -1px;
	margin: 10px 0 30px 0;
}

#content h2 {
	font-size: 150%;
	margin: 20px 0 10px 0;
}

#content h3 {
	font-size: 100%;
	/*text-transform: uppercase;*/
	font-weight: bold;
	letter-spacing: 1px;
	margin: 20px 0 10px 0;
}

#content p {
	line-height: 180% !important;
	margin: 0px 0 6px 0;
}


#content p strong {
	font-weight: bold;
}

#content p em {
	font-style: italic;
}



#content ul {
	margin: 4px 20px 10px 10px;
}

#content ol {
	margin: 4px 20px 10px 30px;
	list-style-type: decimal;
}

#content ul li {
	background: url(../images/bg-li.gif) 0 2px no-repeat;
	padding: 0 0 0 15px;
	margin: 0 0 2px 0;
	line-height: 180%;
}

#content #ff {
	overflow: hidden;
	border: 1px solid #ddd;
	border-right: none;
	xmax-height: 306px;
	padding: 0;
	margin: 0;
	background: red;
}

#content #ff code {
	font-family: "Lucida Console", courier;
	white-space: pre;
	font-size: 77%;
	color: #222;
	background: #FCFCFC;
	display: block;
	padding: 10px;
	margin: 0;
	border: 1px solid #eee;
	max-height: 300px;
	overflow: auto;
	overflow-x: hidden;
	overflow-y: auto;
	color: #242b2e; /* text black */
}

#original-content code {
	font-family: "Lucida Console", courier;
	white-space: pre;
	font-size: 85%;
	color: #222;
	background: #FCFCFC;
	display: block;
	padding: 10px;
	margin: 20px 20px 25px 0;
	border: 1px solid #eee;
	overflow: auto;
	max-height: 100px;
	color: #242b2e; /* text black */
}

#content p code {
	border: none;
	margin: 0;
	padding: 2px 2px 1px 2px;
	display: inline;
	background: white;
}

div#exercises {
	margin-bottom: 40px;
}

hr {
	border:none;
	border-bottom: 8px #fce5f2 solid;
	margin-top:10px;
}

#exercisesSwitch {
	padding: 0 0 2px 16px;
	background: url(../images/bullet_toggle_plus.png) 0 50% no-repeat;
}
#exercisesSwitch.minus {
	background: url(../images/bullet_toggle_minus.png) 0 50% no-repeat;
}

a.solution {
	padding: 0px 4px 0px 14px;
	background: url(../images/solution_s.png) 0 50% no-repeat;
}

.number {
	color:#F4F4F4;
	float:right;
	font-size:100px;
	margin:0px;
	padding:0px;
	font-family: Arial, sans-serif;
	font-weight: bold;
}

.numberHover {
	color:#fce5f2;
}

/* NAVIGATION */
#navigation {
	border-top: 8px #fce5f2 solid;
	font-size: 85%;
	margin-left: 20px;
	padding: 10px 0 0 0;
}

#navigation li a {
	display: block;
	letter-spacing: 0.05em;
	padding: 5px 10px;
}

#navigation li.active a {
	color: #C12A7D;
	font-weight: bold;
}

#navigation a,#navigation li.active li a {
	text-decoration: none;
	color: #000;
	font-weight: normal;
}

#navigation a:hover {
	background: #fae2f0;
}

#navigation li li a {
	padding-left: 20px;
}

#navigation li.index {
	padding-bottom: 6px;
}

#navigation li.projects {
	padding-top: 6px;
}


/* FOOTER */
#ft {
	background: url(../images/bg-ft.gif) left bottom no-repeat;
	min-height: 40px;
	padding: 15px 64px 80px 224px;
}

#ft #cc-licence {
	text-indent: -9999em;
	background: url(../images/cc-badge.png) 0 0 no-repeat;
	width: 85px;
	height: 15px;
	display: block;
	float: left;
	margin: 0 6px 0 0;
	overflow: hidden;
}

#ft p {
	color: #333;
	font-size: 85%;
	padding-top: 1px;
}

/* EXTRAS */
#content div.box {
	float: none;
	clear: both;
	width: 100%;
	position: relative;
	overflow: hidden;
	padding: 0;
	margin: 10px 0 20px 0;
}

.box a {
	color: #000;
}

.box a:hover {
	text-decoration: none;
}
	
.box div {
	width: 280px;
	font-size: 85%;
	float: left;
	background: #FCFCFC;
	margin: 0 10px 10px 0;
	padding: 10px 10px 0 10px;
	overflow: hidden;
	border: 1px solid #eee;
	min-height: 230px;
}

.box div div {
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
}

.box .date {
	display: block;
	margin: 4px 0 8px 0;
	font-weight:bold;
}

.box .author {
	color: #667;
}

#content .box  h2 {
	/*font-size: 120%;*/
	font-weight: bold;
	margin: 0;
	padding: 0;
	width: 270px;
	height:23px;
}

/*
Pullquote
from: http://www.digital-web.com/
*/
#content blockquote.pullquote {
	background: #fffeef url(../images/quote-top.gif) top left no-repeat;
	width: 260px;
	margin: 0 0 20px 20px;
	padding: 0;
	float: right;
}

#content blockquote.pullquote p {
	margin: 0;
	background-position: bottom right;
}

#content blockquote.pullquote p.pullquote {
	background: transparent url(../images/close-quote.gif) 97% 100%
		no-repeat;
	border-top: none;
	padding: 0;
	margin: 0;
}

#content blockquote.pullquote span.pullquote {
	color: #00a8eb;
	line-height: 135%;
	font-size: 100%;
	font-weight: bold;
	display: block;
	width: 210px;
	margin: 0;
	padding: 25px;
	background: transparent url(../images/quote-bottom.gif) left bottom
		no-repeat;
}


/* tables --------- */
table.grades {

}

table.grades td {
	padding: 2px 8px;
}


table.boolean {
	border-spacing: 2px;
}

table.boolean td, table.boolean th {
	text-align: center;
	padding: 0 4px;
}

table.boolean th {
	background: transparent;
	font-weight: normal;
}

table.boolean td.result {
	border-left: 1px solid darkgray;
}