#header {
  padding: 30px;
  text-align: center;
  background: #140005;
  color: white;
  font-size: 40px;
}

#footer {
  position: fixed;
  width: 100%;
  background-color: #bbc4c2;
  color: white;
  text-align: center;
  left: 0;
  bottom: 0;
}

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

.body_content {
  margin-left: 50px;
  margin-right: 50px;
}

.feature_table {
  width: 100%;
  position: relative;
  left: 0;
  right: 0;
  /* left: calc(-50vw + 50%); */
}

.required::before {
  content: "*";
  float: left;
  color: red;
}

#pageloader {
  background: rgba(255, 255, 255, 0.8);
  display: none;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

#pageloader img {
  margin: auto;
}

.container {
  width: 100%;
}

.col-sm-6 {
  width: 80%;
}

.navbar {
  margin-bottom: 7px;
  border-radius: 20px;
  min-height: 0px;
}

.navbar-default {
  /* background-color: var(--navbar-bkg); */
  border-color: var(--navbar-border);
  background-image: var(--navbar-bkg);
  background-position: center;
  background-size: cover;
}

/* To show logo and text inline */
.container_logo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.totogi_logo {
  position: relative;
  /* top:-15px; */
}

li {
  display: inline;
}

ul ul ul {
  left: 100%;
  top: 0;
  margin-left: 1px;
}

div.dt-buttons {
  padding-left: 50px;
  padding-top: 50px;
}

div.dtsb-searchBuilder {
  padding-left: 50px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  width: 180px;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  position: relative;
  float: right;
  right: 0;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #cccccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
  border-left-color: #ffffff;
}

.dropdown-submenu.pull-right {
  float: right;
}

.dropdown-submenu.pull-right>.dropdown-menu {
  float: right;
  right: 100%;
  margin-right: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

.dropdown-menu.dropdown-menu-right {
  float: right;
  width: fit-content;
  right: 100%;
}

/* Basic Info */
.basic-info {
  margin-left: auto;
  margin-right: 15px;
  max-width: 500px;
  background: #f7f7f7;
  padding: 5px 15px 25px 10px;
  font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #888;
  /* text-shadow: 1px 1px 1px #FFF; */
  border: 1px solid #e4e4e4;
}

.basic-info h1 {
  font-size: 25px;
  padding: 0px 0px 10px 40px;
  display: block;
  border-bottom: 1px solid #e4e4e4;
  margin: -10px -15px 30px -10px;
  color: #888;
}

.basic-info h1>span {
  display: block;
  font-size: 15px;
}

.basic-info label {
  display: block;
  margin: 0px;
}

.basic-info label>span {
  float: left;
  width: 20%;
  text-align: right;
  padding-right: 10px;
  margin-top: 10px;
  color: #888;
}

.basic-info input[type="text"],
.basic-info input[type="email"],
.basic-info textarea,
.basic-info select {
  border: 1px solid #dadada;
  color: #888;
  height: 30px;
  margin-bottom: 16px;
  margin-right: 6px;
  margin-top: 2px;
  outline: 0 none;
  padding: 3px 3px 3px 5px;
  width: 70%;
  font-size: 14px;
  line-height: 18px;
  box-shadow: inset 0px 1px 4px #ececec;
  -moz-box-shadow: inset 0px 1px 4px #ececec;
  -webkit-box-shadow: inset 0px 1px 4px #ececec;
}

.basic-info textarea {
  padding: 5px 3px 3px 5px;
}

.basic-info select {
  background: #fff url("down-arrow.png") no-repeat right;
  background: #fff url("down-arrow.png") no-repeat right;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: "";
  width: 70%;
  height: 35px;
  line-height: 25px;
}

.basic-info textarea {
  height: 100px;
}

/* Basic Forms */
.basic-forms {
  margin-left: 50px;
  margin-right: auto;
  max-width: 600px;
  background: #fff;
  padding: 25px 15px 25px 10px;
  font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: -internal-light-dark(rgb(239, 239, 239), rgb(59, 59, 59));
  color: #888;
  /* text-shadow: 1px 1px 1px #FFF; */
  border: 1px solid #fff;
}

.basic-forms h1 {
  font-size: 25px;
  padding: 0px 0px 10px 40px;
  display: block;
  border-bottom: 1px solid #e4e4e4;
  margin: -10px -15px 30px -10px;
  color: #888;
}

.basic-forms h1>span {
  display: block;
  font-size: 15px;
}

.basic-forms label {
  display: block;
  margin: 0px;
}

.basic-forms label>span {
  float: left;
  width: 20%;
  text-align: right;
  padding-right: 10px;
  margin-top: 10px;
  color: #888;
}

.basic-forms input[type="text"],
.basic-forms input[type="email"],
.basic-forms textarea {
  border: 1px solid #dadada;
  color: #888;
  height: 100%;
  margin-bottom: 16px;
  margin-right: 6px;
  margin-top: 2px;
  outline: 0 none;
  padding: 5px 3px 3px 5px;
  width: 100%;
  font-size: 14px;
  line-height: 18px;
  box-shadow: inset 0px 1px 4px #ececec;
  -moz-box-shadow: inset 0px 1px 4px #ececec;
  -webkit-box-shadow: inset 0px 1px 4px #ececec;
}

.basic-forms input[type="text"],
.basic-forms input[type="email"] {
  height: 34px;
}

.basic-forms input[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

/* to use align basic-forms and wtf */
.btn-default {
  background-color: var(--btn-bkg-color);
}

.btn {
  display: inline-block;
  padding: 3px 3px 3px 5px;
  margin-bottom: 16px;
  margin-right: 6px;
  margin-top: 2px;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid;
  color: var(--btn-font-color);
  border-radius: 4px;
  box-shadow: inset 0px 1px 4px #ececec;
  -moz-box-shadow: inset 0px 1px 4px #ececec;
  -webkit-box-shadow: inset 0px 1px 4px #ececec;

  /* background-image: var(--btn-bkg);
    background-position: center;
    background-size: cover; */
}

/* end of wtf alignment */

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  color: var(--form-font-color);
}

.basic-forms {
  color: var(--form-font-color);
}

.basic-forms select {
  background: #fff url("down-arrow.png") no-repeat right;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: "";
  width: 70%;
  height: 100%;
  line-height: 25px;
  border: 1px solid #dadada;
  color: #888;
  margin-bottom: 16px;
  margin-right: 6px;
  margin-top: 2px;
  outline: 0 none;
  padding: 3px 3px 3px 5px;
  font-size: 14px;
  box-shadow: inset 0px 1px 4px #ececec;
  -moz-box-shadow: inset 0px 1px 4px #ececec;
  -webkit-box-shadow: inset 0px 1px 4px #ececec;
}

.basic-forms-warning {
  font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #888;
  /* text-shadow: 1px 1px 1px #FFF; */
  border: 1px solid #efefef;
}

html {
  overflow-y: scroll;
  overflow-x: scroll;
}

.theme-standard {
  /* Background style */
  --background-color: #ffffff;
  --font-color: #888;

  /* button style */
  --btn-color: #888;
  --btn-bkg-color: #e6e6e6;
  --btn-font-color: #888;
  --btn-bkg: none;

  /*navbar*/
  --navbar-bkg: none;
  --navbar-border: #e7e7e7;
  --navbar-font-color: #777;

  /*Forms and heading*/
  --form-font-color: #888;

  /*json*/
  --json-bkg: #f5f5f5;
}

.theme-prod {
  /* Background style */
  --background-color: #ff000029;
  --font-color: #e32500;

  /* button style */
  --btn-color: #89000b;
  --border-color: #440404;
  --btn-bkg-color: #6b0000;
  --btn-font-color: #ffffff;
  --btn-bkg: url("./img/red1.jpg");

  /*navbar*/
  --navbar-bkg: url("./img/red1.jpg");
  --navbar-border: #440404;
  --navbar-font-color: #ffffff;

  /*Forms and heading*/
  --form-font-color: #000000;

  /*json*/
  --json-bkg: #830606;
}

.theme-prod nav {
  color: var(--navbar-font-color);
}

.theme-standard nav {
  color: var(--navbar-font-color);
}

.navbar a {
  color: var(--navbar-font-color);
}

.navbar-default .navbar-brand {
  color: var(--navbar-font-color);
}

.div-sticky {
  position: sticky;
  top: 0px;
}

#mySidenav {
  display: flex;
  position: fixed;
  /* Position them relative to the browser window */
  right: -160px;
  /* Position them outside of the screen */
  top: 20vw;
  transition: 0.3s;
  /* Add transition on hover */
  padding: 5px;
  /* 15px padding */
  width: 200px;
  /* Set a specific width */
  text-decoration: none;
  /* Remove underline */
  font-size: 15px;
  /* Increase font size */
  background: #0000000f;
  /* White text color */
  border-radius: 5px 5px 5px 5px;
  /* Rounded corners on the top right and bottom right side */
}

#mySidenav:hover {
  right: 0;
  /* On mouse-over, make the elements appear as they should */
  background: #00000040;
}

#toggle_collapse {
  top: 20vw;
  background-color: #001d3d;
  display: flex;
  justify-content: center;
}

mark {
  padding: 0;
  background-color: orange;
}

#chatbot-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #007bff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}

#chatbot-button span {
  color: white;
  font-size: 24px;
}

#chatbot-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  height: 400px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  overflow: hidden;
  z-index: 999;
}

#chatbot-header {
  background-color: #007bff;
  color: white;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatbot-header h3 {
  margin: 0;
  font-size: 16px;
  color: lightgrey;
}

#chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
}

#chatbot-messages {
  padding: 10px;
  height: 300px;
  overflow-y: auto;
  word-wrap: break-word;
}

#chatbot-input {
  width: 100%;
  padding: 10px;
  border-top: 1px solid #ccc;
}

#chatbot-messages .chatbot-message.user {
  background-color: #007bff;
  color: white;
  padding: 10px;
  border-radius: 10px;
  margin: 5px 0;
  text-align: right;
  word-wrap: break-word;
}

#chatbot-messages .chatbot-message.assistant {
  background-color: #e0e0e0;
  color: black;
  padding: 10px;
  border-radius: 10px;
  margin: 5px 0;
  text-align: left;
  word-wrap: break-word;
}

.typing-indicator {
  display: none;
  padding: 10px;
  margin: 5px;
  background: #e6e6e6;
  border-radius: 5px;
}

.typing-indicator span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #90949c;
  border-radius: 50%;
  margin-right: 5px;
  animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

#clear-chat-button {
  position: fixed;
  bottom: 20px;
  right: 80px;
  width: 50px;
  height: 50px;
  background-color: #f44336;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}

#clear-chat-button span {
  color: white;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

#clear-chat-button:hover {
  background-color: #d32f2f;
}

/* Button tooltip styles */
.button-tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
}

#chatbot-button:hover .button-tooltip,
#clear-chat-button:hover .button-tooltip {
  opacity: 1;
}
