.chatbot-icon {
  position: fixed;
  bottom: 5rem;
  right: 1rem;
  z-index: 10000;
}

.chatbot-icon .img-active {
  width: auto;
  height: 50px;
  cursor: pointer;
}

.chatbot-icon .img-inactive {
  display: none;
  width: auto;
  height: 50px;
  cursor: pointer;
}

.chatbot {
  display: none;
  position: fixed;
  right: 40px;
  bottom: 40px;
  height: calc(80vh + 20px);
  width: 400px;
  z-index: 10001;
  background: #f2f2f2;
  -webkit-box-shadow: 0 0 5px 1px #001e41;
  -moz-box-shadow: 0 0 5px 1px #001e41;
  box-shadow: 0 0 5px 1px #001e41;
}

.chatbot .connect-customer-interface {
  height: 89vh !important;
}

.chatbot p {
  padding-bottom: 20px;
  font-size: calc(0.65*1.4rem);
  line-height: 1.2rem;
  color: #000;
}

.chatbot p a {
  color: #2c5697;
  cursor: pointer;
  font-weight: bold;
}

.chatbot p a:hover {
  text-decoration: underline;
}

.chatbot .disclaimer p {
  font-size: calc(0.65*1.2rem);
  line-height: 1rem;
}

.chatbot-logo-blue {
  background-color: #202a44;
  text-align: center;
  width: 100%;
  position: relative;
}

.chatbot-logo-blue img {
  display: inline-block;
  height: 80px;
}

/*adding close button*/
.chatbot .x {
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  width: 25px;
  height: 25px;
}

.chatbot .x::before,
.chatbot .x::after {
  position: absolute;
  top: 10px;
  left: 5px;
  width: 20px;
  height: 3px;
  content: "";
  background-color: #ffffff;
  display: block;
}

.chatbot .x::before {
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.chatbot .x::after {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.chatbot .x:hover {
  cursor: pointer;
}

.chatbot .screen-1,
.chatbot .screen-2,
.chatbot .screen-3 {
  padding: 20px;
  position: relative;
  width: 100%;
  float: left;
  overflow: hidden;
}

.chatbot .screen-2,
.chatbot .screen-3,
#chatbot-render {
  display: none;
  height: inherit;
}

.chatbot .screen-3 {
  padding: 0px;
}

.chatbot .forms-button h2 {
  font-size: 1.6rem !important;
}

#chatbot-render {
  height: 100% !important;
}

.chatbot .buttons {
  display: inline-block;
  width: 100%;
  margin: 20px 0 40px 0;
}

.chatbot .buttons .button {
  display: inline-block;
  width: 30%;
  text-align: center;
  border: 1px solid #2c5697;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  color: #2c5697;
  font-weight: bold;
  transition: all .4s;
}

.chatbot .buttons .button:hover {
  color: #ffffff;
  background-color: #2c5697;
}

.chatbot .button {
  margin: 0;
  display: inline-block;
}

.chatbot .forms-button {
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vw;
  width: 100%;
  margin: 10px 0;
}

.chatbot .forms-button .customer-type-button {
  width: 100%;
  text-align: center;
  border: 1px solid #2c5697;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  color: #2c5697;
  font-weight: bold;
  transition: all .4s;
  max-width: 200px;
  margin: 30px auto;
}

.chatbot .forms-button .customer-type-button:hover {
  color: #ffffff;
  background-color: #2c5697;
}

/* css rendering chatbot as iframe */
.path-chatbot .chatbot,
.path-advisersupport .chatbot {
  display: block;
  position: relative;
  height: calc(100%);
  width: 100%;
  z-index: 10001;
  background: #f2f2f2;
  right: 0px;
  bottom: 0px;
}

.chatbot #chatbot-render p {
  padding-bottom: 0;
}

.path-chatbot .chatbot .x,
.path-advisersupport .chatbot .x {
  display: none;
}

.path-chatbot .sliding-popup-bottom,
.path-advisersupport .sliding-popup-bottom {
  display: none;
}

.path-chatbot #chatbot-render > div > div > div:first-child,
.path-advisersupport #chatbot-render > div > div > div:first-child {
  display: none;
}

.path-chatbot .chatbot .screen-2,
.path-chatbot .chatbot .screen-3,
.path-chatbot #chatbot-render,
.path-advisersupport .chatbot .screen-2,
.path-advisersupport .chatbot .screen-3,
.path-advisersupport #chatbot-render {
  text-align: center;
}

.path-advisersupport .chatbot .screen-2 {
  padding: 0;
}

@media screen and (max-width: 768px) {
  .chatbot {
    display: none;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 100%;
    width: 100%;
    z-index: 10001;
    background: #f2f2f2;
    -webkit-box-shadow: 0 0 5px 1px #001e41;
    -moz-box-shadow: 0 0 5px 1px #001e41;
    box-shadow: 0 0 5px 1px #001e41;
  }
}
