#chat-widget {
  position: fixed;
  bottom: 0;
  right: 20px;
  width: 300px;
  font-family: Arial, sans-serif;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border: solid 2px #ffffff;
    border-radius: 4px;
}
@media (max-width: 600px) {
    #chat-widget {
        display:none;
    }
}
#chat-header {
  background: #2980b9;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
      border: solid 1px #fff;
    border-radius: 4px;
    margin-bottom:2px;
}
#chat-body {
  background: #fff;
  max-height: 400px;
  overflow: hidden;
  -webkit-transition: max-height 0.3s;
  -o-transition: max-height 0.3s;
  transition: max-height 0.3s;
  max-height: 0
}
#chat-body.expanded {
  max-height: 400px
}
#messages {
  padding: 10px;
  height: 250px;
  overflow-y: auto
}
#messages div {
  width: 100%;
  float: left !important;
  margin: 0px 0px 3px 0px
}
#chat-area.hidden {
  display: none
}
#message-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px
}
#message-input {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 10px 5px;
  border-radius: 4px;
  border: solid 1px #7A7A7A; 
}
#message-form button {
  background-color: dodgerblue;
  color: #fff;
  margin-left: 5px;
  border-radius: 4px;
      border: solid 1px rgba(0,109,216,1.00);
}
#message-form buttom:hover {
  background-color: #444;
  color: #fff
}
#user-name {
  padding: 10px 5px;
  border-radius: 4px;
  width: calc(100% - 100px);
  border: solid 1px #7A7A7A; 
}
#name-form button {
  background-color: dodgerblue;
  color: #fff;
  padding: 10px 5px;
  border-radius: 4px;
  border: solid 1px #0985ff
}
.senderBubble {
  float: left;
  width: auto !important;
  margin: 0px;
  background-color: dodgerblue !important;
  color: #fff !important;
  padding: 5px 10px;
  border-radius: 4px
}
.userBubble {
  float: left;
  background-color: dodgerblue !important;
  color: #FFF !important;
  padding: 8px 12px;
  margin: 5px 0;
  border-radius: 12px;
  width: auto !important;
  max-width: 80%;
  clear: both
}
.operatorBubble {
  float: right;
  background-color: whitesmoke !important;
  color: #444 !important;
  padding: 8px 12px;
  margin: 5px 0;
  border-radius: 12px;
  width: auto !important;
  clear: both;
  text-align: right
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0
}
.custom-checkbox-label {
  display: inline-block;
  padding-left: 25px;
  position: relative;
  cursor: pointer;
  color: #fff;
  border: none;
  outline: none;
  margin: 0px
}
