@charset "UTF-8";

#chat-frame {
  background-color: #fff;
  width: 380px;
  height: calc(100vh - 218px);
}

div.chat-container {
  /* max-height: 25%; */
  display: none; /* ini display hidden */
  position: fixed;
  bottom: 17px;
  right: 20px;
  color: #fff;
  font-size: 1.3rem;
  border-radius: 1em 1em 0em 0em;
  line-height: 1;
  /* transition: all .3s ease-out; */
  cursor: pointer;
  margin-right: 1rem;
  z-index: 9004;
}

div.chat-wrapper {
  display: none; /* intial display */
  overflow: hidden;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2);
  border-radius: 1em 1em 0em 0em;
}

.chat-header-text {
  margin-left: 11px;
  display: inline;
  vertical-align: super;
  color: #fff;
  font-size: 1.7rem;
}

div.chat-window {
  -webkit-overflow-scrolling: touch;
  max-height: 100%;
}

#chat-frame:focus, div.chat-window:focus {
  outline: none !important;
  box-shadow: none !important;
}

div.chat-headerUp {
  width: 380px;
  background-color: #31435e;
  cursor: pointer;
  font-family: "Thrive", "Source Sans Pro", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif !important;
  font-weight: normal !important;
  font-size: 1em;
  padding-top: 10px;
  padding-bottom: 10px;
}

div.chat-headerUp:focus {
  box-shadow: none !important;
  border-color: #fff;
  outline: 3px dotted #aeb0b5;
  outline-offset: -6px;
}

div.chat-headerUp * {
  font-family: "Thrive", "Source Sans Pro", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif !important;
  font-weight: normal !important;
}

div.chat-headerDown {
  height: 113px;
  width: 116px;
  cursor: pointer;
  padding:14px;
  background-repeat: no-repeat;
  background-size: 122px;
  background:transparent;
  box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.1);

}

div.chat-headerDown.wobble {
  animation-delay: 10s;
  animation: wobble 10s infinite linear 3s;
}

div.chat-headerDown:focus {
  box-shadow: none !important;
  border-color: #fff;
  outline: 3px dotted #aeb0b5;
  outline-offset: -6px;
}

.chat-ArrowDownIconButton {
  background: transparent;
  border-style: none;
  float: right;
  margin-right: 30px;
  margin-top: 15px;
  width: 17px;
  height: 1px;
  border-top: solid 2.5px #ffffff;
  cursor: pointer;
}

.chat-HeaderChatIcon {
  width: 29px;
  margin: 4px 0px 0px 13px;
}

#messageNumberCircle  {
  display: none; /* intial display */
}

.chat-NumberCircle {
  width: 26px;
  float: right;
  position: relative;
  top: 17px;
  right: 17px;
}

.chat-messageNumber {
  color: #fff;
  float: right;
  position: relative;
  top: -90px;
  right: 0;
  font-size: 15px;
  font-family: "Thrive", "Source Sans Pro", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif !important;
  font-weight: bold;
  display: block;
  background: #b35a57;
  height: 27px;
  width: 27px;
  border-radius: 50%;
  padding: 5px;
  border: solid #fff 1px;
  text-align: center;
  animation: fadeIn 500ms linear;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.chat-openChatOnPopUp {
  background-color: #fff;
  padding: 1px 16px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2);
  margin: 0 -8px 0 12px;
  border-radius: 5px;
}

.chat-introPopUp {
  font-size: 15px;
  line-height: normal;
  color: #272f39;
  font-family: "Thrive", "Source Sans Pro", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif !important;
  font-weight: normal;
}

div.chat-Popup {
  padding: 1px 16px;
  margin: 0 -8px 0 12px;
  height: 144px;
  display: block;
}

.chat-closeChatPopup {
  width: 50px;
  margin-left: 86%;
  position: relative;
  top: 10px;
}

.chat-flexBox {
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  height: 117px;
}

/* iphone 6, 6s, 7 and 8 */
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  div.chat-headerUp {
    width:100%;
  }
  
  #chat-frame {
    width: 100%;
    height: calc(var(--window-inner-height) - 50px);
    /* mobile viewport bug fix */
    /* min-height: -webkit-fill-available; */
  }

  div.chat-container {
    border-radius: 0em;
    margin-right: 0rem;
   -webkit-overflow-scrolling : touch !important;
  }

  div.chat-wrapper{
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    border-radius: 0em;
  }

  div.chat-Popup  {
    display: none;
  }

  div.chat-window {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  /* disable browser skinning  */
  html.is-locked,
  html.is-locked body {
      /* fix the height to the window height */
      height: calc(var(--window-inner-height) - 1px);
  
      /* block all overflowing content */
      overflow: hidden;
  
      /* exclude padding from the height */
      box-sizing: border-box;
      
      -webkit-overflow-scrolling : touch !important;
  }
}
/* fix the input zoom */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
  select:focus,
  textarea:focus,
  input:focus {
    font-size: 16px;
  }
}

@media (max-width: 951px) {
  div.chat-Popup  {
    display: none;
  }
  
  div.chat-container {
  right: 0px;
  }
}

@keyframes wobble {
  10%, 100% {
   transform: translateX(0%);
  }
  0% {
    transform: translateX(0%);
  }
  1.33% {
    transform: translateX(-25%) rotate(-10deg);
  }
  2.66% {
    transform: translateX(20%) rotate(4deg);
  }
  3.99% {
    transform: translateX(-15%) rotate(-4deg);
  }
  5.32% {
    transform: translateX(10%) rotate(3deg);
  }
  7.65% {
    transform: translateX(-5%) rotate(-2deg);
  }
}
