body {
	font-family: sans-serif;
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 0.9em;
	background-color:#eee;
}

/**************** LINK STYLES *************
a:link			{ color: #00C; }
a:visited		{ color: #4462b7; }
a:hover		        { color: #C00; }
a:active		{ color: #000; }
*******************************************/
a:link, a.link_exist:link {color:#36b;}
a.link_not_exist:link, a.link_not_exist:visited {color:red;}
/*a:visited {color:violet;} default is better*/
a:hover, a:active {color:green; text-decoration:none;}
a.url 	{ background: url(ext_icon.png)  right no-repeat; padding-right: 13px; /*color:#36b;*/ }
a.doc 	{ background: url(file_icon.gif) right no-repeat; padding-right: 16px; /*color:red;*/ }
a.mail	{ background: url(mail_icon.gif) right no-repeat; padding-right: 18px; /*color:green;*/ }

/*******************************************************/
/* HEARDER */

#header {
	background: #eee;
	margin:0px;
	margin-right: 201px;
	padding: 1em 3em;
	border-bottom: 1px solid #999;
	border-right:solid 1px #000;
}

#header div.title {
	margin: 0;
	font-size: 3em;
	font-weight: normal;
	color: #666;
}

#header img.logo {
	margin: 10px 6px 0 0;
	float: left;
	border: 0;
}

#header div.subtitle {
	/*margin-left: 45px;*/
	color: #999;
	font-weight: bold;
}

#micromenu {
	position: absolute;
	top: 0;
	right: 201px;
	padding: 1em;
	text-align: right;
	color: #666;
}

#micromenu a { color: #36b; text-decoration: none; }
#micromenu a:hover, #micromenu a:active {color:green; text-decoration:underline;}

/*******************************************************/
/* DX MENU */
#rss { 
	float: right; 
	color: #666; 
	font-size:0.85em; line-height:1.3em;
	}

#menu {
	position: absolute; top: 0; right: 0;
	width: 199px;
	padding-bottom: 1em; margin-bottom: 1em;
	text-align: left;
	background: #eee;
}

#menu h2 {
      margin:0px; width:100%; margin-left:-2px;
      margin-bottom:0px; padding:4px 0px 4px 2px;
      font-size:1.2em; background:  #666 /*#245eac*/;
      color:white; font-weight:bold; text-decoration:none;
      border-bottom: solid 1px white;

      }

#menu ol, #menu ul {
      padding:0px; margin:0px;
      margin-top:0px;
      display:inline;
}

#menu ol li, #menu ul li {
      list-style-position:none;
      list-style-type:none;
      display:block; /*padding:0px; margin:0px;*/
      padding-top:3px; padding-bottom:3px; padding-right:2px;
      border-bottom:solid 1px white;
      }

/** ordered list OL **/
#menu ol li.olevel1 { padding-left:5px; background:#eee;}
#menu ol li.olevel2 { padding-left:15px; background:#eee;}
#menu ol li.olevel3 { padding-left:20px; background:#eee;}
#menu ol li.olevel4 { padding-left:25px; background:#eee;}

#menu ol li.olevel1:hover { background:lightblue;}
#menu ol li.olevel2:hover { background:lightblue;}
#menu ol li.olevel3:hover { background:lightblue;}
#menu ol li.olevel4:hover { background:lightblue;}

/** Menu links **/
#menu a.link_not_exist:link, #menu a.link_not_exist:visited  { color: red; text-decoration:none;}
#menu a.link_exist:link, #menu a.link_exist:visited  { color: black; text-decoration:none;}
#menu a:hover { background:lightblue; }

/*******************************************************/
/* FOOTER */
#footer {
	margin:0px;
	margin-right: 201px;
	padding: 0.5em;
	font-size: small;
	text-align: center;
	color: #666;
	background: #eee;
	border-top: solid 1px #999;
	border-right:solid 1px #000;
}

/*******************************************************/
/* CONTENT STYLES  */
#coretext {
	clear: left;
	margin:0px;
	margin-right: 201px;
	padding: 1em 3em;
	background: #fff;
	border-right:solid 1px #000;
	font-size: 1.1em;
	line-height: 1.5em;
}

#coretext {  }

/* heading */
#coretext h1, 
#coretext h2, 
#coretext h3, 
#coretext h4, 
#coretext h5, 
#coretext h6 {
	font-weight:bold; color:#666;
	line-height:1.2em; padding:4px;
	margin-left:-1.5em;
}

#coretext h1 {font-size:200%; /*border-bottom:none;*/}
#coretext h2 {font-size:150%; border-bottom:1px solid #666; background-color:#eee;}
#coretext h3 {font-size:130%; /*border-bottom:none;*/}
#coretext h4 {font-size:115%; /*border-bottom:1px solid black;*/}
#coretext h5 {font-size:100%; /*border-bottom:none;*/}
#coretext h6 {font-size:90%;  /*border-bottom:none;*/}

#coretext h1#astitle  {margin-bottom:2em; border:none; margin-left:-1.3em;}

/* LISTS */
#coretext ul li { list-style-type:square; }
#coretext ol li { list-style-type:decimal; }
#coretext ul li.numbered {list-style-type:none; margin-left:-1.6em;}
#coretext dl dt {
	font-weight:bold; 
	float:left; margin-right:20px;
}
#coretext dd { margin-left:0px; }

/* BEAUTY */

#coretext tt { color: darkred; font-size:110%; }
#coretext strike { color: #AAA; }
#coretext p.highlight { 
	background-color:#fea;
	border:dotted 2px #ed6e2e;
	padding:10px;
}
#coretext highlight {
	background:yellow; color:green;
	padding:2px;
	}

/* TABLE */ 
#coretext table {
	border-collapse: collapse;
	border-spacing: 0px;
	empty-cells: show;
	width: 100%;
	margin-bottom:2em;
}

#coretext table caption {
	color:darkred; font-weight:bold;
	font-size:95%; text-align:right;}

#coretext th {
	padding: 0.2em;
	font-size: 110%;
	text-align: left;
	font-weight: bold;
	border: 1px solid #ccc;
	background-color: #eee;
}

#coretext td {
	padding: 0.2em;
	border: 1px solid #ccc;
}

#coretext td.center { text-align:center; }
#coretext td.right { text-align:right; }
#coretext td.left { text-align:left; }

/* IMAGES */

#coretext .image {
	background-color:#FFF; 
	border-bottom: double 1px #aaa;
	padding:0; line-height:1em;
}

#coretext .left { float:left; margin: 0 10px 2px 0; }
#coretext .right { float:right; margin: 0 0 2px 10px; }
#coretext .center { 
	text-align:left; margin: 20px auto 20px auto;
}
#coretext .image_description { font-size:90%; font-weight:bold; padding:2px 0 2px 0;}

/* CODE, PRE */
#coretext pre, #coretext code {
      font-family:monospace;
      font-size:0.9em;
      background-color:#eeeecc;
      /*background-color:#dfc;*/
      line-height:1.5em;
      padding:5px;
      border:solid 1px #aaa;
}

/* TABLE OF CONTENTS */
#coretext #toc { 
      font-size:97%; padding:10px;
      border:solid 1px #aaa;
      }
#coretext #toc p {margin:0; font-weight:bold;}
#coretext #toc ul { margin-top:0; }


/* FOOTNOTES */
#coretext #footnotes dl dt {
	float:left; width:40px;
	padding:0px;
	font-weight:normal; text-decoration:none;
	text-align:right;
}

#coretext #footnotes dl dd {
	padding-left:0; 
	margin-left:55px;
}

/* VARS */
.includes_broken { font-weight:bold; color:red; padding:2px; border:solid 1px red; }  
.noprint, .noscreen {display:none;}

/* MEDIA PRINT MINIMAL CONFIGURATION */
@media print{
	* {
		margin:auto; padding:auto; font-family:serif;
		line-height:1.5em;
	}
	body { background-color: white; } 
	#header, #menu, #footer { display: none; }
	#coretext { width: 90%; } 
	#coretext h1#astitle, 
	#coretext h1, 
	#coretext h2, 
	#coretext h3, 
	#coretext h4, 
	#coretext h5, 
	#coretext h6 {
		margin-left:0;
	}
}

