@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400&display=swap");

* {
  box-sizing: border-box;
}

#chat-form {
  position: fixed;
  bottom: 27px;
  right: 27px;
  height: auto;
  float: right;
  z-Index: 9999999 !important;
}

#chat-form .icon {
  position: fixed;
  right: 30px;
  bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  color: #ffffff;
  background: 
  #00e3e3;
  width: 55px;
  height: 55px;
  float: right;
  border-radius: 50px;
  padding: 10px 15px;
  transition: 0.3s all;
  box-shadow: 0 30px 50px #0000000d;
  overflow: hidden;
}

#chat-form .messenger.expanded {
  visibility: visible;
  height: 300px;
  width: 300px;
  -webkit-box-shadow: 1px 2px 6px 1px rgba(0, 0, 0, 0.21);
  box-shadow: 1px 2px 6px 1px rgba(0, 0, 0, 0.21);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#chat-form .messenger {
  background-color: #fff;
  border: 1px solid #0f513238;
  box-shadow: 0 30px 50px #0000000d;
  padding: 15px;
  margin-bottom: 70px;
  border-radius: 3px;
  overflow: hidden;
  transition: height 0.7s;
  width: 0;
  height: 0;
  visibility: hidden;
}

#chat-form h1 {
  margin: 0 0 10px 0;
}

#chat-form .form-group {
  display: flex;
  flex-direction: column;
}

#chat-form input {
  margin: 5px 0 15px 0;
}

#chat-form .button-row {
  display: flex;
  justify-content: space-between;
}

#chat-form .btn {
  height: 3em;
  width: 47%;
  border: none;
  border-radius: 5px;
}

#chat-form .submit-btn {
  background-color: 
  #00e3e3;
  color: white;
}

#chat-form .cancel-btn {
  color: 
  #00e3e3;
  background-color: white;
  border: 1px solid 
  #00e3e3;
}

.hideIcon {
  display: none;
}

.hideStartChatButton {
  display: none !important;
}


.displayIcon {
  display: block;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  #chat-form .messenger.expanded {
    width: 100%;
    height: 100%;
  }
  #chat-form .icon {
    right: 8px !important;
    bottom: 12px !important;
    width: 65px;
    height: 65px;
  }
  #user-details-form {
    font-size: 30px;
  }
  #chat-form {
    width: 90%;
    height: auto;
    bottom: 100px;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  #chat-form .messenger.expanded {
    width: 100%;
    height: 100%;
  }
  #chat-form {
    width: 90%;
    height: auto;
    bottom: 40px;
  }
  #user-details-form {
    font-size: 30px;
  }
  #chat-form .icon {
    width: 65px;
    height: 65px;
  }
  
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  #chat-form .messenger.expanded {
    width: 100%;
    height: 100%;
  }
  #chat-form {
    width: 90%;
    height: auto;
    bottom: 40px;
  }
  #user-details-form {
    font-size: 30px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  #chat-form .messenger.expanded {
    width: 100%;
    height: 100%;
  }
  #chat-form {
    width: auto;
    height: auto;
    bottom: 40px;
  }
  #user-details-form {
    font-size: 20px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  #chat-form .messenger.expanded {
    width: 100%;
    height: 100%;
  }
  #chat-form {
    width: auto;
    height: auto;
    bottom: 40px;
  }
  #user-details-form {
    font-size: 20px;
  }
}