* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

label,
button {
  cursor: pointer;
}

body.no-scroll {
  overflow: hidden;
}

#open-checkbox, #open-checkbox-green {
  display: none;
}

#open-checkbox:checked + .open-checkbox__label, #open-checkbox-green:checked + .open-checkbox__label {
  background-color: #1d432e;
  background-image: url("./img/close.svg");
  background-size: 23px 23px;
}
#open-checkbox:checked + .open-checkbox__label::after, #open-checkbox-green:checked + .open-checkbox__label::after {
  opacity: 0;
}
#open-checkbox:checked ~ .chat-form-wrapper, #open-checkbox-green:checked ~ .chat-form-wrapper {
  pointer-events: inherit;
  transform: translateY(0px);
  opacity: 1;
  z-index: 2;
}

.chat-form-core {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
}
@media screen and (max-width: 479px) {
  .chat-form-core {
    position: static;
  }
}

.open-checkbox__label--green {
  display: inline-block;
  padding: 0 25px;
  border-width: 0px;
  border-color: #48a476;
  border-radius: 0px;
  background-color: #80c33f;
  transition: background-color 300ms ease;
  font-size: 12px;
  line-height: 50px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 16px 41px 0 rgba(60, 133, 92, 0.43);
}

.open-checkbox__label {
  position: relative;
  display: flex;
  width: 55px;
  height: 55px;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background-color: #fff;
  box-shadow: 0 0 12px 3px rgba(0, 0, 0, 0.2);
  transition: background-color 0.4s ease;
  background-image: url("./img/fairway.svg");
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: center;
  z-index: 3;
}
.open-checkbox__label:after {
  border-radius: 6px;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: black;
  transition: opacity 0.4s ease;
  opacity: 0;
}
.open-checkbox__label.msg::before {
  position: absolute;
  content: "1";
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 12px;
  color: #fff;
  background-color: #d0241b;
  border-radius: 50%;
  right: 0;
  top: 0;
  transform: translate(50%, -50%);
}
.open-checkbox__label:hover::after {
  opacity: 0.28;
}
@media screen and (max-width: 479px) {
  .open-checkbox__label {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
  }
}

.chat-form-wrapper {
  opacity: 0;
  z-index: -1;
  transition-duration: 0.4s;
  pointer-events: none;
  position: absolute;
  left: auto;
  top: auto;
  right: 0%;
  bottom: 74px;
  overflow: hidden;
  width: 350px;
  height: 480px;
  max-height: 80vh;
  align-items: center;
  border-radius: 6px;
  background-color: #fff;
  box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(40px);
  padding: 0 16px 16px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 55px 1fr 55px;
}
.chat-form-wrapper--green {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  background-color: #80c33f;
  border-radius: 6px;
  z-index: 1000;
  transform: translate(-50%, -50%) !important;
  grid-template-rows: 120px 1fr 55px;
}
.chat-form-wrapper--green .chat-header {
  background-color: transparent;
  background-image: url("./img/FairwayPNGwhite.png");
  background-size: 200px auto;
  background-position: center;
  background-repeat: no-repeat;
  align-self: stretch;
  max-height: unset;
  padding: 16px 0;
  margin: 0;
  box-sizing: border-box;
  border-bottom: 1px solid #fff;
}
.chat-form-wrapper--green .chat-header .close-chat-mob {
  display: block;
  align-self: flex-start;
}
.chat-form-wrapper--green .chat-header .chat-logo,
.chat-form-wrapper--green .chat-header .chat-header__text {
  display: none;
}
.chat-form-wrapper--green .radio-label {
  background-color: white;
}
.chat-form-wrapper--green .radio-label.active,
.chat-form-wrapper--green .message-text.message-text__answer {
  background: rgba(255, 255, 255, 0.7);
  color: #333333;
  border: none;
}
.chat-form-wrapper--green .bot-chat::-webkit-resize {
  width: 6px;
  height: 6px;
}
.chat-form-wrapper--green .bot-chat::-webkit-scrollbar {
  width: 6px;
}
.chat-form-wrapper--green .bot-chat::-webkit-scrollbar-button {
  width: 6px;
  height: 0;
}
.chat-form-wrapper--green .bot-chat::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.2);
}
.chat-form-wrapper--green .bot-chat::-webkit-scrollbar-track {
  background: transparent;
}
.chat-form-wrapper--green .bot-chat {
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  scrollbar-width: thin;
}
.chat-form-wrapper--green .chat-input {
  background: rgba(255, 255, 255, 0.103);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.chat-form-wrapper--green .chat-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
}
.chat-form-wrapper--green .chat-input::placeholder {
  color: #fff;
}
.chat-form-wrapper--green .message-label {
  color: rgba(255, 255, 255, 0.7);
}
.chat-form-wrapper--green .input-btn--send {
  background-image: url("./img/send-icon--green.svg");
}
@media screen and (max-width: 479px) {
  .chat-form-wrapper {
    left: auto;
    top: auto;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    max-height: none;
    border-radius: 0px;
    transform: translate(0%, 0%) !important;
  }
}

.chat-header {
  display: flex;
  padding: 10px 15px;
  align-items: center;
  background-color: #1d432e;
  color: #fff;
  max-height: 55px;
  margin: -16px;
}

.chat-logo {
  position: relative;
  display: flex;
  width: 35px;
  height: 35px;
  margin-right: 15px;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background-color: #fff;
}
.chat-logo__image {
  overflow: hidden;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background-image: url("./img/fairway.svg");
  background-position: 50% 50%;
  background-size: contain;
  background-repeat: no-repeat;
  object-fit: cover;
}
.chat-logo .online-mark {
  position: absolute;
  left: auto;
  top: auto;
  right: 0%;
  bottom: 0%;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50px;
  background-color: #2eec07;
}

.close-chat-mob {
  display: none;
  width: 20px;
  height: 20px;
  margin-left: auto;
  background-image: url("./img/close.svg");
  background-size: cover;
}
@media screen and (max-width: 479px) {
  .close-chat-mob {
    display: block;
  }
}

.bot-chat {
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
  padding-top: 25px;
  margin-right: -12px;
  padding-right: 16px;
}
.bot-chat input[type=radio] {
  display: none;
}
.bot-chat::-webkit-resize {
  width: 6px;
  height: 6px;
}
.bot-chat::-webkit-scrollbar {
  width: 6px;
}
.bot-chat::-webkit-scrollbar-button {
  width: 6px;
  height: 0;
}
.bot-chat::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.2);
}
.bot-chat::-webkit-scrollbar-track {
  background: #fff;
}
.bot-chat {
  scrollbar-color: rgba(0, 0, 0, 0.2) #fff;
  scrollbar-width: thin;
}

.message-box {
  position: relative;
  width: 100%;
  margin-bottom: 25px;
  padding-left: 42px;
}

.message-label {
  margin-bottom: 15px;
  transition: opacity 200ms ease;
  color: rgba(51, 51, 51, 0.9);
  font-size: 11px;
  line-height: 1.2em;
}

.message-loader {
  position: absolute;
  left: 20%;
  top: 20%;
  z-index: -1;
  width: 150px;
  height: 40px;
  justify-content: center;
  align-items: center;
  transform: scale(0.3);
  transition: opacity 200ms ease;
}

.circle {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #1d432e;
}

.shadow {
  position: absolute;
  z-index: -1;
  width: 20px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
}

.message-wrp:hover .message-time {
  opacity: 1;
}

.chat-input.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.chat-input.disabled ~ * {
  pointer-events: none;
  opacity: 0.2;
}

.message-box__question > *:not(.message-loader) {
  opacity: 0;
}

.message-box__question.show > *:not(.message-loader) {
  transition-delay: 0.4s;
  opacity: 1;
}

.message-box__question.show > .message-loader {
  opacity: 0;
}

/*animation*/
.circle {
  left: 15%;
  transform-origin: 50%;
  animation: circle 0.5s alternate infinite ease;
}

@keyframes circle {
  0% {
    top: 60px;
    height: 5px;
    border-radius: 50px 50px 25px 25px;
    transform: scaleX(1.7);
  }
  40% {
    height: 20px;
    border-radius: 50%;
    transform: scaleX(1);
  }
  100% {
    top: 0%;
  }
}
.circle:nth-child(2) {
  left: 45%;
  animation-delay: 0.2s;
}

.circle:nth-child(3) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}

.shadow {
  top: 62px;
  transform-origin: 50%;
  left: 15%;
  filter: blur(1px);
  animation: shadow 0.5s alternate infinite ease;
}

@keyframes shadow {
  0% {
    transform: scaleX(1.5);
  }
  40% {
    transform: scaleX(1);
    opacity: 0.7;
  }
  100% {
    transform: scaleX(0.2);
    opacity: 0.4;
  }
}
.shadow:nth-child(4) {
  left: 45%;
  animation-delay: 0.2s;
}

.shadow:nth-child(5) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}

.send-btn.active {
  opacity: 1 !important;
  z-index: 3 !important;
}

.chat-message-logo {
  position: absolute;
  left: 0%;
  top: auto;
  right: auto;
  bottom: 0%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 35px;
  height: 35px;
  margin-right: 15px;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background-color: #fff;
  transition: opacity 200ms ease;
}

.message-wrp {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin-bottom: 5px;
  justify-content: space-between;
  align-items: center;
  transition: opacity 200ms ease;
}

.message-text {
  margin-right: 15px;
  padding: 10px 15px;
  border-radius: 6px;
  background-color: #f2f9ec;
  font-size: 13px;
  line-height: 1.4em;
}

.message-time {
  opacity: 0;
  color: rgba(51, 51, 51, 0.7);
  font-size: 10px;
  white-space: nowrap;
  transition: opacity 200ms ease;
}

.message-wrp.message-wrp__answer {
  justify-content: flex-end;
}

.message-text.message-text__answer {
  margin-right: 0px;
  margin-left: 16px;
  background-color: #1d432e;
  color: #fff;
}

.radio-btns-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 25px;
}

.radio-btn-wrp {
  display: flex;
  justify-content: flex-end;
}

.radio-label {
  position: relative;
  max-width: 220px;
  margin-right: 2px;
  padding: 10px 15px;
  border: 1px solid #000;
  border-radius: 6px;
  box-shadow: 0 5px 5px 1px rgba(0, 0, 0, 0.05);
  transition: all 300ms ease;
  font-size: 13px;
  line-height: 1.4em;
}
.radio-label.active {
  background-color: #1d432e;
  color: #fff;
}

.chat-input {
  position: relative;
  margin-bottom: 0px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4em;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  display: block;
  width: 100%;
  height: 39px;
  padding: 8px 12px;
}
.chat-input:focus {
  border-color: #3898ec;
  outline: 0;
}

.chat-input-wrapper {
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 10px;
  grid-template-rows: 39px;
  max-height: 39px;
  justify-content: center;
  align-items: center;
  position: relative;
  align-self: end;
}

#add-file-btn {
  display: none;
}

.input-btn {
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: none;
  outline: none;
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  transition-duration: 0.4s;
}
.input-btn--send {
  opacity: 0.3;
  pointer-events: none;
  background-image: url("./img/send-icon.svg");
  background-size: 24px;
}
.input-btn--send.active {
  pointer-events: inherit;
  opacity: 1;
}
.input-btn--send.active + .input-btn--gif {
  pointer-events: none;
  display: none;
}
.input-btn--gif {
  text-align: center;
  color: #687882;
  align-items: center;
  border: 1px solid #687882;
  border-radius: 4px;
  background-color: #fff;
  opacity: 0.35;
  color: #000;
  font-size: 11px;
  line-height: 18px;
  height: 20px;
  transition-duration: 300ms;
}

.smiles--btn-wrp {
  position: absolute;
  right: 46px;
  top: 4px;
  background-image: url("./img/smiling-emoticon.svg");
}

.smiles-wrp,
#open-smile-btn, #open-smile-btn-green {
  display: none;
}

#open-smile-btn-green:checked + .smiles-wrp, #open-smile-btn:checked + .smiles-wrp {
  display: block;
}

.smiles-wrp {
  position: absolute;
  width: calc(100% + 16px * 2);
  margin-right: 4px;
  margin-left: -16px;
  bottom: 55px;
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #fff;
  max-height: 190px;
  overflow-y: auto;
}
.smiles-wrp::-webkit-resize {
  width: 6px;
  height: 6px;
}
.smiles-wrp::-webkit-scrollbar {
  width: 6px;
}
.smiles-wrp::-webkit-scrollbar-button {
  width: 6px;
  height: 0;
}
.smiles-wrp::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.2);
}
.smiles-wrp::-webkit-scrollbar-track {
  background: #fff;
}
.smiles-wrp {
  scrollbar-color: rgba(0, 0, 0, 0.2) #fff;
  scrollbar-width: thin;
}
.smiles-wrp_type {
  width: 100%;
  font-weight: 500;
  padding: 5px 0;
  font-size: 16px;
  line-height: 1.15em;
}

.smiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 24px);
  grid-auto-rows: 36px;
  gap: 6px;
}
.smiles-grid li {
  text-align: center;
  line-height: 36px;
  list-style: none;
}

.add-file-btn-label {
  display: block;
  width: 30px;
  height: 30px;
  background-image: url("./img/inclined-clip.svg");
}

/*# sourceMappingURL=style.css.map */
