.wa-widget *, *::before, *::after {
    box-sizing: unset;
}

.wa-widget {
  position: fixed;
  right: 0;
  bottom: 15%;
  margin: 0;
}

.wa-widget:last-child {
  margin-right: 0;
}

.wa-widget.expanded {
  border-radius: 1rem;
}

.wa-widget .wa-widget-content {
  width: 360px;
  transition: all 0.25s linear;
  visibility: hidden;
  position: absolute;
  bottom: 6rem;
  opacity: 0;
  right: 0;
  z-index: -1;
}

.wa-widget .wa-widget-content.expanded {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.wa-widget-toggle.expanded::before {
    background-color: white;
    height: 0px;
    width: 0px;
}



.wa-widget-toggle {
  background-color: white;
  padding: 1rem;
  margin: 1rem;
  height: 2rem;
  width: 2rem;
  border-radius: 9rem;
  text-align: center;
  display: inline-flex;
  align-items: center;
  cursor: default;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.wa-widget-toggle::before {
  content: '';
  height: 10px;
  width: 10px;
  top: 5px;
  right: 5px;
  position: absolute;
  background-color: red;
  border-radius: 10px;
}

.wa-widget-content {
  overflow: hidden;
  border-radius: .75rem;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
  margin: 1rem 6rem -5rem;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
}

.chat-header {
  padding: 1rem;
  display: flex;
  align-items: center;
  background-color: #095e54;
  color: white;
}

.chat-header .chat-admin-picture {

  height: 3.8rem;
  width: 3.8rem;
  margin-right: 0.8rem;
  position: relative;
}

.chat-header .chat-admin-picture img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.chat-header .chat-admin-picture::before {
  content: '';
  height: 7px;
  width: 7px;
  border-radius: 7px;
  background-color: #4fce5d;
  border: 2px solid #095e54;
  position: absolute;
  bottom: 2.333333px;
  right: 2.333333px;
}

.chat-header h4,
.chat-header p {
  margin: .2rem;
}

.chat-content {
  padding: 1rem;
  background-color: #d1ecd4;
}

.chat-content .chat-admin-picture {
  height: 2rem;
  width: 2rem;
  margin-right: .5rem;
}

.chat-item {
  display: inline-flex;
  align-items: flex-end;
}

.chat-item p {
  margin: 0 2rem .5rem 0;
  padding: 1rem;
  background-color: white;
  border-radius: 1rem;
}

.chat-item p:first-child {
  border-top-left-radius: 0;
}

.chat-form {
  background-color: white;
  padding: .25rem;
}

.chat-form textarea,
.chat-form input {
  width: 100%;
  padding: .75rem 1rem;
  background-color: inherit;
  font-family: inherit;
  resize: none;
  margin-bottom: .25rem;
  transition: all 0.25s linear;
}

.chat-form textarea,
.chat-form input,
.chat-form input:focus {
  border: 1px solid transparent;
  outline: 0;
  border-radius: .5rem;
}

.chat-form .chat-send {
  border: 0;
  outline: 0;
  padding: .75rem;
  width: 93.4%;
  font-weight: bold;
  font-size: 1.1rem;
  background-color: #4fce5d;
  color: white;
  cursor: pointer;
  border-radius: .5rem;
}

.chat-form .required {
  border: 1px solid rgba(255, 0, 0, 0.25);
  background-color: rgba(255, 0, 0, 0.1);
}

/*Medium devices (tablets, 768px and up)*/
@media (max-width: 768px){
    
}

@media (max-width: 576px){
    
    .wa-widget .wa-widget-content {
    width: 320px;
    }
}

@media (max-width: 460px) {
  .wa-widget {
    width: 100%;
  }
  .wa-widget-toggle {
    float: right;
  }
  .wa-widget-content {
    width: auto;
    margin: 0rem 1rem;
  }
  .chat-header .chat-admin-picture {
      height: 3rem;
      width: 3rem;
      margin-right: 0.5rem;
  }
  
  .chat-header {
    padding: 10px;
    font-size: 12px;
  }
  
  .chat-header h4 {
    font-size: 20px;
  }

  .chat-form .chat-send{
     width: 92.3%;
  }
    
}
