/*
 * Filename : byte.css
 * Details  : CSS document for the book "A Byte of Python"
 * Website  : www.byteofpython.info
 * Copyright: Swaroop C H (c) 2004
 * License  : Creative Commons License. See book for more details.
 * Note     : Indispensable tools in the creation of this document
 *            include KColorChooser and XEmacs.
 */

/*
body {
  font-size:12pt;
}
*/

body {
  padding: 2em 1em 2em 70px;
  margin: 0;
  font-family: sans-serif;
  color: black;
  background: white;
  background-position: top left;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-image: url(images/gentoo_doc.png);
}

a:link { color: #395e57; background: transparent }
a:visited { color: #836767; background: transparent }
a:hover { background: #CCDDFF }
a:active { color: #C00; background: transparent }

a:link img, a:visited img { border-style: none } 	/* nessun bordo per img links */

a img { color: white; }        				/* sgamotto per Netscape 4 */
@media all {                   				/* come sopra Netscape 4 */
  a img { color: inherit; }    				/* come sopra */
}

h1, h2, h3, h4, h5, h6 { text-align: left }
/* h1, h2, h3 { color: blue; background: transparent } */
h1 { font: 170% sans-serif }
h2 { font: 140% sans-serif }
h3 { font: 120% sans-serif }
h4 { font: bold 100% sans-serif }
h5 { font: italic 100% sans-serif }
h6 { font: small-caps 100% sans-serif }

p.copyright { font-size: small }			/* (c) in caratteri small */
p.copyright small { font-size: small }

div..head { margin-bottom: 1em }
div.head h1 { margin-top: 2em; clear: both }
div.head table { margin-left: 2em; margin-top: 2em }

div.header {
  text-align:center;
}

a.header-link {
  text-decoration:none;
  color:#663300;
  font-family:sans-serif;
}

a.header-link:hover {
  text-decoration:underline;
}

h1.title {
  color: #FFFFFF;
  font-size:40pt;
  text-align:center;
  background-color: #565858;
  border-left:1px solid #000000;
  border-right:1px solid #000000;
  border-top:1px solid #000000;
  border-bottom:1px solid #000000;
  padding:5px;
  margin-top:10px;
}

h3.author { 
  text-align: center;
  font-style: oblique;
  color: #FFFFFF;}

h2.title {
	color: #854848;
}


h3, div.caution  {
  font-color: red;

}
div.example {
  font-size: 12pt;

}

div.author {
  color: #FFFFFF;
  font-size:16pt;
  text-align:center;
  background-color: #8080C4;
  border-left:1px solid #000000;
  border-right:1px solid #000000;
  border-bottom:1px solid #000000;
  padding:5px;
}

p.releaseinfo {
  font-weight:bold;
}

h2 {
  color: #005A9C;
}

h1, h2, h3, h4, h5, h6, div.affiliation {
  margin:0px;
  font-family:sans-serif;
}

pre.programlisting {
  background-color:#FFFFCC;
  border:1px solid #D8D8AD;
  padding:5px;
  margin-left:3%;
  margin-right:3%;
}

pre.screen {
  background-color:#cbc6c6;
  border:1px solid #D8CACB;
  padding:5px;
  margin-left:3%;
  margin-right:3%;
}

div.caution, div.important, div.note {
  background-color:#b1d9cb;
  border:1px solid #C7C7DD;
  padding:5px;
  margin-top:10px;
  margin-bottom:10px;
}

span.py-statement {
  color:red;
}

span.py-number {
  color:#6721A8;
}

span.py-builtin {
  color:#A80000;
}

span.py-string {
  color:#9B30FF; /* purple1 */
}

span.py-escape-sequence {
  color:#AA00AA;
}

span.py-conditional {
  color:red;
}

span.py-loop {
  color:red;
}

span.py-comment {
  color:blue;
}

span.py-identifier {
  color:#A26811;
}

.bordotab {
	font-family: Verdana, Arial, Helvetica, sans-serif; /* Font */
	font-size: 12px; /* Dimensione dei caratteri */
	color: #000000; /* Colore dei caratteri */
	background-color: #333333; /* Colore di sfondo della tabella */
}

.classetd {
	font-family: Verdana, Arial, Helvetica, sans-serif; /* Font */
	font-size: 12px; /* Dimensione dei caratteri */
	color: #000000; /* Colore dei caratteri */
	background-color: #CCCCCC; /* Colore di sfondo delle celle della tabella */
	border-bottom-width: 0px; /* Spessore bordo inferiore */
	border-bottom-style: solid; /* Aspetto bordo inferiore */
	border-bottom-color: #000000; /* Colore bordo inferiore */
	border-right-width: 0px; /* Spessore bordo destro */
	border-right-style: solid; /* Aspetto bordo destro */
	border-right-color: #000000; /* Colore bordo destro */
	border-left-width: 0px;	/* Spessore bordo sinistro */
	border-left-style: solid; /* Aspetto bordo sinistro */
	border-left-color: #000000; /* Colore bordo sinistro */
	border-top-width: 1px; /* Spessore bordo superiore */
	border-top-style: solid; /* Aspetto bordo superiore */
	border-top-color: #FFFFFF; /* Colore bordo superiore */
}

.classetd a {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000099;
	display: block;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 6px;
	position: relative;
	text-decoration: none;
}

.classetd a:hover {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #CC0000;
	text-decoration: none;
	background-color: #EFEECF;
}
