/*CHAT BOT ATENCION AL CLIENTE*/
@media screen and (max-width: 768px) {
.cierrate{
    display: none;

}
}

/*@media screen and (min-width: 768px) {
.cierrate{
    display: none;

}
}*/

/*FIN CHAT BOT ATENCION AL CLIENTE*/


#chat-circle {
  position: fixed;
  bottom: 50px;
  right: 50px;
  background: #fff;
  width: 80px;
  height: 80px;  
  border-radius: 50%;
  color: white;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.6), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  z-index: 7;
}

.btn#my-btn {
     background: white;
    padding-top: 13px;
    padding-bottom: 12px;
    border-radius: 45px;
    padding-right: 40px;
    padding-left: 40px;
    color: #5865C3;
}
#chat-overlay {
    background: rgba(255,255,255,0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: none;
}

.boton {
border-radius: 5px;
    margin: 5px;
    min-width: 100px;
    background-color: rgb(241, 240, 240);
    color: #000000;
    text-align: center;
    border: none;
    width: 99%;
    border: .75px solid rgba(0, 0, 0, .10);
    overflow: hidden;
    font-family: monospace;
    display: inline-block;
    font-size: 13px;
    padding: 5px;
    margin-bottom: 0px;
}
.chat-box {
  display:none;
  background: #fff;
  position:fixed;
  right:10px;
  bottom:10px;  
  width:400px;
  max-width: 85vw;
  max-height:100vh;
  border-radius:5px;  
  box-shadow: -1px 2px 35px 9px #cccccc63;
  z-index: 99;
}
.chat-box-toggle {
  float:right;
  margin-right:15px;
  cursor:pointer;
  color: white;
}
.chat-box-header {
  
  border-top-left-radius:5px;
  border-top-right-radius:5px; 
  color:e41f2b;
  text-align:center;
  background: #030f27;
  height: 35px;
  line-height: 30px;
  display: flex;
  justify-content: space-between;
  padding: 5px 0px 5px 20px;
  font-family: "Varela Round", sans-serif;
  cursor: pointer;
  font-size: 1em;
  box-sizing: content-box;
    box-shadow: 0 4px 12px 0 rgb(0 0 0 / 48%);
}
.chat-box-body {
  position: relative;  
  height:370px;  
  height:auto;
  overflow: hidden;
}


input#chat-input {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    font-size: 16px;
    outline: none;
    padding: 16px 52px 16px 10px;
    width: 100%;
    font-family: monospace;
    background: #ffffff;
}
#chat-input {
position: relative;
    height: 47px;
}
.chat-input > form {
    margin-bottom: 0;
}
#chat-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #b3b3b3;
  font-size: 1.2rem;
}
#chat-input::-moz-placeholder { /* Firefox 19+ */
  color: #dd290f;
}
#chat-input:-ms-input-placeholder { /* IE 10+ */
  color: #000;
}
#chat-input:-moz-placeholder { /* Firefox 18- */
  color: #000;
}
.chat-submit {  
  position:absolute;
  bottom:30px;
  right:10px;
  background: transparent;
  box-shadow:none;
  border:none;
  border-radius:50%;
  color:#030f27;
  width:35px;
  height:35px;  
}
.chat-logs {
  padding:10px; 
  height:370px;
  overflow-y:scroll;
}

.chat-logs::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.chat-logs::-webkit-scrollbar
{
	width: 5px;  
	background-color: #F5F5F5;
}

.chat-logs::-webkit-scrollbar-thumb
{
	background-color: #030f27;
}



@media only screen and (max-width: 500px) {
   .chat-logs {
        height:40vh;
    }
}

.chat-msg.user > .msg-avatar img {
    height: 50px;
    border-radius: 50%;
    float: left;
    width: 14%;
    margin-top: 15px;
}
.chat-msg.self > .msg-avatar img {
  width:45px;
  height:45px;
  border-radius:50%;
  float:right;
  width:12%;
}
.cm-msg-text {
    padding: 10px 8px 2px 10px;
    max-width: 80%;
    float: left;
    position: relative;
    border-radius: 20px;
    color: #252525;
    font-size: 0.75em;
    z-index: 9999999999;
}
.status {
    color: #FFFFFF;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 0px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.status:before {
    display: inline-block;
    content: "";
    vertical-align: middle;
    margin-right: 5px;
    width: 7px;
    height: 7px;
    background-color: #00ff0e;
    border-radius: 100%;
    margin-top: -2px;
    
    opacity: 0.5;
}
label.usuario {
    font-size: 13px;
}
label.asesor {
    line-height: 1.2em;
    animation: Lmuha .3s ease forwards;
    background: rgb(241, 240, 240);
    border-radius: 0px 18px 18px 18px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 15%);
    color: #000000;
    display: inline-block;
    font-size: 13px;
    padding: 12px;
}
.chat-msg {
  clear:both;    
}
.chat-msg.self > .cm-msg-text {  
     float: right;
    margin-right: 10px;
    color: white;
    background: #d6a308;
    line-height: 1.2em;
    animation: Lmuha .3s ease forwards;
    border-radius: 18px 0px 18px 18px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 15%);
    display: inline-block;
    font-size: 14px;
    padding: 12px;
}

.condiciones {
    padding-top: 10px;
}

.copyright-chat{
    color: #000000;
    border-top: 1px solid #CCC;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
    font-family: monospace;
    margin-bottom: 0rem;
}



audio:not([controls]) {
  display: none;
  height: 0; }



img {
  border-style: none; }


fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; 
    border-top: 1px solid #eee;
}


[tabindex="-1"]:focus {
  outline: none !important; }

p {
  margin-top: 0;
  margin-bottom: 1rem; }

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto; }

figure {
  margin: 0 0 1rem; }

img {
  vertical-align: middle; }

[role="button"] {
  cursor: pointer; }

label {
  display: inline-block;
  margin-bottom: .5rem; }


input,
button,
select,
textarea {
  margin: 0;
  line-height: inherit;
  border-radius: 0; }

input[type="radio"]:disabled,
input[type="checkbox"]:disabled {
  cursor: not-allowed; }

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  -webkit-appearance: listbox; }

textarea {
  resize: vertical; }

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0; border-top: 1px solid #eee;}


label {
  font-size: 1.125rem;
  font-weight: 500;
}

.select + label {
  margin-top: 2rem;
}

  #bienvenida1{
    display: block;
  }
  #tiempo{display: none;}
  .aguaresidual{display: none;}
  .aguapotable{display: none;}
  .tanque{display: none;}
  .ultravioleta{display: none;}
  .mantenimiento{display: none;}
  .otrosequipos{display: none;}
  .contacto{display: none;}

    
    .typing {
    color: #aaa;
    margin: 0 0 6px 2px;
    margin-left: 10px;
    padding-bottom: 0.5em;
    font-size: 12px;
    display: none;
    font-family: monospace;
    }
    input[type="text"]:disabled {
background: #ccc;
}

#testAudio{
display: none
}


button:active {
    border: .75px solid #f3f;

}

 
@media screen and (max-width: 767px) {  
 div#body {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999999;
}
    #chat-circle {
    width: 80px;
    height: 80px;
    right: 20px;
    bottom: 50px;
}
    body{margin: 0px;}
    .chat-box {position: initial;
    right: 10px;
    bottom: 30px;
    width: 100%;
    border-radius: 0px;
    max-width: 100%;}
    #chatheader{font-size: 3em;
    height: 2em;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;}
   
    .status {font-size: 0.9em;  line-height: 1.8em;}  
    .chat-msg.user > .msg-avatar img{height: 17%;width: 17%;}
    label.asesor{font-size: 1.5em;
    padding: 20px;}
    .chat-logs {      padding: 10px;
    margin-top: 10px;
    height: 60vh;
    padding-top: 20px;
    margin-bottom: 10px;}
    p.copyright-chat {font-size: 1.5em;}
    #chat-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
      font-size: 1.5rem;
    }
        
.status:before {
    width: 20px;
    height: 20px;
    margin-right: 20px;
}
    .cm-msg-text {margin-bottom: 20px;}
    
    input#chat-input{width: 80%;
    height: 80px;
    font-size: 2.5em;
    padding-right: 0px;}
    #chat-input{font-size: 1.9rem;height: 87px;}
    .chat-msg.self > .msg-avatar img {
    height: 17%;
    width: 17%;
    }
    .chat-msg.self > .cm-msg-text {
    margin-top: 20px;margin-right: 20px;
    }   
    label.usuario{font-size: 1.5em;line-height: 1.2em;}
    .boton {
    padding: 10px;
    font-size: 1.5em;
    margin-bottom: 5px;
    line-height: 1.3em;
}
    .copyright {font-size: 1.3em;}
    .chat-submit { bottom: 0px;
    width: 15%;
    height: 50px;
    right: 0px;
    position: initial;
    float: right;
    margin-top: 10px;
    z-index: 999;}
  .material-icons {font-size: 54px;}
  .typing {font-size: 1.5em;}
}
 
@media screen and (max-width: 479px) {  
     div#body {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999999;
}
    #chat-circle {
    width: 80px;
    height: 80px;
    right: 20px;
    bottom: 20px;
}
    body{margin: 0px;}
    .chat-box {position: initial;
    right: 10px;
    bottom: 30px;
    width: 100%;
    border-radius: 0px;
    max-width: 100%;}
    #chatheader{font-size: 2em;
    height: 2em;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;}
   
    .status {font-size: 0.9em;  line-height: 1.8em;}  
    .chat-msg.user > .msg-avatar img{height: 17%;width: 17%;}
    label.asesor{font-size: 1.3em;    padding: 15px;}
    .chat-logs { 
            padding: 0px;
    margin-top: 0px;
    height: 59vh;
    padding-top: 0px;
    margin-bottom: 0px;

        
    }
    p.copyright-chat {font-size: 1.2em;}
    #chat-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
      font-size: 1.2rem;
    }
        
.status:before {
    width: 20px;
    height: 20px;
    margin-right: 20px;
}
    .cm-msg-text {margin-bottom: 20px;}
    
    input#chat-input{width: 80%;
    height: 80px;
    font-size: 2.5em;
    padding-right: 0px;}
    #chat-input{font-size: 1.9rem;height: 87px;}
    .chat-msg.self > .msg-avatar img {
    height: 17%;
    width: 17%;
    }
    .chat-msg.self > .cm-msg-text {
    margin-top: 20px;margin-right: 20px;
    }   
    label.usuario{font-size: 1.3em;line-height: 1.2em;}
    .boton {
   padding: 10px;
    font-size: 1.5em;
    margin-bottom: 5px;
    line-height: 1.2em;
}
    .copyright {font-size: 1.3em;}
    .chat-submit { bottom: 0px;
    width: 15%;
    height: 50px;
    right: 0px;
    position: initial;
    float: right;
    margin-top: 10px;
    z-index: 999;}
  .material-icons {font-size: 34px;}
  .typing {font-size: 0.8em;}
}
@media screen and (max-width: 767px) {  
.chat-box-body {
    position: relative;
    height: 560px;
    /* height: auto; */
    overflow: hidden;
}
}