#agenda.element-small .cnt.sep.bordo-g
{
  display: none;
}

#agenda.element-small .cnt.mid.small
{
  height: 273px;
}

body.variabile #agenda.element-small .cnt.mid.small
{
  height: auto;
  padding-top: 10px;
}

body.variabile #agenda.element-small .cnt ul
{
  margin-bottom: 10px;
}

#agenda .data
{
  float: left;
  color: #000;
  background-image: url(/gui-images/sfondo-data-agenda.png);
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}

#agenda.element-mini .data
{
  background-image: url(/gui-images/sfondo-data-agenda-mini.png);
  width: 40px;
  height: 40px;
  margin-right: 5px;
}

#agenda.element-mini ul
{
  width: 216px;
}

#agenda.element-mini li
{
  width: 216px;
}

#agenda .data .mese
{
  float: left;
  width: 100%;
  color: #fff;
  font-size: 0.6em;
  line-height: 1.15em;
}

#agenda .data .mese a
{
  color: #fff;
}

#agenda.element-mini .data .mese
{
  font-size: 0.55em;
  letter-spacing: 0.15em;
}

#agenda .data .giorno
{
  float: left;
  width: 100%;
  color: #000;
  font-size: 1.6em;
  line-height: 1.55em;
}

#agenda .data .giorno a
{
  color: #000;
}

#agenda.element-mini .data .giorno
{
  font-size: 1.4em;
  line-height: 1.3em;
}

#agenda .info
{
  float: left;
  width: 366px;
  font-size: 0.68em;
  height: 92px;
  /*overflow: hidden;*/
}

body.variabile #agenda .info
{
  height: auto;
}

#agenda.element-mini .info
{
  width: 170px;
}

#agenda .mid.small li .info
{
  height: 82px;
}

body.variabile #agenda .mid.small li .info
{
  height: auto;
}

#agenda.element-mini .mid.small li .info
{
  height: 100px;
}

#agenda.element-mini .mid.small li .info .titolo
{
  margin-top: -3px;
}

#agenda .titolo
{
  float: left;
  width: 366px;
}

#agenda.element-mini .titolo
{
  width: 170px;
  font-size: 0.9em;
}

#agenda h2.titolo
{
  width: 150px;
  color: #fff;
  margin-top: 13px;
}

#agenda h2.titolo a{
  color: #fff;
}

#agenda.element-mini h2.titolo
{
  width: 60px;
  margin-top: 5px;
  font-size: 1em;
}

#agenda.element-mini .cnt.tit .icon
{
  margin-top: 0px;
}

#agenda .testo
{
  float: left;
  width: 366px;
}

#agenda.element-mini .testo
{
  width: 170px;
  font-size: 0.9em;
}

#agenda li
{
  float: left;
  border-top: 1px solid #d9d9d9;
  margin-top: 10px;
  padding-top: 10px;
  height: 92px;
  overflow: hidden;
}

body.variabile #agenda li
{
  height: auto;
}

#agenda .mid.small li
{
  height: 83px;
}

body.variabile #agenda .mid.small li
{
  height: auto;
}

#agenda.element-mini .mid.small li
{
  height: 76px;
  margin-top: 5px;
  padding-top: 5px;
}

#agenda.element-mini .mid.small li:first-child
{
  margin-top: 0px;
  padding-top: 0px;
}

#agenda li:first-child
{
  border-top: none;
  margin-top: 0px;
  padding-top: 0px;
}

#segn-ev
{
  float: right;
  color: #fff;
  background-image: url(/gui-images/sfondo-segnala-evento.png);
  background-repeat: no-repeat;
  padding-left: 5px;
  width: 160px;
  height: 21px;
  line-height: 1.6em;
  font-size: 0.8em;
}

#segn-ev a
{
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}

#agenda.element-mini #segn-ev
{
  width: auto; /*era 137px*/
  height: 18px;
  font-size: 0.7em;
  /*background-image: url(/gui-images/sfondo-segnala-evento-mini.png);*/
  background-image: none;
  margin-top: 5px;
}

#agenda.element-mini #segn-ev .link-segn
{
  float: left;
  background-color: #f00;
  height: 18px;
  padding-left: 4px;
}

#agenda.element-mini #segn-ev .freccia-segn
{
  float: left;
  width: 10px;
  height: 18px;
  background-image: url(/gui-images/sfondo-freccia-segnala-evento-mini.png);
}

/*new*/
#agenda.element-small{
  border-right: 1px solid #D9D9D9;
  border-bottom: 1px solid #D9D9D9;
  border-left: 1px solid #D9D9D9;
  padding: 0 20px 0 20px;
  width: 428px;
}
#agenda .header-agenda{
  margin-bottom: 20px;
  float: left;
  margin-left: -21px;
  width: 430px;
  background-color: #0097CC;
  padding: 8px 20px;
}
#agenda .header-agenda img{
  float: left;
  margin-right: 45px;
}
#agenda .footer-agenda{
  float: left;
  background-color: #d9d9d9;
  margin-left: -21px;
  width: 430px;
  margin-top: 20px;
  padding: 8px 20px;
}
#agenda .footer-agenda .lnk-agenda{
  float: right;
  font-weight: bold;
  color: #595959;
  font-size: 0.9em;
}
#agenda .footer-agenda .lnk-agenda a{
  color: #595959;
}
#agenda .footer-agenda .lnk-agenda:first-child{
  float: left;
}