.chat-e_webchat_show {
  display: block;
  opacity: 1;
}

.chat-e_webchat_hidden {
  user-select: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  width: 0px;
  height: 0px;
  overflow: hidden;
}

.chat-e_webchat_chat_wrapper {
  animation: webchat_bounce_in 0.2s;
  position: fixed;
  right: 85px;
  bottom: 110px;
  max-height: 600px;
  height: 60%;
  width: 360px;
  border: 0;
  display: none;
  opacity: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
  z-index: 21474830000;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
}

.chat-e_webchat_chat_wrapper.open {
  display: block;
  opacity: 1;
}

.chat-e_webchat_chat_wrapper.left {
  left: 40px;
  animation: webchat_bounce_in_left 0.2s;
}

.chat-e_webchat_chat_frame {
  display: block !important;
  position: relative;
  left: 0;
  height: 100%;
  width: 360px;
  border: 0px;
}

.chat-e_webchat_close_button {
  display: none;
}

.chat-e_webchat_button_wrapper {
  bottom: 80px;
  position: fixed;
  z-index: 21474830000;
  border-radius: 50%;
  /*
  animation: chatbot_bound 1.2s ease-in-out 3 forwards, chatbot_pulse 3s infinite;
  -webkit-animation: chatbot_bound 1.2s ease-in-out 3 forwards, chatbot_pulse 3s infinite;
  animation-delay: 0.7s;
  */
  
  /*
  animation: bounce_in 0.5s;
  */

  animation: chatbot_bound 1.2s ease-in-out 3 forwards;
  -webkit-animation: chatbot_bound 1.2s ease-in-out 3 forwards;
  animation-delay: 0.7s;
  
}

.chat-e_webchat_button_wrapper.right {
  right: 3px;
}

.chat-e_webchat_button_wrapper.left {
  left: 40px;
}

.chat-e_webchat_button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  /*border: 3px solid #fff;*/
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  overflow: initial;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0px;
  border: 1px solid rgb(47, 110, 141)
}

.chat-e_webchat_button_img {
  background-image:url(https://chatbot.wsu.ac.kr/img/default.png);
  background-size: contain;
  background-position: center;
}

/*.chat-e_webchat_button_img:hover{
  background-image:url(https://chat.ewha.ac.kr/contents_image/chatbot_hover.png);
}*/

.chat-e_webchat_button_close {
  background-image:url(../img/icon-webchat-close.svg);
  background-size: contain;
  background-position: center;
}

.chat-e_webchat_button:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.chat-e_webchat_button:hover .chat-e_webchat_button_img {
  background-image:url(https://chatbot.wsu.ac.kr/img/hover.png);
}

.chat-e_webchat_buttonImg {
  cursor: pointer;
}

.chat-e_webchat_popup {
  cursor: pointer;
  align-items: center;
  box-shadow: 0 1pt 12pt rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
  border-radius: 5px;
  position: fixed;
  padding: 10px 40px 10px 20px;
  max-width: 270px;
  word-break: break-all;
  bottom: 110px;
  animation: bounce_in 0.5s;
  z-index: 21474830000;
}
.chat-e_webchat_popup p {
  margin: 0;
}

.chat-e_webchat_popup_close_button {
  color: #495057;
  font-size: 15px;
  font-weight: 600;
  position: absolute;
  right: 4px;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
  top: 0;
  cursor: pointer;
  padding: 8px;
  cursor: pointer;
}

.chat-e_webchat_popup_close_button:after {
  content: '\00D7';
}

.chat-e_webchat_popup.right {
  right: 40px;
}

.chat-e_webchat_popup.left {
  left: 40px;
}

@media screen and (max-width: 1024px){
  .chat-e_webchat_button_img{
    width : 60px !important;
    height : 60px !important;
  }

  .chat-e_webchat_button{
    width : 60px;
    height : 60px;
  }

  .chat-e_webchat_button_wrapper{
    bottom : 80px;
  }

  .chat-e_webchat_button_wrapper.right{
    right : 12px;
  }
}

@media (max-width: 540px) {
  .chat-e_webchat_chat_wrapper.responsive {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    max-height: 100vh !important;
    width: 100vw;
    border: 0;
    border-radius: 0;
    overflow: 'hidden';
    background-color: #fff;
    z-index: 21474830000;
    box-shadow: 0;
  }

  .chat-e_webchat_chat_wrapper.responsive.left {
    left: 0px;
  }

  .chat-e_webchat_chat_wrapper.responsive .chat-e_webchat_chat_frame {
    left: 0;
    height: 100%;
    width: 100%;
  }

  .chat-e_webchat_close_button.responsive {
    display: block;
    position: absolute;
    padding: initial;
    right: 8px;
    top: 8px;
    width: 40px;
    height: 40px;
  }

  .chat-e_webchat_close_button.responsive:before,
  .chat-e_webchat_close_button.responsive:after {
    position: absolute;
    left: 18px;
    top: 12px;
    content: ' ';
    height: 16px;
    width: 4px;
    border-radius: 4px;
    background-color: #333;
  }

  .chat-e_webchat_close_button.white.responsive:before,
  .chat-e_webchat_close_button.white.responsive:after {
    background-color: #fff;
  }

  .chat-e_webchat_close_button.responsive:before {
    transform: rotate(45deg);
  }

  .chat-e_webchat_close_button.responsive:after {
    transform: rotate(-45deg);
  }

  .chat-e_webchat_button_wrapper.responsive.open {
    display: none;
  }

  .chat-e_webchat_button.responsive {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    overflow: initial;
    align-items: center;
    justify-content: center;
  }

  .chat-e_webchat_buttonImg.responsive {
    cursor: pointer;
    width: 36px;
    height: 36px;
  }
}

@keyframes bounce_in {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
  }

  70% {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
  }

  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes webchat_bounce_in {
  0% {
    opacity: 0;
    transform: scale(0, 0);
    transform-origin: bottom right;
  }

  100% {
    opacity: 1;
    transform: scale(1, 1);
    transform-origin: bottom right;
  }
}

@keyframes webchat_bounce_in_left {
  0% {
    opacity: 0;
    transform: scale(0, 0);
    transform-origin: bottom left;
  }

  100% {
    opacity: 1;
    transform: scale(1, 1);
    transform-origin: bottom left;
  }
}

/*챗봇 바운드하는거(이대 제외)*/
/*@keyframes chatbot_bound {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
}*/
@-webkit-keyframes chatbot_pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 250, 0.4);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(0, 0, 250, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 250, 0);
  }
}
@keyframes chatbot_pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(0, 0, 250, 0.4);
    box-shadow: 0 0 0 0 rgba(0, 0, 250, 0.4);
  }
  70% {
    -moz-box-shadow: 0 0 0 10px rgba(0, 0, 250, 0);
    box-shadow: 0 0 0 10px rgba(0, 0, 250, 0);
  }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(0, 0, 250, 0);
    box-shadow: 0 0 0 0 rgba(0, 0, 250, 0);
  }
}