/****************************************************************************/
/* STILE DEI MESSAGGI PRIVATI */

/* HELP: Da qui Ã¨ possibile modificare:
- I font ed i colori dei messaggi privati
- Le dimensioni e la posizione delle finestre dei messaggi privati
- Lo sfondo dei messaggi privati */


/****************************************************************************/



div.pagina_messages_center{
	/*   border: 1px solid #9d7225;
   background-image: url("imgs/layer-bachec.jpg");
   -webkit-box-shadow: 0px 0px 2px 0px rgba(255,255,255,1);
-moz-box-shadow: 0px 0px 2px 0px rgba(255,255,255,1);
box-shadow: 0px 0px 2px 0px rgba(255,255,255,1); */
 border: none;
   background-image: url("imgs/layer-bachec.jpg");
   -webkit-box-shadow: 0px !important;
-moz-box-shadow: 0px !important;
box-shadow: 0px !important;
-moz-border-radius:5px;		/* Bordi arrotondati */
	-webkit-border-radius:5px;
	-khtml-border-radius: 5px;
		border-radius:5px;
}




.tabellamessaggi {width:95%!important; margin: 0px 3%!important}

.checkmessaggi {width:5%; padding: 10px 10px;border-style: solid;
    border-width: 1;
    font-family: Verdana;
    border-bottom-color: #C8AE54;
    border-left-color: #FCF3CE;
    border-right-color: #C8AE54;
    border-top-color: #FCF3CE;


}

.elementi_elenco_checkmessaggi  {width:5%!important; padding: 10px 10px;}

.elementi_elenco_data {width:12%!important; padding: 10px 10px; border-style: solid;
    border-width: 1;
    font-family: Verdana;
    border-bottom-color: #C8AE54;
    border-left-color: #FCF3CE;
    border-right-color: #C8AE54;
    border-top-color: #FCF3CE;


}

.elementi_elenco_mittente {width:15%!important; padding: 10px 10px;border-style: solid;
    border-width: 1;
    font-family: Verdana;
    border-bottom-color: #C8AE54;
    border-left-color: #FCF3CE;
    border-right-color: #C8AE54;
    border-top-color: #FCF3CE;
  
  
}

.elementi_elenco_preview {width:55%!important; padding: 10px 10px;
border-style: solid;
    border-width: 1;
    font-family: Verdana;
    border-bottom-color: #C8AE54;
    border-left-color: #FCF3CE;
    border-right-color: #C8AE54;
    border-top-color: #FCF3CE;


}



table.tabellamessaggi tr:nth-child(odd) {
   /* styles here */

  background-color: #ffe9b65c;
}


 table.tabellamessaggi tr:nth-child(even) {
   /* styles here */

  background-color: #e6c0665c;
}




/*Testo delle colonne*/
div.pagina_messages_center div.elementi_elenco{ 
   height: 40px;	
}


/*************************/
/*Visualizzazione del messaggio singolo*/
div.read_message_box{
   width: 80%;
   margin-left: auto;
   margin-right: auto;
}

div.read_message_box div.infos{ 
   clear: both;
   text-align: center;
      background-color:#ffe9b65c;
   border: 1px solid rgba(0,0,0,0.0);
font-family: 'Metamorphous', cursive;
		   border-bottom-color: #C8AE54;
    border-left-color: #FCF3CE;
    border-right-color: #C8AE54;
    border-top-color: #FCF3CE;
	padding: 7px;

}

div.read_message_box div.infos span.title{    
  font-size:14px;
 font-family: 'Metamorphous', cursive;
  font-style: italic;
}
div.read_message_box div.infos span.body{ 
  font-weight: bold; 
}

div.read_message_box_text{
  clear: both;
  padding: 10px;
  margin: 10px 0 5px 0;
  line-height: 22px;
text-align:left;
font-family: 'Metamorphous', cursive;
   font-size: 14px;
   border: 1px solid rgba(0,0,0,0.0);
   padding: 5px 5px 15px 5px;
   background-color:#e6c0665c;
		   border-bottom-color: #C8AE54;
    border-left-color: #FCF3CE;
    border-right-color: #C8AE54;
    border-top-color: #FCF3CE;

	} 	.read_message_box_text > strong {color:#1a7aba!important;}
	
div.read_message_box_text img{ 
max-width:100%;   
box-shadow: 0px 0px 3px 0px rgba(84,38,0,1);
  border: 1px solid rgba(84,38,0,1); } 


fieldset img{ 
max-width:100%;} 

div.read_message_box_forms{
  clear: both;
  margin-bottom: 40px;
}

div.read_message_box_form{
  float: right;
  
}

div.read_message_box_form input {
  height: 20px; 
  width: 20px;
} 

.sender {
text-transform:none;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
} 

.sender a{
	text-transform:none;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
} 

.sender a:hover{
	text-transform:none;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
} 

div.slide-down {
 background-color: rgba(255,255,255,0.2); 
 padding:3px; 
 border-radius: 4px; 
 text-transform:none;
} 

div.slide-down img{max-width:100%;   
box-shadow: 0px 0px 3px 0px rgba(84,38,0,1);
  border: 1px solid rgba(84,38,0,1);  } 

div.pager {
padding-top:5px; 
text-align:center; 
border-bottom: 1px solid rgba(255,255,255,0.4); 
box-shadow: 0px 1px 0px 0px rgba(0,0,0,0.25); 
margin-left:auto; 
margin-right:auto; 
margin-top:8px; 
width:40%;
} 

/*************************/
/*Visualizzazione pagina responsive*/

header_messaggi{
  overflow: hidden;
  background-image: url(imgs/messaggi/decos_legno_more.png);
  background-color: rgba(221,181,103,1);
      position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
	left:0;
    width: 100%; /* Full width */
box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.75);
   border-image: url(imgs/messaggi/border_legno_bottom.png) 0 0 100% 0 / 0 0 5px 0px repeat;
   -webkit-border-image: url(imgs/messaggi/border_legno_bottom.png) 0 0 100% 0 / 0 0 5px 0px repeat;
}

header_messaggi a, header_messsaggi label {
  display: block;
  padding: 20px;
  font-weight: bold;
  text-decoration: none;
  line-height: 5px;
  font-size: 0.90em;
  text-transform:uppercase;
   color: rgba(0,0,0,0.8);
  text-shadow: 0px 1px 0px rgba(255,255,255,.2);
}

header_messaggi a:hover, header_messaggi label:hover { 	
   color: rgba(0,0,0,0.5);
  text-shadow: 0px 1px 0px rgba(255,255,255,.2);
	text-decoration: none; }

header_messaggi label {
  float: right;
  padding: 8px;
  cursor: pointer;
}

header_messaggi label:after {
  content: "\2261";
  font-size: 1.8em;
  font-weight:bold;
}

.logo_messaggi {
  float: left;
  margin-left:20px;
  margin-top: 5px;
  background-image: url(imgs/messaggi/logo_legnazzo.png);
  bakground-position: left;
  background-repeat: no-repeat;
}


nav_messaggi {
  float: right;
  max-height: 0;
  width: 100%;
  -webkit-transition: max-height 0.3s; 
     -moz-transition: max-height 0.3s;
       -o-transition: max-height 0.3s;
          transition: max-height 0.3s;
}

nav_messaggi ul {
  margin: 0;
  padding: 0;
   padding-bottom: 10px;
}
  
nav_messaggi li {
  display: block;
  text-align: center;
  border-bottom: 2px solid #423828;
  box-shadow: 0px 1px 1px 0px rgba(255,255,255,0.55);
  	color:#333;
	text-decoration:none;
}
  
nav_messaggi a {
  padding: 10px;
  width: 90%;
  	color:#333;
	text-decoration:none;
}

#nav_messaggi { display: none; }

#nav_messaggi:checked ~ nav_messaggi{
  max-height: 200px; /* This can be anything bigger than your nav height. The transition duration works with this */
}

@media only screen and (min-width: 700px) {
  
  header_messaggi label { display: none; }
  
  nav_messaggi {
    width: auto;
    max-height: none;
  }
  
  nav_messaggi ul {
    padding: 0;
    padding-right: 5px;
  }
  
  nav_messaggi li {
    display: inline-block;
    text-align: center;
	border:none;
	border-left: 2px solid #423828;
    box-shadow: -1px 0px 2px 0px rgba(255,255,255,0.55);

  }
  
  header_messaggi nav_messaggi a {
    display: inline-block;
    padding: 20px 10px;
    width: auto;
  }
 
}

#piedipagina {
   position: fixed;
   width: 100%;
   top: auto;
   right: 0;
   bottom: 0;
   left: 0;
   border-image: url(imgs/messaggi/border_legno_top.png) 100% 0 0 0 / 8px 0 0 0 repeat;
   -webkit-border-image: url(imgs/messaggi/border_legno_top.png) 100% 0 0 0 / 8px 0 0 0 repeat;
     background-image: url(imgs/messaggi/decos_legno_more.png);
  background-color: rgba(221,181,103,1);
  text-align:center;
  padding-top:10px;
  padding-bottom:4px
}

#piedipagina a{font-size: 0.90em;
  text-transform:uppercase;
   color: rgba(0,0,0,0.8);
  text-shadow: 0px 1px 0px rgba(255,255,255,.2);
  text-decoration:none;
  font-weight:bold;}

#piedipagina a:hover {    color: rgba(0,0,0,0.6); }

/**AVATAR MITTENTE**/

.mittente_avatar {
width:60px; 
height: 60px; 
border-radius:50%; 
float:left; 
display:block; 
margin: 2px 8px 8px 2px;
overflow:hidden; 
box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75); 
border: 4px double rgba(198, 146, 66, 0.4); }


div.msggroup_container {
		max-width: 80%;	
		margin: 0 auto;
	}
	div.msggroup_container .dsgroup{
		text-align: center;
		padding: 8px;
		  background-color: #81c1f97d;
		  border: 1px solid rgba(0,0,0,0.0);
   border-bottom-color: #C8AE54;
border-left-color: #FCF3CE;
border-right-color: #C8AE54;
border-top-color: #FCF3CE;
	}
	div.msggroup_container .alredyRead {
		font-weight: bold;
		color: #333;
		padding: 20px 0px 0px 0px;
		margin: auto;
		background-color: transparent;
		border-top: 0px;
		border-left: 0px;
		border-right: 0px;
		border-style: solid;
		border-color: #ddd;
	}
	div.msg_container {
		  width: 100%;
  float: left;
  padding: 20px;
  padding: 10px;
  margin: 10px 20px 5px 20px;
  line-height: 22px;
  text-align: left;
  font-family: 'Metamorphous', cursive;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,0.0);
    border-top-color: rgba(0, 0, 0, 0);
    border-right-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, 0);
    border-left-color: rgba(0, 0, 0, 0);
  border-top-color: rgba(0, 0, 0, 0);
  border-right-color: rgba(0, 0, 0, 0);
  border-bottom-color: rgba(0, 0, 0, 0);
  border-left-color: rgba(0, 0, 0, 0);
  padding: 5px 5px 15px 5px;
  background-color: #e6c0665c;
  border-bottom-color: #C8AE54;
  border-left-color: #FCF3CE;
  border-right-color: #C8AE54;
  border-top-color: #FCF3CE;
	}
	div.msg_container.me {
		float: right;
		width: 80%;
		background-color: #ffe9b65c;
	}
	div.msg_container.other, div.msg_container.fromsystem {
		float: left;
		width: 80%;
	}
	div.msg_container.system {
		font-style: italic;
		color: #444;
		padding: 15px 5px;
		margin: auto;
		background-color: transparent;
		border: transparent;
	}

