.chat-app {
  position: fixed;
  /* border: 2px solid lightgreen; */
  bottom: 1px;
  right: 20px;
  z-index: 10000;
  opacity: 1;
}

.chat-app .chat-icon {
  cursor: -webkit-pointer;
  cursor: pointer;
}

.chat-app .chat-icon:hover {
  animation: shake 0.5s;
  animation-iteration-count: 1;
}

.Popup {
  height: 500px;
  width: 400px;
  position: fixed;
  z-index: 10000;
  bottom: 75px;
  right: 30px;
  background-color: white;
  border: 2px solid rgb(245, 243, 243);
  border-radius: 15px;
  align-content: center;
  -webkit-box-shadow: 0px 0px 9px 6px rgba(0, 0, 0, 0.28);
  -moz-box-shadow: 0px 0px 9px 6px rgba(0, 0, 0, 0.28);
  box-shadow: 0px 0px 9px 6px rgba(0, 0, 0, 0.28);
  opacity: 1;
  padding-top: 0.5%;
  transform: scaleY(0);
  transition: all .5s ease-in-out;
  visibility: hidden;
}

.Popup hr {
  color: lightgray;
  margin: 0;
}

.Popup::after {
  content: "";
  position: inherit;
  bottom: 55px;
  right: 70px;
  margin-left: -5px;
  border-width: 10px;
  border-style: solid;
  border-color: rgb(245, 243, 243) transparent transparent transparent;
}

.Headingbar {
  vertical-align: middle;
  padding: 1%;
}

.Heading {
  font-size: 18px;
  text-align: center;
  font-weight: 600;
  display: inline;
  color: #666;
}

.T2mheading {
  font-weight: 400;
}

.close {
  margin-top: -8px;
  margin-right: 2px;
  opacity: 0.7;
  float: right;
}

.close a {
  font-size: 25px;
  color: lightgreen;
}

.close a:hover {
  color: black;
}

.close:hover {
  opacity: 1;
  cursor: -webkit-pointer;
  cursor: pointer;
}

/* Styling form */

.t2minput {
  color: #666 !important;
  background: #fff !important;
  background-image: -webkit-linear-gradient(
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0)
  ) !important;
  border: 1px solid #bbb !important;
  -webkit-border-radius: 3px !important;
  border-radius: 3px !important;
  display: block !important;
  padding: 0.7em !important;
  width: 100% !important;
}

.t2mSubmit {
  width: 100%;
  background-color: #4caf50 !important;
  color: white !important;
  padding: 14px 20px;
  margin: 8px 0;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}

.t2mSubmit:hover {
  background-color: #45a049 !important;
}

.formDiv {
  border-radius: 5px !important;
  background-color: #f2f2f2 !important;
  padding: 5px 20px !important;
}

.formDiv label {
  font-size: 16px;
  color: #333;
  display: block;
  font-weight: 800;
  margin-bottom: 0.5em;
}

.t2muEmail {
  padding-top: 10px;
}

.userIntro {
  font-size: 16px !important;
  margin: 5px;
  border-radius: 5px;
  background-color: #fff;
}

.categoryList {
  /* height: 175px; */
  margin: 5px;
  padding: 10px;
  border: 1px solid rgb(241, 235, 235);
  border-radius: 5px;
}

.categoryList a {
  padding: 2px 4px !important;
  text-decoration: none !important;
  font-size: 14px !important;
}

.singleCategoryDiv:hover .singleCategory {
  color: rgb(18, 136, 24);
  transition: font-size 0.5s ease;
  font-size: 20px;
}

.singleCategoryDiv {
  padding: 2px 8px;
}

.singleCategoryDiv:hover {
  background-color: rgb(245, 243, 243);
  cursor: pointer;
}

.imageCircleSmall {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  margin-top: -65px;
  background-color: rgb(245, 243, 243);
  position: absolute;
  display: inherit;
  left: 45%;
  border: 2px solid lightskyblue;
}

.t2mPagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.t2mPagination a:hover {
  cursor: pointer;
}

.t2mPagination a.active {
  background-color: dodgerblue;
  color: white;
}

.t2mPagination a:hover:not(.active) {
  background-color: #ddd;
}

.t2mtextarea {
  width: 100%;
  height: 150px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 16px;
  resize: none;
}

.t2mtextarea:focus {
  border: 2px solid rgb(165, 164, 164);
}

.t2mLanguages {
  padding: 20px;
  height: 220px;
  width: 100%;
  padding: 5px;
  border: 1px solid gray;
  overflow-y: scroll;
}

.t2mLangList {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

input[type="checkbox"].t2mLangListCB {
  display: none;
}

.t2mSingleLang {
  padding: 5px 2px;
}
.t2mSingleLangName {
  font-size: 15px;
  color: rgb(9, 190, 69);
  text-transform: capitalize;
}

input.t2mLangListCB[type="checkbox"] + span {
  display: inline-block;
  position: relative;
  top: -1px;
  width: 20px;
  height: 20px;
  padding: 3px 2px;
  margin: -1px 0px 0 0;
  vertical-align: middle;
  background: white left top no-repeat;
  border: 1px solid #ccc;
  cursor: pointer;
}

input.t2mLangListCB[type="checkbox"]:checked + span {
  background: lightgreen -19px top no-repeat;
}

input.t2mLangListCB[type="checkbox"] + span {
  margin-right: 4px;
}

.t2mLangLoadMore,
.t2mLangNoLoad {
  display: table;
  margin: 0 auto;
}

.t2mLangLoadMore:hover {
  cursor: pointer;
}

.t2mLoader {
  height: 30px;
  width: 50px;
}

.t2mErrorAlert {
  border: 1px solid rgb(236, 86, 86);
  border-radius: 10px;
}
.t2mSuccessAlert {
  border: 1px solid lightgreen;
  border-radius: 10px;
}

.t2mCenterText,
.t2mCenterImage {
  display: table;
  margin: 0 auto;
}

.t2mAgent {
  display: block;
  text-transform: capitalize;
}

.t2mtextareaChat {
  width: 75%;
  float: left;
  height: 50px;
  margin: 0 0 0 10px;
  padding: 8px 20px;
}

.t2msubmitChat {
  padding: 8px 20px !important;
  margin: 0 10px !important;
  width: 13%;
  height: 50px;
}

.t2msubmitChatDisabled {
  background-color: gray !important;
}

.t2msubmitChatDisabled:hover {
  background-color: gray !important;
}

.Popup .t2mChatWindow {
  position: relative;
  height: 100%;
}

.Popup .t2mChatWindow .t2mChatBox {
  height: 335px;
  word-wrap: break-word;
  border: 1px solid #5de6a1;
  border-radius: 5px;
  padding-bottom: 10px;
  position: relative;
}

.t2mChatMessage {
  overflow-y: scroll;
  height: calc(100% - 25px);
}

.t2mChatArea {
  /* position: absolute;
  bottom: 50px; */
  width: 100%;
  padding-top: 4px;
}

.t2mChatArea p {
  margin: 0;
}

.t2mCustomerChat {
  display: flex;
  justify-content: flex-end;
  padding: 0;
  margin: 2px;
}

.t2mCustomerChat p {
  background-color: coral;
  padding: 10px;
  border-radius: 5px;
  max-width: 85%;
  margin: 2px;
  color: white;
}

.t2mCustomerChat span {
  background-color: coral;
  /* padding: 6px 15px; */
  padding: 20px;
  display: inline-table;
  border-radius: 50%;
  margin: 2px;
  /* color: white;
  text-transform: capitalize; */
}

.t2mAgentChat {
  display: flex;
  justify-content: flex-start;
  padding: 0;
  margin: 2px;
}

.t2mAgentChat p {
  background-color: #afff8f;
  padding: 10px;
  border-radius: 5px;
  max-width: 85%;
  margin: 2px;
}

.t2mAgentDisconnect {
  position: absolute;
  /* bottom: 0; */
  left: 5px;
}

.t2mAgentDisconnect p {
  max-width: 100%;
  font-size: 13px;
  color: grey;
  font-style: italic;
  transition: visibility 1s cubic-bezier(0.18, 0.89, 0.32, 1.28),
    opacity 1s linear;
  visibility: hidden;
  opacity: 0;
}

.t2mAgentDisconnected p {
  visibility: visible !important;
  opacity: 1 !important;
  transition: visibility 1s cubic-bezier(0.18, 0.89, 0.32, 1.28),
    opacity 1s linear;
}

.t2mAgentTyping p {
  visibility: visible !important;
  opacity: 1 !important;
  transition: visibility 1s cubic-bezier(0.18, 0.89, 0.32, 1.28),
    opacity 1s linear;
}

.t2mAgentChat span img {
  display: inline-table;
  border-radius: 50%;
  margin: 2px;
  height: 39px;
  width: 39px;
  border-radius: 50%;
  border: 2px solid #afff8f;
}

/* Scroll Bar */
/* width */
.t2mChatMessage::-webkit-scrollbar {
  width: 8px;
}

/* Track */
.t2mChatMessage::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.t2mChatMessage::-webkit-scrollbar-thumb {
  background: #afff8f;
  border-radius: 10px;
}

/* Handle on hover */
.t2mChatMessage::-webkit-scrollbar-thumb:hover {
  background: rgb(12, 201, 129);
}

/* Media queries */
@media only screen and (max-width: 800px) {
  .Popup {
    height: 600px;
    width: 500px;
  }
  .Popup .t2mChatWindow .t2mChatBox {
    height: 425px;
  }
}

@media only screen and (max-width: 700px) {
  .Popup {
    height: 500px;
    width: 380px;
  }
  .Popup .t2mChatWindow .t2mChatBox {
    height: 325px;
  }
}

@media only screen and (max-width: 600px) {
  .Popup {
    height: 500px;
    width: 380px;
  }
  .Popup .t2mChatWindow .t2mChatBox {
    height: 330px;
  }
}

@media only screen and (max-width: 400px) {
  .Popup {
    height: 400px;
    width: 300px;
  }
  .Popup .t2mChatWindow .t2mChatBox {
    height: 225px;
  }
}

.t2mchat-scale-up-bottom {
	 transform: scaleY(1);
    visibility: visible;
}

/* Keyframes */
@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.toast.show {
  display: block;
  opacity: 1;
}
.toast {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.875rem;
  background-color: rgba(248, 154, 154, 0.85);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  border-radius: 0.25rem;
}
.toast-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: 0.25rem 0.75rem;
  color: #242121;
  background-color: rgba(238, 215, 215, 0.85);
  background-clip: padding-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
b,
strong {
  font-weight: bolder;
}
.toast-body {
  padding: 0.75rem;
}

