body,html {

  /*font-family: indieFlower;*/
  font-size: min(5vmin, 20px);
  margin: 0;
  padding: 0;
  border: none;
} 


.container {

  width: 100vw;
  height: 100vh;
  padding: 0;
  margin:0;
}


#dialogo {

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 5em);

  overflow-y: auto;
  margin: 0;
  padding: 0;

}

#userSpace {

  position: fixed;
  bottom: 0;
  left: 0;

  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-top: 1px dotted gray;
  font-size: 1.1rem;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;

  background-color: white;
}




#icebreakers {

  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;

}


.iceb {

  padding: 3px;
  cursor: pointer;

  margin: 4px 2px 2px 2px;
  border: 1px dotted lightgray;
  border-radius: 4px;
  background-color: #ede6e6;
  font-size: 0.9rem;
  text-wrap: nowrap;
}




#inputArea {

  width: 100%;
  padding: 0;
  margin:0;
  font-size: 1rem;
  border-radius: 0.5em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}


#inputField {

  flex: 1 0 auto;
  padding: 0.5em;
  font-family: inherit;
  font-size: 0.9rem;
  border-radius: 0.5em;
  max-width: calc( 100% - 8em );
  max-height: 40vh;
  overflow-y: auto;
}


#btMicrofono {

  flex: 0 1 auto;
  width: 2.5em;
  height: 2.5em;
  padding: 0.25em;
}

#btSend {

  flex: 0 1 auto;
  width: 2.5em;
  height: 2.5em;
  padding: 0.25em;
}


.abilitato {
  opacity: 1;
  cursor: pointer;
}


.disabilitato {

  opacity: 0.2;
  cursor: not-allowed;
}



.in_ascolto {

  border: 3px solid red;
  border-radius: 50%;
}


.audio_detected {

  transform: scale(1.2);
}


#icon {

  width: 30vmin;
  height: auto;
  float: left;
  border-radius: 50% 50%;
  background-position: 0 0;
  background-color: rgba(255 255 255);
  background-size: 100% 100%;

}


#bottoni_dialogo {

  width: auto;
  height: auto;
  top: 0;
  right: 0;
  margin: 4px;
  float: right;

  display: flex;
  flex-direction: column;

}



#bt_close {

  width: 2.5em;
  height: 2.5em;
  margin: 2px;

}





#bt_arrow {

  display: none;
  position: fixed;
  top: 0;
  right: calc(50vw - 1.5em);
  width: 2.5em;
  height: 2.5em;
  margin: 4px;
}

/*
#bt_dl_settings {
   
  width: 2.5em;
  height: 2.5em;
  margin: 2px;
}
*/


#bt_app_settings {

  flex: 0 1 auto;

  width: 2em;
  height: 2em;
  /*margin: 4px;
  position: absolute;
  right: 0.25rem;
  top: 0.2rem;*/
}



.frase {

  margin: 4px;
  padding: 4px;
  font-size: 0.8rem;
}


.user {
  font-weight: bold;
}


.loader {

  position: relative;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background-image: url(/fantachat/images/loader2.gif);
  background-position: 0 0;
  background-color: transparent;
  background-size: 100% 100%;
  opacity: 0.5;
}


/*----------------------------- stili del div editable di inputSet ------------------------*/

.editable {
  border: 1px solid #ccc;
  min-height: 100px;
  padding: 5px;
/*  color: grey; */
}

.editable.not-empty {
  color: black; /* Colore normale per il testo */
}

.evidenziato {

  background-color: orange;
}

/*------------------------ messaggio -----------------------*/



.dl_messaggio {


  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;

  width: 75vmin;

  font-size: 1.6rem;
  background-color: white;

  border: 0.3em solid lightgray;
}



.dl_messaggio .titolo {

  flex: 1 1 auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;

  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
}


.dl_messaggio .testo {

  flex: 2 1 auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;

  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}


.dl_messaggio .image {

  height: 30vmin;
  max-width: 95%;
  object-fit: contain;

  flex: 5 1 auto;

  margin: 0 auto;
  padding: 2%;

}

.dl_messaggio .bottoni {

  flex: 1 1 auto;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-content: center;
}


.dl_messaggio .bottone_no {

  font-size: 1rem;

  background-color: rgb(215, 215, 215);
  border-radius: 10px;
  padding: 0.6em;
  margin: 0.6em;
}


.dl_messaggio .bottone_si {

  font-size: 1rem;

  background-color: rgb(215, 215, 215);
  border-radius: 10px;
  padding: 0.6em;
  margin: 0.6em;
}



@font-face {
  font-family: indieFlower;
  src: url(/fantachat/fonts/IndieFlower-Regular.ttf);
  font-display: block;
  /* Fix flickering */
}



@font-face {
  font-family: openDyslexic;
  src: url(/fantachat/fonts/OpenDyslexic-Regular.otf);
  font-display: block;
  /* Fix flickering */
}