
/* le tout incluant contenu et bouton d'ouverture de la fenetre */
#chat_window{
    z-index: 1000;
    position: fixed;   
    bottom:0;
    right: 0; 
    margin-right: 4em;
   
}

/* #chat_window ul{
    list-style-type: none;

} */

/* bouton d'ouverture de l'app */
#chat_button_start{
   

    border-top-left-radius: 4em;
    position: fixed;
    bottom: 0em;
    right: 0;
    width: 4em;
    height: 4em;
    background-color: rgba(217, 217, 217,0.8);
    /* border: 1px solid lightgray; */
    padding: 10px;
    color: #2e4278;
    float: right;
    
 
}

.chat_pastille{
    padding: 0em 1em 0em 0em;
    font-size: 0.6em;
    margin:  0em 0.5em 0.5em 0em;
    text-align: center;
    float: right;
    clear:both;
    width: 3em;
    height: 3em;
    border-radius:1.5em;
    writing-mode: vertical-rl;
text-orientation: upright;      
}

#chat_content{
    background-color: rgba(217, 217, 217,0.4);
    border: 1px solid lightgray;
    padding: 10px;
    float:right;
    border-radius: 10px;
    width: 80vw;
}



/*  colonne de gauche */
#chat_people_list{
    max-height: 400px;
    overflow-y: scroll;
    padding: 0;
    width: 100%;
    margin-top: 9px;
    border-radius: 10px 0px 10px 0px;
}

#chat_people_list .chat_people_list_item{
    min-height: 3em;
    padding: 1em 0 1em 0;
    width: 100%;
    margin-bottom: 2px;
}
/* 
.chat_people_list_item[color = 'yellow']{
    background-color: yellow;
    color: darkslategray;
}
.chat_people_list_item[color = 'red']{
    background-color: red;
}
.chat_people_list_item[color = 'blue']{
    background-color: blue;
    color: white;
}
.chat_people_list_item[color = 'cyan']{
    background-color: cyan;
    color: darkslategray;
}
.chat_people_list_item[color = 'orange']{
    background-color: orange;
    color: darkslategray;
}
.chat_people_list_item[color = 'purple']{
    background-color: purple;
    color: white;
}
.chat_people_list_item[color = 'pink']{
    background-color: pink;
    color: darkslategray;
} */

.chat_selected{
    border-style: solid;
    border-color: white;
    box-shadow: -1px 1px 1px #555555;
    border-left: 0px;
    border-top: 0px;
    border-bottom: 0px;
}

.new_chat_number{
    float: right;
    /* font-size: 0.5em; */
    background-color: white;
    color: darkgray;
    height: 2em;
    width: 2em;
    text-align: center;
    border-radius: 1em;
    margin-right: 1em;
    /* padding: 0.5em; */
}
.new_chat_number:empty{
    display: none;
}


/* colonne de droite */



#chat_window .chat_message  {
    text-align: center;
    /* vertical-align: middle; */
    clear: both;
    min-height: 3em;
    padding: 1rem;
    min-width: 60%;
    margin-bottom: 5px;

 
}

.chat_message{
    width: 100%;
    overflow-wrap: break-word;
}

.chat_message_text--emoji{
    display: block;
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: 0;
}







.chat_incoming_message{
 
    /* background-color: red; */
    float:left;
    border-radius: 0px 20px 20px 20px;
 


}

.chat_outgoing_message{
    /* background-color: lightgreen; */
    float: right;
    border-radius: 20px 20px 0px 20px;
 
  
}


#chat_message_roll_window{
        height: 300px;
        /* width: 521px; */
       
        overflow-y: scroll;
        z-index:3;
        font-size:15px;
        color:#555555;
        /* font-family:"Lato"; */
        padding-right:0px;
        margin-left:0%;
        margin-right:0%;
        margin-top:9px;
        margin-top:9px;
        margin-bottom:8px;
        border-style:solid;
        border-width:1px;
        border-color:lightgray;
        border-radius:0px 10px 0px 10px;
        -moz-border-radius:10px;
        ;
        text-align:left;
        fixed:0;
        textAlpha:1.000000;
        indentFlag:0;
        text-indent:0px;
        shapeFlag:0;
        groupNumber:-99;
        tableNumber:-99;
        tableRowSpot:-99;
        tableColumnSpot:-99;
        templateName:(null);
        manualLayerIndex:0;
        linkType:;
        shapeBackgroundColor:CLEAR0;
        nlines:7;
        snippetFormattingFlag:1;
        line-height:1.250000 !important;
    }
 .chat_message_timestamp{
        clear: both;
    } 

.chat_message_warning{
font-style: italic;
color: gray;
width: 100%;
}
.chat_message_charNum{
color: rgb(2, 2, 255);
}

#chat_message_form{
    margin-right: 10px;
}




.spinner{
    display:none;
    width: 30px;
}


@-webkit-keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: spinner-border 0.75s linear infinite;
          animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
}

@-webkit-keyframes spinner-grow {
  0% {
    transform: scale(0);
  }

  50% {
    opacity: 1;
  }
}

@keyframes spinner-grow {
  0% {
    transform: scale(0);
  }

  50% {
    opacity: 1;
  }
}

.spinner-grow {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0;
  -webkit-animation: spinner-grow 0.75s linear infinite;
          animation: spinner-grow 0.75s linear infinite;
}

.spinner-grow-sm {
  width: 1rem;
  height: 1rem;
}
