div.chat_row_P:nth-child(even) { 
    background-color:#27211D; 
    border-radius:8px; 
    color:#a7a7a7;
}
div.chat_row_P:nth-child(odd) { 
    background-color:#302d2b; 
    border-radius:8px; 
    color:#bfbfbf;
}

div.chat_row_P {
    margin-top: 5px;
    padding:10px;
    text-align:justify;
}
div.chat_row_P span.color2 {
    margin-top: 5px;
    color: #e1a523;
    font-weight: bolder;
}
div.chat_row_P span.color3 {
    margin-top: 5px;
    color: #f5853f;
    font-weight: bolder;
}
div.chat_row_P span.color4 {
    margin-top: 5px;
    color: #ffcdbc;
    font-weight: bolder;
}
div.chat_row_P span.color5 {
    margin-top: 5px;
    color: #fff;
    font-weight: bolder;
}

td.comandi span.color2 {
    margin-top: 5px;
    color: #e1a523;
    font-weight: bolder;
}
td.comandi span.color3 {
    margin-top: 5px;
    color: #f5853f;
    font-weight: bolder;
}
td.comandi span.color4 {
    margin-top: 5px;
    color: #ffcdbc;
    font-weight: bolder;
}


.chat_row_A {
  position: relative;
  width: 100%;
  margin-top: 5px;
  padding: 40px 15px 15px;
  border-width: 2px;
  background-color: #151515;
  border-radius: 8px;
  text-align: justify;
  color: #cecece;
  font-family: sans-serif;
  box-sizing: border-box;
  overflow:hidden;
}
.chat_row_A::before {
  content: "Messaggio Off";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: left;
  font-weight: bold;
  color: #787878;
  padding: 4px 10px;
  background: linear-gradient(
    to right,
    #c45252,
    transparent
  );
  font-size: 14px;
  color:#fff;
}
div.chat_row_A span.color2 {
    margin-top: 3px;
    color: #e1a523;
    font-weight: bolder;
}
div.chat_row_A span.color3 {
    margin-top: 5px;
    color: #f5853f;
    font-weight: bolder;
}
div.chat_row_A span.color4 {
    margin-top: 5px;
    color: #ffcdbc;
    font-weight: bolder;
}
div.chat_row_A span.color5 {
    margin-top: 5px;
    color: #fff;
    font-weight: bolder;
}

.chat_row_M {
  position: relative;
  width: 100%;
  margin-top: 5px;
  padding: 15px;
  border-width: 2px;
  border-style: solid;
  border-color: #e1a523;
  background-color: #151515;
  border-radius: 8px;
  text-align: justify;
  color: #787878;
  font-family: sans-serif;
  box-sizing: border-box;
}
.chat_row_M::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #e1a523;
  padding: 4px 0;
  background: linear-gradient(
    to right,
    transparent,
    #e1a523,
    transparent
  );
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  font-size: 14px;
}
div.chat_row_M span.color2 {
    margin-top: 3px;
    color: #e1a523;
    font-weight: bolder;
}
div.chat_row_M span.color3 {
    margin-top: 5px;
    color: #f5853f;
    font-weight: bolder;
}
div.chat_row_M span.color4 {
    margin-top: 5px;
    color: #ffcdbc;
    font-weight: bolder;
}
div.chat_row_M span.color5 {
    margin-top: 5px;
    color: #fff;
    font-weight: bolder;
}

span.chat_name { 
  color: #e1a523;
  font-family:"lorimer-no-2", sans-serif !important;
}

.chat_row_S {
  position: relative;
  width: 100%;
  margin-top: 5px;
  padding: 40px 15px 15px;
  background-color: #302d2b;
  border: 1px solid #e1a523;
  border-radius: 8px;
  color: #e1a523;
  font-family: sans-serif;
  box-sizing: border-box;
  overflow:hidden;
}
.chat_row_S::before {
  content: "Sussurro";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: left;
  font-weight: bold;
  color: #e1a523;
  padding: 4px 10px;
  background: linear-gradient(
    to right,
    #4a3f36,
    #302d2b 70%
  );
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  font-size: 14px;
}

.chat_row_C {
  position: relative;
  width: 100%;
  margin-top: 5px;
  padding: 40px 15px 15px;
  border: 1px solid #e1a523;
  border-radius: 8px;
  background: #fff7d6;
  color: #5a3d00;
  font-family: sans-serif;
  box-sizing: border-box;
}
.chat_row_C::before {
  content: "Dado";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #5a3d00;
  padding: 4px 0;
  background: linear-gradient(
    to right,
    transparent,
    #e1a523,
    transparent
  );
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  font-size: 14px;
}

div.chat_row_P a, div.chat_row_P a:visited {
    color:#e1a523;
}
div.chat_row_P a:hover {
    color:#a7a7a7;
}

div.chat_row_M a, div.chat_row_M a:visited {
    color:#e1a523;
}
div.chat_row_M a:hover {
    color:#a7a7a7;
}

div.chat_row_A a, div.chat_row_A a:visited {
    color:#e1a523;
}
div.chat_row_A a:hover {
    color:#a7a7a7;
}