/* SECONDO */
.callbox {
 min-height: 0;
 padding: 15px;
 border: 1px solid #FFDC6E;
 background-color: #FFFCB5;
 color: #7D660A;
}
.toolbox {
 min-height: 0;
 padding: 15px;
 border: 1px solid #B4C4EB;
 background-color: #E5ECF9;
 color: #525966;
}

.possbox {
 min-height: 0;
 padding: 15px;
 border: 1px solid #D6D6D6;
 background-color: #F6F6F6;
 color: #666;
}

.infobox {
 min-height: 0;
 padding: 15px;
 border: 1px solid #ADD59E;
 background-color: #C8FFA4;
 color: #406D22;
}
.warnbox {
 min-height: 0;
 padding: 15px;
 border: 1px solid #900;
 background: #900 url(../images/unknown-bg.png) repeat-x 50% 0;
 color: #FFF;
}

.callbox p, .toolbox p, .possbox p, .infobox p, .toolbox h4, .infobox h4, .warnbox p { margin: 0 }

/* Boxes corners */

.toolbox .tc, .toolbox .bc, .possbox .tc, .possbox .bc, .infobox .tc, .infobox .bc,
.warnbox .tc, .warnbox .bc,
.callbox .tc, .callbox .bc {
 clear: both;
 position: relative;
 height: 5px;
 font-size: 0;
}
/* In the next blocks margins must be equal to abs(border-width + padding) of containing block,
   padding the same but subtract it's own height */

.callbox .tc, .toolbox .tc, .possbox .tc, .infobox .tc, .warnbox .tc {
 margin: -16px -16px 0;
 padding: 0 0 11px;
}

.callbox .bc, .toolbox .bc, .possbox .bc, .infobox .bc, .warnbox .bc {
 margin: 0 -16px -16px;
 padding: 11px 0 0;
}
.callbox    .tc i, .callbox    .tc b, .callbox    .bc i, .callbox    .bc b,
.toolbox    .tc i, .toolbox    .tc b, .toolbox    .bc i, .toolbox    .bc b,
.possbox    .tc i, .possbox    .tc b, .possbox    .bc i, .possbox    .bc b,
.infobox    .tc i, .infobox    .tc b, .infobox    .bc i, .infobox    .bc b,
.warnbox    .tc i, .warnbox    .tc b, .warnbox    .bc i, .warnbox    .bc b {
 float: left;
 width: 5px;
 height: 5px;
 overflow: hidden;
 background: url(../images/corners.png) no-repeat;
}
.callbox .tc b, .callbox .bc b, .toolbox    .tc b, .toolbox    .bc b,
.possbox .tc b, .possbox .bc b, .infobox    .tc b, .infobox    .bc b,
.warnbox .tc b, .warnbox .bc b, .salutatory .tc b, .salutatory .bc b { float: right }

.toolbox    .tc i { background-position:  0     0    }
.toolbox    .tc b { background-position: -5px   0    }
.toolbox    .bc i { background-position:  0    -5px  }
.toolbox    .bc b { background-position: -5px  -5px  }
.callbox    .tc i { background-position: -10px  0    }
.callbox    .tc b { background-position: -15px  0    }
.callbox    .bc i { background-position: -10px -5px  }
.callbox    .bc b { background-position: -15px -5px  }
.warnbox    .tc i { background-position: -20px  0    }
.warnbox    .tc b { background-position: -25px  0    }
.warnbox    .bc i { background-position: -20px -5px  }
.warnbox    .bc b { background-position: -25px -5px  }
.infobox    .tc i { background-position: -30px  0    }
.infobox    .tc b { background-position: -35px  0    }
.infobox    .bc i { background-position: -30px -5px  }
.infobox    .bc b { background-position: -35px -5px  }
.possbox    .tc i { background-position: -40px  0    }
.possbox    .tc b { background-position: -45px  0    }
.possbox    .bc i { background-position: -40px -5px  }
.possbox    .bc b { background-position: -45px -5px  }

td.std_clean { background-color: #FFF; }
/* Nice table */
table.std_nicetable thead td {
	background: url(../images/tablebg.gif) #DDD repeat-x;
	border:1px solid #FFF;
	font-weight:bold;
	color:#517E9F;
}

/*****************
Comments
*****************/
.tpl_comments_box {
	background-color: #F4F4F4;
	background-image: url(../images/comments_linguetta.gif);
	background-repeat: no-repeat;
	background-position: top right;
	margin-bottom: 4px;
	padding: 4px;
	border-bottom: 1px solid #DDD;
}
.tpl_comments_title {
	color: #517E9F;
	font-weight: bold;
	border-bottom: 1px solid #CCC;
}
.tpl_comments_body {
	padding-top: 4px;
	font-size: 10px;
	clear: both;
}
/*****************
Datebox in comments
*****************/
.datebox {
	width:41px;
	height:38px;
	background-image: url(../images/datebg.gif);
	background-repeat: no-repeat;
	text-align: center;
	margin-right: 15px;
}
.datebox_day {
	font-weight: bold;
	color: #FFF;
	font-size:18px;
}
.datebox_month {
	color: #777;
}


