
.wc-wrap {
  position: fixed;
  right: 50px;
  bottom: 140px;
  z-index: 98;
}  

.wc-container {
  width: 375px;
  height: 580px;
  border-radius: 20px;
  background: white;
  -webkit-box-shadow: 0px 5px 15px -5px rgba(87,87,87,1);
  -moz-box-shadow: 0px 5px 15px -5px rgba(87,87,87,1);
  box-shadow: 0px 5px 15px -5px rgba(87,87,87,1);
  box-sizing: border-box;
  display: none;
}

.wc-container p {
  line-height: 150%;
  letter-spacing: 0;
  font-size: 13.5px;
  font-family: 'Open Sans', sans-serif;
}
.wc-container.chat {
  padding: 10px;
}
.wc-header {
  width: 100%;
  background: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 15px;
  padding: 10px;
  box-sizing: border-box;
  background-color: #EA2227;
  background-image: -o-linear-gradient(left, #772025 0%, #EA2227 100%);
  background: -webkit-gradient(linear, left top, right top, from(#772025), to(#EA2227));
  background: linear-gradient(to right, #772025 0%, #EA2227 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#772025', endColorstr='#EA2227',GradientType=1 );
  color: white;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(144, 144, 144);
  -moz-box-shadow: 0px 2px 5px 0px rgba(144, 144, 144);
  box-shadow: 0px 2px 5px 0px rgb(144, 144, 144);
  z-index: 2;
}
.wc-container.chat .wc-header{
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
}
.wc-container.intro {
  text-align: center;
  height: auto;
  min-height: 290px;
}
.wc-container.intro .wc-header img {
  width: 120px;
  max-width: 100%;
  position: absolute;
  top: -60px;
  left: calc(50% - 60px);
  background: radial-gradient(circle, rgb(160, 27, 30) 40%, rgba(255,255,255,0) 50%);
}
.wc-container.intro .wc-header > div:first-child {
  height: 50px;
}
.wc-container.intro .wc-header > div{
  max-width: 250px;
  margin: auto;
}
.wc-container.intro .subtitle {
  font-size: 11px;
  margin-bottom: 5px;
}
.wc-container.intro .title {
  font-size: 18px;
  letter-spacing: 2px;
}
.wc-container.intro p {
  font-size: 13.5px;
  line-height: 160%;
  margin: 1rem 0;
}
.wc-container.intro > .button {
  margin-top: 25px;
} 
.wc-header .title {
  font-weight: bold;
  margin-bottom: 3px;
}
.wc-header .subtitle {
  font-size: 13.5px
}
.wc-header img {
  max-width: 60px;
  margin-right: 10px;
}
.wc-header .beta {
  position: absolute;
  right: 9px;
  bottom: 6px;
  font-size: 12px;
}
.wc-btn {
  font-size: 30px;
  position: absolute;
  color: white;
  font-weight: 100;
  right: -10px;
  bottom: -90px;
  width: 80px;
  height: 80px;
  text-align: center;
  border-radius: 50%;
  /*
  background-image: -o-linear-gradient(left, #772025 0%, #EA2227 100%);
  background: -webkit-gradient(linear, left top, right top, from(#772025), to(#EA2227));
  background: linear-gradient(to right, #772025 0%, #EA2227 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#772025', endColorstr='#EA2227',GradientType=1 );
  */
  
  cursor: pointer;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wc-btn .bg {
  background: radial-gradient(circle, rgb(160, 27, 30) 40%, rgba(255,255,255,0) 60%);
  /*
  -webkit-transition: background 500ms ease-out;  
  -moz-transition: background 500ms ease-out;  
  -o-transition: background 500ms ease-out;  
  transition: background 500ms ease-out;
  */
  transform: scale(1);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  transition: all 1s ease-in-out;
}
.wc-btn.long .bg {
  transition: all 2s ease-in-out;
}
.wc-btn.animate .bg {
  transform: scale(1.1);
}
.wc-btn.animate2 .bg{
  transform: scale(1.3);
}
.wc-btn.close-control { 
  width: 60px;
  height: 60px;
  bottom: -80px;
  right: 0;
  background-image: -o-linear-gradient(left, #772025 0%, #EA2227 100%);
  background: -webkit-gradient(linear, left top, right top, from(#772025), to(#EA2227));
  background: linear-gradient(to right, #772025 0%, #EA2227 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#772025', endColorstr='#EA2227',GradientType=1 );
}
.wc-btn.close-control img {
  width: 13px;
}
.wc-btn img {
  max-width: 100%;
  position: relative;
  z-index: 2;
}
.wc-btn img.open-control{
  display: block;
}
.wc-btn img.close-control{
  display: none;
}
.wc-btn.close-control img.close-control{
  display: block;
}
.wc-btn.close-control img.open-control{
  display: none;
}

#webchat {
  width: 100%;
  height: calc(100% - 80px);
  margin-top: 80px;
}

#webchat p {
  line-height: 150%;
  font-size: 13.5px;
}

#webchat .webchat__send-box__main {
  border-radius: 30px;
  align-items: flex-end;
}

#webchat .webchat__send-box__main form.webchat__send-box-text-box {
  padding: 12px;
}


#webchat .webchat__send-box__button {
  border-radius: 50%;
  background: #4D4D4D;
  background: linear-gradient(93.81deg, #39B54A 0%, #0D6C28 100%);
  text-align: center;
  line-height: 100%;
  height: 40px;
}

#webchat .webchat__send-box__button:hover .webchat__icon-button__shade {
  background: none;
}

#webchat .webchat__upload-button {
  background: white;
}

#webchat .webchat__upload-button svg {
  fill: #4B4B4B;
}

#webchat .webchat__send-box__button svg {
  width: 25px;
  height: 25px;
}

#webchat .webchat__bubble__content p.plain,
#webchat .webchat__row.message .markdown  {
  padding-left: 20px;
  padding-right: 20px;
  color: white !important;
}

#webchat .react-film__flipper__body {
  -webkit-box-shadow: 1px 4px 10px -4px rgba(87,87,87,1);
  -moz-box-shadow: 1px 4px 10px -4px rgba(87,87,87,1);
  box-shadow: 1px 4px 10px -4px rgba(87,87,87,1);
  font-size: 20px;
}

#webchat .webchat__-actions__carousel .react-film__flipper__body {
  font-size: 15px;
}
#webchat .react-film__filmstrip__item {
  margin-bottom: 0;
}

#webchat .ac-pushButton.style-default,
#webchat .webchat__suggested-action__button {
  background: none;
  border: 1px solid #4B4B4B;
  border-radius: 20px;
  color: #4B4B4B;
  height: auto;
  font-size: 13px;
  font-weight: 500;
}

#webchat .ac-pushButton.style-default div{
  overflow: unset !important;
  text-overflow: unset !important;
  white-space: normal !important;
}

#webchat .webchat__bubble__content ul {
  list-style-type: disc;
}

#webchat .webchat__send-box {
  display: flex;
  flex-direction: column;
  padding-top: 5px;
}

#webchat .webchat__suggested-actions__carousel {
  padding: 0 !important;
}

#webchat .webchat__suggested-actions {
  order: 2;
}

.webchat__suggested-actions__carousel ul li {
  padding-left: 0 !important;
}

.webchat__suggested-actions__carousel .react-film__flipper {
  display: none !important;
}

/* Form elements */
input.ac-input,
textarea.ac-input {
  border: 1px solid var(--input-border);
  border-radius: 25px;
  background: var(--input-bg);
  padding: 6px 18px 6px 14px;
  color: var(--input-color);
  font-size: 14px;
  line-height: 25px;
  outline: none !important;
}

input.ac-input::placeholder,
textarea.ac-input::placeholder {
  color: var(--input-placeholder-color);
  font-size: 14px;
}

.ac-input label {
  margin-bottom: 0;
}

label.ac-richTextBlock {
  margin-left: 19px;
}

.ac-selectable {
  cursor: pointer;
}

.ac-adaptiveCard > .ac-container:not(:first-child) .ac-columnSet .ac-selectable,
.ac-adaptiveCard > .ac-container:not(:first-child).ac-selectable {
  background-color: var(--cardbutton-bg) !important;
  border-radius: 20px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  margin-bottom: 8px !important;
}

.ac-textBlock {
  color: var(--primary-color) !important;
}

.ac-adaptiveCard > .ac-container:not(:first-child) .ac-columnSet .ac-selectable:hover,
.ac-adaptiveCard > .ac-container:not(:first-child).ac-selectable:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

label.attacherLabel {
  background-color: #4C4C4C;
  color: white;
  border-color: #4C4C4C;
  transition: all 0.15s ease-in-out;
}

label.attacherLabel:hover {
  background-color: #222222;
}

.ac-container[style*="background-image"] {
  background-repeat: no-repeat !important;
}

@media (max-width: 991px) {
  .wc-wrap {
    right: auto;
    left: 15px;
    bottom: 120px;
  }

  .wc-btn {
    right: auto;
    left: -10px;
  }

  .wc-btn.close-control {
    right: auto;
    left: 0;
  }
}

@media (max-height: 769px)
and (orientation : landscape) {
  .wc-container {
    height: calc(100vh - 280px);
  }
}

@media (max-height: 576px)
and (orientation : landscape)  {
  .wc-container {
    height: 100vh;
  }
}

@media (max-width: 767px) {
  .wc-wrap {
    bottom: 60px;
    width: calc(100% - 20px);
    /*width: calc(100% - 60px);*/
  }


  .wc-container {
    width: 100%;
    left: -5px;
    position: relative;
  }

  .wc-btn {
    width: 60px;
    height: 60px;
    line-height: 40px;
    right: -8px;
    bottom: -58px;
  }

  .wc-btn.close-control {
    width: 40px;
    height: 40px;
    right: 3px;
    bottom: -46px;
    
  }

  .wc-container.chat .wc-header {
    padding-bottom: 17px;
  }

  .webchat__send-box-text-box__input {
    font-size: 16px !important;
  }
}

/* sticky sidebar on scroll animation - push buttons 'chatbot' */

@media (max-width: 1025px) {
  .s-sidebar-scroll.s-scrolled-up .wc-wrap {
    transform: translateY(0);
  }
}

@media (max-width: 1025px) {
  .wc-wrap {
    transform: translateY(-40px);
    transition: transform .3s ease-in-out;
  }
}

@media (max-width: 767px) {
  .wc-wrap {
    transform: translateY(-75px);
    transition: transform .3s ease-in-out;
  }
}