@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');
.five9-frame {
  display: block;
  position: fixed;
  bottom: 10px;
  right: 120px;
  z-index: 9000;
  height: 0px;
  text-align: center;
}

.five9-frame .five9-frame-minimized {
  /* background: transparent; */
  margin: 0;
  padding: 0;
}

.button-container img {
  /* position: absolute;
	bottom: -38px;
	right: -140px;
	width: 125px; */
  transition: 0.2s ease-in-out;
  z-index: 5;
}

.button-container {
  position: fixed;
  bottom: 35px;
  right: 35px;
  background-color: white;
  border-radius: 100px;
  padding: 12px 6.5px 12px 6.5px !important;
  display: flex;
  justify-content: space-around;
  overflow: hidden;
  cursor: pointer;
}

.button-text-container {
  order: 1;
  display: block;
  align-items: center;
  justify-content: center;
  white-space: nowrap; /*Keep text always one line*/
  overflow: hidden;
  width: 151px;
  transition: width 0.5s;
  font-family: 'Hanken Grotesk';
  font-weight: 400;
  margin-top: auto;
  margin-bottom: auto;
  font-size: 15px;
  text-align: center;
}

.button-icon-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-container:hover > .button-text-container {
  width: 170px;
}

.button-container:hover > .button-icon-container > img {
  transform: scale(1.10);
}

.five9-frame .five9-frame-full {
  position: fixed;
  bottom: 0;
  height: 0;
  background: none;
  margin: 0;
  padding: 0;
  max-height: 100vh;
}

.five9-frame-full {
  margin-right: 35px !important;
}

/* .five9-frame .five9-frame-full .five9-header {
	height: 38px
} */

.five9-frame .five9-frame-full #embedded-frame {
  background: white;
  /* box-shadow: 0 0 10px 0 rgba(104, 104, 104, 0.75); */
  /* box-shadow: 10px 10px 20px 0 rgba(99, 102, 106, .3), 0px 0px 20px 0 rgba(99, 102, 106, 0.2); */
  /* box-shadow: 15px 25px 50px 0 rgba(99, 102, 106, .2), 0px 0px 30px 0 rgba(99, 102, 106, 0.2); */
  box-shadow: 15px 20px 50px 0 rgba(99, 102, 106, 0.25),
    0px 0px 40px 0 rgba(0, 0, 0, 0.1), 0px 0px 40px 0 rgba(99, 102, 106, 0.1);
  max-height: calc(100vh - 38px);
}

.five9-frame .five9-frame-full #embedded-frame body,
.five9-frame .five9-frame-full #embedded-frame body textarea,
.five9-frame .five9-frame-full #embedded-frame body button {
  font-family: 'Silka' !important;
}
.five9-frame
  .five9-frame-full
  #embedded-frame
  body
  #information-page
  .ui-header {
  display: none;
}
.five9-frame
  .five9-frame-full
  #embedded-frame
  body
  #information-page
  .ui-content {
  position: initial;
}

.five9-frame .five9-text {
  display: inline-block;
  vertical-align: top;
}

.five9-frame #five9-minimize-icon {
  display: inline-block;
  width: 20px;
  height: 22px;
  margin-left: 20px;
  background-image: url('https://app.five9.com/consoles/SocialWidget/images/minus-32.png');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 18px 14px;
}

.five9-frame #five9-popout-button {
  display: inline-block;
  width: 20px;
  height: 22px;
  margin-left: 3px;
  background-image: url('https://app.five9.com/consoles/SocialWidget/images/external-link-32.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}

@media (max-width: 980px) {
  .five9-frame {
    right: 0;
  }
}

@media (max-width: 780px) {
  .five9-frame {
    right: 0;
  }
}

.five9-chat-button {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  display: inline-block;
  position: relative;
  height: 38px;
  border: none;
  border-radius: 10px 10px 0 0;
  margin: 0;
  padding: 10px 12px 0 39px;
  background: linear-gradient(#3396c6, #2281b8);
  color: white;
  font-size: 18px;
  font-weight: normal;
  line-height: 1;
  cursor: pointer;
}

.five9-chat-button .five9-icon {
  display: inline-block;
  position: absolute;
  left: 6px;
  top: 4px;
  width: 34px;
  height: 34px;
  background-image: url('https://app.five9.com/consoles/SocialWidget/images/chat-small.png');
  background-repeat: no-repeat;
  background-size: 34px 34px;
  background-position: center center;
  margin: 0;
  padding: 0;
}

.five9-email-button {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  display: inline-block;
  position: relative;
  height: 38px;
  border: none;
  border-radius: 10px 10px 0 0;
  margin: 0;
  padding: 10px 12px 0 39px;
  background: linear-gradient(#3396c6, #2281b8);
  color: white;
  font-size: 18px;
  font-weight: normal;
  line-height: 1;
  cursor: pointer;
}

.five9-email-button .five9-icon {
  display: inline-block;
  position: absolute;
  left: 6px;
  top: 4px;
  width: 34px;
  height: 34px;
  background-image: url('https://app.five9.com/consoles/SocialWidget/images/email-small.png');
  background-repeat: no-repeat;
  background-size: 34px 34px;
  background-position: center center;
  margin: 0;
  padding: 0;
}

.five9-proactive {
  display: inline-block;
  width: 250px;
  z-index: 9999;
  width: 249px;
  border: 1px solid #63666A;
  border-radius: 15px 15px 0 0;
  margin: 0;
  padding: 12px 15px 0 15px;
  background: white;
  color: white;
  font-size: 20px;
  font-weight: normal;
}

.five9-proactive.five9-inverse {
  background: white;
  color: #2e3438;
  border: 2px solid #ecedee;
}

.five9-proactive.five9-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: 'Hanken Grotesk';
  background: #ECF2FB;
}

.five9-proactive.five9-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.five9-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9900;
  overflow-x: auto;
  overflow-y: scroll;
  background: rgba(0, 0, 0, 0.5);
}

.five9-proactive.five9-inverse .five9-icon {
  background-image: url('https://app.five9.com/consoles/SocialWidget/images/chat-large-blue.png');
}

.five9-proactive .five9-exit {
  display: inline-block;
  position: absolute;
  top: -8px;
  right: -8px;
  width: 14px;
  height: 14px;
  background-image: url('../assets/close.svg');
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: center center;
  background-color: #FF8300;
  border-radius: 25px;
  margin: 0;
  padding: 15px 15px;
  cursor: pointer;
}

.five9-proactive .five9-text {
  display: inline-block;
  min-height: 58px;
  margin: 0;
  padding: 14px 19px;
  color: #63666A;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 19px;
}

.five9-proactive.five9-inverse .five9-text {
  font-size: 14px;
}

.five9-proactive .five9-message-text {
  display: none;
}

.five9-proactive.five9-inverse .five9-message-text {
  display: block;
  border: 1px solid #ecedee;
  padding: 10px;
  font-size: 14px;
}

.five9-proactive .five9-agent-text {
  color: #515659;
  font-size: 12px;
  font-weight: bold;
}

.five9-proactive .five9-agent-text .display-time {
  font-weight: normal;
}

.five9-proactive .five9-start-button {
  margin: 23px 0 0 0;
  padding: 8px;
  border-radius: 25px;
  background: #FF8300;
  color: #FFF;
  text-align: center;
  cursor: pointer;
}

.five9-proactive.five9-inverse .five9-start-button {
  background: #3396c6;
  color: white;
}

.five9-proactive .five9-close-button {
  visibility: hidden;
  margin: 8px 0;
  padding: 0;
  text-align: center;
  font-size: 10px;
  cursor: pointer;
}

.five9-proactive .five9-close-button:hover {
  text-decoration: underline;
}

#five9-notification {
  opacity: 0;
  visibility: hidden;
}

#five9-notification.active {
  visibility: visible;
  opacity: 1;
  transition: opacity 1s linear;
}

#five9-modal {
  visibility: hidden;
}

#five9-modal.active {
  visibility: visible;
}

div.shaker {
  animation: shake 1.3s;
  /* When the animation is finished, start again */
  animation-iteration-count: 3;
}

@keyframes shake {
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

#five9-maximize-button {
  height: 20px;
}

/*Examples for data attributes. Keeping it once I fix the position.*/
/* [data-chat-state="opened"] {
  bottom: 435px;
 } */

 /* #five9-maximize-button[data-chat-state="closed"] {
    bottom: 0px ;
 } */

.button-text-container {
  color: #fff;
}

div #five9-frame-full {
  display: block;
  visibility: visible;
  height: 515px;
  width: -webkit-fit-content;
  /* bottom: 600px !important; */
}

.five9-frame {
  right: 65px;
}

.five9-frame .five9-frame-full {
  position: fixed;
  border-bottom-right-radius: 0;
  height: 0;
  background: none;
  margin: 0;
  padding: 0;
  max-height: 100vh;
  z-index: 9999;
  width: -webkit-fill-available;
  margin-left: 0px;
}

.button-container {
  position: fixed;
  right: 40px;
  background-color: #FF8300;
  color: white;
  border-radius: 100px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  margin-top: -1.5%;
  z-index: 99;
}

#terminate-conversation-button {
  padding-right: 60px;
  padding-top: 16px;
}

#close-button {
  padding-right: 50px;
  padding-top: 16px;
}

.five9-frame > .five9-frame-full {
  margin-bottom: -525px;
}

@media screen and (max-width: 992px) {
  .five9-frame-full {
    margin-right: 15px !important;
  }

  #five9-maximize-button {
    right: 10px;
  }

  #terminate-conversation-button {
    padding-right: 68px;
    padding-top: 16px;
  }

  #close-button {
    padding-right: 62px;
    padding-top: 16px;
  }
}
