* {
  padding: 0px;
  margin: 0px;
  font-family: 'Alegreya', serif;
}

.contenitore {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  height: auto;
  background: #f5f5f5;

}

.logo{
  width: 100%;
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
}


.menu{
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  }

.menu ul{

    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #0a4683;
}

.menu li {
    float: left;
}

.menu li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.menu li a:hover {
    background-color: #111;
}

.attiva{
    background: blue;
}

.cover{
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.cover_foto{
    float: left;
    width: 400px;
    padding: 40px 10px;
}


.cover_testo{
    float: left;
    width: 500px;
    text-align: justify;
    padding: 40px 10px;
    letter-spacing: 1.8px;
    line-height: 1.8;
}

.cover_azienda_testo{
    width: 100%;
    max-width: 940px;
    text-align: justify;
    padding: 10px;
    letter-spacing: 1.8px;
    line-height: 1.8;
}

.cover_azienda_testo h2{
    text-align: center;
    padding: 10px;
    letter-spacing: 1.6px;
  }

.footer{
    width: 100%;
    max-width: 949px;
    height: 30px;
    background-color: #0a4683;
    color: floralwhite;
    text-align: right;
    padding-top: 10px;
    padding-right: 10px;

}



div.polaroidsx {
  width: 40%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: 45px;
  float: left;
}

div.polaroiddx {
  width: 40%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: 45px;
  float: right;
}


div.container {
  text-align: center;
  padding: 10px 20px;
}

.container h2 {
  text-align: center;
  padding-bottom: 10px;
}


.grassetto{
  font-weight: bold;
}


.tooltip {
    position: relative;
    display: inline-block;
    text-align: center;
   cursor: pointer;
}

.tooltiptext{
  font-weight: normal;

}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 350px;
    background-color: silver;
    color: black;
    text-align: justify;
    border-radius: 6px;
    padding: 7px 7px;
    position: absolute;
    z-index: 1;
    top: 130%;
    left: 50%;
    margin-left: -180px;
  }

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent silver transparent;

    }

.tooltip:hover .tooltiptext {
    visibility: visible;
  }


.contatti{
  margin: 30px;
  font-size: 20px;
  text-indent: 20px;
  }

  #testo_contatti{
    font-size: 20px;
    margin: 30px;
  }


/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}
