.open-onedesk-btn,
.open-onedesk-bbl {
  position: fixed;
  bottom: var(--btn-bottom);
  left: var(--btn-left);
  right: var(--btn-right);
  background-color: var(--btn-open-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 7px 37px #bbb;
}

.close-inner-inner-onedesk-btn {
  position: absolute;
  top: 18px;
  right: 11px;
  cursor: pointer;
  transform: scale(0.8);
  display: unset;
  filter: drop-shadow(0 0 7px #777);
}

.open-onedesk-btn {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  overflow: hidden;
}

.open-onedesk-bbl {
  min-width: 160px;
  height: 54px;
  border-radius: 30px;
  margin: 1px 78px;
}

.open-onedesk-btn-close {
  background-color: var(--btn-close-color);
}

.open-onedesk-bbl-close,
.close-onedesk-bbl {
  display: none;
}

.onedesk-widget {
  position: fixed;
  text-align: center;
  inset: auto 3px 90px auto;
  width: auto;
  box-shadow: 0 7px 37px #bbb;
  display: flex;
  flex-direction: column;
  background-color: white;
  z-index: 9999;
}

.onedesk-widget,
.onedesk-widget > .onedesk-inner-application {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.onedesk-widget > .onedesk-inner-application > iframe {
  width: 100%;
  height: 100%;
}

.close-onedesk-btn {
  position: absolute;
  border: 1px solid white;
  border-radius: 50px;
  top: 6px;
  right: 5px;
  width: 22px;
  height: 22px;
  color: white;
  font-size: 32px;
  line-height: 14px;
  opacity: 80%;
}

.close-onedesk-btn:before {
  content: "-";
}

.onedesk-widget.onedesk-expand {
  top: 3px;
  bottom: 3px;
  width: auto;
  height: auto;
  left: 3px;
}

.onedesk-widget.onedesk-collapse {
  max-height: 0;
  left: var(--left-half);
  right: var(--right-half);
  width: 0;
  border: none;
  overflow: hidden;
  -webkit-transition: max-height 0.8s, right 0.8s, left 0.8s, width 0.8s;
  -moz-transition: max-height 0.8s, right 0.8s, left 0.8s, width 0.8s;
  transition: max-height 0.8s, right 0.8s, left 0.8s, width 0.8s;
}

a.copyright-onedesk-btn:link, a.copyright-onedesk-btn:visited {
  display: none;
}

.resize-onedesk-btn {
  display: none;
}

.onedesk-avatar {
  border: 1px solid transparent;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-weight: bold;
  color: white;
  flex: none;
  text-transform: uppercase;
  font-size: 25.9091px;
}

[name="onedesk-container"] {
  font-family: 'Lato', sans-serif;
}

@media screen and (min-width: 780px) {

  .resize-onedesk-btn {
    position: absolute;
    right: 38px;
    top: 17px;
    z-index: 1;
    cursor: pointer;
    height: 17px;
    width: 17px;
    transform: scale(1.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    filter: drop-shadow(0 0 2px #666);
  }

  .close-inner-inner-onedesk-btn:hover,
  .resize-onedesk-btn:hover {
    background-color: rgba(0, 0, 0, 10%);
  }

  .resize-onedesk-btn.resize-onedesk-minimize-btn,
  .onedesk-maximize .resize-onedesk-btn.resize-onedesk-maximize-btn {
    display: none !important;
  }

  .onedesk-maximize .resize-onedesk-btn.resize-onedesk-minimize-btn {
    display: flex !important;
  }

  .open-onedesk-btn {
    bottom: var(--btn-bottom);
    left: var(--btn-left);
    right: var(--btn-right);
  }

  .onedesk-widget {
    position: fixed;
    text-align: center;
    inset: auto var(--right-half) var(--bottom) var(--left-half);
    width: auto;
    display: flex;
    flex-direction: column;
    background-color: white;
    z-index: 1003;
  }

  .onedesk-widget.onedesk-expand {
    inset: auto var(--right) var(--bottom) var(--left);
    height: calc(100% - var(--height));
    max-height: 780px;
    width: var(--width);
    overflow: visible;
    -webkit-transition: max-height 0.8s, right 0.8s, left 0.8s, width 0.8s;
    -moz-transition: max-height 0.8s, right 0.8s, left 0.8s, width 0.8s;
    transition: max-height 0.8s, right 0.8s, left 0.8s, width 0.8s;
  }

  a.copyright-onedesk-btn:link, a.copyright-onedesk-btn:visited {
    position: absolute;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    opacity: 90%;
    font-family: "Lato", serif;
    font-size: 11px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-decoration: none;
    color: #9a9fa8;
    left: 0;
    bottom: -23px;
  }

  .close-onedesk-btn {
    display: none !important;
  }
}