
/****************************************
 *
 * style.css 
 *
 * (c) 2010 A. Fachat
 *
 * All rights reserved!
 */

/****************************************
 *  global 
 */

BODY {
 /* non CSS3 browsers */
 background-color: #aaa;

	/*font-family: "Arial","Sans Serif";*/
	font-family: verdana,helvetica,arial,sans-serif;
	font-size: 100%;
}

a:visited { color:#000080; text-decoration:none }
a:link { color:#0000ff; text-decoration:none }
a:active { color:#8888ff; text-decoration:none }
a:focus { color:#888888; text-decoration:none }
a:hover { color:#ff0000; text-decoration:none }

/* top level style */
DIV.top {
/*
  	-moz-border-radius: 10px;
  	-webkit-border-radius: 10px;
*/
	-moz-box-shadow:5px 5px 10px #000000;
	-webkit-box-shadow:5px 5px 10px #000000;
	box-shadow:5px 5px 10px #000000;

  	background-color: #ffffff; 
  	margin: 0;
  	margin-top: 0em;
  	margin-bottom: 1em;
  	padding: 0em 1em 1em 1em;
}

/* left/right cols have headers in the top level style */
DIV.tophead {
 	background: -moz-linear-gradient(top, #fc6, #e80 100%); 
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fc6), color-stop(1, #e80));	
	background-color: #ee8800;
	color: #fff;
/*
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
*/
	/*text-shadow: 1px 1px 0px #e80, -1px -1px 0px #fc6;*/
	text-shadow: -1px -1px 1px #fc6;

	margin-left: -1em;
	margin-right: -1em;
/*
	margin-top: -1em;
*/
	margin-bottom: 0.3em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-left: 2em;
	padding-right: 2em;
}

/* disable for IE6 */
* html DIV#hot { display: none; }

div#ie6warn { display: none; }
* html DIV#ie6warn { display: block; 
	background-color: #ff4444;
}

DIV#hot DIV.tophead {
 	background: -moz-linear-gradient(top, #f55, #e00 100%); 
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f55), color-stop(1, #e00));	
	background-color: #ee0000;

/*
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
*/
}

P.copyright {
	font-size:larger;
	font-weight:bold;
}

.quote {
	font-style: italic;
}

LI.extlink {
	list-style-position: outside;
	list-style-image:url(imgs/icon_extlink.jpg);
}

A.extlink {
    	background: url("imgs/icon_extlink.jpg") center right no-repeat;
    	padding-right: 16px;
}

H2 {
	border-top: 2px solid;
}

div.toplink {
	float:right;
	margin-top: -3em;
}

/****************************************
 * Layout
 */

DIV#mainbox {
   /*padding-top: 1em;*/
   font-size: medium;

 /* W3C Spec *
 background: linear-gradient(top, #ddd 0, #fff 100%); */
 /* browser * requires IE code in addition! 
  * ende der Seite unten nicht klar definiert (left/righcol gehen raus!?)
  *
  * #888 -> #fff	Graukeil
  * #fc6 -> #e80	Orangekeil
  * #369 -> 7ad		Blaukeil (6502.org)
  *
 background: -moz-linear-gradient(top, #888 0, #fff 100%); /* mozilla *
 background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #888), color-stop(1, #fff));	/* webkit *
 filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#888888', endColorstr='#ffffff'); /* IE6 & IE7 *
 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#888888', endColorstr='#ffffff')"; /* IE8 *
 */

}

/****************************************
 * parts of mainbox 
 */

div#header {
 	background: -moz-linear-gradient(top, #ccc, #222 100%); 
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ccc), color-stop(1, #222));	
	background-color: #222;
	margin-top: -0.6em;
	margin-left: -0.6em;
	margin-right: -0.6em;
	color: #fff;
	/*text-shadow: -1px -1px 1px #000;*/
	padding: 0.2em;
	padding-bottom: 0em;
	font-size: small;
}

div#header div.tab {
	padding: 0.2em;
	padding-left: 1em;
	/*background-color: #ccc;*/
	display: inline;
}

div#header a:link { color:#fff; text-decoration:none }
div#header a:visited { color:#fff; text-decoration:none }

div#header form {
	float: right;
}


/****************************************/

DIV#midcol {
  margin: 0;
  margin-left: 16%;
  margin-right: 16%;
/*
  margin-left: 17.5em;
  margin-right: 16.6em;
/*  min-width: 16em; /* Mindestbreite (der Ueberschrift) verhindert Anzeigefehler in modernen Browsern */
  font-size:small;
}

DIV#leftcol {
  float: left; 
  clear: left;
/*  width: 20em;*/
  width: 15%;
  margin: 0; 
  padding: 0;
}

DIV#rightcol {
  float: right;
  clear: right; 
/*  width: 19em;*/
  width: 15%;
  margin: 0; 
  padding: 0;
  font-size:x-small;
  /*display: block;*/
}

/****************************************
 * visible top level elements, parts of columns
 */

/* disable for IE6 */
* html DIV#oldnews { display: none; }

DIV#oldnewscontent  {
	height: 40em;
	overflow: scroll;
	margin-left: -1em;
 /* FF/GC add the scrollbar to the width, so we need to compensate by making it
  * smaller. IE includes the scrollbar, so there is a browser fork below
  * other browsers */
 /* this is currently for indexadv.html only, check to replace with percentage as above? */
  	/*width: 10.0em;*/
	margin-right: -1em;
	margin-bottom: -1em;
}

DIV#browser {
  display: block;
  font-size:  xx-small;
}

DIV#breadcrumbs {
  display: block;
  padding-bottom: 0.5em;
  border-bottom: 1px solid;
}


DIV#content {
  text-align: left;
}

DIV#contentfooter {
  border-top: 2px solid;
}

DIV#footer {
  clear: both;
}


/****************************************
 * Menu formatting
 */

table#expcol {
	float:left;
	width: auto;
}

table#filterbox {
	float: left;
	width: auto;
}

/*
DIV#menu {
  padding-left: 1em;
  padding-right: 1em; 
}
*/

div#filter {
  margin-bottom: 1em;
  font-size:x-small;
  display:none;
}

DIV#filter img {
  width: 24px;
  padding: 0.1em;
  padding-left: 0.2em;
  margin-bottom: -0.3em;
}

DIV#mtree ul {
  list-style-type:none;
  padding-left: 0em;
  margin-left: 0em;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}

/* only the first one has 0em padding-left, the others do indent */
DIV#mtree ul ul {

  margin-left: 1.2em;
  margin-top: 0em;
}

DIV#mtree li {
  margin-bottom: 0em;
  margin-top: 0em;
  padding-top: 0.2em;
  padding-bottom: 0em;
  font-size:small;
}

div#mtree a { 
  margin-left: 0em;
  padding-left: 1.3em;
  display:block;
  font-size:small;
}

div#mtree A.mcurrent {
  background-color: #ddd;
}

div#mtree a:hover { 
  background-color:#ff0; 
}

div#mtree A#m_homepage {
  font-size: small;
  clear: both;

}

/* new style */
div#mtree div {
  display:inline;
  float: left;
  width:1.3em;
  background:url(imgs/sprite.png) no-repeat;
}

div#mtree div.i_dir {
  background-position: 0 -64px;
}
div#mtree div.i_file {
  background-position: -128px -64px;
}
div#mtree div.i_link {
  background-position: -160px -64px;
}

/* IE handles display of float (image) in an LI differently
 * so that the anchor must be inline-block instead of block */
* html div#mtree li {
  padding-bottom: 0.1em;
  padding-top: 0.1em;
}


div#mtree LI.separator {
  margin-top: 0.1em;
  font-size:x-small;
  font-weight:bold;
}

/* new style */
div#filter div {
  	width:20px;
	height:20px;
	background:url(imgs/sprite.png) no-repeat;
}


div#filter div.i_expand {
	background-position: -288px -66px;
}

div#filter div.i_collapse {
	background-position: -256px -66px;
}

div#filter div.i_cancel {
	background-position: -224px -64px;
}


/****************************************
 * right side floating elements
 */

.rightimg {
	float:right;
	margin: 10px 0 10px 10px;
	width: 300px;
	background-color: #eee;
	padding: 5px;
}

.leftimg {
	float:left;
	margin: 10px 0 10px 10px;
	width: 300px;
	background-color: #eee;
	padding: 5px;
}

.sidenote {
	float:right;
	margin: 10px 0 10px 10px;
	width: 300px;
	background-color: #eee;
	padding: 5px;
}

DIV.rightbar {
  border-style: solid;
  border-width: 2px;
  float: right;
  width: 25em;
  margin-top: -1.7em;
  margin-right: -2em;
  background-color: #dddddd; 
  font-size:smaller;
}

/****************************************
 * board-related styles
 */

/* used on the boards, for "note_*" icond */
TD.noteicon {
	vertical-align:top;
	text-align:center;
	padding:5px;
}

/* new design */
table.notes div {
  background: url(imgs/sprite.png) no-repeat;
  width: 32px;
  height: 32px;
}

table.files div {
  background: url(imgs/sprite.png) no-repeat;
  width: 32px;
  height: 32px;
}

table.notes div.i_msg { background-position: -32px -32px; }
table.notes div.i_warn { background-position: -96px -32px; }
table.notes div.i_stop { background-position: -64px -32px; }
table.notes div.i_deprecated { background-position: 0px -32px; }

table.files div.i_desc { background-position: 0px 0px; }
table.files div.i_layout { background-position: -64px 0px; }
table.files div.i_logic { background-position: -96px 0px; }
table.files div.i_memmap { background-position: -128px 0px; }
table.files div.i_parts { background-position: -160px 0px; }
table.files div.i_photo { background-position: -192px 0px; }
table.files div.i_schem { background-position: -224px 0px; }
table.files div.i_driver { background-position: -256px 0px; }
table.files div.i_timing { background-position: -288px 0px; }

div.i_src { 
  background: url(imgs/sprite.png) no-repeat;
  width: 32px;
  height: 32px;
  background-position: -32px 0px; 
}


/****************************************
 * main entry page (quickfinder)
 */

ul.quickfinder li {
	padding-top: 0em;
	padding-left: 60px;
	list-style-type:none;
}

ul.quickfinder li li.subitem {
	list-style-type:circle;
        margin-left:-40px;
	padding-left: 0;
}

/* new style */
ul.quickfinder div {
	position:relative;
  	width:74px;
	height:37px;
	left:-80px;
	top: 15px;
	background:url(imgs/sprite.png) no-repeat;
}


ul.quickfinder div.i_cbm {
	background-position: 0 -110px;
}

ul.quickfinder div.i_hw {
	background-position: -75px -110px;
}

ul.quickfinder div.i_sw {
	background-position: -150px -110px;
}

ul.quickfinder div.i_icap {
	background-position: -225px -110px;
}

/* allgemeiner style! */
LI.subitem {
	list-style-position: outside;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

/****************************************
 * news formatting
 */

ul.news li {
	padding-top: 5px;
	list-style-type: none;
}

ul.news li div {
	margin-left:-28px;
	display:inline;
	float: left;
	background:url(imgs/sprite.png) no-repeat;
	width:28px;
	height:28px;
	background-position: -128px -32px;
}

ul.news div.i_hotnews {
	background-position: -192px -32px;
}

ul.news div.i_oldnews {
	background-position: -160px -32px;
}
	
/****************************************
 * Interview formatting
 */

DIV.interview {
	margin-left:1em;
}

DIV.interview p.first {
	text-indent:-1em;
}

DIV.interview .me {
	font-weight:bold;
}
DIV.interview .other {
	font-weight:bold;
}

/****************************************
 * memory map table
 */

table.memmap {
	text-align:center;
	empty-cells:show;
	margin:5px;
}
table.memmap td {
	width:14mm;
	padding:3px;
	font-size:80%;
}
table.memmap th {
	width:14mm;
	padding:5px;
	font-size:80%;
}

/****************************************
 * general table formatting
 */

div#content table {
	font-size: 100%;
	width:auto;
}


div#content th {
	background-color: #dddddd;
}

table.content {
	text-align:center;
	empty-cells:show;
	margin:5px;
}
table.content td {
	padding:3px;
}
table.content th {
	padding:5px;
}

/****************************************
 * table of content
 */

div#toc dir {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
	padding-left: 3em;
}

/****************************************
 *  * text formatting
 *   */

div#content p.conclusion {
	font-weight: bold;
	font-size: 120%;
}

/****************************************
 * advanced style
 */
.advbutton {
	position:relative;

	background-color: #888888;
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#777777), to(#dddddd));
 	background: -moz-linear-gradient(top, #777777 0, #dddddd 100%); 
/*
  	-moz-border-radius: 14px;
	-webkit-border-radius:14px;
*/
	color:white;
	text-decoration:none;
	text-align:center;

	padding-left: 0.5em;
	padding-right: 0.5em;

}

/****************************************
 *  * twisties
 *   */
.h2t {
	display: none;		/* only if enabled with javascript */
	float: left;
	margin-top: 0.4em;
	background:url(imgs/sprite.png) no-repeat;
	width:2em;
	background-position: -288px -32px;
}

/****************************************
 *  * min/max link
 *   */

#minmax {
	display: none;
	float: right;
}


