
.layout-container {
  position: relative;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Calibri", "Helvetica", "Arial", sans-serif;
  font-size: 14px;
  background: #efefef;
}


#g_cookies_policy {
  background: #f7841d;
  border-bottom: 1px solid #f0f0f0;
}
  #g_cookies_policy .container {
    padding: 0.8em 0;
  }
  #g_cookies_policy p {
    margin: 0 12ex 0 0.5ex;
    font-size: 0.9em;
    line-height: 1.0em;
  }
  #g_cookies_policy a {
    color: #000000;
  }
    #g_cookies_policy a:hover {
      color: #000000;
    }
  #g_cookies_policy a.ok {
    border: 2px solid #000000;
    padding: 0.3em 3ex;
    border-radius: 9px;
    background-color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 5px;
  }
    #g_cookies_policy a.ok:hover {
      background-color: #e0e0e0;
    }

#g_top_header {
  background-color: #f7841d;
  border-bottom: 1px solid #f7841d;
  height: 30px;
  font-size: 12px;
  color: #ffffff;
}
  #g_top_header p.mobile {
    float: left;
    margin: 0;
    padding-left: 1ex;
  }
    #g_top_header p.mobile a {
      color: #ffffff;
      line-height: 30px;
    }
  /* leave space on the left */
  #g_top_header a.header-button {
    display: block;
    text-decoration: none;
    color: #ffffff;
    margin-top: 2px;
    padding: 0 6px 0 4px;
    height: 25px;
    line-height: 25px;
    background: url(../images/angle-normal.png) no-repeat right bottom;
  }
    #g_top_header a.header-button:hover {
      background-color: #fba355;
    }
    #g_top_header a.header-button:active {
      background-color: #fba355;
    }
  /* dropdown support for the top header smart buttons */
  #g_top_header div.dropdown-area {
    position: relative;
  }
  #g_top_header .dropdown-panel {
    position: absolute;
    left: 0;
    top: 30px;
    width: 100%;
    display: none;
    background-color: #f7841d;
    margin: 0;
    padding: 0;
    border: 1px solid #006aa1;
    border-top: none;
    box-shadow: 1px 1px 2px #a0a0a0;
    z-index: 10;
  }
  #g_top_header ul.dropdown {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
    #g_top_header ul.dropdown a {
      display: block;
      color: #ffffff;
      text-decoration: none;
      padding: 3px 0 3px 5px;
    }
      #g_top_header ul.dropdown a:hover {
        background-color: #fba355;
      }
  #google_translate_element {
    margin: 5px;
    text-align: right;
    padding-right: 15px;
  }
    #google_translate_element .goog-te-gadget-simple {
      background: transparent;
      border: 0;
    }
    #google_translate_element .goog-te-menu-value {
      color: #ffffff !important;
      border-left: 0 !important;
    }
    #google_translate_element .goog-te-menu-value span:nth-child(3) {
      display: none;
    }
  /* specific buttons - change version */
  #g_top_header .change-version a {
  }
    #g_top_header .change-version img.icon {
      margin-right: 6px;
      vertical-align: baseline;
      position: relative;
      top: 2px;
    }
    #g_top_header .change-version span.current {
      text-transform: uppercase;
    }
    #g_top_header .change-version span.change {
      display: block;
      float: right;
      font-weight: bold;
    }
      #g_top_header .change-version a:hover span.change {
        text-decoration: underline;
      }
      #g_top_header .change-version ul.dropdown a {
        padding-right: 20px; /* because of the background position expressed in percent */
        text-align: right;
        border-bottom: 1px solid #f7841d;
      }
        #g_top_header .change-version ul.dropdown a span {
          display: inline-block;
          background-position: right center;
          background-repeat: no-repeat;
          padding-right: 30px;
        }
        #g_top_header .change-version ul.dropdown .lang-it a span {
          background-image: url(../images/lang_it.png);
        }
        #g_top_header .change-version ul.dropdown .lang-en a span {
          background-image: url(../images/lang_en.png);
        }
        #g_top_header .change-version ul.dropdown .lang-fr a span {
          background-image: url(../images/lang_fr.png);
        }
        #g_top_header .change-version ul.dropdown .lang-es a span {
          background-image: url(../images/lang_es.png);
        }
  /* specific buttons - login area */
  #g_top_header .login {
  }
    #g_top_header .login span.icon {
      display: inline-block;
      width: 15px;
      height: 21px;
      background: url(../images/icons-sprite.png) no-repeat -100px 0;
      vertical-align: top;
      margin-top: 2px;
      margin-right: 7px;
    }
    #g_top_header .login span.text {
      text-transform: uppercase;
    }
  /* specific buttons - recover */
  #g_top_header .recover {
  }
    #g_top_header .recover a.header-button {
      background-image: none;
      text-align: center;
      font-weight: bold;
    }
      #g_top_header .recover a.header-button:hover {
        text-decoration: underline;
      }
  /* specific buttons - authenticated login */
  #g_top_header .auth-login {
  }
    #g_top_header .auth-login span.icon {
      display: inline-block;
      width: 15px;
      height: 21px;
      background: url(../images/icons-sprite.png) no-repeat -100px 0;
      vertical-align: top;
      margin-top: 2px;
      margin-right: 7px;
    }
  /* specific buttons - cart */
  #g_top_header .cart {
  }
    #g_top_header .cart a.header-button {
      margin-right: 3px;
    }
    #g_top_header .cart span.icon {
      display: inline-block;
      width: 19px;
      height: 21px;
      background: url(../images/icons-sprite.png) no-repeat -100px -50px;
      vertical-align: top;
      margin-top: 2px;
      margin-right: 5px;
    }
    #g_top_header .cart span.text {
      text-transform: uppercase;
    }
    #g_top_header .cart span.content {
      display: block;
      float: right;
      font-weight: bold;
    }

#g_header_decor {
  height: 1px;
  background-color: #ffffff;
}

#g_title_header {
  height: 117px;
  border-top: 1px solid #dfdfdf;
  border-bottom: 1px solid #bad5db;
  background: #ffffff;
}
  #g_title_header .logo {
  }
    #g_title_header .logo h1 {
      display: none;
    }
    #g_title_header .logo img {
      vertical-align: top;
      margin: 10px 0 0 10px;
    }
    #g_title_header .logo blockquote {
      display: block;
      font-size: 17px;
      margin: 0;
      padding: 0;
      text-align: center;
      cursor: default;
    }
  #g_title_header .search {
    min-width: 590px;
  }
    #g_title_header .search h2 {
      margin: 14px 12px 0 10px;
      padding: 0;
      float: left;
      font-size: 14px;
      line-height: 1.0em;
      text-transform: uppercase;
      color: #003257;
      cursor: default;
    }
    #g_title_header .search p.advanced {
      margin: 14px 0 16px 0;
    }
    #g_title_header .search label {
      display: block;
      margin: 0 0 0 1ex;
      font-size: 14px;
      text-transform: uppercase;
      color: #003257;
      height: 20px; /* same as submit button margin top */
    }
    #g_title_header .search input.form_text {
      width: 100%;
      padding: 5px 3px 6px 3px;
    }
    #g_title_header .search span { /* FIXME: bootstrapping */
      display: block;
      float: left;
      margin-left: 4%;
    }
      /* 3x4% = 12% of margins between blocks */
      #g_title_header .search span.author {
        margin-left: 0;
        width: 16%;
      }
      #g_title_header .search span.title {
        width: 24%;
      }
      #g_title_header .search span.code {
        width: 15%;
      }
      #g_title_header .search span.subject {
        width: 20%;
      }
      #g_title_header .search span.submit {
        margin-left: 5%;
      }
        #g_title_header .search span.submit input {
          border: none;
          background: transparent url(../images/icons-sprite.png) no-repeat -50px 0;
          width: 30px;
          height: 30px;
          overflow: hidden;
          text-indent: -30ex;
          cursor: pointer;
          margin: 20px 0 0 0; /* same as label height */
          padding: 0;
        }
          #g_title_header .search span.submit input:hover,
          #g_title_header .search span.submit input:active {
            background-position: -50px -50px;
          }

/* added on 24/09/2014 to support google translate API */
#g_title_header #google_translate_element {
  position: absolute;
  right: 8px;
  top: 14px;
  z-index: 10;
}

#g_body {
  padding-bottom: 34px;
  clear: both; /* don't even know why i need this, but without structure it's screwed up */
}
  #g_body .layout-container {
    position: relative;
  }
  #g_body .inner-body {
    padding-bottom: 20px;
  }

  
  #g_site_links {
    margin-bottom: 20px;
  }
    #g_site_links ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      border-left: 1px solid #dfdfdf;
    }
      #g_site_links ul li {
        height: 32px;
        border-bottom: 1px solid #dfdfdf;
        border-right: 1px solid #dfdfdf;
      }
      #g_site_links ul a {
        display: block;
        height: 28px;
        margin: 0;
        border: 2px solid #f4f4f4;
        text-align: center;
        font-size: 13px;
        line-height: 28px;
        color: #003257;
        text-transform: uppercase;
        background: #f4f4f4 url(../images/angle-active.png) no-repeat right bottom;
        text-decoration: none;
      }
        #g_site_links ul a:hover,
        #g_site_links ul .active a {
          border-color: #f7841d;
          background: #f7841d url(../images/angle-normal.png) no-repeat right bottom;
          color: #ffffff;
        }
        #g_site_links ul .active a {
          font-weight: bold;
        }

#g_footer {
  position: relative;
}
  #g_footer .footer-links {
    text-align: center;
    background-color: #f7841d;
    color: #ffffff;
    line-height: 30px;
    cursor: default;
  }
    #g_footer .footer-links ul {
      list-style-type: none;
      display: inline-block;
      margin: 0;
      padding: 0;
    }
      #g_footer .footer-links li {
        display: inline;
      }
    #g_footer .footer-links a {
      display: inline-block;
      margin: 0 1ex;
      color: #ffffff;
      text-decoration: none;
    }
      #g_footer .footer-links a:hover {
        text-decoration: underline;
      }
      #g_footer .footer-links a.active {
        font-weight: bold;
        text-decoration: underline;
      }
    #g_footer .footer-links p {
      margin: 0 0 0 3.5ex;
      display: inline-block;
    }
  #g_footer .footer-layout {
    background: #f17e1a url(../images/footerbg.png) repeat-x center top;
  }
  #g_footer .footer-text {
    text-align: center;
    font-size: 0.9em;
    background: url(../images/piccin-logo-shadow.png) no-repeat center 18px;
    padding-top: 80px;
    padding-bottom: 10px;
    color: #2f1805;
  }
  #g_footer .footer-fe {
    position: absolute;
    left: 5px;
    bottom: 5px;
  }
    #g_footer .footer-fe ul {
      display: none;
      background: #ffffff;
      border: 1px solid #c0c0c0;
      position: absolute;
      left: 10px;
      bottom: 10px;
      width: 30ex;
      padding: 1em 3ex;
    }


.PageTitle {
  clear: both;
  border: 1px solid #fba355;
  background: #f7841d;
  color: #ffffff;
  height: 32px;
  line-height: 32px;
  font-size: 16px;
  font-weight: normal;
  text-transform: uppercase;
  padding-left: 18px;
  cursor: default;
  margin: 1em 0 1em;
}
  .style-green .PageTitle {
    background: #f7841d;
  }
  .style-red .PageTitle {
    background: #f7841d;
  }
.PageContent {
  border: 1px solid #fba355;
  background-color: #ffffff;
  padding: 1px 15px 15px 10px;
}
  .style-green .PageContent {
    border-color: #fba355;
  }
  .style-red .PageContent {
    border-color: #fba355;
  }


/* ------------------------------------------------------------------------
 *   Info block
 * ------------------------------------------------------------------------ */
/* FIXME: move to layout.css */

.info-block {
  position: relative;
  margin-bottom: 20px;
}
  .info-block .content {
    padding: 14px;
    border-style: solid;
    border-color: #dfdfdf;
    border-width: 0 1px 1px 1px;
    background-color: #ffffff;
  }

  .info-block h3 {
    text-transform: uppercase;
    border: 1px solid #dfdfdf;
    color: #ffffff;
    font-weight: normal;
    margin: 0;
    padding: 0 0 0 15px;
    height: 32px;
    line-height: 32px;
    text-align: left;
    cursor: default;
    font-size: 1.3em;
    background: #003257 url(../images/h2bg.png) no-repeat center 0;
    background: #f7841d; /* orange var */
  }
    .info-block h3:after {
      content: " ";
      display: block;
      position: absolute;
      width: 6px;
      height: 6px;
      background: url(../images/angle-normal.png) no-repeat left top;
      right: 3px;
      top: 25px;
    }
    .info-block h3 a {
      display: block;
      float: right;
      text-decoration: none;
      margin-right: 3ex;
      color: #ffffff;
      font-size: 0.8em;
      font-weight: normal;
      text-transform: none;
    }
      .info-block h3 a:hover {
        text-decoration: underline;
      }
  .info-block p {
    margin: 0 0 0.4em 0;
  }
  .info-block .main {
    text-transform: uppercase;
    font-size: 1.1em;
  }
  .info-block .linkbutton {
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin-left: -70px;
    text-decoration: none;
    width: 140px;
    padding: 0.12em 0;
  }

  /* styling overrides */
  .info-block.style-green {
  }
    .info-block.style-green h3 {
      background: #f7841d;
    }
    .info-block.style-green .content {
      border-color: #fba355;
    }
  .info-block.style-red {
  }
    .info-block.style-red h3 {
      background: #f7841d;
    }
    .info-block.style-red .content {
      border-color: #fba355;
    }

  /* special info-block: categories */
  .info-block.categories {
  }
    .info-block.categories h3 {
      border-top: none;
    }
    .info-block.categories .content {
      background-color: #e7e7e7;
    }

  /* special info-block: parmanents */
  .info-block.permanents {
  }
    .info-block.permanents h3 {
    }
    .info-block.permanents .content {
    }
      .info-block.permanents .content ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        line-height: 1.1em;
        color: #003257;
      }
        .info-block.permanents .content ul li {
          padding: 7px 5px 16px;
          border-top: 1px solid #c8e2ea;
        }
          .info-block.permanents .content ul li:first-child {
            border-top: none;
          }
        .info-block.permanents .content ul a {
          color: #000000;
          font-weight: bold;
          font-size: 1.1em;
        }

  /* special info-block: spotlight */
  .info-block.spotlight {
  }
    .info-block.spotlight h3 {
      background: #680251 url(../images/h2bg.png) no-repeat center -128px;
    }
    .info-block.spotlight .layout {
    }
    .info-block.spotlight .content {
      padding: 14px 90px 0 14px;
      height: 125px;
      color: #ffffff;
      background: #860b67 url(../images/spotlight-rdc.png) no-repeat right bottom;
    }
    .info-block.spotlight p {
      font-size: 1.2em;
    }
    .info-block.spotlight a {
      display: block;
      position: absolute;
      left: 15px;
      bottom: 18px;
      color: #ffffff;
      font-weight: bold;
      text-decoration: none;
    }
      .info-block.spotlight a:hover {
        text-decoration: underline;
      }

  /* special info-block: multimedia */
  .info-block.multimedia {
  }
    .info-block.multimedia h3 {
      background: #cd5607 url(../images/h2bg.png) no-repeat center -96px;
    }
    .info-block.multimedia .content {
      padding: 14px 14px 0 14px;
      height: 125px;
      background-color: #d76c1b;
      color: #ffffff;
      text-align: center;
    }
    .info-block.multimedia .main {
      font-size: 1.2em;
    }
    .info-block.multimedia .linkbutton {
      color: #ffffff;
      background-color: #cc5507;
      border: 1px solid #ffffff;
      outline: none;
    }
      .info-block.multimedia a.linkbutton:hover {
        background-color: #d76c1b;
      }

  /* special info-block: quiz */
  .info-block.quiz {
  }
    .info-block.quiz h3 {
      background: #0a68a0 url(../images/h2bg.png) no-repeat center -160px;
    }
    .info-block.quiz .content {
      padding: 6px 84px 0 12px;
      height: 133px;
      color: #ffffff;
      background: #2478a3 url(../images/spotlight-quiz.png) no-repeat 95% 11px;
    }
    .info-block.quiz .layout {
    }
    .info-block.quiz .linkbutton {
      color: #ffffff;
      background-color: #0b69a0;
      border: 1px solid #ffffff;
      outline: none;
    }
      .info-block.quiz a.linkbutton:hover {
        background-color: #2478a3;
      }
