#nesChatButton {
  position: fixed;
  display: flex;
  bottom: 15px;
  right: 15px;
  -webkit-transition:  0.3s linear;
  transition: all 0.3s linear;
  cursor: pointer;
  max-width: 100%;
  height: 70px;
  -webkit-filter: drop-shadow(0px 0px 2px #afabab);
  filter: drop-shadow(0px 0px 2px #afabab);
  z-index: 999999 !important;
}

#nesChatButtonPadding {
  position: fixed;
  display: flex;
  bottom: 15px;
  right: 15px;
  -webkit-transition:  0.3s linear;
  transition: all 0.3s linear;
  cursor: pointer;
  max-width: 100%;
  height: 70px;
  -webkit-filter: drop-shadow(0px 0px 2px #afabab);
  filter: drop-shadow(0px 0px 2px #afabab);
  z-index: 999999 !important;
  padding-right: 200px;
}

#nesChatButton:hover {
  -webkit-filter: drop-shadow(0px 0px 4px #707070);
  filter: drop-shadow(0px 0px 4px #707070);
}

#nesChatButton:hover::after {
  opacity: 1;
}

#nesChatBubble {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 300px;
  max-width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #f7f6f6;
  border-radius: 5px;
  padding: 10px 10px 10px 20px;
  overflow: hidden;
  color: #2d2d2d;
  font-size: 14px;
  font-family: "Arial";
  cursor: pointer;
  -webkit-filter: drop-shadow(0px 0px 5px #d7d5d5);
  filter: drop-shadow(0px 0px 5px #d7d5d5);
  animation: chatFadeIn 1s linear, chatWave 2.5s linear;
  z-index: 99999;
}

#nesChatBubble .nes-bubble-body p {
    line-height: 1.4 !important;
    color: #2d2d2d !important;
    font-size: 14px !important;
    margin: 15px 0 !important;
}

.chatSpace {
  padding-top: 20px;
}

@keyframes chatWave {
  0%, 60%, 100% {
    transform: initial;
  }

  30% {
    transform: translateY(-10px);
  }
}

@keyframes chatFadeIn {
  0% {
    opacity: 0;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#nesCloseButton {
  position: absolute;
  right: 39px;
  top: 37px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #666;
  text-align: center;
  line-height: 1.25;
  font-size: 18px;
  font-family: 'Arial';
  cursor: pointer;
  pointer-events: all;
  z-index: 9999;
}

#nesMinimizeButton {
  position: absolute;
  right: 62px;
  top: 37px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #666;
  text-align: center;
  line-height: 0.6;
  font-size: 38px;
  font-family: 'Arial';
  cursor: pointer;
  pointer-events: all;
  z-index: 9999;
}

#nesCloseButton:hover, #nesMinimizeButton:hover {
  background-color: #e7e6e6;
}

.nes-bubble-header {
  position: relative;
  height: 22px;
  margin-top: 10px;
}

#nesBubbleCloseButton {
  position: absolute;
  right: 12px;
  top: 11px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #666;
  text-align: center;
  line-height: 1.2;
  font-size: 18px;
  font-family: 'Arial';
  cursor: pointer;
  pointer-events: all;
  z-index: 9999;
}

#nesBubbleCloseButton:hover {
  background: #e7e6e6;
}

.nes-bubble-body {
  line-height: 1.4;
}

#nesChatbotHolder {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  width: 550px;
  height: 650px;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  z-index: 9999;
}

#nesChatFrame {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  pointer-events: all;
}

@media only screen and (max-width: 500px) {
    #nesChatBubble {
        width: 200px;
    }

    #nesCloseButton {
        top: 20px;
    }

    #nesMinimizeButton {
      top: 22px;
    }
}
