@keyframes chabotLoading {
  0%, 40%, 100% {
    transform: scaleY(0.64);
    -webkit-transform: scaleY(0.64);
    opacity: 0.3;
  }
  20% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
    opacity: 1;
  }
  10%, 30% {
    opacity: 0.6;
  }
}
@keyframes chabotOpen {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes chabotClose {
    0% {
        opacity: 1;
      transform: scale(1);
      
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
  }
@keyframes chabotMsgOpen {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes chabotQuickmenuOpen {
  0% {
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

html.chatbot-open {
  /*overflow: hidden !important;*/
}
/* 스크롤 해제 대신 챗팅창 열릴때 탑버튼 숨김 */
html.chatbot-open .top-btn {visibility: hidden;}
html.chatbot-open .global_chatbot {
    visibility: visible;
}
.global_chatbot {
  z-index: 1001;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: calc(90% - 40px);
  height: calc(100% - 100px);
  max-width: 407px;
  max-height: 797px;
  overflow: hidden;
  visibility: hidden;
}
.global_chatbot button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  outline: 0;
  transition: background-color 0.2s ease-in-out;
}
.global_chatbot button img {
  flex-shrink: 0;
}
.global_chatbot *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.global_chatbot *::-webkit-scrollbar-track {
  background-color: #f6f5f5;
}
.global_chatbot *::-webkit-scrollbar-thumb {
  background-color: var(--chat-primary-color);
  border-radius: 6px;
}
.global_chatbot *::-webkit-scrollbar-thumb:hover {
  background-color: rgb(52.3225433526, 90.6335260116, 243.8774566474);
}


.global_chatbot .btn_global_chatbot {
  position: fixed;
  display: block;
  right: 20px;
  bottom: 30px;
  width: 5.5em;
  height: 5.5em;
  border-radius: 50%;
  background-color: var(--chat-primary-color);
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
  visibility: visible;
}

.global_chatbot .btn_global_chatbot.on {
    bottom: 140px;
}

.global_chatbot .btn_global_chatbot img {
  width: 58.58%;
}
@media (hover: hover), screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .global_chatbot .btn_global_chatbot:hover, .global_chatbot .btn_global_chatbot:focus {
    /*background-color: rgb(42.6531791908, 82.7919075145, 243.3468208092);*/
    background-color: var(--chat-color-point);
  }
}
.global_chatbot .global_chatbot__interaction {
  /*display: none;*/
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  height: 100%;
  transform-origin: right bottom;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s; ;
  transform: scale(0);
   opacity: 0;
}
.global_chatbot .global_chatbot__interaction.on {
  /*display: flex;*/
  transform: scale(1);
  /*animation: chabotOpen 0.3s ease-in-out 1 forwards;*/
  visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s; 
}
.global_chatbot .global_chatbot__interaction.on .message.on {
  opacity: 0;
  animation: chabotMsgOpen 0.2s ease-in-out 1 forwards;
}
.global_chatbot .chatbot-header {
  display: flex;
  align-items: center;
  padding: 12px 20px 12px 20px;
  height: 62px;
  background-color: var(--chat-primary-color);
}
.global_chatbot .chatbot-logo {
  flex-shrink: 0;
}
.global_chatbot .chatbot-header__btns {
  display: flex;
  margin-left: auto;
  gap: 10px;
}
.global_chatbot .chatbot-header__btns button {
  height: 35px;
}
.global_chatbot .chatbot-header__btns .btn-chatbot-new {
  gap: 6px;
  padding: 5px 13px;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  border-radius: 17px 17px 5px 17px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.global_chatbot .chatbot-header__btns .btn-chatbot-new img {
  width: 1.125em;
}
.global_chatbot .chatbot-header__btns .btn-chatbot-new:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.global_chatbot .chatbot-header__btns .btn-chatbot-close {
  width: 35px;
}
.global_chatbot .chatbot-header__btns .btn-chatbot-close img {
  width: 45.71%;
}
.global_chatbot .chatbot-body {
  overflow: hidden;
  position: relative;
  padding: 30px 5px 20px;
  flex-grow: 1;
  width: 100%;
  word-break: break-word;
}
.global_chatbot .chatbot-body .chatbot-body-inner {
  overflow-y: auto;
  height: 100%;
  padding: 0 15px;
}
.global_chatbot .chatbot-body,
.global_chatbot .chatbot-body p {
  font-size: 16px;
  font-family: "Pretendard", sans-serif;
  color: #151515;
  line-height: 1.31;
}
.global_chatbot .chatbot-footer {
  position: relative;
  padding: 20px 15px;
  box-shadow: 1px -6.9px 8px 0 rgba(0, 0, 0, 0.04);
  background-color: #fff;
}
.global_chatbot .chatbot-footer-inner {
  z-index: 10;
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 90px;
  border-radius: 25px;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid #dedede;
  background-color: #fff;
}
.global_chatbot .chatbot-footer-input {
  width: 100%;
  max-height: 140px;
  padding: 0;
  -webkit-appearance: none;
  resize: none;
  outline: 0;
  border: 0;
  font-size: 16px;
  line-height: 1;
  color: #151515;
}
.global_chatbot .chatbot-footer-input::-webkit-input-placeholder {
  color: #444;
}
.global_chatbot .chatbot-footer-input::-moz-placeholder {
  color: #444;
}
.global_chatbot .chatbot-footer-input::-ms-input-placeholder {
  color: #444;
}
.global_chatbot .btn-chatbot-footer-quick {
  padding: 5px 16px;
  border: 1px solid #dedede;
  font-size: 16px;
  color: #444;
  border-radius: 34px;
}
@media (hover: hover), screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .global_chatbot .btn-chatbot-footer-quick:hover, .global_chatbot .btn-chatbot-footer-quick:focus {
    background-color: #f6f5f5;

  }
}
.global_chatbot .chatbot-footer .chatbot-footer-send {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background-color: var(--chat-primary-color);
}
@media (hover: hover), screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .global_chatbot .chatbot-footer .chatbot-footer-send:hover, .global_chatbot .chatbot-footer .chatbot-footer-send:focus {
    /*background-color: rgb(139.3468208092, 161.2080924855, 248.6531791908);*/
    background-color: var(--chat-color-point);
    filter: brightness(1.5); 
  }
}
.global_chatbot .chat-wrap + .chat-wrap,
.global_chatbot .chatbot-user-request + .chatbot-system-response {
  margin-top: 30px;
}
.global_chatbot .chatbot-message .avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background-color: #000;
}
.global_chatbot .chatbot-message .avatar img {
  max-width: 74.38%;
}
.global_chatbot .chatbot-message .message-box {
  padding: 0.9375em 20px;
  border-radius: 20px;
}
.global_chatbot .chatbot-message .message-box p + p {
  margin-top: 0.5em;
}
.global_chatbot .chatbot-message .loading-bars {
  display: inline-block;
  vertical-align: middle;
  height: 17px;
  font-size: 0;
}
.global_chatbot .chatbot-message .loading-bars i + i {
  margin-left: 4px;
}
.global_chatbot .chatbot-message .loading-bars i {
  display: inline-block;
  width: 3px;
  height: 100%;
  animation: chabotLoading 1.6s infinite ease-in-out;
  background-color: var(--chat-primary-color);
}
.global_chatbot .chatbot-message .loading-bars i:nth-child(2) {
  animation-delay: 0.2s;
}
.global_chatbot .chatbot-message .loading-bars i:nth-child(3) {
  animation-delay: 0.4s;
}
.global_chatbot .chatbot-message .link {
  display: block;
  color: var(--chat-primary-color);
}
@media (hover: hover), screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .global_chatbot .chatbot-message .link:hover, .global_chatbot .chatbot-message .link:focus {
    text-decoration: underline;
    /*color: rgb(42.6531791908, 82.7919075145, 243.3468208092);*/

    color: var(--chat-color-point);
    filter: brightness(0.9); 
  }
}


.global_chatbot .chatbot-system-response {
  display: flex;
  gap: 12px;
  margin: 10px 0;
}
.global_chatbot .chatbot-system-response .message-box {
  background-color: #f6f5f5;
}
.global_chatbot .chatbot-system-response:not(:first-of-type) .avatar {
  visibility: hidden;
  opacity: 0;
}
.global_chatbot .chatbot-system-response.last .message-box {
  border-top-left-radius: 5px;
}
.global_chatbot .chatbot-system-response.ui {
  margin: 0;
}
.global_chatbot .chatbot-system-response.form .message {
  width: 100%;
}
.global_chatbot .chatbot-user-request {
  text-align: right;
}
.global_chatbot .chatbot-user-request .message {
  display: inline-block;
  text-align: left;
  padding-left: 51px;
}
.global_chatbot .chatbot-user-request .message-box {
  background-color: var(--chat-primary-color);
  border-top-right-radius: 5px;
}
.global_chatbot .chatbot-user-request .message-box p {
  color: #fff;
}
.global_chatbot .chatbot-message-actions,
.global_chatbot .chatbot-message-options {
  display: flex;
  flex-wrap: wrap;
}
.global_chatbot .chatbot-message-actions {
  gap: 1px;
}
.global_chatbot .chatbot-message-actions .action {
  width: 23px;
  height: 23px;
  border-radius: 2px;
}
.global_chatbot .chatbot-message-actions .action img {
  width: 78.26%;
}
.global_chatbot .chatbot-message-actions .action:hover {
  background-color: #f7f7f7;
}
.global_chatbot .chatbot-message-options {
  gap: 9px 6px;
  margin: 10px 0;
}
.global_chatbot .chatbot-message-options .option {
  min-height: 2.25em;
  padding: 6px 18px 4px;
  border-radius: 18px;
  border: solid 1px #dedede;
  text-align: left;
}
@media (hover: hover), screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .global_chatbot .chatbot-message-options .option:hover, .global_chatbot .chatbot-message-options .option:focus {
    background-color: #f6f5f5;
  }
}

.global_chatbot .chatbot-message-options .option__icon {
  content: "";
  display: block;
  background: no-repeat center/contain;
  margin-top: -2px;
}
.global_chatbot .chatbot-message-options .option.goback {
  border-color: #151515;
}
.global_chatbot .chatbot-message-options .option.goback .option__icon {
  width: 0.3125em;
  height: 1em;
  margin-right: 0.45em;
  background-image: url(../img/chatbot/ico_chatbot_goback.svg);
}

.global_chatbot .chatbot-quickmenu {
  display: none;
  z-index: 2;
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 100%;
  background-color: #fff;
  border-radius: 30px;
  padding: 15px;
  font-size: 16px;
}
.global_chatbot .chatbot-quickmenu .chatbot-quickmenu-inner {
  max-height: calc(100vh - 470px);
  padding: 10px 15px;
  overflow: hidden;
  overflow-y: auto;
}
.global_chatbot .chatbot-quickmenu .chatbot-quickmenu__group + .chatbot-quickmenu__group {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #dedede;
}
.global_chatbot .chatbot-quickmenu .quickmenu-title {
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--chat-primary-color);
}
.global_chatbot .chatbot-quickmenu .quickmenu-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 6px;
}
.global_chatbot .chatbot-quickmenu .quickmenu-options .option {
  height: 2.25em;
  padding: 4px 18px 6px;
  border-radius: 18px;
  border: solid 1px #dedede;
}
@media (hover: hover), screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .global_chatbot .chatbot-quickmenu .quickmenu-options .option:hover, .global_chatbot .chatbot-quickmenu .quickmenu-options .option:focus {
    background-color: #f6f5f5;
  }
}
.global_chatbot .chatbot-quickmenu .chatbot-quickmenu-backdrop {
  display: none;
}
.global_chatbot.quick-visible .chatbot-quickmenu {
  display: block;
  animation: chabotQuickmenuOpen 0.3s ease-in-out 1 forwards;
}
.global_chatbot.quick-visible .chatbot-quickmenu-backdrop {
  z-index: 2;
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  bottom: -100px;
  background-color: rgba(0, 0, 0, 0.6);
}
.global_chatbot.quick-visible .btn-chatbot-footer-quick {
  border-color: var(--chat-primary-color);
  background-color: var(--chat-primary-color);
  color: #fff;
}
.global_chatbot .form-wrap .privacy_txt--fc input[type=checkbox] + label {
  font-size: 16px;
  color: #434343;
}
.global_chatbot .form-wrap .privacy_txt--fc input[type=checkbox] + label:before {
  border-radius: 3px;
  transition-property: background-color;
}
.global_chatbot .form-wrap .privacy_txt--fc input[type=checkbox]:not(:checked) + label:before {
  border-color: #a2a2a2;
}
.global_chatbot .form-wrap .privacy_txt--fc input[type=checkbox]:checked + label:before {
  content: "";
  border-color: var(--chat-primary-color);
  background: no-repeat center/50%;
  background-color: var(--chat-primary-color);
  background-image: url(../img/chatbot/ico_chabot_privacy_checkbox.png);
}
.global_chatbot .form-wrap .chatbot-form-submit {
  margin-top: 16px;
  padding-bottom: 10px;
}
.global_chatbot .form-wrap .btn_chatbot_form_submit {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.13em;
  padding: 0.3em 1em;
  border-radius: 50px;
  font-size: 16px;
  text-align: center;
  background-color: var(--chat-primary-color);
  color: #fff;
}
.global_chatbot .form-wrap .btn_chatbot_form_submit > span {
  width: 100%;
}
.global_chatbot .form-wrap .btn_chatbot_form_submit:focus, .global_chatbot .form-wrap .btn_chatbot_form_submit:hover {
  background-color: rgb(42.6531791908, 82.7919075145, 243.3468208092);
}
.global_chatbot .chatbot_form {
  font-size: 16px;
  width: 100%;
}
.global_chatbot .chatbot_form input:not([type=radio]):not([type=checkbox]),
.global_chatbot .chatbot_form textarea {
  width: 100%;
  border-radius: 5px;
}
.global_chatbot .chatbot_form input:not([type=radio]):not([type=checkbox]):not(:focus),
.global_chatbot .chatbot_form textarea:not(:focus) {
  border-color: #dedede;
}
.global_chatbot .chatbot_form input:not([type=radio]):not([type=checkbox]) {
  height: 2.25em;
}
.global_chatbot .chatbot_form td {
  padding-top: 0.38em;
  padding-bottom: 0.38em;
}
.global_chatbot .chatbot_form .chatbot_form__tit {
  position: relative;
}
.global_chatbot .chatbot_form .chatbot_form__tit:after {
  content: "*";
  display: inline-block;
  position: relative;
  top: 2px;
  margin-left: 3px;
  vertical-align: middle;
  color: var(--chat-primary-color);
  font-size: 16px;
}

@media (max-width: 767px) {
  .global_chatbot .btn_global_chatbot {
    font-size: 16px;
    bottom: 20px;
  }

  .global_chatbot .btn_global_chatbot.on {
    bottom: 90px;
  }
}
@media (max-width: 575px) {
  .global_chatbot .btn_global_chatbot,
  .global_chatbot .chatbot-header__btns .btn-chatbot-new {
    font-size: 12px;
  }
  .global_chatbot .chatbot-logo img {
    width: 50px;
  }
  .global_chatbot .chatbot-body,
  .global_chatbot .chatbot-body p,
  .global_chatbot .chatbot-message-options .option,
  .global_chatbot .form-wrap .privacy_txt--fc input[type=checkbox] + label,
  .global_chatbot .chatbot-footer-input,
  .global_chatbot .chatbot_form,
  .global_chatbot .form-wrap .btn_chatbot_form_submit,
  .global_chatbot .btn-chatbot-footer-quick,
  .global_chatbot .chatbot-quickmenu {
    font-size: 14px;
  }
  .global_chatbot .chatbot-system-response {
    margin: 6px 0;
  }
  .global_chatbot .chatbot-message .loading-bars {
    height: 13px;
  }
  .global_chatbot .chat-wrap + .chat-wrap,
  .global_chatbot .chatbot-user-request + .chatbot-system-response {
    margin-top: 16px;
  }
  .global_chatbot .chatbot-message-actions {
    gap: 5px;
  }
  .global_chatbot .chatbot-message-actions .action {
    width: 18px;
    height: 18px;
  }
  .global_chatbot .chatbot-quickmenu .chatbot-quickmenu__group + .chatbot-quickmenu__group {
    margin-top: 20px;
    padding-top: 15px;
  }
}
.chatbot_privacy_modal .close:before {
  content: "" !important;
  position: relative;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 0 0 auto;
  color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='21px' height='22px'%3E%3Cpath fill-rule='evenodd' fill='rgb(145, 145, 145)' d='M19.152,0.718 L20.963,2.529 L2.243,21.248 L0.431,19.437 L19.152,0.718 Z'/%3E%3Cpath fill-rule='evenodd' fill='rgb(145, 145, 145)' d='M2.046,1.077 L0.221,2.901 L19.073,21.751 L20.897,19.926 L2.046,1.077 Z'/%3E%3C/svg%3E");
  background-size: 32.258%;
  background-position: center;
  background-color: #f3f3f3;
  border: 1px solid #9d9d9d;
  border-radius: 50%;
  font-size: 1rem;
}
.chatbot_privacy_modal .modal-close {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  padding: 1.5rem 2rem 0;
}
.chatbot_privacy_modal .close {
  display: block;
  right: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
  font-size: 0 !important;
  outline: 0;
}
.chatbot_privacy_modal .modal-title {
  font-size: 30px;
}
.chatbot_privacy_modal .modal-content {
  border-radius: 0.625rem;
  max-width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
}
.chatbot_privacy_modal .modal-header,
.chatbot_privacy_modal .modal-body {
  padding-left: 24px;
  padding-right: 24px;
}
.chatbot_privacy_modal .modal-close + .modal-header {
  padding-top: 0;
  border-bottom: 0;
}
.chatbot_privacy_modal .modal-body {
  padding-bottom: 2rem;
}
.chatbot_privacy_modal .modal-footer {
  border-top: 0;
}
.chatbot_privacy_modal .modal-footer .button {
  font-size: 20px;
  min-width: 8.5rem;
  min-height: 3.375rem;
  border-radius: 0.625rem;
}
.chatbot_privacy_modal .modal-footer.t_c {
  justify-content: center;
}
.chatbot_privacy_modal .privacy-words {
  white-space: pre-line;
  line-height: 1.31;
  font-size: 16px;
}
@media (min-width: 576px) {
  .chatbot_privacy_modal .modal-sm .modal-content {
    max-width: 300px;
  }
}
@media (min-width: 768px) {
  .chatbot_privacy_modal .modal-lg .modal-content,
  .chatbot_privacy_modal .modal-xl .modal-content,
  .chatbot_privacy_modal .modal-md .modal-content {
    max-width: 700px;
  }
  .chatbot_privacy_modal .modal-header,
  .chatbot_privacy_modal .modal-body {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 992px) {
  .chatbot_privacy_modal .modal-lg .modal-content,
  .chatbot_privacy_modal .modal-xl .modal-content {
    max-width: 800px;
  }
}
@media (min-width: 1200px) {
  .chatbot_privacy_modal .modal-xl .modal-content {
    max-width: 1345px;
  }
}

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