@font-face {
    font-family: linjaLipamanka;
    src: url('./assets/fonts/linjalipamanka-normal.woff');
}

* {
    font-family: Arial, linjaLipamanka;
    box-sizing: border-box;
}

aside.listaConveres {
    background-color: antiquewhite;
    height: 100%;
    width: 20%;
    position:fixed;
}

aside.listaConveres div.converDisponible#uuid_de_conver {
    display: none;
}

aside.listaConveres div.converDisponible {
    padding: 10px;
    background-color: aquamarine;
    cursor: pointer;
}

aside.listaConveres div.converDisponible:hover {
    background-color: #00ffaa;
}

aside.listaConveres div.converConNuevoMensaje {
    background-image: linear-gradient(145deg, aquamarine, #ff4a4a);
}

aside.listaConveres div.converConNuevoMensaje:hover {
    background-image: linear-gradient(145deg, #00ffaa, #f73636);
}

aside.listaConveres div.converDisponible#agregar_conver {
    padding: 10px;
    background-color: rgb(127, 204, 255);
    cursor: pointer;
}

aside.listaConveres div.converDisponible#agregar_conver:hover {
    background-color: #00c8ff;
}

aside.listaConveres div.cuenta {
    bottom: 0px;
    position: absolute;
    width: calc(20vw);
    background-color: #7ffff2;
}

aside.listaConveres div.cuenta:hover {
    background-color: #00ffe1;
}

aside.listaConveres div.cuenta img {
    position: absolute;
}

aside.listaConveres div.cuenta span {
    left: 44.8px;
    position: relative;
}

main.areaConverPrincipal {
    left: 20%;
    width: 80%;
    position: fixed;
    height: 100%;
}

main.areaConverPrincipal div.mensajes {
    overflow-y: auto;
    overflow-x: clip;
    padding: 8px;
    /*padding-bottom: -36.8px;*/
    height: calc(100vh - var(--main-text-box-height));/*31.6px);*/
}

main.areaConverPrincipal div.mensajes div.mensaje {
    display: block;          /* Coloca imagen y texto en una fila */
    align-items: center;    /* Centra verticalmente la caja de texto con la imagen */
    gap: 8px;               /* Espacio entre imagen y texto */
    padding: 2px 0;
    border-radius: 10px;
}

main.areaConverPrincipal div.mensajes div.mensaje div.mensajePrincipal {
    display: flex;
}

main.areaConverPrincipal div.mensajes div.mensaje div.mensajePrincipal img.fotoDePerfilMensaje {
    width: 36.8px;
    height: 36.8px;
    flex-shrink: 0;         /* evita que la imagen se reduzca */
}

img.fotoDePerfilMensaje {
    border-radius: 50%;
}

/*main.areaConverPrincipal div.mensajes div.mensaje div.mensajeMedio {
    top: -40.8px;
    margin-bottom: -36.8px;
    left: 44.8px;
    position: relative;
}*/

main.areaConverPrincipal div.mensajes div.mensaje div.mensajeMedio {
    display: flex;
    flex-direction: column; /* Cada línea en su fila */
}

.noMostrar {
    display: none;
}

main.areaConverPrincipal div.enviarMensajes {
    position: fixed;
    bottom: 0px;
    padding: 4px;
    background-color: #3a3a3a;
    display: block;
    width: 80%;
}

main.areaConverPrincipal div.enviarMensajes input#msg[type="text"] {
    width: calc(80vw - 148px);
    font-size: 16px;
    padding: 2px;
    border-radius: 4px;
    border: none;
}

main.areaConverPrincipal div.enviarMensajes .btnEnviarMsg {
    height: 22.4px !important;
    /*width: 22.4px !important;
    padding: 0px;
    background-color: rgba(255, 255, 255, 0);
    border: none;*/
}

input[type="text"] {
    outline: none;
}

#msgAResp {
    color: white;
}

#msgARespImg {
    background-color: white;
}

#msgARespTxt {
    width: max-content;
}

#cerrarMsgAResp{
    right: 17px;
    position: absolute;
}

.respondiendoDiv {
    display: block;
}

.noRespondiendo {
    display: none !important;
}

/* Context Menu */
.context_menu {
    background-color: #443f3f;
    padding: 2px;
    border-radius: 10px;
}

.context_menu button {
    display: block;
    width: 100%;
    border-radius: 10px;
}

div.mensaje.menu_ctx_abierto {
    background-color: #888;
}

/* SSO */
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  user-select: none;
  appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 10px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

/* SPLASH SCREEN */
nav {
    background-color: antiquewhite;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0px;
    width: 100%;
}

.undernav {
    height: 38.4px;
    padding: 0;
    margin: 0;
}

nav a {
    background-color: #ffffff75;
    border-color: #00000000;
    border-radius: 15px;
    padding: 5px;
    height: 29.2px;
    cursor: pointer;
    color: #000;
    text-decoration: none;
    border-width: 1.600px;
    margin: 2px;
    font-size: small;
}

nav a img {
    height: 100%;
}

nav a.primary {
    background-color: #00ffe175;
}

nav a:hover {
    background-color: #00ffaa54;
}

nav div p {
    margin: 0;
}

.splash body {
    margin: 0;
}

.splash body main div.intro {
    background-color: #00ffe1;
    height: 400px;
    align-content: center;
    text-align: center;
    font-size: xx-large;
}

.splash body main div.intro h1 {
    font-family: cursive;
}

.service-name {
    font-family: cursive;
}