/* CHAT LAUNCHER */
#chat_launcher #livechat {
    background: linear-gradient(to right, #de8541 30%, #eeb661 70%);
    border: none !important;
    font-size: 17px !important;
    border-radius: 50px !important;
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    line-height: 15px;
    vertical-align: middle;
    font-size: 12px;
    text-shadow: none;
    box-shadow: none;
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    padding: 15px 30px;
    width: 100%;
}	
	
.chat_opener {
  position: fixed;
  bottom: 20px; 
  left: 10px;
  z-index:999999;
}
.chat_opener:hover {
  cursor: pointer;
  bottom: 24px;
}
@media screen and (max-width: 992px) {
  .chat_opener {
    bottom: 34px;
    left: 0px;
  }
}
/* CHAT LAUNCHER END*/

/* CHAT WINDOW */
#chat-panel{
  position: fixed;
  z-index: 1111111 !important;
  bottom: 10px;
  top: auto; 
  left:10px;
  right: auto;
    overflow-y: hidden;  
    width: 40%;
    height: auto;

}
#chat_header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #222 !important;
  color: #fff;

}
.modal-header {
  padding: 15px;
}
.modal-body{
  background: #fff;
  padding: 15px;
}
.modal-content{
  box-shadow: 0 5px 15px rgba(0,0,0,.5);
}
.modal-footer {
  padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
    background: #222;
    display: block;
    overflow: hidden;
    height: auto;
}
#chat_title{
  color: #e8a004;
  font-weight: bold;
}
#availability{
  color: #fff;
  margin-left: 10px;
}
#chat_close:hover{
  cursor: pointer;
  color: #e8a004
}
.user_message, .csr_message, .system_message{
  color: #ebebeb;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 0 0 10px;
}
.system_message{
  color: #52a595;
}
.user_message{
  background: #ecedef;
  color: #616d79;
}
.csr_message{
  background: #e5eff9;
  color: #616d79;
}
.chat-div{
  max-height: 60vh;
  overflow: auto;

}
#chat-window{
  height: 100px;
  background: #fff;
  border: solid 1px #d2d2d2;
  width:100%;
}
.btn-primary{
  background: linear-gradient(to right, #de8541 30%, #eeb661 70%);
    color: #fff;
    display: block !important;
    border: none;
    height: auto;
    width: auto;
    min-width: fit-content;
    line-height: normal;
    font-size: initial;
	padding: 10px !important;
}
.modal-dialog{
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    max-width: none;
	margin: 0;
}
#chat_close{
  flex: 1;
  text-align: right;
}
@media only screen and (max-width: 767px) {
  #chat-panel{ left: 0 !important; width: 100%; }
  .modal-title{font-size: 15px;}
}
/* CHAT WINDOW END */