#chat .left {
    float: left;
    background: #fff;
    border-radius: 20px;
    border: solid 1px #fff;
    box-shadow: 1px 1px 6px #c1c0da;
    margin-bottom: 16px;
    padding: calc(2 * 5px) 16px;
    line-height: calc(16px + 16px / 2);
    position: relative;
    transition: border-color 200ms ease;
    word-wrap: break-word;
    max-width: 100%;
    text-align: left;    
    display: inherit;
    font-size: 16px;
}
#chat .message{
  color:#888;
  font-size: 16px;
}
#chat .message.endchat {
    float: left;
    width: 100%;
    text-align: center;
}
#chat .right {
  margin-bottom: 1rem;
  font-size: 16px;
}
#chat .message.right {
  float: right;
}
#chat .message.right.cancelaccount {
  width: 100% !important;
  float: right !important;
}
.chatbox-popup__main .tl-actions {
  margin-bottom: 1rem;
}
.chatbox-popup__main .darker {
  border-color: #ccc;
  background-color: #ddd;
}

#chat .left::after {
  content: "";
  clear: both;
  display: table;
}
/*spin loader */
.chatbox-popup__main #loading { 
  float: left;
  width: 100%; 
  z-index: 1;  
  margin-top: 0px;  
  top: 0px;     
  text-align: center;
}
.chatbox-popup__main #loading-center-absolute { 
  display: inline-block;  
  vertical-align: middle;  
  margin: 0px auto;  
  border-radius: 50px;  
  -webkit-animation: loader 0.9s infinite alternate;  
  -moz-animation: loader 0.9s infinite alternate; 
}
.chatbox-popup__main .object{ 
  width: 20px;
  height: 20px; 
  background-color: #0d3d56;  
  display: inline-block;  
  margin-right: 20px;   
  -moz-border-radius: 50% 50% 50% 50%;
  -webkit-border-radius: 50% 50% 50% 50%; 
  border-radius: 50% 50% 50% 50%;
}
.chatbox-popup__main #object_one { 
  -webkit-animation: object_one 1.5s infinite; 
  animation: object_one 1.5s infinite;
}
.chatbox-popup__main #object_two { 
  -webkit-animation: object_two 1.5s infinite;
  animation: object_two 1.5s infinite;
  -webkit-animation-delay: 0.25s;     
  animation-delay: 0.25s;
}
.chatbox-popup__main #object_three { 
  -webkit-animation: object_three 1.5s infinite; 
  animation: object_three 1.5s infinite;  
  -webkit-animation-delay: 0.5s;    
  animation-delay: 0.5s;
}

@-webkit-keyframes object_one {
75% { -webkit-transform: scale(0); }
}
@keyframes object_one {
  75% { 
    transform: scale(0); -webkit-transform: scale(0);
  }
}
@-webkit-keyframes object_two {
  75% { -webkit-transform: scale(0); }
}
@keyframes object_two {
  75% { 
    transform: scale(0);   -webkit-transform:  scale(0);
  }
}
@-webkit-keyframes object_three {
  75% { -webkit-transform: scale(0); }
}
@keyframes object_three {
  75% { 
    transform: scale(0);   -webkit-transform: scale(0);
  }  
}

/*spin loader close*/

/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
  background-color: #555;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  bottom: 23px;
  right: 28px;
  width: 280px;
}

.close-button {
  display: none;
  background-color: red;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  bottom: 23px;
  right: 28px;
  width: 280px;
}

/* The popup chat - hidden by default */
.chat-popup {
  /*display: none;*/
  width: 500px;
  height: 400px;
  position: fixed;
  bottom: 0;
  right: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

.chatbox-popup__main .message-button {
  float: right;
  width: 100%;
}
.chatbox-popup__main .message-button button {
    float: left;
    padding: 10px;
    margin: 10px;
}
#chat .message.my-message {
    background: #0d3d56;
    color: #fff;
    border-radius: 20px;
}
#chat .message.my-message.active {
    background: green !important;
}
.chatbox-popup__main button.message.clickable {
    background: transparent;
    border: none 0;
    box-shadow: 0 0 0 1px #0d3d56;
    color: #009eff;
    padding-bottom: 0.375rem;
    padding-top: 0.375rem;
    text-align: left;
    transition: box-shadow 200ms ease-in;
    white-space: normal;
}
.chatbox-popup__main .message.clickable {
    cursor: pointer;
}
.chatbox-popup__main .message.message-kinda-tight {
    margin-bottom: 0.5rem;
}
.chatbox-popup__main .try-again button {
  float: right;
}

/*Chatbot button css*/

button.chatbox-open {
    z-index: 999;
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 52px !important;
    height: 52px !important;
    color: #fff;
    background-color: #0d3d56;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
    border: 0 !important;
    border-radius: 50% !important;
    cursor: pointer;
    margin: 16px !important;
    padding: 0px !important;
}
button.chatbox-close {
    z-index: 999;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 52px;
    height: 52px;
    color: #fff;
    background-color: #0d3d56;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    margin: 16px calc(2 * 16px + 52px) 16px 16px;
    padding: 0px !important;
}
.chatbox-popup {
    z-index: 999;
    position: fixed;
    box-shadow: 5px 5px 25px 0 rgba(46, 61, 73, 0.2);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    display: none;
    bottom: calc(2 * 16px + 52px);
    right: 16px;
    width: 450px;
    background-color: #fcfcff;
    border-radius: 16px;
}
.chatbox-popup .chatbox-popup__main {
    box-sizing: border-box;
    width: 100%;
    padding: calc(2 * 5px) 16px;
    line-height: calc(16px + 16px / 2);
    color: #888;
    text-align: center;
    height: 500px !important;
    overflow: auto;
}
.chatbox-popup .chatbox-popup__header {
    box-sizing: border-box;
    display: -webkit-box;
    display: flex;
    height: 55px;
    width: 100%;
    padding: 16px;
    color: #fff;
    background-color: #0d3d56;
    -webkit-box-align: center;
    align-items: center;
    justify-content: space-around;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}
.chatbox-popup .chatbox-popup__header h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 30px;
  font-weight: normal;
}
#myform .row {
  margin-right: 0px;
  margin-left: 0px;
}
#chat .message .row input, #chat .row .btn {
  border-radius: 20px;
  padding: 6px 12px; 
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
}
#chat .message .row .form-control {
    height: 34px !important;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
}

/*   chat box    */
.chatbox-popup__main .padLeft-0 {
    padding-left: 0 !important;
    padding-right: 5px !important;
}
.chatbox-popup__main .padRight-0 {
    padding-right: 0;
    padding-left: 5px;
}
.chatbox-popup__main .padRight-0 #submit {
    color: #fff;
    width: 100%; 
    background-color: #0d3d56;
}
input:focus,button:focus ,.padRight-0 #submit:focus{
  outline:none;
}

.chatbox-popup__main .padRight-0 #submit i{
    margin-left: 5px;
    font-size: 12px;
    color: #fff;
}
.chatbox-popup__header button.chatbox-maximize.chat-reset {
    background-color: transparent;
    border: none;
    font-size: 22px;
    color: #ffff;
}
.chatbox-popup__main .ChooseAccountNoFoundOptions {
    display: inline-block;
    margin-bottom: 5px;
}
.chatbox-popup__main .cancelaccount.undefined button{
    width: 100%; background-color: #0d3d56;
}
.chatbox-popup__main .cancelaccount.undefined button:focus{
  background-color: #0d3d56; outline:none;
}
#chat .right input#FreezeDate {
  margin-right: 5px !important;
}
#chat .right .FreezeByDates {
  margin-right: 10px !important;
}
.freezeForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.freezeForm .freezelabel label {
    font-weight: 500;
}
 
@media(min-width: 1600px) { 
  .chatbox-popup .chatbox-popup__main {
    height: 650px !important;
  } 
}

@media(max-width: 1320px) {
  .chatbox-popup .chatbox-popup__main {
    width: 100%;
    height: 550px !important; 
  }
  button.chatbox-close  {
    font-size: 12px;
    width: 42px;
    height: 42px;
  }
  button.chatbox-open {
    width: 42px !important;
    height: 42px !important;
    font-size: 12px !important;
  }
  button.chatbox-open i, button.chatbox-close i{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
  }  
}

@media(max-width: 991px) { 
  .chatbox-popup .chatbox-popup__main {
    width: 100%;
    height: 550px !important; 
    }
}


@media(max-width: 767px) {
  .chatbox-popup {
    width: 420px;
    right: 10px;
  }
  .chatbox-popup .chatbox-popup__main {
    width: 100%;
    height: 400px !important; 
  }
  .chatbox-popup {
    z-index: 999999; 
    bottom: calc(2 * 16px + 24px);
  }
  
  button.chatbox-close {
    margin: 5px calc(2 * 16px + 22px) 5px 16px;
    
  }
  button.chatbox-open {
    margin: 5px !important;
    
  }
}

@media(max-width:576px){
  .chatbox-popup {
    width: 94%;
    right: auto;
    left: 0;
    margin: 0 3%;
  }
  .chatbox-popup .chatbox-popup__header h2 {
    font-size: 22px;
  }
}

@media(max-width:480px) {
  .chatbox-popup .chatbox-popup__main {
    width: 100%;
    height: 450px !important;
  }
  #chat .row .btn {
    font-size: 12px;
  }
  .message-button.tl-actions {
    display: inline-block;
    font-size: 13px;
  }
  button#submit i {
    display: none;
  }
  .chatbox-popup .chatbox-popup__header h2 {
    font-size: 22px;
  }
  .freezeForm {
    flex-wrap: inherit;
  }
}