/* Variables */
:root,
::after,
::before {
  --bg: white;
  --text: black;
  --text-anchor: #0000ee;
  --shadow: 0px 2px 5px 0px rgb(144 144 144);
  --card-shadow: 0px 2px 5px 0px rgb(144 144 144);
  --card-hover: 0 8px 16px rgba(0, 0, 0, 0.1);
  --input: rgb(245, 245, 245);
  --button-bg: none;
  --button-border: #4B4B4B;
  --button-text: #4B4B4B;
  --input-bg: white;
  --input-border: rgb(190, 190, 190);
  --input-text: black;
  --bubble-status: #DDDDDD;
  --attacher-bg: #4C4C4C;
  --attacher-hover-bg: #222222;
  --attacher-color: white;
  --attacher-border: #4C4C4C;
}

.wc-wrap {
  position: fixed;
  right: 50px;
  bottom: 140px;
  z-index: 102;
}  

.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;
}

.wc-container p {
  line-height: 150%;
  letter-spacing: 0;
  font-size: 13.5px;
}
.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: #02215f;
  background-image: -o-linear-gradient(left, #02215f 0%, #fff 130%);
  background: -webkit-gradient(linear, left top, right top, from(#02215f), to(#fff));
  background: linear-gradient(90deg, #02215f , #fff 270%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#02215f', endColorstr='#fff',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-header .title {
  font-weight: bold;
  margin-bottom: 3px;
}
.wc-header img {
  max-width: 60px;
  margin-right: 10px;
  border-radius: 45px;
}
.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, #02215f 40%, rgba(202, 77, 77, 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, #02215f 0%, #fff 130%);
  background: -webkit-gradient(linear, left top, right top, from(#02215f), to(#fff));
  background: linear-gradient(to right, #02215f 0%, #fff 130%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#02215f', endColorstr='#fff',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;
  /* border: solid 2px #00ab4d; */
  border-radius: 45px;
}
.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: 11px;
}


#webchat .webchat__send-box__button {
  border-radius: 50%;
  background: #4D4D4D;
  background: linear-gradient(340.81deg, #021741  0%, #02215f 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;
  background: linear-gradient(340.81deg, #021741  0%, #02215f 100%);
}

#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: #042260;
  cursor: pointer;
  border: 1px solid #4B4B4B;
  border-radius: 20px;
  color: #fff;
  height: auto;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.5s ease;
}

#webchat .ac-pushButton.style-default:hover, #webchat .webchat__suggested-action__button:hover {
  background: #ed7d31;
  border-color: #ed7d31;
  color: #ffffff;
}

#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;
  display:none;
}

.webchat__suggested-action {
  font-size: 14px !important;
  cursor: pointer;
}

#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::placeholder,
textarea.ac-input::placeholder {
  color: var(--input-placeholder-color);
  font-size: 14px;
}

.ac-input label {
  margin-bottom: 0;
}

.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-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;
  }
}

.button {
  border-radius: 25px;
  transition: all .15s ease-in-out;
  background: none;
  color: #4b4b4b;
  display: inline-block;
  padding: 1rem 2rem;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 100%;
  position: relative;
  border: solid 1px;
}

.button:hover:not(.btn-invert):not(.btn-link):not(.btn-red):not(.btn-gold):not(.btn-disabled):not([disabled])
{
color: #fff;
background: #222;
text-decoration: none;
}

.button.btn-transparent.btn-transparent-inverse:hover:not([disabled]):not(.btn-disabled)
{
color: #4b4b4b !important;
background: none !important;
}

.button.btn-small
{
font-size: 13px;
letter-spacing: 4px;
padding: .7rem 1.5rem;
}

.wc-header .beta {
  bottom: unset;
  cursor: pointer;
}

@media (max-width: 991px) {
  #pdfViewer {
      right: auto;
      left: 50%;
      width: 48%;
      bottom: 120px;
  }
}

@media (max-width: 767.98px) {
  .button.btn-transparent {
    margin-top: 0.7rem !important;
  }
}

.webchat__stacked-layout__message {
  max-width: 90% !important;
}


/* BG */ 
.circle{
  position: absolute;
  border-radius: 50%;
  background: #006a31;
  animation: ripple 15s infinite;
  box-shadow: 0px 0px 1px 0px #508fb9;
}

.small{
  width: 200px;
  height: 200px;
  left: -100px;
  bottom: -100px;
}

.medium{
  width: 400px;
  height: 400px;
  left: -200px;
  bottom: -200px;
}

.large{
  width: 600px;
  height: 600px;
  left: -300px;
  bottom: -300px;
}

.xlarge{
  width: 800px;
  height: 800px;
  left: -400px;
  bottom: -400px;
}

.xxlarge{
  width: 1000px;
  height: 1000px;
  left: -500px;
  bottom: -500px;
}

.shade1{
  opacity: 0.2;
}
.shade2{
  opacity: 0.5;
}

.shade3{
  opacity: 0.7;
}

.shade4{
  opacity: 0.8;
}

.shade5{
  opacity: 0.9;
}

@keyframes ripple{
  0%{
    transform: scale(0.8);
  }
  
  50%{
    transform: scale(1.2);
  }
  
  100%{
    transform: scale(0.8);
  }
}

.subTitle {
  color: #ed7d31;
}

.webchat__bubble__content p {
  margin-bottom: 0 !important;
}

.ui-timepicker-container {
  z-index: 9999999 !important;
}

.ui-timepicker-viewport > .ui-menu-item {
  font-size: 90% !important;
}