.edit-panel {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 150px;
  background: bisque;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 12px 0px #ddd;
}

.seo-form {
  position: absolute;
  right: 200px;
  bottom: 0;
  width: 60%;
  padding: 20px;
  background: rgb(88, 155, 210);
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 12px 0px hsl(118deg, 70%, 22%);
}

/**
	chatbox(s) are grouped inside a position element #chatbox-list
*/
.chatbox {
  width: 360px;
  height: 85vh;
  margin-right: 2px;
  -webkit-box-shadow: 0 0 6px 0px #ccc;
  -moz-box-shadow: 0 0 6px 0px #ccc;
  box-shadow: 0 0 6px 0px #ccc;
}
.chatbox.current .chatbox-header {
  background: #0275d8;
}

.chatbox-header {
  background: #333;
  color: #fff;
  line-height: 50px;
  padding: 0 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  font-size: 18px;
  display: flex;
}
.chatbox-header a {
  color: #fff;
}
.chatbox-header .chatbox-title {
  flex-grow: 1;
}
.chatbox-header .chatbox-close-trigger {
  cursor: pointer;
}

.chatbox-body {
  background: #f2f3f5;
  border: solid 1px #ddd;
  overflow-y: scroll;
  position: relative;
}

.chatbox-alert {
  padding: 10px;
  background: #ffd;
  border-bottom: solid 1px #eee;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.chatbox-loading {
  display: none;
}

.chatbox-remote-status {
  height: 24px;
  margin-top: -24px;
}

.chatbox-scroll-to-bottom {
  position: sticky;
  bottom: 12px;
  width: 100%;
  text-align: center;
}

.chatbox-form {
  border: solid 1px #ddd;
  border-top: none;
  background: #f1f3f5;
}

.chatbox-input {
  height: 38px;
  padding: 5px 10px;
  max-height: 250px;
  border: solid 1px #f1f5f9;
}

/**
	NOTE: http://www.taskster.com/workspace
*/
@media screen and (min-width: 992px) {
  .app-header:not(.hide) ~ .app-body {
    margin-right: 10rem;
  }
}

@media screen and (max-width: 991px) {
  #chat-panel #chat-contact-list {
    display: none;
  }
}

/**
	#chat-panel
	  - #chat-contact-list   -- sticky to the right edge the screen
	  - #chatbox-list        -- for positioning chatbox(s)
*/
#chat-contact-list {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 170px;
  padding-top: 80px;
  background: #fafcfe;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 12px 0px #ddd;
}
#chat-contact-list .empty {
  padding-left: 20px;
}
#chat-contact-list .contact {
  display: flex;
  flex-direction: row;
  padding: 10px 0 6px;
  border-top: solid 1px #eee;
  cursor: pointer;
}
#chat-contact-list .contact .img-col {
  position: relative;
  margin: 0 5px;
  align-items: center;
  justify-content: center;
  padding: 0 6px 5px;
}
#chat-contact-list .contact .img-col a {
  background: #ffc;
  border-radius: 50%;
}
#chat-contact-list .contact .img-col a .img-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
#chat-contact-list .contact .img-col a .img-circle::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #ccc;
}
#chat-contact-list .contact .img-col a .img-circle::after {
  content: attr(alt);
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #000;
  display: block;
}
#chat-contact-list .contact .txt-col a {
  display: block;
  width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#chat-contact-list .contact .txt-col .name {
  font-weight: 500;
}
#chat-contact-list .contact .txt-col .latest-message {
  color: #999;
  width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
}
#chat-contact-list .actions {
  padding-left: 60px;
  padding-bottom: 10px;
}
#chat-contact-list .opened {
  background: #fff;
}
#chat-contact-list .current {
  border-left: solid 3px #0275d8;
  margin-left: -3px;
}
#chat-contact-list .on .bi-circle-fill {
  color: green;
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 12px;
  line-height: 12px;
  border: solid 3px white;
  border-radius: 50%;
}
#chat-contact-list .off .bi-circle-fill {
  display: none;
}
#chat-contact-list .loading {
  padding: 0.5rem 0;
  text-align: center;
  background: #ffc;
}

#chat-contact-list-compact {
  position: fixed;
  right: 10px;
  bottom: 0;
  width: 100px;
}
#chat-contact-list-compact > div {
  display: flex;
  flex-direction: column-reverse;
  text-align: center;
}
#chat-contact-list-compact .contact {
  position: relative;
  margin: 0 auto 20px;
  align-items: center;
  justify-content: center;
  width: 70px;
}
#chat-contact-list-compact .contact.opened a.img .img-circle {
  -webkit-box-shadow: 0 0 6px 3px wheat;
  -moz-box-shadow: 0 0 6px 3px wheat;
  box-shadow: 0 0 6px 3px wheat;
}
#chat-contact-list-compact .contact.current a.img .img-circle {
  -webkit-box-shadow: 0 0 6px 3px #0275d8;
  -moz-box-shadow: 0 0 6px 3px #0275d8;
  box-shadow: 0 0 6px 3px #0275d8;
}
#chat-contact-list-compact .contact a.img {
  background: #ffc;
  border-radius: 50%;
}
#chat-contact-list-compact .contact a.img .img-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 6px 3px #ccc;
  -moz-box-shadow: 0 0 6px 3px #ccc;
  box-shadow: 0 0 6px 3px #ccc;
}
#chat-contact-list-compact .contact a.img .img-circle::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #ccc;
}
#chat-contact-list-compact .contact a.img .img-circle::after {
  content: attr(alt);
  width: 100%;
  height: 100%;
  font-size: 18px;
  color: #000;
  display: block;
}
#chat-contact-list-compact .contact .actions {
  display: flex;
  position: absolute;
  width: 110px;
  left: -20px;
  bottom: -8px;
  padding: 3px;
  border-radius: 3px;
  background: #ddd;
  align-items: center;
  justify-content: center;
}
#chat-contact-list-compact .on .bi-circle-fill {
  color: green;
  position: absolute;
  bottom: 0;
  right: 0;
  line-height: 15px;
  border: solid 3px white;
  border-radius: 50%;
}
#chat-contact-list-compact .off .bi-circle-fill {
  display: none;
}
#chat-contact-list-compact .loading {
  padding: 0.5rem 0;
  text-align: center;
  background: #ffc;
}

#chatbox-list {
  position: fixed;
  bottom: 0px;
  right: 182px;
  display: flex;
  z-index: 2;
}

#chat-contact-list-compact + #chatbox-list {
  right: 102px;
}

#connection-alert {
  position: fixed;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
  border: solid 1px #e9e9e9;
  background: #ffc;
  display: block;
  padding: 10px;
  width: 450px;
  text-align: center;
  z-index: 1100;
}
#connection-alert a {
  color: #0275d8 !important;
  margin-left: 3px;
}