

/*
Info Panel
*/
/* ul {
  /* list-style: none; */
  /* padding-left: -5;
}  */
ul { padding-left: 1.2em; }

#presyn-N{
    max-width: 30px;
    text-align:center;
}
#postsyn-N{
    max-width: 30px;
    text-align: center;
}

#precount-N{
    max-width: 30px;
    text-align: center;
}

#postcount-N{
    max-width: 30px;
    text-align: center;
}


.info-input-span{
    color: #999;
    /*font-size: 1.5vw;*/
}

.info-input{
    background: var(--srch-box-background);
    border-color: var(--srch-box-background);
    color: var(--srch-box-color);
    border-width: 1px;
    font-family: monospace;
}

.info-try {
  font-weight: 400;
  background: #377097;
  color: #ccc;
  /*font-size: 14px;*/
  border: 5px solid #377097;
  margin: -4px 0px 0px 10px
}

.info-try:focus,
.info-try:active:focus,
.info-try.active:focus {
    outline: 0 none;
}

.info-try:hover,
.info-try:focus {
    color: #eee;
}

.info-try:active,
.info-try.active {
    background: #444;
    color: #ddd;
}

.vis-info p {
  margin-left: 10px;
  margin-right: 10px;

}

.vis-info table > tbody > tr > td {
    color: var(--font-color-p);
}

.table-inverse td, .table-inverse th, .table-inverse thead th {
    border-color: #55595c;
}

.table-inverse th{
    color: #eee;
}
.table-inverse {
    color: #eceeef;
}

.table-custom-striped td, .table-custom-striped th {
  text-align:center;
}

.table-custom-striped td:nth-child(2), .table-custom-striped th:nth-child(2) {
  text-align:left;
  min-width: 200px;
}

.table-custom-striped td:last-child, .table-custom-striped th:last-child {
  text-align:center;
  padding-right: 20px;
}

.table-custom-striped .expander-arrow {
  cursor: pointer;
  margin-right: 0px;
}

.table-custom-striped th:nth-child(1), .table-custom-striped td:nth-child(1) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.table-custom-striped th:nth-child(3), .table-custom-striped td:nth-child(3) {
  padding-left: 1 !important;
  padding-right: 1 !important;
}

.table-custom-striped th:nth-child(5), .table-custom-striped td:nth-child(5) {
  min-width: 80px !important;
}
.table-custom-striped th:nth-child(6), .table-custom-striped td:nth-child(6) {
  min-width: 70px !important;
}

.vis-info {
  background: var(--infobar-background-color);
  border: 3px solid #1f1f1f;
  border-radius: 3px;
  left: 10px;
  top: 20px;
  position: fixed;
  z-index: 5;
  -webkit-transition: width .5s, height .5s;
  transition: width .5s, height .5s;
  box-shadow: 0px 0px 4px var(--infobar-background-color);
}

.vis-info-sm {
  height: 35px;
  width: 250px;
  top: 110px;
  overflow: hidden;
}

/* .vis-info-sm:hover */
.vis-info-pin {
  /*height: 400px;*/
  top: 60px;
  height: calc(100vh - 120px);
  width: calc(var(--boundary-horizontal) - 15px);
  overflow-x: hidden;
  overflow-y: auto;
}

#info-pin-div > ul {
  height: 40px;
  width: 100%;
  /* position: absolute; */
  margin-bottom: -5px;
}
#info-pin-div > ul > li:first-child > p {
  margin-top: 7px;
  /*margin-left: 5px;*/
  color: var(--font-color-p);
}
#info-pin-div > ul > li > p {
  margin-top: 5px;
  /*margin-left: 5px;*/
  color: white;
}

.vis-info > #info-pin-div > ul > li:first-child {
  width: calc( 95% - 50px );
}

#info-pin-div > ul > li:last-child {
  padding-right: 0px;
  float:right;
}

#info-pin-div > ul > li:last-child > .btn {
    margin-top: 7px;
    margin-right: 2px;
    background: transparent;
    color: #aaa;
    /*font-size: 15px;*/
}

#info-pin-div > ul > li:last-child > .btn:focus,
#info-pin-div > ul > li:last-child > .btn:active:focus,
#info-pin-div > ul > li:last-child > .btn.active:focus {
    outline: 0 none;
}

#info-pin-div > ul > li:last-child > .btn:hover {
    color: #eee;
}

.vis-info-pin > #info-pin-div > ul > li:first-child > p {
  display: none;
}

.vis-info-sm > *:nth-child(2) {
  display: none;
}


.ffbo-intro > p,
.ffbo-intro > h1,
.ffbo-intro > h2,
.ffbo-intro > h3,
.ffbo-intro > h4,
.ffbo-intro > h5 {
  margin-left: 10px;
  margin-right: 15px;
}
.ffbo-intro > hr {
    width: 95%;
    height: 1px;
    background-color: #666;
    border: none;
}

#neu-id {
  margin-top: 5px;
}

@media screen and (max-width: 768px) {
  .vis-info-sm {
    width: 40%;
  }
}

@media screen and (max-width: 780px) and (orientation:portrait) {
  .vis-hf-r,
  .vis-3d-hf {
    height: calc( 60% - 35px - 25px ) !important;
    width: calc( 100% - 20px ) !important;
    top: calc( 40% ) !important;
    left: 10px !important;
  }
  /* .vis-info-sm:hover */
  .vis-info-pin,
  .vis-sm:hover,
  .vis-sm-1:hover {
    top: 60px;
    height: calc( 40% - 35px - 25px - 10px);
    width: calc( 100% - 20px );
    overflow-y: auto;
  }

  .vis-3d-lg {
      border: none;
      height: calc( 100% - 120px );
      width: calc( 100% - 20px );
      top: 60px;
      left: 10px;
  }

}


/* making responsive table with CSS grid*/
.table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 1px;
    border-bottom-color: rgb(221, 221, 221);
    border-bottom-width: 1.5px;
    border-bottom-style: solid;
}


.table-grid > div {
    display: grid;
    grid-template-columns: 1fr 2fr;
    justify-content: center;
    box-sizing: border-box;
    border-bottom-color: rgb(221, 221, 221);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    grid-column-gap: 0px;
    grid-row-gap: 1px;
    align-items: center;
}

.table-grid > div p{
    margin: 0px;
    padding: 8px;
    box-sizing: border-box;
    align-self: center;
    color: var(--font-color-p);
}

#info-panel-extra-img {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    border-bottom-color: rgb(221, 221, 221);
    border-bottom-width: 1.5px;
    border-bottom-style: solid;
    grid-column-gap: 10px;
    justify-items: center;
}


#info-panel-extra-img img {
    max-width: 150px;
    max-height: 150px;
}


#info-panel-conn-table >div:first-child {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: start;
}

#info-panel-table .info-input{
    width: 100%;
    max-width: 200px;
}


#info-panel-conn-svg  {
    text-align: center;
}

#info-panel-conn-svg > svg {
    min-width:250px;
    max-width:675px;
}


/*
.table-inverse td, .table-inverse th, .table-inverse thead th {
    border-color: #55595c;
}

.table-inverse th{
    color: #eee;
}
.table-inverse {
    color: #eceeef;
}

.vis-info table > tbody > tr > td {
    color: var(--font-color-p);
}

.table-inverse td, .table-inverse th, .table-inverse thead th {
    border-color: #55595c;
}

.table-inverse th{
    color: #eee;
}
.table-inverse {
    color: #eceeef;
}

.table-custom-striped td, .table-custom-striped th {
    text-align:center;
}

.table-custom-striped td:first-child, .table-custom-striped th:first-child {
    text-align:left;
}

.table-custom-striped td:last-child, .table-custom-striped th:last-child {
    text-align:right;
    padding-right: 20px;
}

*/



#chat-container {
  display: flex;
  flex-direction: column;
  height: 95%; /* Takes full height of the parent div */
  width: 100%; /* Takes full width of the parent div */
}

.chat-history {
  overflow-y: auto;
  padding: 10px;
  flex-grow: 1;
}


.chat-input .auto_height {
  /* flex-grow: 1;
   */
  padding: 8px;
  border: 1px solid #ccc;
  /* border-radius: 4px; */
  width: 100%;
  resize: none; /* Disables manual resizing */
  overflow: auto; /* Allows scrolling inside textarea */
}


.chat-input {
  position: relative; /* Ensures that children can be positioned absolutely relative to this container */
  display: flex;
  padding-right: 40px; /* Adds padding to prevent text from going behind the button */
  align-items: center; /* Centers items vertically */
  height: auto; /* Adjust as necessary */
}

.chat-input textarea {
  flex-grow: 1;
  border-radius: 4px;
  padding: 8px; /* Ensure adequate padding */
  border: 1px solid #ccc;
  resize: none; /* Disables resizing the textarea */
}

.chat-input button {
  position: absolute;
  bottom: 0px;
  right: 1px;
  width: 40px; /* Width and height are the same to make the button square */
  height: 40px;
  padding: 0; /* Adjust padding to zero for a perfect square if necessary */
  background-color: #007bff;
  color: white;
  border: 1px solid transparent; /* Adds border to maintain consistent button size */
  border-radius: 4px;
  cursor: pointer;
}

.chat-input button:hover {
  background-color: #0056b3;
}

.chat-input i.material-icons-outlined {
  font-size: 24px; /* Adjust to fit the button, assuming a square button */
  vertical-align: middle; /* Centers the icon vertically */
}









.message {
  margin-bottom: 12px;
  line-height: 1.4;
  border-radius: 5px;
  padding: 8px;
  max-width: 100%;
}

.my-message {
  /* background-color: #007bff; */
  color: white;
  text-align: left;
  align-self: flex-end;
}

.bot-message {
  /* background-color: #f1f0f0; */
  color: white;
  text-align: left;
  align-self: flex-start;
}


/* toggle slider for group by type */

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  margin-bottom: -3px;
  margin-left: 3px;
  margin-right: 3px;
}

/* Hide the default checkbox */
.toggle-switch input.toggle-switch-checkbox {
  display: none;
}

/* The track for the toggle */
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;  left: 0;  right: 0;  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}

.toggle-slider.round {
    border-radius: 24px;
}


/* The  (the circle) */
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
}

/* Round the knob if .round is used */
.toggle-slider.round:before {
  border-radius: 50%;
}

/* When checkbox is checked, move the knob to the right */
.toggle-switch-checkbox:checked + .toggle-slider {
  background-color: #2196F3; /* slider track color when ON */
}
.toggle-switch-checkbox:checked + .toggle-slider:before {
  transform: translateX(20px);
}

#info-panel-wrapper .expander-arrow {
  cursor: pointer;
  margin-right: 2px; /* a little spacing before the text */
  font-size: 1.1em;  /* size it up slightly */
}

.table-custom-striped .fa-exchange {
  cursor: pointer;
}

.table-custom-striped #expand-pre-all {
  cursor: pointer;
}

.table-custom-striped #expand-post-all {
  cursor: pointer;
}

.table-custom-striped .exchange-highlight-flash {
  transition: background-color 0.5s ease;
  background-color: #806600 !important;
}
