* {
  margin:0;
  padding: 0;
  border: 0;
}

html, body { height: 100%; }

body {
  background: #ebf2f8 url(../i/bg_page.gif) repeat-y top center;
  font: normal 11px "Trebuchet MS", Arial, Verdana, sans-serif;
  text-align: center;
}

a { text-decoration: none; color: #105275 }
a:hover { text-decoration: underline; }

ul { list-style: none; }

input, select { font: normal 11px Arial, Verdana, sans-serif; }

option { padding: 1px 2px 1px 4px; }

input.text,
textarea,
select {
  padding: 2px 4px;
  border: 1px solid #c1c1c1;
  border-top-color: #858585;
  border-bottom-color: #e1e1e1;
  background: url(../i/bg_input_text.gif) repeat-x top left;
  font-size: 12px;
}

select { padding: 1px 0 1px 4px; }

input.radio { vertical-align: middle; }

p.radio { line-height: 16px; }

fieldset { border:1px solid #efefef; padding: 5px 10px }

legend { padding: 2px 5px; font-weight: bold }

.clear { height:1px; line-height:1px; font-size:1px; clear:both; }

.btn {
  border: 1px solid #9cb83f;
  padding: 1px;
}

.btn input {
  padding: 0 1px;
  border: 0;
  background: #9cb83f;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.banner { margin-bottom: 20px; }
.banner { border: 1px solid #cddae2; padding:1px 2px; text-align:center; }

h3 {
  padding: 7px 0 0 10px;
  border-bottom: 10px solid #6894b1;
  background: #4c7ea1;
  font-size: 11px;
  color: #fff;
}

h4 {
  margin-bottom:10px;
  border-bottom: 1px solid #4c7ea1;
  font: bold 18px 'trebuchet ms',arial,helvetica,sans-serif;
  color: #6894b1;
}


#container {
  position: relative;
  width: 949px;
  min-height: 100%;
  height: 100%;
  voice-family: "\"}\"";
  voice-family: inherit;
  height: auto;
  margin: 0 auto;
  text-align: left;
}

html>body #container { height: auto; }

#head { padding-top: 15px; }

#head .logo {
  display:block;
  float: left;
  width:213px;
  height:58px;
  background: url(../i/logo_libri_per_te.gif) no-repeat top left;
  text-indent: -8000px;
}

#head .logo a {display:block; width:213px; height:58px;}

#head h1 {
  float: left;
  padding: 32px 0 0 40px;
  font-size: 13px;
  color: #9cb83f;
}

#ricerca {
  padding-top: 30px;
  color: #6f6f6f;
  text-align: right;
}

#ricerca input.text { width: 130px; }

#ricerca .ricerca_avanzata { padding-right: 55px; font-size: 10px }

#advanced_search input.text { width: 200px }

#nav {
  margin: 20px 0 0 0;
  border: 1px solid #ccdbe2;
  border-left: 0;
}

#nav li { display: inline; }

#nav a {
  display: block;
  float: left;
  border-left: 1px solid #ccdbe2;
  padding: 8px 18px;
  color: #9cb83f;
  font-weight: bold;
  font-size: 10px;
}

#nav a:hover {
  background: #4c7ea1;
  color: #fff;
}

#nav .last a {
  color: #447593;
  font-size: 11px;
}

#nav .last a:hover { color: #fff; }

#main { padding: 20px 0 50px 0; }

#s-dx,
#s-sx,
#s-c { float: left; width: 205px; }

#s-c { width: 467px; margin: 0 34px 0 37px; }

#foot {
  position: absolute;
  bottom: 10px;
  width: 100%;
  padding-bottom: 2px;
  border-bottom: 1px solid #ccdbe2;
  font-size: 10px;
  color: #6f6f6f;
}

#foot a { color: #6f6f6f; }

#foot-nav { float: right; }

#foot-copy { float: left; }


/* ******** BOX ********** */
.box {
  margin-bottom: 20px;
  padding: 8px;
  border: 1px solid #cddae2;
  border-top: 0;
  color: #004567;
}

.box a { color: #105275; }

.box p { margin-bottom: 5px; }

.box input.text { width: 110px; }

.box .ricerca_avanzata { margin-top: 20px; text-align: right; }

#s-sx .box { background: #ecf4f7; }
#s-sx .box.list { background: #d6e4ed; }

.box.list ul li {
  padding: 2px 0 2px 15px;
  border-bottom: 1px solid #fff;
  background: url(../i/a1.gif) no-repeat top left;
  color: #105275;
}

#s-dx .box.list li { border-bottom: 1px dotted #cddae2; }

.box.list.cart ul li { background: none; padding: 4px 0 4px 0; color: #6e6e6e; }

.box.list.cart ul li strong { color: #004469; }

.box.list.cart ul li.totale { padding: 8px 0; color: #f45501; line-height:22px; }

.box.list.cart form { float: right; background: url(../i/cart.gif) no-repeat top left; padding-left: 30px; height:22px; line-height: normal; }


.box_small{ float:left; width: 220px;}

/* ******** VETRINE LIBRI ********** */
.libro {
  margin-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dotted #ccd9df;
  color: #a7a7a7;
}

.libro h2 { font-size: 11px;}
.libro h1 { font-size: 13px; color:#105275 }

.libro p { margin:0; }
.libro strong { color: #6e6e6e; font-weight:normal }

.libro p.price { margin: 12px 0; color: #6e6e6e; }
.libro p.price strong { color: #f55602; }

.libro .libro-img {
  position:relative;
  float:left;
  width:75px;
  margin:0 30px 0 0;
}

.libro .libro-img img {
  width:75px;
  border:4px solid #d6e3eb;
}

.libro .libro-img.big { width:175px;   position:relative;}
.libro .libro-img.big img { width:175px; }

.libro .sconto {
  position:absolute;
  width:36px;
  height:36px;
  top:-8px;
  right:-18px;
  background: url(../i/bg_sconto.gif) no-repeat scroll left top;
  color:#FFFFFF;
  font-size:10px;
  font-weight:bold;
  line-height: 36px;
  text-align: center;
}

.libro-img .usato
  {
  border:1px solid #FFD82B;
  position:absolute;
  top:-5px; left:-2px;
  background-color:#545470;
  padding:1px 5px 2px 5px;
  color:#FFEE34;
  font-size:12px;
  font-weight:bold;
}

.libro-info{margin-left:105px;}




.libro a:hover img { border:4px solid #4c7ea1; }

.libro .btn,
.cart .btn { border-color: #f55602; }

.libro .btn input,
.cart .btn input { background: #f55602; }

.libro form { float: left; background: url(../i/cart.gif) no-repeat top left; padding-left: 30px; height:22px; }



.pager {
  margin: 0 0 25px 0;
  padding: 3px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background: #FBFFE4;
  font-size: 11px;
}
.pager .active {
  font-size: 12px;
  font-weight: bold;
  color: #000;
  cursor: default;
}


/* messaggi utente */
#msg {
  margin: 0 0 30px 0;
  padding: 4px 5px;
  border: 1px solid #ccc;
  background: #E3F1FE;
}

#msg .msg-content {
  padding-left: 25px;
  background-image: url(../i/accept.png);
  background-repeat: no-repeat;
  background-position: 0 50%;
}

#msg.error {
  margin-bottom: 15px;
  background: #FFFDE7;
}

#msg.error .msg-content {
  background-image: url(../i/error.png);
  color: red;
}

#msg p { margin: 0 !important; font-weight: bold; }
#msg ul { margin: 0; padding:0; list-style: none; font-size: 11px; border: 0; background: none; }
#msg li { display: block; margin: 0 0 2px 0!important; font-size: 11px; }

/* OVERLAY PER AJAX */
#overlay {
  position: absolute;
  left: 50%;
  z-index: 1001;
  width: 70px;
  height: 70px;
  margin-left: -35px;
  border: 1px solid #ccc;
  padding: 5px;
  background: #666 url(../i/ajax-loader.gif) no-repeat center center;
}

#overlay-msg {
  position: absolute;
  left: 50%;
  z-index: 1001;
  width: 300px;
  height: 80px;
  margin-left: -150px;
  padding: 5px;
  background: url(../i/ajax_msg_bg.gif) no-repeat center center;
  color:#fff;
  text-align: center;
}

#overlay-msg p { margin-bottom: 10px; font-size: 18px; }
#overlay-msg p.small { font-size: 12px; }
#overlay-msg a { font-weight: normal; color: #fff }
#overlay-msg a:hover { text-decoration:underline }

.commento { padding: 15px 0; }

.commento p { margin-bottom: 10px; }

.banner_title{
text-align:center;
color:#004567;
font-weight:bold;
}


