@font-face {
    font-family: classic robot;
    src: url(font/Classic_Robot.otf) format("opentype");
  }
  @font-face {
    font-family: classic robot;
    font-style: italic;
    src: url(font/Classic_Robot_Italic.otf) format("opentype");
  }
  @font-face {
    font-family: classic robot;
    font-style: italic;
    font-weight: 700;
    src: url(font/Classic_Robot_Bold_Italic.otf) format("opentype");
  }
  @font-face {
    font-family: classic robot;
    font-weight: 700;
    src: url(font/Classic_Robot_Bold.otf) format("opentype");
  }
  body {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-position: 10% 10%;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
  #chat,
  #close-chat,
  #reload-chat,
  #feedback-chat
  .chat-text,
  .maxi-button,
  .minim-button ,
  #userpreference{
    font-weight: 700;
    cursor: pointer;
    font-family: "classic Robot";
    text-align: center;
    height: 16px;
    line-height: 16px;
  }
  #chat,
  #close-chat,
  #reload-chat,
  #refresh,
  #feedback-chat
  .chatbox {
    border: 0 solid #ff7a00;
  }
  #chat:after,
  #chat:before {
    position: absolute;
    border-style: solid;
    content: "";
  }
  .chatbox {
    position: fixed;
    bottom: 5%;
    left: 8%;
    margin: 0 0 -1500px;
    background: rgba(12, 77, 162, 1);
    border: none;
    border-radius: 11px;
    border-radius: 8px;
    width: 30%;
    height: 80%;
    min-height: 550px;
    max-width: 100%;
    padding-right: 0;
    padding-bottom: 0;
    padding-top: 0;
    padding: 0;
    overflow: hidden;
    z-index: 100000;
  }
  .chatbox.fullscreen {
  /* max-height: none; */
  position: fixed;
  /* Position fixed to cover the entire viewport */
  top: 0;
  /* Align to the top */
  left: 0;
  /* Align to the left */
  width: 100vw;
  /* Full viewport width */
  height: 100vh ;
  /* Full viewport height */
  z-index: 9999;
  /* Ensure it is above other elements */
  transition: all 0.1s ease;
  /* Smooth transition */
}

/* Style adjustments for layout */
.toggle-container {
  display: inline-block;
  vertical-align: middle;
  margin-left: -5px; /* Space it nicely between Employee Assist and camera */
}
  
  #reload-chat {
    position: absolute;
    top: 17px;
    right: 50px;
    font-size: 20px;
    border: 0 solid #dedede;
    width: 20px;
    background: #fefefe;
    z-index: 2;
  }
  #close-chat {
    position: absolute;
    top: 17px;
    right: 80px;
    font-size: 20px;
    border: 0 solid #dedede;
    width: 20px;
    background: #fefefe;
    z-index: 2;
    cursor: pointer;
  }
  #resize {
  position: absolute;
  top: 17px;
  right: 110px;
  font-size: 20px;
  border: 0 solid #dedede;
  width: 20px;
  /* background: #fefefe; */
  z-index: 2;
  cursor: pointer;
}
  #feedback-chat {
    position: absolute;
    top: 17px;
    right: 20px;
    font-size: 20px;
    border: 0 solid #dedede;
    width: 20px;
    background: #fefefe;
    z-index: 2;
    cursor: pointer;
  }
  #maxi-chat,
  #minim-chat {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
    z-index: 1;
  }
  .minim-button {
    position: absolute;
    top: 2px;
    right: 26px;
    font-size: 24px;
    border: 0 solid #dedede;
    width: 20px;
    background: #fefefe;
  }
  .maxi-button {
    position: absolute;
    top: 2px;
    right: 26px;
    font-size: 24px;
    border: 0 solid #dedede;
    width: 20px;
    background: #fefefe;
  }
  .chat-text {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 16px;
  }
  #chat {
    width: 40px;
    border-radius: 3px;
    font-size: 12px;
    /* -webkit-transform: translateZ(0);
    transform: translateZ(0); */
  }
  #chat:before {
    border-width: 10px 11px 0 0;
    border-color: #a8a8a8 transparent transparent;
    left: 7px;
    /* bottom: -10px; */
  }
  #chat:after {
    border-width: 9px 8px 0 0;
    border-color: #fff transparent transparent;
    left: 8px;
    /* bottom: -8px; */
  }
  #chat:hover {
    -webkit-animation-name: hvr-pulse-grow;
    animation-name: hvr-pulse-grow;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
  }
  #chat:hover:after {
    border-color: #ddd transparent transparent !important;
  }
  .animated-chat {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  @-webkit-keyframes tada {
    0% {
      -webkit-transform: scale(1);
    }
    10%,
    20% {
      -webkit-transform: scale(0.9) rotate(-3deg);
    }
    30%,
    50%,
    70%,
    90% {
      -webkit-transform: scale(1.1) rotate(3deg);
    }
    40%,
    60%,
    80% {
      -webkit-transform: scale(1.1) rotate(-3deg);
    }
    100% {
      -webkit-transform: scale(1) rotate(0);
    }
  }
  @keyframes tada {
    0% {
      transform: scale(1);
    }
    10%,
    20% {
      transform: scale(0.9) rotate(-3deg);
    }
    30%,
    50%,
    70%,
    90% {
      transform: scale(1.1) rotate(3deg);
    }
    40%,
    60%,
    80% {
      transform: scale(1.1) rotate(-3deg);
    }
    100% {
      transform: scale(1) rotate(0);
    }
  }
  .tada {
    -webkit-animation-name: tada;
    animation-name: tada;
  }
  .adya-icon {
    animation-duration: 2s;
    animation-iteration-count: 5;
  }
  .side-3 {
    animation-name: side-3;
    animation-timing-function: ease;
  }
  @keyframes side-3 {
    0% {
      transform: translateX(0);
    }
    30% {
      transform: translateX(-100px);
    }
    50% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(0);
    }
  }
  @-webkit-keyframes hvr-pulse-grow {
    to {
      -webkit-transform: scale(1.1);
      transform: scale(1.1);
    }
  }
  @keyframes hvr-pulse-grow {
    to {
      -webkit-transform: scale(1.1);
      transform: scale(1.1);
    }
  }
  #chat {
  background-color: transparent;
  height: 120px;
  line-height: 65px;
  cursor: pointer;
  z-index: 10000;
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 80px;
  z-index: 99999;
  padding: 0;
}
  .chatbox {
    padding-left: 0;
    border-radius: 6px 6px 6px 6px;
  }
  .chatbot-title b {
    color: white;
    font-family: "classic robot" !important;
  }
  #chat::after {
    border-width: 0;
    border-color: transparent transparent transparent;
    left: 0;
    bottom: 0;
  }
  #close-chat {
    border: 0 solid #fff;
    background: 0 0;
  }
  #refresh{
  border: 0 solid #fff;
  background: 0 0;
}
  #reload-chat {
    border: 0 solid #fff;
    background: 0 0;
  }
  
  #feedback-chat {
    border: 0 solid white;
    background: transparent;
  }
  
  #minim-chat {
    border: 0 solid #fff;
  }
  .wc-message-groups {
    padding-left: 0;
    padding-right: 0;
  }
  #chat::before {
    border-color: transparent transparent transparent;
  }
  #chatbox {
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 12px;
    border-radius: 20px;
  }
  .close-button-wraper {
    width: 100%;
    height: 9%;
  }
  .close-button-wrapper2 {
    width: 50px;
    height: 50px;
    float: left;
  }
  .bot-title-left {
    margin-left: 15px;
    /* margin-top: 11px; */
    color: #fff;
    margin-top: 10px;
    height: 35px;
  }
  .bot-title-left img {
    height: 100%;
    width: auto;
    background-color: #ffe8a3;
    border-radius: 50%;
    transition: transform 0.3s; 
  }
  .bot-title-left img:hover {
    transform: scale(1.08) rotate(1080deg); 
  }
  .bot-logo-wraper {
    display: inline-block;
    height: 100%;
    width: auto;
  }
  .bot-logo-wraper {
    display: inline-block;
    height: 100%;
    width: auto;
  }
  #chatbox-popup-top {
    position: absolute;
    bottom: 80px;
    left: -50px;
    width: 200%;
    text-align: center;
    font-size: 13px;
    opacity: 0;
    transition: opacity 1s linear;
    -webkit-animation: mover 1s infinite alternate;
    animation: mover 1s infinite alternate;
    -webkit-animation: mover 1s infinite alternate;
    animation: mover 1s infinite alternate;
  }
  #chatbox-popup-top:after {
    content: "";
    position: absolute;
    right: 55px;
    top: 49px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #d9d9d9;
    clear: both;
  }
  @-webkit-keyframes mover {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-10px);
    }
  }
  @keyframes mover {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-10px);
    }
  }
  #chatbox-popup-top span {
    font-family: OpenSans-Regular, sans-serif;
    color: #000;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #d9d9d9;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 12px;
  }
  #chatbox-popup-bottom {
    font-family: OpenSans-Regular, sans-serif;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 0;
  }
  .chatbox-popup-text {
    color: #000;
    font-family: "classic robot";
  }
  .glow {
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate;
  }
  @keyframes glow {
    from {
      text-shadow: rgba(0, 0, 0, 0.3) 0 0 12px;
    }
    to {
      text-shadow: rgba(0, 0, 0, 0.3) 0 0 12px;
    }
  }
  .chatbot-title {
    width: auto;
    margin: auto;
    display: inline-block;
    font-size: 15px;
    padding-top: 16px;
    padding-left: 5px;
  }
  .chatbot-title:hover {
    cursor: move;
  }
  .chatbot-title b {
    color: #fff;
    font-family: "classic robot" !important;
    font-size: 20px;
    
  }
  .chatbot-title div {
    color: #fff;
    margin-right: 7px;
  }
  .chatbot-inner-image {
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 12px;
    border-radius: 50%;
    position: absolute;
    margin: 0;
    max-height: 80px;
    height: 80px;
    width: 80px;
    top: 0;
    right: 0;
    opacity: 1;
    padding: 0;
    border-radius: 50%;
    background-color: #fff;
  }
  .chatbot-inner-image:hover {
    background-color: #ffe8a3;
    transform: scale(1.08) rotate(1080deg); 
    transition: background-color 1s ease;
  }
  .chatbot-frame {
    position: absolute;
    bottom: 0;
    left: 0;
    border: 0;
    margin: 0;
    padding: 0;
    height: calc(100% - 55px);
    width: 100%;
    padding-bottom: 0;
  }
  @media only screen and (max-width: 1024px) and (orientation: portrait) {
    #chatbox {
      right: 0px !important;
      left: 0px !important;
      top: 0px !important;
      bottom: 0px !important;
      width: 100% !important;
      height: 100% !important;
      max-height: 100% !important;
      display: none;
    }
  }
  @media only screen and (min-width: 396px) and (max-width: 796px) and (orientation: landscape) {
    #chatbox {
      width: 100% !important;
      right: 0px !important;
      left: 0px !important;
      top: 0px !important;
      bottom: 0px !important;
      display: none;
    }
    .chatbot-frame {
      height: calc(100% - 45px);
    }
  }
  @media only screen and (min-width: 768px) and (max-width: 1028px) and (orientation: landscape) {
    #chatbox {
      right: 0px !important;
      left: 0px !important;
      top: 0px !important;
      bottom: 0px !important;
      width: 100% !important;
      max-height: 100% !important;
      height: 100% !important;
      display: none;
    }
  }
  @keyframes glowing {
    0% {
      box-shadow: 0 0 10px #f1b547;
    }
    50% {
      box-shadow: 0 0 30px rgba(255, 241, 0, 255);
    }
    100% {
      box-shadow: 0 0 10px #f1b547;
    }
  }
  .chatbot-inner-image {
    animation: glowing 1300ms 100;
  }

  
/* Resize handles for chatbot */
.resize-handle {
  position: absolute;
  background-color: transparent;
  z-index: 101000;
}

.resize-handle-n {
  top: 0;
  left: 5px;
  right: 5px;
  height: 5px;
}

.resize-handle-ne {
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  cursor: ne-resize;
}


  