/*
 * category.css - Stile delle categorie
 *
 * Questo foglio di stile specifica l'aspetto della sola pagina delle categorie,
 * ma puņ essere anche importato in altre pagine come ad esempio risultati
 * ricerca o pagina delle novitą per riutilizzare alcuni stili.
 */

/*
 * productPermanent
 */
div.productPermanent {
	width: 48%;
}
	div.productPermanent.sx {
		float: left;
	}
	div.productPermanent.dx {
		float: right;
	}
	div.productPermanent.libri div.image {
		float: left;
		padding-top: 14px;
		margin: 0em 1em 0em 0em;
		background: url(images/p_libri_top.png) no-repeat 26px top;
		position: relative;
	}
	div.productPermanent.nolibri div.image {
		float: left;
		padding-top: 14px;
		margin: 0em 1em 0em 0em;
		position: relative;
	}
		div.productPermanent div.image p {
			display: block;
			margin: 0px;
			padding: 0px 0px 0px 29px;
			background-repeat: no-repeat;
			background-position: left bottom;
		}
		div.productPermanent.libri div.image p {
			background-image: url(images/p_libri_shadow.png);
		}
		div.productPermanent div.image img {
			border: 1px solid #000000;
			vertical-align: top;
		}
		div.productPermanent div.image span.image_new {
			display: block;
			position: absolute;
			left: 30px;
			bottom: 1px;
			width: 80px;
			height: 80px;
			background: url(images/book-new-cover-big.png) left bottom no-repeat;
			_background: none;
			_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/f20e/layout/images/book-new-cover-big.png', sizingMethod='scale');
		}

	div.productPermanent h2 {
		margin: 0px;
		line-height: 1em;
	}
		div.productPermanent h2 a {
			font-size: 9pt;
			margin: 0px;
			color: #D74619;
			text-decoration: none;
		}
	
		div.productPermanent h2 span.subtitle {
				font-size: 8pt;
				font-weight: normal;
				color: #D74619;
		}	
		
	div.productPermanent p {
		margin: 0;
		font-size: 8pt;
	}
	div.productPermanent p.authors a{
			text-decoration: none;
			color: #000000;
	}
	div.productPermanent p.publisher {
		font-style: italic;
	}
		div.productPermanent p.publisher a{
			text-decoration: none;
			color: #000000;
		}
	div.productPermanent p.info {
		font-size: 8pt;
		color: #888888;
	}
	div.productPermanent p.description {
		margin: 0.8em 0em 0em 0em;
		color: #777777;
	}
	div.productPermanent p.price {
		margin: 0.8em 0em 0em 0em;
		color: #000000;
	}
	div.productPermanent .price.discounted ins {
		font-weight: bold;
		text-decoration: none;
	}
	div.productPermanent .price.discounted .discount {
		background-color: #cc0000;
		font-weight: bold;
		padding: 1px;
		color: #ffffff;
	}

	div.productPermanent a.cart img {
		vertical-align: middle;
		border: 0;
		margin: 3px;
	}

/* gestione layout per quanto riguarda le due colonne */
div.duecolonne {
	width: 48%;
}
	div.duecolonne.sx {
		float: left;
	}
	div.duecolonne.dx {
		float: right;
	}
	/* per questo caso speciale, i titoli vengono centrati */
	div.duecolonne h4.subTitle {
		text-align: center;
	}

ul.productSmallList {
	list-style-type: none;
	margin: 0px 15px 0px 16px;
	padding: 0;
}

/*
 * productSmall
 */
li.productSmall {
	display: block;
	height: 95px;
	overflow: hidden;
}

	li.productSmall .image {
		float: left;
		margin: 3px 1.5ex 1em 0;
		border: 0 none;
	}
	
	li.productSmall .ranking {
		float: left;
		font-size: 13pt;
		font-weight: bold;
	}

	li.productSmall h3 {	/* titolo del prodotto */
		margin: 0 0 0.4em 0em !important;
		padding: 0 !important;
		line-height: 1.0em;
		font-size: 9pt !important;
		color: #990000;
	}
		li.productSmall h3 a {
			color: #990000;
			text-decoration: none;
		}
		li.productSmall h3 a:hover {
			text-decoration: underline;
		}

	li.productSmall p.info {
		margin: 0;
		padding: 0;
		font-size: 8pt;
	}

	li.productSmall .publisher {
		font-style: italic;
	}
	
		li.productSmall .publisher a{
			text-decoration: none;
			color: #000;
		}
	
	li.productSmall .authors a {
		text-decoration: none;
		color: #000;
	}
	
		li.productSmall .publisher a{
			text-decoration: none;
			color: #000;
		}

	li.productSmall .price.discounted ins {
		font-weight: bold;
		text-decoration: none;
	}
	li.productSmall .price.discounted .discount {
		background-color: #cc0000;
		font-weight: bold;
		padding: 1px;
		color: #ffffff;
	}

	li.productSmall a.cart img {
		vertical-align: middle;
		border: 0;
		margin: 3px;
	}
	/* li.productSmall a.cart {
		line-height: 25px;
		height: 25px;
		text-indent: -50ex;
		background: url(images/cartAdd-icon.gif) no-repeat left center;
	} */

div.wrap {
  width: 100%;
}

/*
 * productDefault
 */
table.productDefault {
	font-size: 10pt;
	margin-top: 0.5em;
	margin-bottom: 2em;
	width: 99%;
}
    table.productDefault div.with_video {
        padding: 0 0 5px 0;
    }
        table.productDefault div.with_video a.with_video {
            padding: 2px;
            padding-left: 24px;
            background-image: url(images/video.png);
            background-repeat: no-repeat;
            background-position: 5px 50%;
        }
    table.productDefault div.with_audio {
        padding: 0 0 5px 0;
    }
        table.productDefault div.with_audio a.with_audio {
            padding: 2px;
            padding-left: 24px;
            background-image: url(images/play.png);
            background-repeat: no-repeat;
            background-position: 5px 50%;
        }
            table.productDefault div.with_pdf {
        padding: 0 0 5px 0;
    }
        table.productDefault div.with_pdf a.with_pdf {
            padding: 2px;
            padding-left: 24px;
            background-image: url(images/file-icons/pdf.png);
            background-repeat: no-repeat;
            background-position: 5px 50%;
        }
	/* FIXME: questo dovrebbe essere globale! */
	table.productDefault a {
		text-decoration: none;
	}
	table.productDefault td.image a {
		display: block;
	}
	table.productDefault a:hover {
		text-decoration: underline;
	}

	/* parte sopra, titolo del prodotto */
	table.productDefault td.title {
		vertical-align: middle;
	}
		table.productDefault td.title h3 {
			margin: 0 !important;
			font-size: 12pt !important;
			font-weight: bold;
			font-family: "Georgia", serif;
		}
			table.productDefault td.title h3 span.subtitle {
				font-size: 0.8em;
				font-weight: normal;
				padding-left: 2ex;
			}	
		table.productDefault td.title a {
		}
		
	table.productDefault td.image {
		width: 90px;
		vertical-align: top;
	}
	table.productDefault td.ranking {
		font-size: 15pt;
		vertical-align: top;
	}
	
		table.productDefault td.image a {
			display: block;
			position: relative;
			width: 90px;
		}
        table.productDefault td.image.big a {
            width: 135px;
        }
		table.productDefault td.image span.image_new {
			display: block;
			position: absolute;
			left: 2px;
			bottom: 4px;
			width: 40px;
			height: 40px;
			background: url(images/book-new-cover.png) left bottom no-repeat;
			_background: none;
			_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/f20e/layout/images/book-new-cover.png', sizingMethod='scale');
		}
	table.productDefault td.info {
		width: 55%;
		line-height: 12pt;
		vertical-align: top;
		text-align: left;
		padding-left: 2ex;
	}
		table.productDefault td.info strong.redNote{
			color: #f00;
			display: block;
		}

	table.productDefault td.price {
		width: 45%;
		line-height: 12pt;
		vertical-align: middle;
		text-align: center;
		white-space: nowrap;
	}
	table.productDefault td.price ins {
		font-weight: bold;
		text-decoration: none;
		color: #e62121;
	}
	table.productDefault td.price .discount {
		color: #cb2323;
	}
	table.productDefault td.price .pricenotes {
		font-size: 0.8em;
	}
	table.productDefault td.price .stock {
		color: #666666;
	}
	table.productDefault td.price .promo {
		color: #CB2323;
	}
	table.productDefault td.price .freeshipping {
		display: block;
		overflow: hidden;
		width: 146px;
		height: 20px;
		margin: 6px auto 0px auto;
		background: url(images/cat_label_freeshipping.png) no-repeat top left;
		text-indent: -60ex;
	}

	table.productDefault td.buttons {
		text-align: center;
		vertical-align: bottom;
		width: 172px;
	}
		table.productDefault td.buttons ul {
			list-style-type: none;
			margin: 0;
			padding: 0;
		}
		table.productDefault td.buttons li a {
			overflow: hidden;
			display: block;
			width: 146px;
			height: 28px;
			margin: 0 auto 0 auto;
			padding-left: 10px;
			background-position: left bottom;
			background-repeat: no-repeat;
			font-family: "Arial", sans-serif;
			font-size: 8pt;
			line-height: 28px;
			color: #276389;
		}
			table.productDefault td.buttons li a:hover {
				background-position: left top;
				text-decoration: none;
			}
			table.productDefault td.buttons li.favorites a {
				background-image: url(images/cat_button_favorites.png);
			}
			table.productDefault td.buttons li.comments a {
				background-image: url(images/cat_button_comments.png);
			}
			/* il pulsante del carrello č diverso, tič */
			table.productDefault td.buttons li.cart a {
				width: 155px;
				height: 33px;
				padding-left: 15px;
				background-image: url(images/cat_button_cart.png);
				background-color: #f11706;
				font-weight: bold;
				color: #ffffff;
				text-indent: -60ex;
			}

	table.productDefault td.balloon {
		vertical-align: middle;
		background: url(images/balloon-bg.png) repeat-x left top;
		height: 35px;
		line-height: 35px;
	}
		table.productDefault td.balloon div.balloon1 {
			background: url(images/balloon-left.png) no-repeat left top;
		}
		table.productDefault td.balloon div.balloon2 {
			overflow: hidden;
			padding: 0px 9px 0px 7px;
			height: 35px;
			background: url(images/balloon-right.png) no-repeat right top;
		}
		table.productDefault td.balloon.type {
			text-align: center;
			font-weight: bold;
			font-size: 11pt;
			cursor: default;
		}
		table.productDefault td.balloon.type.small {
			font-size: 9pt;
			line-height: 16px;
		}
		table.productDefault td.balloon.description span {
			display: block;
			overflow: hidden;
			/* la somma deve fare 35px di altezza */
			margin-top: 5px;
			height: 28px;
			line-height: 13px;
			font-size: 9pt;
		}

	table.productDefault td.balloon.state {
		text-align: center;
		font-size: 8pt;
		font-weight: bold;
		white-space: nowrap;
	}
	table.productDefault td.balloon.state.singleline {
		line-height: 1.3em;
	}
	table.productDefault td.balloon.state.green {
		color: green;
	}
	table.productDefault td.balloon.state.red {
		color: red;
	}
	table.productDefault td.balloon.state.red {
	}

/* box per l'ordinamento */
form.ord {
  margin: 0;
  padding: 0;
  text-align: right;
  display: none;
}
  form.ord p {
    margin: 0 1ex 1em;
  }
div.ord {
  text-align: right;
  margin: 0 1ex 1em;
}
  
  /* box arrotondata espandibile */
.bl {
	background: url(images/blfull.gif) 0 100% no-repeat;
  	width: 100%;
  /*padding-top:15px;*/
}
.blsmall {
	background: url(images/blfull_s.gif) 0 100% no-repeat;
  	width: 100%;
  /*padding-top:15px;*/
}
.br {
	background: url(images/brfull.gif) 100% 100% no-repeat;
}
.brsmall {
	background: url(images/brfull_s.gif) 100% 100% no-repeat;
}
.tl {
	background: url(images/tlfull.gif) 0 0 no-repeat;
}
.tlsmall {
	background: url(images/tlfull_s.gif) 0 0 no-repeat;
}
.tr {
	background: url(images/trfull.gif) 100% 0 no-repeat; 
	padding:10px;
}
.trsmall {
	background: url(images/trfull_s.gif) 100% 0 no-repeat; 
	padding:1px;
}

.t {
	background-image: url(images/dot_g.gif);
	background-position: 0 0;
	background-repeat: repeat-x;
	width: 100%;
}
.tsubtitle {
	background-image: url(images/dot_g.gif);
	background-position: 0 0;
	background-repeat: repeat-x;
	width: 100%;
	margin: 1em 0em 0.5em 0em;
}
.b {
	background: url(images/dot_g.gif) 0 100% repeat-x;
}
.l {
	background: url(images/dot_g.gif) 0 0 repeat-y;
}
.r {
	background: url(images/dot_g.gif) 100% 0 repeat-y;
}
.MT {
	margin-top:20px;
}
.r .hidden {
	font-size: 12pt;
	font-weight: bold;
	color: #aaa;
}

div#content h1#catName {
	border-bottom: none;
	font-family: Georgia, "Nimbus Roman No9 L", serif;
	font-style: normal;
	font-weight: normal;
	color: #fff;
	font-size: 2.2em;
	margin-top:0;
	text-align:center;
	background: none;
}
div#content div#youarehere{
	margin-bottom: 12px;
}