:root {
  --disabled-icon: #777;
}

.chatbot-justicia {  
  background-color: transparent;
  position: fixed;
  bottom: 5px;
  right: 10px;
  z-index: 100000;
}

.chatbot-justicia.open {
  background-color: #fff;
  width: 360px;
  height: 650px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .3);
  border-radius: 8px 8px 0 0;
}

.chatbot-justicia.open .chatbot-justicia-button {
  display: none;
}

.chatbot-justicia-button-close {
  display: none;
  position: absolute;
  top: 7px;
  right: 7px;
  width: 36px;
  height: 36px;
  line-height: 35px;
  text-align: center;
  border-radius: 50%;
  box-shadow: none;
  border: 0;
  background: transparent;
  transition: all .3s ease;
  cursor: pointer;
}

.chatbot-justicia-button-close svg {
  margin-top: 4px;
}

.chatbot-justicia.open .chatbot-justicia-button-close {
  display: block;
}

.chatbot-justicia-button-close:hover {
  background:rgba(0, 0, 0, 0.1);
  transition: all .3s ease;
}

.chatbot-justicia iframe {
  background-color: #fff;
  display: none;
  border: 0;
  height: 100%;
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.chatbot-justicia.open iframe {
  display: block;
}

.chatbot-justicia-button {
  /*background-color: aliceblue;*/
  /*background-image: url(./ai-icon.png);*/
  background-image: url(../img/ondduc_boot.png);
  background-color: #020e42;
  box-shadow: none;
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  border-radius: 50%;
  margin: 0 10px 20px 0;
  cursor: pointer;
  background-position: center;
  background-size: 140%;
  background-repeat: no-repeat;
  transition: all .3s ease;
}

.chatbot-justicia-button:hover {
  /*background-color: rgb(218, 236, 252);*/
  transition: all .3s ease;
}


@media screen and (max-width: 768px) {
  .chatbot-justicia {  
    right: 0;
  }

  .chatbot-justicia.open {
    width: 100vw;
    height: 100vh;
    box-shadow: none;
    margin-bottom: 0px;
  }
  .chatbot-justicia iframe {
    border-radius: 0;
  }
  .chatbot-justicia-button {
    bottom: 10px;
    right: 10px;
  }
}