body{
    margin: 0px;
}

#chatRetail{
    right: 320px;
}

@media screen and (max-width: 480px) {
    #chatRetail{
        right: 0px;
    }
     .chat-ventana{
        width: 100vw;
        height: 100vh;
    } 
    .chat-ventana .chat-encabezado-boton{
        width: 56px;
        height: 56px;
    }
}


.chat-ventana{
    position: fixed;
    height: 80vh;
    bottom: 0px;
    right: 0px;
    left: auto;
    top: auto;
    z-index: 1050;
    border: 3px solid #F3F2F3;
    background-color:#F3F2F3;
    width: 570px;
	border-radius: 15px 15px 0 0;
	box-shadow: 0px 0px 9px #cecece;
}

.chat-ventana .chat-encabezado{
    background-color: #FFF;
    padding: 10px 20px;
    height: 7vh;
    /*border-bottom: 2.5px solid #44AE4C;*/
	border-bottom: 2.5px solid #575656;
	border-radius: 15px 15px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.chat-ventana .chat-titulo{
    color: rgb(76, 98, 223);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
    font: 16px/1 sans-serif;
    margin-top: 10px;
    font-weight: 600;
    float: left;
}

.webchat{
    height: 74vh;
}

.webchat>div{
    height: 70vh;
}

.webchat>div>div{
    background-color:#F3F2F3;
}

.webchat .css-7xorrq{
    background: url(https://s3-eu-west-1.amazonaws.com/flowxo-messenger/icons/dmf9b8);
    background-size: contain;
    text-indent: -500px;
    background-color:transparent !important;
    overflow: hidden;
}

.webchat .content > .row > .bubble{
    border: none;
    border-radius: 10px !important;
}



.webchat .content > .row > .bubble.from-user{
    background-color: rgb(76, 98, 223);
	
    color: rgb(255, 255, 255);
    border-radius: 20px !important;
}
.webchat .css-1r4fa22 ul li button{
    border-radius: 7px !important;
    border-color: rgb(76, 98, 223);
    color: rgb(76, 98, 223);
    background: transparent;
}

.webchat .main svg path{
    fill: rgb(76, 98, 223);
}

.chat-ventana .chat-encabezado-boton{
    background:  transparent;
    border: none;
    font-size: 2.5rem;
    font-family: montserratbold, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
    /*color: rgb(76, 98, 223);*/
	color: #44AE4C !important;
    z-index: 1051;
    cursor: pointer;
    float: right;
    margin-top: -35px;
	margin-right: -65px;
    font-weight: 700;
}

/* Icono de minimizar autocontenido: evita dependencias de fuentes, iconos externos y pseudo-elementos del portal. */
#chatWindow .btn-Minim {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #44AE4C !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    overflow: visible !important;
}

#chatWindow .btn-Minim::before,
#chatWindow .btn-Minim::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

#chatWindow .btn-Minim > .chat-minimize-icon {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    margin: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    pointer-events: none !important;
    fill: none !important;
    color: #44AE4C !important;
}

#chatWindow .btn-Minim > .chat-minimize-icon path {
    fill: none !important;
    stroke: currentColor !important;
}

/* Minimizado seguro: conserva #webchat y toda la conversacion en el DOM. */
#chatWindow.ss-chat-minimized #webchat {
    display: none !important;
}

#chatWindow.ss-chat-minimized {
    height: auto !important;
    min-height: 0 !important;
}

#chatWindow.ss-chat-minimized .btn-Minim > .chat-minimize-icon {
    transform: rotate(180deg) !important;
}

.chat-ventana #btn-Cerrar{
    margin-right: -20px;
}
.chat-ventana .chat-encabezado-imagen{
    height: 100%;
	float: left;
}



/*PERSONALIZACIÓN*/
.webchat__bubble__content{ border-radius: 10px 10px 10px 10px !important; background-color: white !important}

.webchat--css-vztzs-xdnm15{ border-radius: 0px 0px 0px 0px !important;}

.webchat__bubble--from-user .webchat__bubble__content{ background: #5577A0 !important; color: #FFFFFF !important;}
.webchat__bubble--from-user .webchat__bubble__content p{ color: #FFFFFF !important; padding:10px;}


.chat-ventana .chat-encabezado{
    position: relative;
}

.chatName{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: sans-serif !important;
    font-size: 2rem !important;
    color: #666;
    margin: 0 !important;
    white-space: nowrap;
}

.ac-pushButton{
	background: white !important;
	border-radius: 10px;
	color: #666 !important;
	border: 1px solid #CCC;
	cursor: pointer;
	}

.ac-pushButton div {white-space:pre-line !important}

.ac-pushButton:hover, .ac-pushButton:active, .ac-pushButton:focus {
	background: #E1F6E3 !important;
	color: #444 !important;
	
	}
/*Se incluye para eliminar los CSS quemados del sitio web que aplica las (X) en los Input*/
#supersalud-chat-launcher button,
#chatWindow button {
    background-image: none !important;
}
/*Fin seincluye para eliminar los CSS quemados del sitio web que aplica las (X) en los Input*/




/*FIN PERSONALIZACIÓN*/

@media screen and (min-width: 800px){
    .chat-ventana .chat-encabezado-boton{
        width: 24px;
        height: 24px;
        
    }
}

@media screen and (min-width: 481px) {
     /* .chat-ventana{
        width: 306px;
    }  */
    .chat-ventana .chat-encabezado-boton{
        width: 32px;
        height: 32px;
    }
}

@media screen and (max-width: 480px) {
    .chat-ventana{
        width: 100vw;
        height: 100vh;
    }
    .chat-ventana .chat-encabezado-boton{
        width: 56px;
        height: 56px;
    }
}

.live-toast-btn {
    display: flex;
    position: fixed;
    bottom: 10px;
    right: 20px;
    width: 270px;
    height: 78px;
    background-color: #004884 !important;
    border: none;
    border-radius: 20px 20px 0px 20px;
    box-shadow: 1px 1px 10px 2px rgba(66, 66, 66, 0.2);
    text-align: left;
    padding: 0px;
	color: #FFF;
	cursor: pointer;
	z-index: 1000;
	transition-duration: 0.3s;
	font-family: arial;
	
}

.live-toast-btn:hover, .live-toast-btn:focus {
    background-color: #E6EFFD !important;
	color: #004884;
	transition-duration: 0.3s;
}


.live-toast-btn img {
    height: 60px;
    top: 7px;
	left: 5px;
    position: relative;
    padding-right: 9px;
}

.chat-btn-text {
    left: 2px;
	padding-top: 7%;
	font-size: 13px;
}

.btn-link {
    color: #EB5D30 !important;
}

/* ===========================
   DISEÑO RESPONSIVO CHATBOT
   =========================== */

/* Tablets */
@media screen and (max-width: 768px) {

    .chat-ventana {
        width: 95vw;
        height: 85vh;
        right: 10px;
        bottom: 0;
    }

    .webchat {
        height: calc(85vh - 60px);
    }

    .chatName {
        font-size: 1.4rem !important;
    }

    .live-toast-btn {
        width: 240px;
        height: 70px;
    }
}

/* Celulares */
@media screen and (max-width: 480px) {

    .chat-ventana {
        width: 100vw;
        height: 100vh;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        border-radius: 0;
        border: none;
    }

    .chat-ventana .chat-encabezado {
        height: 60px;
        padding: 10px;
    }

    .chatName {
        font-size: 1.1rem !important;
        max-width: 70%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .webchat {
        height: calc(100vh - 60px);
    }

    .webchat > div {
        height: calc(100vh - 60px);
    }

    .live-toast-btn {
        width: calc(100vw - 20px);
        right: 10px;
        left: 10px;
        bottom: 10px;
    }

    .chat-btn-text {
        font-size: 12px;
    }

    .webchat__bubble {
        max-width: 95%;
    }
}
