/****************************************************************************/
/* STILE DELLA CHAT E DEI PANNELLI */

/* HELP: Da qui è possibile modificare:
- I font ed i colori della chat
- Le dimensioni e la posizione della chat
- Lo sfondo della chat*/
.main_body.chat { overflow-y: hidden; }
iframe.iframe_chat {
  border: none;
  width: 1px;
  height: 1px;
  margin: 0px;
}



div.chat_window {
  text-align: center;
}

div.pagina_frame_chat {
  height: 98%;
  background-image: url(./imgs/bg-td.png);
  border-radius: 10px;
  overflow: auto;
}

div.pagina_frame_chat .page_body{
  height: 100%;
  border: 1px solid transparent;/* this is a fix to make margin-top in chat_box effective */
  box-sizing: border-box;
}

/**	* Fix per layout elastico
	* @author Blancks
*/
div.chat_box {
  height: calc(100% - 120px);
  padding: 10px 10px 0 15px;
  margin: 15px 5px auto auto;
  overflow: auto;
  font-size: 16px;
  text-align: justify;
  line-height:13px;
  font-family: verdana, sans-serif;
  box-sizing: border-box;
}
div.chat_box.has_status { height: calc(100% - 160px); }
div.no_chat {
  display: none;
}

div.pagina_frame_chat div.page_body div.panels_box {
  margin-top: 10px;
  height: 86px;
  overflow: auto;
  box-sizing: border-box;
}

div.pagina_frame_chat div.page_body div.panels_box div.form_chat {
    margin: 0 auto;
    width: 100%;
    overflow-y: hidden;
}

@media (min-width: 992px) {
  div.chat_box{
    height: calc(100% - 254px);
  }
  div.pagina_frame_chat div.page_body div.panels_box {
    height: 250px;
  }
}
@media (min-width: 1200px) {
  div.chat_box{
    height: calc(100% - 176px);
  }
  div.pagina_frame_chat div.page_body div.panels_box {
    height: 152px;
    overflow-y: hidden;
  }
}
@media (min-width: 1440px) {
  div.chat_box{
    height: calc(100% - 105px);
  }
  div.pagina_frame_chat div.page_body div.panels_box {
    height: 81px;
  }
}
/**	* Fine fix */

/** * Avatar di chat
	* @author Blancks
*/
img.chat_avatar {
  margin: 8px;
  display: block;
  float: left;
  position: relative;
  border-radius:55px;
  border:2px solid #715E2f;
}

/***** testo della chat *****/

/* Tipi messaggio: (A azione, P parlato, N PNG, M Master, I Immagine, S sussurro, D dado, C skill check, O uso oggetto) */

div.chat_row_A {
  margin-bottom: 7px;
  position: relative;
}
div.chat_row_A .icona_sesso { cursor: pointer; }
.info_personaggio {
  position: absolute;
  background: black;
  z-index: 1;
  width: 420px;
  height: 400px;
  padding: 10px;
    border: 1px solid #444;
font-family: "Playfair Display";
    font-size: 13px;
}
.info_personaggio .info_chiudi {
  top: 5px;
  right: 5px;
  cursor: pointer;
  position: absolute;
font-size: 20px;
    font-weight: bold;
}
.info_personaggio .info_base {
  float: left;
  width: 50%;
  border-right:1px solid #322e2e;
  position: relative;
}
.info_personaggio .info_base .info_chat_avatar {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid;
}
.info_personaggio .info_base .info_nome {
  margin-left: 64px;float: left;
  text-transform: uppercase;
  color: #9c9b9b;
    background-image: url(https://i.imgur.com/Gc2HDhN.png);
}
.info_personaggio .info_base .info_gilda { margin-left: 64px; color: #5f5f5f;
    float: left;}
.info_personaggio .info_base .info_salute {
height: 20px;
width: 94%;
border: 1px solid #6a6a69;
margin-top: 30px;
}
.info_personaggio .info_base .info_salute .salute_residua {
  background: #383b20;
  height: 100%;
  text-align: center;
    color: #ccc6c6;
}
p {
    height: 5px;
}
.info_personaggio .info_stats {
  float: left;
  padding-left: 30px;
}
.info_personaggio .info_stats .stats_label { 
color: #5f5f5f;
font-family:Tahoma;
}
.info_personaggio .info_stats .stats_valore {    
color: #9c9b9b;
}
.info_personaggio .clearfix { clear: both; }
.info_personaggio .info_abilita {
  float: left;
  width: 50%;
  height: 242px;
  overflow-y: auto;

}
.info_personaggio .info_abilita h3 {
    background-image: url(https://i.imgur.com/Gc2HDhN.png);
    text-align: center;
    text-transform: uppercase;
    color:#948b87;
margin-bottom:-5px;
    margin-top: 17px;
font-size:10px;
font-family: tahoma;
font-weight: normal;
}

.info_personaggio .info_abilita p {
    height: 5px;
    color: #5f5f5f;
    font-family: Tahoma;}
.info_personaggio .info_esperienza {
  margin-left: 262px;
    margin-right: 68px;
    text-align: center;
    border-radius: 200px;
    border: 2px solid;
    font-size: 20px;
    padding: 20px;
    background: #0f0f0f;
}
.info_personaggio .info_esperienza .label_esperienza {}
.info_personaggio .info_esperienza .valore_esperienza {color: #9c9b9b;}

div.chat_row_A span.color2 {
  margin-top: 3px;
  color: #575c31;
}

div.chat_row_P {
  margin-top: 3px;
}

div.chat_row_P span.color2 {
  margin-top: 3px;
  color:  #849576;
}

span.color1{
  color: #b2a790;
} 

span.color3{
  color: #d0b36c;
}

div.chat_row_N {
  margin-bottom: 7px;
}

div.chat_row_M {
  margin-bottom: 7px;
  text-align: justify;
  font-size: 12px;
  padding: 8px;
  background-image: url('imgs/bg-td2.png');
}

div.chat_row_M span.color2, div.chat_row_M span.chat_time_master {
  margin-top: 3px;
  color: #7b6d50;
  font-weight: bold;
  font-family: tahoma;
}

div.chat_row_MP {
  margin-bottom: 7px;
  text-align: justify;
  font-size: 12px;
  padding: 8px;
  background-image: url('imgs/bg-td2.png');
}

div.chat_row_MP span.color2, div.chat_row_MP span.chat_time_master {
  margin-top: 3px;
  color: #575c31;
  font-weight: bold;
  font-family: tahoma;
}

div.chat_row_Y {
  margin-bottom: 7px;
  text-align: justify;
  font-size: 12px;
  padding: 5px;
  background-image: url('imgs/bg-td2.png');

}

div.chat_row_Y span.color2,div.chat_row_Y span.chat_time_mod {
  margin-top: 3px;
  color: #9f1b1b;
  font-weight: bold;
  font-family: tahoma;
}

div.chat_row_Y span.chat_time_mod

div.chat_row_N {
  margin-top: 3px;
  text-align: justify;
}

div.chat_row_N span.color2 {
  color:  #575c31;
}

div.chat_row_I {
  margin-top: 3px;
  text-align: center;
  max-height:300px;
}

div.chat_row_S,
div.chat_row_SD {
  margin-bottom: 7px;
  font-style: italic;
  min-height:10px;
  padding:5px;
  background-image: url('imgs/bg-td2.png');
}

div.chat_row_D {

    margin-bottom: 7px;
    text-align: justify;
    padding: 2px;
}

div.chat_row_C {
  margin-bottom:7px;
  text-align: justify;
  padding: 2px;
}

div.chat_row_O {
  margin-top: 3px;
}

div.chat_row_OF{
  background-color:black;
}

span.chat_time {
  font-size: 10px;
  font-weight: bolder;
  margin-right: 3px;
  color: #8a8275;
}


span.chat_name {
  font-weight: normal;
  font-size: 12px;
  text-transform: uppercase;
  color: #cabdaf;
}

span.chat_tag {
  color: #7b6d50;
  font-size: 12px;
  text-transform: none;
}

span.chat_tag_oggetti {
  color: #7b6d50;
  font-size: 12px;
  text-transform: none;
}

span.chat_msg {
  color: #818181;
  font-size: 12px;
  text-align: center;
}
span.chat_msg_dado {
  color: #756d6a;
  font-size: 12px;
  text-align: center;
}
div.text_size-1 span.chat_msg,
div.text_size-1 span.chat_tag,
div.text_size-1 span.chat_name,
div.text_size-1 span.chat_msg_dado,
div.text_size-1 span.chat_tag_oggetti { font-size: 14px; }
div.text_size-1 span.chat_time { font-size: 12px; }
div.text_size-2 span.chat_msg,
div.text_size-2 span.chat_tag,
div.text_size-2 span.chat_name,
div.text_size-2 span.chat_msg_dado,
div.text_size-2 span.chat_tag_oggetti {
  font-size: 16px;
  line-height: 20px;
}
div.text_size-2 span.chat_time {
  font-size: 14px;
  line-height: 20px;
}
div.text_size-3 span.chat_msg,
div.text_size-3 span.chat_tag,
div.text_size-3 span.chat_name,
div.text_size-3 span.chat_msg_dado,
div.text_size-3 span.chat_tag_oggetti {
  font-size: 18px;
  line-height: 20px;
}
div.text_size-3 span.chat_time {
  font-size: 16px;
  line-height: 20px;
}

span.chat_msg_dado span {
  color: #7b6d50 !important;
}

span.chat_master {
  text-align: center;
  
}

a:visited {

  color: #756d6a ;
  text-decoration: none;

}

a:hover {
color: #9a9781;}

/***** form inserimento *****/

div.form_row {
  clear: both;
}
#js-chatDamageDice,
#js-disableChatDamageDice {
  position: relative;
  top: -10px;
  margin: 5px 0 15px;
  width: auto;
  font-size: 9px;
  color: #8a8275;
  background-color: #090909;
  border: 1px dotted #2B2B2B;
  height: 11px;
  padding: 0 6px;
  display: inline-block;
  line-height: 12px;
}
#js-chatConoscenzeDice,
#js-disableChatConoscenzeDice {
  position: relative;
  top: -10px;
  margin: 5px 0 15px;
  width: auto;
  font-size: 9px;
  color: #8a8275;
  background-color: #090909;
  border: 1px dotted #2B2B2B;
  height: 11px;
  padding: 0 6px;
  display: inline-block;
  line-height: 12px;
}
#js-chatOggettiDice,
#js-disableChatOggettiDice {
  position: relative;
  top: -10px;
  margin: 5px 0 15px;
  width: auto;
  font-size: 9px;
  color: #8a8275;
  background-color: #090909;
  border: 1px dotted #2B2B2B;
  height: 11px;
  padding: 0 6px;
  display: inline-block;
  line-height: 12px;
}
div.casella_chat {
  display: inline-block;
  margin-bottom: 6px;
  vertical-align: middle;
}

#chat_form_actions, #reset_form{
  display: inline-block;
}

/*Casella Tag*/
input#tag {
  width: 90px;
}

/*Casella Messaggio*/
input#message {
  width: 280px;
}

span#contatore {
  color: #cabdaf;
}

span.testo_contatore {
  color: #8a8275;
}


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