body {
  font-family: "Open Sans", sans-serif;
  background: #f9f9f9 !important;
  overflow-y: clip /*hidden*/;
  position: fixed;
  width: 100%;
}

.disclaimer {
  margin-top: 15px;
  /*border: 1px solid;*/
  padding: 10px 15px 10px 10px;
  overflow: auto;
  font-size: 16px;
  text-align: justify;
  background-color: #fcfcfc;
  font-family: "Roboto";
  color: #757575;
}

@media only screen and (min-width: 620px) {
  .disclaimer {
    padding: 10px 15px 10px 30px;
  }
}

@media only screen and (max-width: 879px) {
  body {
    background: white !important;
  }
}
.disclaimer h2 {
  font-size: 16px;
  text-align: center;
  text-decoration: underline;
  padding-bottom: 20px;
  padding-top: 15px;
  font-weight: bold;
  color: #757575;
}
.disclaimer > ol > li {
  padding-bottom: 15px;
}
.empty-chat {
  width: 50%;
  min-width: 250px;
  height: 27%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  border: 1px solid #938d8d;
  border-radius: 5px;
  overflow: auto;
  color: #777;
  display: flex;
  justify-content: flex-end;
  height: fit-content;
  font-family: "Open Sans", sans-serif;
}

.empty-chat-text > h4 {
  font-weight: bold;
  color: #545454;
}

.empty-chat-icon {
  height: 100%;
  width: 15%;
  float: left;
  /*padding: 35px;*/
  padding-top: 45px;
}

.empty-chat-icon > img {
  width: 100%;
}

.empty-chat-icon i {
  font-size: 40px;
}

.empty-chat-text {
  width: 80%;
  float: right;
  padding: 20px;
}

@media only screen and (max-width: 500px) {
  .empty-chat {
    width: 80%;
  }
}

@media only screen and (max-width: 400px) {
  .empty-chat {
    width: 95%;
  }
}

@media only screen and (min-width: 999px) {
  .empty-chat-icon > img {
    width: 70%;
  }
}
@media only screen and (max-width: 767px) {
  .empty-chat-icon {
    width: 20%;
  }
}

#bot-logo {
  font-size: 220%;
  width: 50px;
  height: 50px;
  float: left;
  text-align: center;
}

code, .pre-code-area {
  display: block;
  overflow-x: auto;
  background: rgb(43, 43, 43);
  color: rgb(248, 248, 242);
  padding: 0.5em;
  width: 55vw;
}

@media (min-width: 2000px) and (max-width: 2199px) {
  code, .pre-code-area {
    width: 45vw;
  }
}

@media (min-width: 2200px) and (max-width: 2399px) {
  code, .pre-code-area {
    width: 40vw;
  }
}

@media (min-width: 2400px) and (max-width: 2599px) {
  code, .pre-code-area {
    width: 35vw;
  }
}

@media (min-width: 2600px) and (max-width: 2799px) {
  code, .pre-code-area {
    width: 30vw;
  }
}

@media (min-width: 2800px) {
  code, .pre-code-area {
    width: 25vw;
  }
}

@media (max-width: 450px) {
  code, .pre-code-area {
    width: 59vw;
  }
}

:not(pre) > code {
  display: inline;
  background: transparent;
  color: black;
}

pre code:not([class]) {
  /* Reset or default styles for code blocks without any class names */
  display: inline-block;
  width: 55vw;
  overflow-x: scroll;
  background: initial;
  color: initial;
  padding: 0;
}

.MuiGrid-root.MuiGrid-container.MuiGrid-item.MuiGrid-grid-xs-8:nth-of-type(even)
  > .MuiGrid-root.MuiGrid-item
  > .MuiPaper-elevation {
  background: white !important;
}
th {
  padding: 10px;
}
td {
  padding: 10px;
}
.bold-col {
  font-weight: bold;
}

div > h2 {
  color: #545454;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #eeeeee;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(30 162 130);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(30 162 130);
}

.MuiButtonBase-root {
  text-transform: unset !important;
  font-weight: bold !important;
  display: block;
}


.tooltip {
  /*position: relative;*/
  display: inline-block;
  color: black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: #545454;
  color: #fff;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 25%;
  left: 0px;
  padding-left: 15px;
  padding-right: 15px;
}

.upload-tooltip {
  position: absolute;
  bottom: 50px;
  width: 40%;
  margin-left: 10px;
  background-color: rgb(167, 48, 208);
  color: #fff;
  padding: 0.5rem;
  border-radius: 0.25rem 0.25rem 0.25rem 0;
  z-index: 1;
  visibility: hidden;
}

.upload-tooltip-35{
  background-color: rgb(84, 84, 84);
}

.upload-tooltip-4{
  background-color: rgb(84, 84, 84);
}

.upload-tooltip-4o{
  background-color: rgb(84, 84, 84);
}

.upload-tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0%;
  border-width: 10px 10px 0px 0px;
  border-style: solid;
}

.upload-tooltip-35 .tooltiptext::after{
  border-color: rgb(84, 84, 84) transparent transparent transparent;
}

.upload-tooltip-4 .tooltiptext::after{
  border-color: rgb(84, 84, 84) transparent transparent transparent;
}

.upload-tooltip-4o .tooltiptext::after{
  border-color: rgb(84, 84, 84) transparent transparent transparent;
}

@media only screen and (max-width: 576px) {
  .upload-tooltip {
    width: 65%;
  }
}

@media only screen and (max-width: 350px) {
  .tooltip .tooltiptext {
    width: 260px;
  }
}

.loading {
  font-weight: bold;
  display: inline-block;
  font-family: monospace;
  font-size: 15px;
  clip-path: inset(0 3ch 0 0);
  animation: l 1s steps(4) infinite;
  background-color: white !important;
}

@keyframes l {
  to {
    clip-path: inset(0 -1ch 0 0);
  }
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

a {
  text-decoration: none;
}

/*This is customed css for file previewing */

.sheet-names > input {
  border: 0px;
  padding: 10px;
  margin-right: 10px;
  margin-bottom: 5px;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.sheet-names {
  margin-bottom: 10px;
}

.file-viewer-style {
  border: 10px solid green;
  width: 50%;
  height: 50%;
}

.pg-viewer-wrapper {
  /*overflow-y: hidden !important;*/
}

.pdf-canvas {
  margin-bottom: 15px;
}
canvas {
  width: 100%;
}

.document-container {
  width: 100% !important;
}

.excel-class > div > #pg-viewer {
  height: 500px !important;
}

.chatbot-response ol {
  white-space: normal;
}

@media (max-width: 879px) {
  .chat-functionbar, .header {
    right: 6px !important;
  }
}

@media (min-width: 1201px) {
  .chat-functionbar, .header {
    right: 16% !important;
  }
}

.react-code-copy-position-tr {
  top: -8px !important;
}

.react-code-copy-flex {
  margin-top: 0 !important;
}

.table-border {
  border: 1px solid #f8f8f8;
}

/* End */