#webchat-floating {
  overflow-x: clip;
}

.divContainerFloating {
  z-index: 99999 !important;
}

.divChatFullCustom {
  max-width: calc(100vw - 8rem) !important;
}

.rootDiv-sidebar {
  z-index: 9999;
}

.sidebar-open .rootDiv-sidebar {
  min-width: 300px;
  max-width: 300px;
}

.sidebar-open .fixed-top {
  right: 300px;
}

.divContainerSidebar {
  position: fixed;
  right: 0;
  top: 0;
  width: fit-content;
}

.content-wrapper {
  padding-top: 116px;
  @media (min-width: 1200px) {
    padding-top: 124px;
  }
}

@media (min-width: 950px) {
  .divContainerFloating .divChatOpenCustom {
    max-width: 580px;
  }

  .divContainerFloating {
    right: 7rem !important;
    position: fixed !important;
    bottom: 2.3rem !important;
    width: fit-content !important;
    left: auto !important;
  }
}

@media (max-width: 950px) {
  #chat-floating {
    position: fixed !important;
    margin-bottom: 0 !important;
  }

  .divContainerFloating .divButton {
    position: relative;
    top: -2.5rem;
    right: 7rem;
  }

  .divChatFullCustom {
    width: calc(100vw - 5rem);
    position: relative;
    right: -60px;
  }

  .sidebar-open {
    overflow: hidden;
  }

  .divContainerFloating {
    height: 0 !important;
  }

  .sidebar-open .rootDiv-sidebar {
    position: fixed;
    max-width: none;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
  }

  .sidebar-open .divContainerSidebar {
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
  }

  .sidebar-open .divContainerSidebar .divChatOpenCustom {
    min-width: 100vw;
    max-width: none;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
  }
}