/* Paleta de colores #ff6d00 #6F1B55 */
        :root {
            --naranja: #ff5821;
            --bg-recibido: #f1f1f1;
            --font-recibido: #403D39;
            --radios-div-chat: 10px;
            --color-secundario: #8e9fab;
        }

        .imgLogoProyectoChat{
          aspect-ratio: 1 / 1;
          height: 2rem;
          border-radius: 50rem;
          object-position: center;
          object-fit: contain;
          margin-bottom: 0.5rem;
        }

        #headingNombreProyecto{
          font-size: 1.25rem!important;
          font-weight: 400!important;
          line-height: 1!important;
          text-transform: none!important;
          text-overflow: ellipsis;
          overflow: hidden;
          white-space: nowrap;
        }

        .iconosChat:hover, #imgChatOcultar:hover, #divIconoAbrirChat:hover, #btnIrHaciaAbajoChat:hover{
          cursor: pointer;
        }

        #iconoAbrirChat{
          font-size: 2rem;
          color: white;
        }

        #divIconoAbrirChat{
          display: flex;
          justify-content: center;
          align-items: center;
          background-color: var(--naranja);
          border-radius: 50rem;
          aspect-ratio: 1 / 1;
          width: 3.5rem;
        }



        /* Sección general */
        #seccion-chat {
            height: 100vh;
        }

        /* Sección inferior del chat */
        #footerChat {
            background-color: #f5f5f5;
            padding: 10px;
            border-top: 1px solid #e5e5e5;
            height: 60px;
        }

        .iconosChat {
            font-size: 23px;
            cursor: pointer;
            color: var(--naranja);
        }
        #inputMsgChat {
            border: 1.5px solid #e5e5e5;
            border-radius: 10px;
            font-size: 1.1em;
            padding-left: 5px;
        }
        #inputMsgChat:focus {
            outline-color: var(--naranja);
            caret-color: var(--naranja);
        }

        /* Sección de mensajes */
        /*#mensajesChat {
            height: calc(100vh - 60px);
            background: url('img/fondo_chat.jpg') no-repeat center center fixed;
        }*/
        .userChat {
            color: var(--naranja);
            font-size: 1.5rem;
        }
        .cardMensajeRecibido {
            color: var(--font-recibido);
            background-color: var(--bg-recibido);
            font-size: 1em;
            border-radius: 10px;
            width: fit-content;
        }
        .horaMensajeRecibido {
            font-size: .665em!important;
            color: var(--font-recibido)!important;
        }
        .nombreUsuario {
            color: var(--font-recibido);
            font-size: .665em;
            font-weight: bold;
        }
        .cardMensajeEnviado .nombreUsuario {
            color: rgb(255, 255, 255);
            font-size: .665em;
            font-weight: bold;
        }
        .cardMensajeEnviado {
            color: #fff;
            background-color: var(--color-secundario);
            font-size: 1em;
            border-radius: 10px;
            width: fit-content;
        }
        .horaMensajeEnviado {
            font-size: .665em!important;
            color: var(--font-recibido)!important;
            text-align: end!important;
        }


        /* Botones de ver y descargar imágenes (modal) */
        #linkDescargarImagen{
			color: #fff;
			background-color: #FF6600;
		}
		#linkDescargarImagen:hover{
			color: #fff;
			background-color: #FF6600;
		}
		#linkDescargarImagen:focus{
			color: #fff;
			background-color: #FF6600;
			box-shadow: 0 0 0 .25rem rgba(255, 102, 0, 0.25);
		}
		
		*,
*::before,
*::after {
  box-sizing: border-box;
}

/*--------------------
Chat
--------------------*/
.chatRV {
  position: relative;
  /*  top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);*/
  width: 100%;
  height: 100%;
  max-height: 500px;
  z-index: 10;
  overflow: hidden;
  /*box-shadow: 0 5px 30px rgba(0, 0, 0, .2);*/
  /* background: rgba(0, 0, 0, .5);*/
  background: #fff;
  border-radius: var(--radios-div-chat);
  -webkit-border-radius: var(--radios-div-chat);
  -moz-border-radius: var(--radios-div-chat);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

/*--------------------
Chat Title
--------------------*/
.chat-titleRV {
  flex: 0 1 45px;
  position: relative;
  z-index: 2;
  width: 100%;
  border-bottom: 1px solid #ccc;
  color: #777;
  padding-top: 50px;
  padding-bottom: 5px;
  background-color: #fff;
  text-transform: uppercase;
  text-align: center;
}
.chat-titleRV h1,
.chat-titleRV h2 {
  font-weight: normal;
  font-size: 14px;
  margin: 0;
  padding: 0;
}
.chat-titleRV h2 {
  /* color: rgba(255, 255, 255, .8);*/
  font-size: 11px;
  letter-spacing: 1px;
}
.chat-titleRV .avatarRV {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 9px;
  border-radius: 30px;
  width: 60px;
  height: 60px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid #fff;
}
.chat-titleRV .avatarRV img {
  width: 100%;
  height: auto;
}

/*--------------------
Messages
--------------------*/
.messagesRV {
  flex: 1 1 auto;
  /*  color: rgba(255, 255, 255, .5);
  color: #fff;*/
  overflow: hidden;
  position: relative;
  width: 100%;
}
.messagesRV .messages-contentRV {
  position: absolute;
  top: 0;
  left: 0;
  height: 101%;
  width: 100%;
}
.messagesRV .messageRV {
  clear: both;
  float: left;
  padding: 6px 10px 7px;
  border-radius: 20px 20px 20px 0;
  background: #eee;
  /*rgba(0, 0, 0, 0.1);*/
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.4;
  margin-left: 35px;
  position: relative;
  border: 1px solid #ccc;
  /*text-shadow: 0 1px 1px rgba(0, 0, 0, .2);*/
}
.messagesRV .messageRV .timestampRV {
  position: absolute;
  bottom: -15px;
  font-size: 10px;
  color: #555;
  right: 30px;
  /* color: rgba(255, 255, 255, .7);*/
}
.messagesRV .messageRV .checkmark-sent-deliveredRV {
  position: absolute;
  bottom: -15px;
  right: 10px;
  font-size: 12px;
  color: #999;
}
.messagesRV .messageRV .checkmark-readRV {
  color: blue;
  position: absolute;
  bottom: -15px;
  right: 16px;
  font-size: 12px;
}
.messagesRV .messageRV::before {
  /*  content: '';
	position: absolute;
	bottom: -6px;
	border-top: 6px solid rgba(0, 0, 0, 0.1);
	left: 0;
	border-right: 7px solid transparent;*/
}
.messagesRV .messageRV .avatarRV {
  position: absolute;
  z-index: 1;
  bottom: -15px;
  left: -35px;
  border-radius: 30px;
  width: 30px;
  height: 30px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.messagesRV .messageRV .avatarRV img {
  width: 100%;
  height: auto;
}
.messagesRV .messageRV.message-personalRV {
  float: right;
  text-align: right;
  /*      background: linear-gradient(120deg, #ddd, #eee);*/
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 20px 20px 0 20px;
}
.messagesRV .messageRV.message-personalRV::before {
	  /*
		  content:"";
	  border-color:#4A90E2 transparent;
		width:0;
		border-style:solid;*/
	 /*
	 left: auto;
	 right: 0;
	 border-right: none;
	border-left: 8px solid transparent;
	 border-top: 9px solid #fff;
	 
	 bottom: -8px;*/
}
.messagesRV .messageRV:last-child {
  margin-bottom: 30px;
}
.messagesRV .messageRV.newRV {
  -webkit-transform: scale(0);
		  transform: scale(0);
  -webkit-transform-origin: 0 0;
		  transform-origin: 0 0;
  -webkit-animation: bounce 500ms linear both;
		  animation: bounce 500ms linear both;
}
.messagesRV .messageRV.loadingRV::before {
  position: relative;
  /*  top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);*/
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  /*  background: rgba(255, 255, 255, .5);*/
  background: #888;
  z-index: 2;
  margin-top: 4px;
  -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
		  animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
  border: none;
  -webkit-animation-delay: .15s;
		  animation-delay: .15s;
}
.messagesRV .messageRV.loadingRV span {
  display: block;
  font-size: 0;
  width: 20px;
  height: 10px;
  position: relative;
}
.messagesRV .messageRV.loadingRV span::before {
  position: relative;
  /*  top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);*/
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  /*  background: rgba(255, 255, 255, .5);*/
  background: #888;
  z-index: 2;
  margin-top: 4px;
  -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
		  animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
  margin-left: -7px;
}
.messagesRV .messageRV.loadingRV span::after {
  position: relative;
  /*  top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);*/
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  /*  background: rgba(255, 255, 255, .5);*/
  background: #888;
  z-index: 2;
  margin-top: 4px;
  -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
		  animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
  margin-left: 7px;
  -webkit-animation-delay: .3s;
		  animation-delay: .3s;
}

/*--------------------
Message Box
--------------------*/
.message-boxRV {
  background: #fff;
  padding: 0px;
}
.message-boxRV .message-inputRV {
  background: none;
  border: none;
  outline: none !important;
  resize: none;
  /* color: rgba(255, 255, 255, .8);*/
  font-size: 15px;
  height: 24px;
  margin: 0;
  padding-right: 20px;
  width: 265px;
  color: #444;
}
.message-boxRV textarea:focus:-webkit-placeholder {
  color: transparent;
}
.message-boxRV .message-submitRV {
  position: absolute;
  z-index: 1;
  top: 9px;
  right: 10px;
  color: #4A90E2;
  border: none;
  /* background: #c29d5f;*/
  background: #fff;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 5px;
  outline: none !important;
  transition: background .2s ease;
  cursor: pointer;
}
.message-boxRV .message-submitRV:hover {
  background: #fff;
  color: #333;
}

/*--------------------
Custom Srollbar
--------------------*/
.mCSB_scrollToolsRV {
  margin: 1px -3px 1px 0;
  opacity: 0;
}

.mCSB_insideRV > .mCSB_containerRV {
  margin-right: 0px;
  padding: 0 10px;
}

.mCSB_scrollToolsRV .mCSB_draggerRV .mCSB_dragger_barRV {
  background-color: rgba(0, 0, 0, 0.5) !important;
}
@-webkit-keyframes ball {
  from {
	-webkit-transform: translateY(0) scaleY(0.8);
			transform: translateY(0) scaleY(0.8);
  }
  to {
	-webkit-transform: translateY(-10px);
			transform: translateY(-10px);
  }
}
@keyframes ball {
  from {
	-webkit-transform: translateY(0) scaleY(0.8);
			transform: translateY(0) scaleY(0.8);
  }
  to {
	-webkit-transform: translateY(-10px);
			transform: translateY(-10px);
  }
}
.avenue-messengerRV {
  opacity: 1;
  border-radius: var(--radios-div-chat);
  height: calc(100% - 60px) !important;
  max-height: 460px !important;
  min-height: 220px !important;
  width: 320px;
  /*  transform: translateY(0);
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
  */
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  right: 20px;
  bottom: 20px;
  margin: auto;
  z-index: 9999;
  box-shadow: 2px 10px 40px rgba(22, 20, 19, 0.4);
  /*  transform: translateX(300px);*/
  -webkit-transition: 0.3s all ease-out 0.1s, transform 0.2s ease-in;
  -moz-transition: 0.3s all ease-out 0.1s, transform 0.2s ease-in;
}

.avenue-messengerRV div.agent-faceRV {
  position: absolute;
  left: 0;
  top: -50px;
  right: 0;
  margin: auto;
  width: 101px;
  height: 50px;
  background: transparent;
  z-index: 12;
}

.avenue-messengerRV div {
  font-size: 14px;
  color: #232323;
}

.closeRV {
  display: block;
  width: 100px;
  height: 100px;
  margin: 1em auto;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 99em;
  opacity: 0.5;
  /*border: 1px solid #ccc;
  color:#ccc;*/
  /* -webkit-box-shadow: 0px -1px 2px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:    0px -1px 2px 0px rgba(0, 0, 0, 0.5);
  box-shadow:         0px -1px 2px 0px rgba(0, 0, 0, 0.5);*/
}

.closeRV:hover {
			  /*
-webkit-box-shadow:  0 1px 1px rgba(0,0,0,0.3);
-moz-box-shadow:  0 1px 1px rgba(0,0,0,0.3);
box-shadow: 0 1px 1px rgba(0,0,0,0.3);*/
  opacity: 0.9;
}

.circleRV {
  display: block;
  width: 80px;
  height: 80px;
  margin: 1em auto;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 99em;
  border: 2px solid #fff;
  /*#4A90E2;*/
 /* -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
  -moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
box-shadow: 0px 0px 10px rgba(0,0,0,.8);*/
}

.contact-iconRV .circleRV:hover {
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  transition: 0.2s all ease-out 0.2s;
  -webkit-transition: 0.2s all ease-out 0.2s;
  -moz-transition: 0.2s all ease-out 0.2s;
}

.arrow_boxRV:after {
  border-color: rgba(255, 255, 255, 0);
  border-left-color: #fff;
  border-width: 5px;
  margin-top: -5px;
}

.arrow_boxRV {
  position: relative;
  background: #fff;
  border: 1px solid #4A90E2;
}

.arrow_boxRV:after, .arrow_boxRV:before {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.menuRV div.itemsRV {
  /*  height: 140px;
	width: 180px;
	overflow: hidden;
	position: absolute;
	left: -130px;
	z-index: 2;
	top: 20px;*/
}

.menuRV .itemsRV span {
  color: #111;
  z-index: 12;
  font-size: 14px;
  text-align: center;
  position: absolute;
  right: 0;
  top: 40px;
  height: 126px;
  line-height: 40px;
  background: #fff;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  width: 48px;
  opacity: 0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  transition: .3s all ease-in-out;
  -webkit-transition: .3s all ease-in-out;
  -moz-transition: .3s all ease-in-out;
}

.menuRV .buttonRV {
  font-size: 30px;
  z-index: 12;
  text-align: right;
  color: #fff;
  content: "...";
  display: block;
  width: 48px;
  line-height: 25px;
  height: 40px;
  border-top-right-radius: 20px;
  /*  border-top-left-radius:20px;*/
  position: absolute;
  right: 0;
  padding-right: 10px;
  cursor: pointer;
  transition: .3s all ease-in-out;
  -webkit-transition: .3s all ease-in-out;
  -moz-transition: .3s all ease-in-out;
}

.menuRV .buttonRV.activeRV {
  background: #ccc;
}

/*
.menuRV .buttonRV:hover .menuRV .itemsRV span {
  display: block;
  left: -2px;
  opacity: 1;
}*/
.menuRV .itemsRV span.active {
  opacity: 1;
  /*border-radius:10px;
  height: 180px;
  width: 400px;
  transform:translateY(0);
  -webkit-transform:translateY(0);
  -moz-transform:translateY(0);*/
}

.menuRV .itemsRV a {
  color: #111;
  text-decoration: none;
}

.menuRV .itemsRV a:hover {
  color: #777;
}

.tagsRedesSociales, .tagsRedesSociales:hover, .tagsRedesSociales:focus{
  text-decoration: none;
  color: white;
  margin-left: 10px!important;
}
.tagsRedesSociales:first-child{
  margin-left: 0px!important;
}

.iconosRedesSociales{
  height: 3.5em;
}

@media only screen and (max-device-width: 667px), screen and (max-width: 450px) {
  .avenue-messengerRV {
	z-index: 2147483001 !important;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	border-radius: 0 !important;
	background: #fff;
  }

  .avenue-messengerRV div.agent-faceRV {
	top: -10px !important;
	/* left:initial !important;*/
  }

  .chatRV {
	border-radius: var(--radios-div-chat)!important;
	max-height: initial !important;
  }

  .chat-titleRV {
	padding: 20px 20px 15px 10px !important;
	text-align: left;
  }

  .circleRV {
	width: 80px;
	height: 80px;
	border: 1px solid #fff;
  }

  .menuRV .buttonRV {
	border-top-right-radius: 0;
  }
}
@media only screen and (min-device-width: 667px) {
  div.halfRV {
	margin: auto;
	width: 80px;
	height: 40px;
	background-color: #fff;
	border-top-left-radius: 60px;
	border-top-right-radius: 60px;
	border-bottom: 0;
	box-shadow: 1px 4px 20px rgba(22, 20, 19, 0.6);
	-webkit-box-shadow: 1px 4px 20px rgba(22, 20, 19, 0.6);
	-moz-box-shadow: 1px 4px 20px rgba(22, 20, 19, 0.6);
  }
}