/*
** The layout of this style-sheet is based on Wikipedias main.css
** -> Following is the original Copyright.
*/

/*
** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
** Copyright Gabriel Wicke - http://wikidev.net/
** License: GPL (http://www.gnu.org/copyleft/gpl.html)
**
** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
** Michael Zeltner and Geir Bækholt)
** All you guys rock :)
*/

#column-content {
	width: 100%;
	float: right;
	padding: 0;	
	margin: 0 0 .6em -12.2em;	
}
#content {
	margin: 50px 0 0 12.2em;
	padding: 0 1em 1.5em 1em;
	background: white;
	color: black;
	border: 1px solid #aba9a9;
	border-right: none;
	line-height: 1.5em;
	position: relative;
	z-index: 2;
}
#column-one {
	padding-top: 50px;
}
/* the left column width is specified in class .portlet */

/* Font size:
** We take advantage of keyword scaling- browsers won't go below 9px
** More at http://www.w3.org/2003/07/30-font-size
** http://style.cleverchimp.com/font_size_intervals/altintervals.html
*/

body {
	font: x-small sans-serif;
	background: #f8f8f8 url(../images/headbg.jpg) left top repeat-x; 
	color: black;
	margin: 0;
	padding: 0;
}

/* scale back up to a sane default */
#globalWrapper {
	font-size: 127%;
	width: 100%;
	margin: 0;
	padding: 0;
}
.visualClear {
	clear: both;
}

/* general styles */

table {
	font-size: 100%;
	color: black;
	/* we don't want the bottom borders of <h2>s to be visible through
	   floated tables */
	background-color: white;
}
a {
	text-decoration: none;
	color: #0f2cb8;
	background: none;
}
a:visited {
	color: #5a4096;
}
a:active {
	color: #faaf0a;
}
a:hover {
	text-decoration: underline;
}


img {
	border: none;
	vertical-align: middle;
}
p {
	margin: .4em 0 .5em 0;
	line-height: 1.5em;
}
p img {
	margin: 0;
}

hr {
	height: 1px;
	color: #aaa;
	background-color: #aaa;
	border: 0;
	margin: .2em 0 .2em 0;
}

h1, h2, h3, h4, h5, h6 {
	color: black;
	background: none;
	font-weight: normal;
	margin: 0;
	padding-top: .5em;
	padding-bottom: .17em;
	border-bottom: 1px solid #aaa;
}
h1 { font-size: 188%; }
h1 .editsection { font-size: 53%; }
h2 { font-size: 150%; }
h2 .editsection { font-size: 67%; }
h3, h4, h5, h6 {
	border-bottom: none;
	font-weight: bold;
}
h3 { font-size: 132%; }
h3 .editsection { font-size: 76%; font-weight: normal; }
h4 { font-size: 116%; }
h4 .editsection { font-size: 86%; font-weight: normal; }
h5 { font-size: 100%; }
h5 .editsection { font-weight: normal; }
h6 { font-size: 80%;  }
h6 .editsection { font-size: 125%; font-weight: normal; }


ul {
	line-height: 1.5em;
	list-style-type: square;
	margin: .3em 0 0 1.5em;
	padding: 0;
	list-style-image: url(bullet.gif);
}
ol {
	line-height: 1.5em;
	margin: .3em 0 0 3.2em;
	padding: 0;
	list-style-image: none;
}
li {
	margin-bottom: .1em;
}
dt {
	font-weight: bold;
	margin-bottom: .1em;
}
dl {
	margin-top: .2em;
	margin-bottom: .5em;
}
dd {
	line-height: 1.5em;
	margin-left: 2em;
	margin-bottom: .1em;
}

fieldset {
	border: 1px solid #2f6fab;
	margin: 1em 0 1em 0;
	padding: 0 1em 1em;
	line-height: 1.5em;
}
legend {
	padding: .5em;
	font-size: 95%;
}
form {
	border: none;
	margin: 0;
}

textarea {
	width: 100%;
	padding: .1em;
}

q {
	font-family: Times, "Times New Roman", serif;
	font-style: italic;
}

code {
	background-color: #f9f9f9;
}
pre {
	padding: 1em;
	color: black;
	background-color: #e9e9e9;
	line-height: 1.1em;
	white-space: pre;
	overflow: auto;
	font: 9pt "Courier New", Courier, mono;
}


/* ************************************************************* */
/*
** the main content area
*/
/* ************************************************************* */

/* Some space under the headers in the content area */
#bodyContent h1, #bodyContent h2 {
	margin-bottom: .6em;
}
#bodyContent h3, #bodyContent h4, #bodyContent h5 {
	margin-bottom: .3em;
}
.firstHeading {
	margin-bottom: .1em;
}

/* CPP keywords */
.cpp-comment,.cs-comment,.vb-comment	{ color: green; font-style: italic; }
.cpp-keyword,.cs-keyword, .vb-function	{ color: blue; }
.cpp-preprocessor, .cs-preprocessor		{ color: navy; }
.cpp-string,.cs-string,.vb-string		{ color: purple; }
.cpp-literal,.cs-literal,.vb-literal	{ color: midnightblue; }

span.texhtml {
	font-family: serif;
}

/* emulate center */
.center {
	width: 100%;
	text-align: center;
}
*.center * {
	margin-left: auto;
	margin-right: auto;
}


/* ************************************************************* */
/*
** general portlet styles (elements in the quickbar)
*/
/* ************************************************************* */
.portlet {
	border: none;
	margin: 0 0 .5em;
	padding: 0;
	padding-bottom: .3em;   /* *RK* */
	float: none;
	width: 11.6em;
	overflow: hidden;
}
.portlet h4 {
	font-size: 95%;
	font-weight: normal;
	white-space: nowrap;
}
.portlet h5 {
	background: #e3dcd3;
	border: 1px solid #576fab;  
	border-style: solid solid none solid;
	padding: 0 1em 0 1em;
	display: block;
	height: 1em;
	font-size: 91%;
	height: 1.2em;
	font-weight: normal;
	white-space: nowrap;
}
.portlet h6 {
	background: #ffae2e;
	border: 1px solid #2f6fab;
	border-style: solid solid none solid;
	padding: 0 1em 0 1em;
	text-transform: lowercase;
	display: block;
	font-size: 1em;
	height: 1.2em;
	font-weight: normal;
	white-space: nowrap;
}
.pBody {
	font-size: 95%;
	background-color: white;
	color: black;
	border-collapse: collapse;
	border: 1px solid #aaa;
	padding: 0 .2em .3em .5em;
}
.portlet h1,
.portlet h2,
.portlet h3,
.portlet h4 {
	margin: 0;
	padding: 0;
}
.portlet ul {
	line-height: 1.5em;
	list-style-type: square;
	list-style-image: url(bullet.gif);
	font-size: 95%;
}
.portlet li {
	padding: 0;
	margin: 0;
}

#p-selected-link 
{
    text-decoration: underline;
}

/*
** heading portlet
** For now it just draws a line just bellow the background picture at the top.
*/
#p-heading
{
    text-indent: 0px; 
    text-align: center; 
    height: 40px; 
    width: 100%; 
    left: 0px; 
    top: 0px; 
    position: absolute; 
    visibility: visible; 
    border-bottom: 1px solid #fac92d;
    z-index: 0;
    padding: 0;
}

/*
** the Logo portlet
*/

#p-logo {
	z-index: 0;
	position: absolute; /*needed to use z-index */
	background-color: rgb(227, 217, 208); 
	top: 0px;
	left: 00px;
	height: 40px;
	width: 12.2em;
	overflow: visible;
	padding: 0px;
}
#p-logo h5 {
	display: none;
}
#p-logo a,
#p-logo a:hover {
	display: block;
	height: 155px;
	width: 12.2em;
	background-repeat: no-repeat;
	background-position: 35% 50% !important;
	text-decoration: none;
}

/*
** the rkuster portlet
*/

#p-rkuster {
	position: relative;
	z-index: 0;
}

#p-rkuster .pBody {
	padding-top: .1em;
}

#p-rkuster a 
{    
	display: block;
}

#p-rkuster li.active a, #p-rkuster li.active a:hover {
	text-decoration: none;
	display: inline;
	font-weight: bold;
}


/*
** the articles portlet
*/
#p-articles {
	position: relative;
	z-index: 0;
}
#p-articles a 
{    
	display: block;
}


/*
** the WinDbg  portlet
*/
#p-windbg {
	position: relative;
	z-index: 0;
}
#p-windbg a 
{    
	display: block;
}


/*
** Links portlet
*/
#p-links {
	position: relative;
	z-index: 0;
}
#p-links .pBody {
	padding-top: .1em;
	text-align: left;
}
#p-links a 
{    
	display: block;
}

/*
** the info portlet
*/
#p-info {
	position: relative;
	z-index: 0;
}
#p-info a 
{    
	display: block;
}


/*
** the language portlet
*/
#p-lang {
	position: relative;
	z-index: 0;
}

/* ************************************************************* */
/*
** footer
*/
/* ************************************************************* */
#footer {
	background-color: white;
	border-top: 1px solid #fac92d;
	border-bottom: 1px solid #fac92d;
	margin: .6em 0 1em 0;
	padding: .6em 0 1.1em 0;
	text-align: center;
	font-size: 90%;
}

/* ************************************************************* */
/* ************************************************************* */
/*
** IE/Mac fixes, hope to find a validating way to move this
** to a separate stylesheet. This would work but doesn't validate:
** @import("IEMacFixes.css");
*/
/* footer icons need a fixed width */
* > html #bodyContent,
* > html #bodyContent pre {
	overflow-x: auto;
	width: 100%;
	padding-bottom: 25px;
}

/* more IE fixes */
/* float/negative margin brokenness */
* html #footer {margin-top: 0;}
* html #column-content {
	display: inline;
	margin-bottom: 0;
}
* html div.editsection { font-size: smaller; }

/* Mac IE 5.0 fix; floated content turns invisible */
* > html #column-content {
	float: none;
}
* > html #column-one {
	position: absolute;
	left: 0;
	top: 0;
}
* > html #footer {
	margin-left: 13.2em;
}


/* ************************************************************* */
/*
** some additional elements
*/
/* ************************************************************* */

/* -> elements on the first page */
#IntroPageMenu {
    margin-left: 18%; 
    width: 60%; 
    text-align: center; 
    font-family: Georgia, Times New Roman, Times, serif; 
    font-size: 14pt;
    line-height: 1.55em;    /* -> without this IE takes the line-height set in the parent #content 
                            (for the small font size of the parent!)*/
    border-top: 1px solid #fac92d;
	border-bottom: 1px solid #fac92d;
}

span.IntroMenuLargeFont {
    font-size: 18pt;
}

#IntroPageFooter {
    margin-left: 18%; 
    width: 60%; 
    text-align: center;
}


/* -> elements for drawing a content box and title */
h2.ContentBox {
    border: 1px solid rgb(163, 176, 198);
    border-width: 1px 1px 0px 1px;
    background-color: rgb(215, 220, 241); /* rgb(251, 237, 187); rgb(209, 227, 245);*/
    margin: 15pt 0 0 0pt;
    padding: 0.2em 0.4em;    
    
    font-size: 120%; 
    font-weight: bold; 
    text-align: left; 
    color: rgb(0, 0, 0);
}

Table.ContentBox
{
    position: relative;         /* -> Without this a float-right div is invisible in IE 6! */
    border: 1px solid rgb(204, 204, 204);
    background-color: rgb(252, 252, 252);
    
    width: 100%; 
    margin: 0pt 0 0 0em;
    padding: 0pt;  
}

/* .InnerContentBox is used to add padding to Table.ContentBox. */
/* In IE adjusting the padding of Table.ContentBox doesn't work as expected. WTF... */
.InnerContentBox
{
    margin: 0.4em 1.1em;
}

/* -> special formating for CV table */
Table.CvContent {
    width: 90%;
    border: 0px;
	margin: 0.2em 1em;
	padding: 0pt;
	background-color: white;
	font-size: 97%;
}

TD.cv_first_column {
    width: 7.2em;
}

p.WinSpyComment
{
	/*background-color: rgb(245, 245, 245); 
	border: 1px solid rgb(163, 176, 191); */
    margin: 5pt 0pt; 
    padding: 0.3em 0.1em;
    font-size: 100%; 
    font-weight: normal; 
    text-align: left; 
    color: rgb(0, 0, 0);
}

hr.WinSpyComment{}

