
/* stili "di transizione" sia per il sito htlm4.0 sia per quello xhtml */

/* layout */

html, body {margin: 0; padding: 0; border: 0;} 

body { 
	background: white url(../img/background.gif);
	text-align: center;
	table-layout:fixed;
	}

div.quadro_principale {
	position: relative;
	margin:  0 auto;
	width:799px; /*da mettere a 759px quando possibile - adesso rompe le pagine non home*/
	font-size: 12pt;
	font-family: times, serif;
	border: solid white 0px;
	text-align: left;
	
	}

#home div.quadro_principale {
	width:759px;
	}

/* header dell'home*/

#homeHeader {
	width: 759px;
	height: 117px;
	background: url(/img/masthead/header.jpg) no-repeat 0 0;
	}

#homeHeader #nav {
	position: absolute;
	top: 67px;
	left: 49px;
	}

/* header pagine interne */

#innerHeader {
	width: 759px;
	height: 128px;
	background: url(/img/masthead/innerHeader.jpg) no-repeat 0 0;
	}

#innerHeader #nav {
	position: absolute;
	top: 67px;
	left: 49px;
	}
	
#innerHeader #vaiCarrello {
	display: block;
	position: absolute;
	top: 35px;
	left: 420px;
	width: 80px;
	height: 13px;
	background: url(/img/masthead/nel_carrello.gif) no-repeat 0 0;
	text-indent: -12000px;
	}
	
#innerHeader #backHome {
	display: block;
	position: absolute;
	top: 20px;
	left: 540px;
	width: 90px;
	height: 90px;
	text-indent: -12000px;
	}

/* titolini offerte */

#offerteScuole h2.offerte {
	width: 256px;
	height: 54px;
	text-indent: -12000px;
	background: url(../img/offerte/titolo-scuole.gif) no-repeat 0 0;
	margin-bottom: 2em;
	}


#offertePrivati h2.offerte {
	width: 253px;
	height: 59px;
	text-indent: -12000px;
	background: url(../img/offerte/titolo-privati.gif) no-repeat 0 0;
	margin-bottom: 2em;
	}

#offerteLibrerie h2.offerte {
	width: 255px;
	height: 55px;
	text-indent: -12000px;
	background: url(../img/offerte/titolo-librerie.gif) no-repeat 0 0;
	margin-bottom: 2em;
	}

#offerteAltre h2.offerte {
	width: 222px;
	height: 64px;
	text-indent: -12000px;
	background: url(../img/offerte/titolo-altre.gif) no-repeat 0 0;
	margin-bottom: 2em;
	}

h3.offerte {
	font-family: "Trebuchet MS", "Lucida Grande", Verdana, Lucida, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	color: #C51028;
	margin-top: 2em;
	}
	
div.separatore_offerte { 
	margin: 14px auto 18px auto;
	clear: both;
	height: 32px;
	width: 90%;
	background: url(/img/comuni/riga_beige_h.gif) repeat-x 0 0;
	}

div.separatore_offerte hr {
	display: none;
	}

.offerte_sin {
	float: left;
	margin-right: 1em;
	
	}
	
.offerte_centro {
	clear: both;
	display: block;
	margin: 0 auto;
	
	}

.offerte_des {
	float: right;
	margin-left: 1em;
	}
	
a.offerte {
	float: right;
	display: block;
	padding: 10px 3px 10px 0;
	font-family:Verdana;
	font-size:9px;
	text-decoration:none;

	}

a.offerte:hover {
	text-decoration:underline;

	}
	
table.tabella_sconti {
	color:#104487;
	font-family:Verdana;
	font-size:10px;
	}

table.tabella_sconti th {
	text-align: left;
	padding-bottom: 1em;
	background-color: #FDB314;
	}
	
table.tabella_sconti td {
	text-align: right;
	}
	
table.tabella_sconti td.riga1 {
	text-align: left;
	}

table.tabella_sconti del {
	color: #C63E36;
	}

table.tabella_sconti tr.rigaTotale {
	background-color: #50C6B6;
	margin-top: 1em;
	}

table.tabella_sconti tr.rigaTotale td {
	padding-top: 1em;
	}
	
table.tabella_sconti tr.rigaTotale td.riga1 {
	font-weight: bold;
	}

/* decorazioni */

.img_sin {
	float: left;
	margin-right: 1.2em;
	padding: 2px;
	border: 1px solid #86C610;
	}

.img_des {
	float: right;
	margin-left: 1.2em;
	padding: 2px;
	border: 1px solid #86C610;
	}
	
.homeLibroCorpo3 ul {
	list-style-position: inside;
	list-style-type: circle;
	padding: 0;
	margin-left: 0;
	margin-top: 1em;
	}

.homeLibroCorpo3 ul li {
	padding-bottom: 5px;
	}

.clearer {
	clear: both;
	height: 0;
	line-height: 0;
	}

.pdf_link {
	background: url(/img/pdf-ico.gif) no-repeat 100% 50%;
	padding-right: 15px;
	line-height: 15px;

	}
	
ul.nl li { /* la lista delle newsletter */
	padding-bottom: 0.5em;
	}

ul.nl {
	padding-bottom: 1em;
	}
	
/* decorazioni: avvisi in prima pagina */

div.avvisoVacanze,
div.avvisoNatale {
	position: relative;
	border: 2px solid #8bd5dd;
	margin: 10px auto;
	width: 427px;
	background: white url(/img/wave.png) repeat-x 0 100%;
	padding: 45px 0 20px 0;
	
    font-family: "Lucida Grande", Verdana, Lucida, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #5c0901;
	line-height: 1.4em;
	}

div.avvisoNatale {
	border: 2px solid #e31e35;
	padding-top: 0;
	background: white url(/img/home/snow.jpg) repeat 0 100%;
	text-align: center;
	}

p.didaNatale {
	font-size: 9px;
	float: right;
	margin: 0 0 1em 40px;
	width: 90%;
	text-align: right;
	}

div.avvisoVacanze .deco { 
	position: absolute;
	top: -38px;
	left: 260px;
	width: 126px;
	height: 130px;
	
	background: url(/img/sun.png) no-repeat 0 0;
	}
	
div.avvisoVacanze em,
div.avvisoNatale em { 
	font-family: "Trebuchet MS", "Lucida Grande", Verdana, Lucida, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.3em;
	font-style: normal;
	color: #C51028;
	}
	
div.avvisoVacanze strong,
div.avvisoNatale strong { 
	color: #C51028;
	}
	
div.avvisoVacanze p,
div.avvisoNatale p {
	padding: 0 5px;
	}
	 
/* ordini: segnalazione d'errore */
	
input.errore {
	background-color: #EE8582;
	}
	
div#errorBoxcf, div#errorBoxpIva {
	position: absolute;
	display: inline;
	width: 150px;
	height: 70px;
	padding: 0 0 0 15px;
	background-color: white;
	font-size: 11px;
	background: url(/img/errorPop.gif) no-repeat 0 0;
	}

div#errorBoxcf a, div#errorBoxpIva a {
	display: block;
	float: right;
	width: 16px;
	height: 14px;
	text-indent: -12000px;
	background: white url(/img/x.png) no-repeat 0 0;
	}

div#errorBoxcf strong, div#errorBoxpIva strong {
	color: red;

	}

div#errorBoxcf span, div#errorBoxpIva span {
	display: block;
	padding: 6px 2px 0 2px;

	}

/*AmicoLibro*/

tr.specialeAmicoLibro {
	display: block;
	position: relative;
	background-color: #E5F8FF;
	
	
	}
	
tr.specialeAmicoLibro h3 a{
	display: block;
	margin: 0 10px 0 20px;
	font-size: 15px;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: #cc0000;
	
	}

a.amicoLibroDeco span {
	height: 173px;
	width: 250px;
	position: absolute;
	left: -115px;
	top: -75px;
	display: block;
	background: url(/img/amicolibro/amicolibro-piccolo2.png) no-repeat 0 0;
	text-indent: -12000px;
	}

a.amicoLibroDeco span.starDeco {
	display: none;
	top: 0;
	
	}

a.amicoLibroDeco:hover span.starDeco {
	display: block;
	top: 0px;
	left: 130px;
	position: absolute;
	width: 46px;
	height: 45px;
	background: url(/img/nuovo/star.png) no-repeat 0 0;
	z-index: 0;
	}
	
a.amicoLibroDeco  {
	display: block;
	height: 100px;
	}
	
a.homeLibroTitolo3 {
	position: relative;
	z-index: 100;
	}

a.amicoLibroDeco:hover {
	border: none;
	}
	
#home h3.homeAmicoLibro a {
	padding: 3px;
	padding-left: 10px;
	margin-left: 10px;
	border-left: 2px solid #CC0000;
	font-family: Georgia, "Times New Roman", Times, serif;
	}





/*Scienza Fuori Classe*/
/*Mucca*/

tr.scienzaFuoriClasse, tr.mucca  {
	display: block;
	position: relative;
	background-color: #E5F8FF;
	
	
	}
	
tr.scienzaFuoriClasse h3 a, tr.mucca h3 a {
	display: block;
	margin: 0 10px 0 20px;
	font-size: 15px;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: #cc0000;
	
	}

tr.mucca  {
	
	background-color: #FFFFCD;
	
	}

a.scienzaFuoriClasseDeco span {
	height: 157px;
	width: 150px;
	position: absolute;
	left: 6px;
	top: -9px;
	display: block;
	background: url(/img/Sfc/sfc.png) no-repeat 0 0;
	text-indent: -12000px;
	}
	
a.muccaDeco span {
	height: 199px;
	width: 155px;
	display: block;
	background: url(/img/home/moo.png) no-repeat 5px 10px;
	text-indent: -12000px;
	padding: 10px 5px;
	}

a.scienzaFuoriClasseDeco span.starDeco, a.muccaDeco span.starDeco {
	display: none;
	top: 0;
	
	}

a.scienzaFuoriClasseDeco:hover span.starDeco, a.muccaDeco:hover span.starDeco {
	display: block;
	top: 0px;
	left: 130px;
	position: absolute;
	width: 46px;
	height: 45px;
	background: url(/img/nuovo/star.png) no-repeat 0 0;
	z-index: 0;
	}
	
a.scienzaFuoriClasseDeco  {
	display: block;
	height: 110px;
	width: 165px;
	}
	
a.homeLibroTitolo3 {
	position: relative;
	z-index: 100;
	}

a.scienzaFuoriClasseDeco:hover {
	border: none;
	}
	
#home h3.homeScienzaFuoriClasse a {
	width: 160px;
	height: 200px;
	background: url(/img/Sfc/strillo-sfc.jpg) no-repeat 0 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	text-indent: -12000px;
	position: relative;
	top: 35px;
	left: -20px;
	}


/*Darwinday*/

tr.darwinday {
	display: block;
	background-color: #FFD883;
	
	} 
	


a.DDayDeco span {
	height: 171px;
	width: 165px;
	left: 18px;
	top: 5px;
	display: block;
	background: url(/img/home/darwin-day.jpg) no-repeat 0 0;
	text-indent: -12000px;
	}

	
a.myPageDeco  {
	display: block;
	height: 171px;
	width: 165px;
	}
	
a.myPageDeco:hover {
	border: none;
	text-decoration: none;
	cursor: pointer;
	}


/*Mypage*/

td.homeColonnaDestra { padding-bottom: 30px; }

tr.colonnaDestraBasso td{ background-color: #F0FADC; }

tr.colonnaSinistraBasso td{ background-color: #FFFFCD; }

td.homeColonnaSinistraBasso  { padding-bottom: 15px; }

td.homeColonnaSinistraMezzo { padding-bottom: 10px; }

td.homeColonnaCentrale { width: 449px !important; margin: 0; padding: 0 !important; }

tr.specialeMyPage {
	display: block;
	position: relative;
	background-color: #FFD883;
	
	} 
	
tr.specialeMyPage h3 a{
	display: block;
	margin: 0 10px 0 20px;
	font-size: 12px;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: #cc0000;
	
	}

a.myPageDeco span {
	height: 128px;
	width: 129px;
	position: absolute;
	left: 18px;
	top: 5px;
	display: block;
	background: url(/img/home/mypage-logo.gif) no-repeat 0 0;
	text-indent: -12000px;
	}

	
a.myPageDeco  {
	display: block;
	height: 138px;
	width: 129px;
	}
	
a.myPageDeco:hover {
	border: none;
	text-decoration: none;
	cursor: pointer;
	}
	
a.homeLibroTitolo3 {
	position: relative;
	z-index: 100;
	}


	
#home h3.homeMyPage a {
	
	color: #C51028;
	padding: 3px;
	margin-left: 10px;
	padding-top: 37px;
	padding-left: 1em;
	border-left: 2px solid #C51028;
	font-family: Georgia, "Times New Roman", Times, serif;
	}

/* Per il pi-greco: viene meglio con caratteri Georgia */

#scintillaBody pre {
					display: inline;
					font-family: Georgia, Palatino, "New Century Schoolbook", Times, serif;
					}
