html {
  position: relative;
  min-height: 100%;
}
body {
  margin-bottom: 60px; /* Margin bottom by footer height */
}

:root {
  --jumbotron-padding-y: 3rem;
}
.jumbotron {
  padding-top: calc(var(--jumbotron-padding-y) * 0.5);
  padding-bottom: calc(var(--jumbotron-padding-y) *  0.4);
  margin-bottom: 10;
  margin-top: 50px;
}
@media (min-width: 768px) {
  .jumbotron {
    padding-top: calc(var(--jumbotron-padding-y) *  0.5);
    padding-bottom: calc(var(--jumbotron-padding-y) *  0.4);
  }
}




.starter-template {
    padding: 3rem 1.5rem;
    text-align: center;
 }


.hidden {
    display: none;
}


.text-wrap{
  white-space:normal;
}
.width-200{
  width:200px;
}


.dataTables_wrapper .dataTables_processing {
  position: fixed !important;
  top: 50% !important;
}

.datatable_explorer  { 
  /* table-layout: fixed; */
  width: 100% !important;
 }

.datatable_explorer  td,
.datatable_explorer  th{
  /* width: auto !important; */
  /* white-space: normal; */
  /* text-overflow: ellipsis; */
  overflow: hidden;
}


.datatable_explorer .select-checkbox {
  width: 12px;
}

.custom-triangle {
  color: orange;
}

.custom-triangle:hover::after {
  content: "Redundant element";
  display: block;
  position: absolute;
  background-color: #fff;
  color: #000;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: -30px; /* Adjust the position as needed */
  margin-left: 10px; /* Adjust the position as needed */
  z-index: 1;
}


.checkbox-group {
  display: inline-block;
  vertical-align: top;
  margin-right: 20px; /* Adjust as needed */
}

.logical-checkboxes {
  margin-top: 10px; /* Adjust as needed */
}

.popup {
  display: none;
  position: fixed;
  top: 40%;
  left: 40%;
  transform: translate(-50%, -50%);
  /* width: 300px; */
  height: 300px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;  
}

.popup2 {
  display: none;
  position: fixed;
  top: 40%;
  left: 40%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;  
}

.popup-content {
  padding: 20px;
}


.chechbox-content {
  display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 10px;
}

.smaller-text {
  font-size: smaller;
}

#data_container {
  display: flex !important;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  padding-bottom: 10px;
  box-sizing: border-box;
}

.flex_container {
  display: flex 
}

.centered-text {
  text-align: center;
}

.image_caption {
  text-align: center;
  color: "grey";
  font-style: italic;
}

.grey_italic {  
  color: "grey";
  font-style: italic;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px; /* Set the fixed height of the footer here */
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}



.image_pdb_container {
  width: 80%; 
  /* height: 0px; */
  margin-top : 10px;
  margin-bottom : 10px;
  overflow: hidden;
  position: relative;
}

.image_pdb_container object {
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: none;
}


.content {
  flex: 1;
}


.legend-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 400px;
  margin-right: 10px;
}
.legend-bar {
  width: 20px;
  height: 100%;
  background: linear-gradient(to top, #ff0000, #00ff00);
  border: 1px solid #000;
}
.legend-label {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 14px;
}
.viewer-container {
  display: flex;
}

.short_text_input {
  height: 40px;
  width: 300px;
}


.tooltip-header {
  position: relative;
}

.tooltip {
  position: absolute;
  top: 50%;
  left: auto; /* Ensures it's not limited to the column */
  right: 100%; /* Positions the tooltip to the left of the header */
  transform: translate(-10px, -50%);
  background-color: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  white-space: normal; /* Enables wrapping */
  max-width: 400px; /* Set desired maximum width */
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
  z-index: 1000; /* Keeps it above other elements */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow */
}

.tooltip-header:hover .tooltip {
  visibility: visible;
  opacity: 1;
}




.tooltip-icon {
    position: relative;
    display: inline-block;
}

.tooltip-icon .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the icon */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-icon .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%; /* Arrow below the tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
