.my_msg
{
  margin : 10px;	
  box-sizing: border-box;
  float: left;
  width: auto;
  width: 60%;
  position: relative;
  clear: both;
  
  background: #95c2fd;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.15, #bee2ff), color-stop(1, #95c2fd));
  background-image: -webkit-linear-gradient(bottom, #bee2ff 15%, #95c2fd 100%);
  background-image: -moz-linear-gradient(bottom, #bee2ff 15%, #95c2fd 100%);
  background-image: -ms-linear-gradient(bottom, #bee2ff 15%, #95c2fd 100%);
  background-image: -o-linear-gradient(bottom, #bee2ff 15%, #95c2fd 100%);
  background-image: linear-gradient(bottom, #bee2ff 15%, #95c2fd 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#95c2fd', endColorstr='#bee2ff');
 
  border: solid 1px rgba(0,0,0,0.5);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;

  -webkit-box-shadow: inset 0 8px 5px rgba(255,255,255,0.65), 0 1px 2px rgba(0,0,0,0.2);
  -moz-box-shadow: inset 0 8px 5px rgba(255,255,255,0.65), 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: inset 0 8px 5px rgba(255,255,255,0.65), 0 1px 2px rgba(0,0,0,0.2);
  margin-bottom: 20px;
  padding: 6px 20px;
  color: #000;
  text-shadow: 0 1px 1px rgba(255,255,255,0.8);
  word-wrap: break-word;
}

.my_msg:before, .my_msg:after {
  border-radius: 20px / 5px;
  content: '';
  display: block;
  position: absolute;
}
.my_msg:before {
  border: 10px solid transparent;
  border-bottom-color: rgba(0,0,0,0.5);
  bottom: 0px;
  left: -7px;
  z-index: -2;
}
.my_msg:after {
  border: 8px solid transparent;
  border-bottom-color: #bee2ff; /* arrow color */
  bottom: 1px;
  left: -5px;
}
.my_msg-alt {
  float: right;
}
.my_msg-alt:before {
  left: auto;
  right: -7px;
}
.my_msg-alt:after {
  left: auto;
  right: -5px;
}

.my_msg p {
  font-size: 1em;
}

.my_msg .datestamp {
  font-size: .8em;
  text-align: right;
  margin :5px;
}

/* messaggi verdi Classe css per la colorazione */
.verde {
  background: #00ff40;
  background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0.15, #b6f9c7),color-stop(1, #70f992));
  background-image: -webkit-linear-gradient(bottom, #b6f9c7 15%, #70f992 100%);
  background-image: -moz-linear-gradient(bottom, #b6f9c7 15%, #70f992 100%);
  background-image: -ms-linear-gradient(bottom, #b6f9c7 15%, #70f992 100%);
  background-image: -o-linear-gradient(bottom, #b6f9c7 15%, #70f992 100%);
  background-image: linear-gradient(bottom, #b6f9c7 15%, #70f992 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#70f992', endColorstr='#b6f9c7');
}
.giallo:after {
  border-bottom-color: #b6f9c7;
}

/* ------------------------------------------------------------ */
.msg-info, .msg-success, .msg-warning, .msg-error {
	border: 1px solid;
	margin: 10px 0px;
	padding:15px 10px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
}
.msg-info {
	color: #00529B;
	background-color: #BDE5F8;
	background-image: url('/img/msg-info.png');
}
.msg-success {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image:url('/img/msg-success.png');
}
.msg-warning {
	color: #9F6000;
	background-color: #FEEFB3;
	background-image: url('/img/msg-warning.png');
}
.msg-error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url('/img/msg-error.png');
}

/* The close button */
.msg-closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* When moving the mouse over the close button */
.msg-closebtn:hover {
    color: black;
}
