
div.homepage {
  /* 315px (box) + 6px (space) */
  margin-right: 321px;
}
  /* special case for the home page */
  .home div.body {
    /* 9px is the default margin for left/right sidebar */
    padding-right: 9px;
    /* remember the min-height hack that's in layout_ie6.css */
    min-height: 1560px;
  }
  .home div.sidebar.right {
    /* 315px (block size) + 9px (margin) */
    width: 324px;
  }
  .home div.sidebar.right .block {
    width: 315px;
    margin: 0px 0px 7px 0px;
  }
    .home div.sidebar.right .block h3 {
      /* 315px (block width) - 12px (padding) */
      width: 303px;
    }
    .home div.sidebar.right .block .block_footer {
      /* 315px (block width) - 2px (left and right borders) */
      width: 313px;
    }

    .home div.sidebar .block.autenticazione .block_body {
      /* don't forget the 2 padding pixel of block_body! */
      height: 105px;
    }
    .home div.sidebar .block.autenticazione h3 {
      background-image: url(../images/wblock_header_olive_long.png);
    }
    .home div.sidebar .block.autenticazione form {
      /* don't forget the 2 padding pixel of block_body! */
      height: 85px;
      background: url(../images/icon_form.png) no-repeat 4% 95%;
    }
    .home div.sidebar .block.autenticazione label {
      display: inline;
      float: none;
      clear: none;
      margin: 6px 5px 0px 10px;
      line-height: inherit;
      width: auto;
    }
    .home div.sidebar .block.autenticazione .form_text {
      margin: 4px 0px 0px 0px;
      width: auto;
    }
    .home div.sidebar .block.autenticazione .form_button {
      clear: none;
      float: right;
      margin: 0px 5px 0px 0px;
    }
    .home div.sidebar .block.autenticazione div.first {
      height: 35px;
      white-space: nowrap;
    }
    .home div.sidebar .block.autenticazione div.second {
      padding-top: 1px;
      clear: both;
    }
    .home div.sidebar .block.autenticazione div.second p {
      margin: 2px 0px 7px 74px;
    }

    .home div.sidebar .block.cart .block_body {
      /* don't forget the 2 padding pixel of block_body! */
      height: 108px;
    }
    .home div.sidebar .block.cart h3 {
      background-image: url(../images/wblock_header_darkred_long.png);
    }
    .home div.sidebar .block.cart p.first {
      margin: 3px 0px 8px 8px;
    }
    .home div.sidebar .block.cart a img {
      float: left;
      margin: 0px 12px 0px 6px;
    }
    .home div.sidebar .block.cart p {
      margin: 0px 0px 8px 0px;
    }

.home div.body div.content_footer {
  display: none;
}
  /* FIXME: show back the footer for the news box, this should be achieved somehow
   *   at template level by not printing the footer for home page. Something like
   *   free_layout var? */
  .home div.body .homepage div.content_footer {
    display: block;
  }

#scrollingNews {
  position: relative;
  /* as usual, make sure we don't incur in margin collapse */
  padding: 1px 12px;
  border-width: 0px 1px;
  border-style: solid;
  border-color: #a7cbe0;
  height: 260px;
  overflow: hidden;
}
  #scrollingNews ul {
    position: relative;
    display: block;
    list-style-type: none;
    margin: 0 0 4px 0;
    padding: 0;
    height: 230px;
    overflow: hidden;
  }
    #scrollingNews ul li {
      position: absolute;
      top: 0;
      left: 0;
      display: block;
      padding: 1px 0;
      color: #666666;
    }
      #scrollingNews ul li.hidden {
        display: none;
      }
      #scrollingNews ul li h3 {
        font-size: 1.0em;
        font-weight: bold;
        margin: 1.5em 5px 0.3em 5px;
      }
        #scrollingNews ul li h3 a {
          color: #666666;
          text-decoration: none;
        }
      #scrollingNews ul li span.date {
        display: block;
        position: absolute;
        top: 0;
        left: 5px;
        color: #46a9cc;
        font-size: 0.8em;
      }
  #scrollingNews .navigator {
    position: relative;
    cursor: default;
    height: 21px;
  }
    #scrollingNews .navigator a.left {
      display: block;
      overflow: hidden;
      text-indent: -20ex;
      width: 21px;
      height: 21px;
      position: absolute;
      left: 0;
      top: 0;
      background: #b8c1c7 url(../images/icons_news_sprite.png) no-repeat left bottom;
    }
    #scrollingNews .navigator a.right {
      display: block;
      overflow: hidden;
      text-indent: -20ex;
      width: 21px;
      height: 21px;
      position: absolute;
      right: 0;
      top: 0;
      background: #b8c1c7 url(../images/icons_news_sprite.png) no-repeat right bottom;
    }
    #scrollingNews .navigator a.all {
      position: absolute;
      top: 3px;
      right: 7%;
    }
    #scrollingNews .navigator span {
      display: block;
      text-align: center;
      padding: 5px 0 1px;
    }
      #scrollingNews .navigator span a {
        display: inline-block;
        width: 10px;
        height: 10px;
        border: 1px solid #bcc5cb;
        margin: 0 2px;
        overflow: hidden;
        text-indent: -8ex;
      }
        #scrollingNews .navigator span a.active {
          background-color: #bcc5cb;
        }
  #scrollingNews .admin {
    display: none;
    position: absolute;
    top: 0px;
    right: -10px;
    border: 1px solid #b0b0b0;
    background-color: #fafafa;
    padding: 3px;
  }
    #scrollingNews ul li:hover .admin {
      display: block;
    }


div.newsList {
  padding: 1px 10px 10px 10px;
}
  div.content div.news {
    padding-top: 1px;
  }
div.news {
  position: relative;
  width: 100%;
  overflow: hidden;
}
  div.news h3 {
    margin: 22px 0px 0px;
    padding: 2px 0px 2px 2px;
    font-size: 9pt;
    min-height: 18px;
    color: #4d6474;
  }
    div.news h3 a {
      text-decoration: none;
      color: #4d6474;
    }
    div.news.event h3 {
      background: url(../images/icon_event_small.png) no-repeat left center;
    }
  div.news span.time {
    display: block;
    position: absolute;
    top: 4px;
    left: 0px;
    color: #ff0000;
  }
  div.news div.text {
    margin: 0px;
    text-align: justify;
    line-height: 1.7em;
  }
    div.news .spacer {
      margin-right: 0;
    }
    div.news a {
      /* white-space: nowrap; */
    }

.homepage h2 {
  clear: both;
}

.latestNews {
  margin-top: 7px;
  width: 100%;
  overflow: hidden;
}
.listing {
}
.listing div.book {
  float: left;
  position: relative;
  width: 350px;
  height: 178px;
  border: 1px solid #b5c9d6;
  margin-right: 7px;
  margin-bottom: 7px;
  background: #ffffff url(../images/bookbg.png) repeat-x left top;
  color: #006799;
}
  .listing div.book img {
    float: left;
    border: 1px solid #cf0100;
    background-color: #ffffff;
    padding: 1px;
    margin: 8px 6px 0px 6px;
  }
  .listing div.book p {
    margin: 11px 6px 0px 120px;
    font-size: 8pt;
    line-height: 13pt;
  }
  .listing div.book strong {
    color: #3e657d;
  }
  .listing div.book .book_description {
    display: block;
    margin-top: 1em;
    line-height: 1.2em;
  }
  .listing div.book .linkbutton {
    position: absolute;
    right: 5px;
    bottom: 5px;
  }
  .listing div.book ins {
    text-decoration: none;
  }

#flashspot {
  margin: 7px 0px;
  height: 169px;
  background-color: #a30000;
}

