body{
  background-color: #fff;
}

div.content{
  font-family: Lato, sans-serif;
  font-weight: 300;
  color: #262626;
  width: 1074px;
  margin: 0 auto;
}

div.header{
  margin: 25px 10px;
}

div.header img{
  height: 55px;
}

h2.page_title{
  color: #3FA7CE;
  font-size: 28px;
  font-weight: bold;
  margin: 18px 10px;
}
h5.page_title{
  margin: 18px 10px;
}

/*div.status_main{
  overflow-x: scroll;
  padding: 20px;
}
*/
div.status_main table{
  width: 100%;
  background-color: #FFFFFF;
  border-spacing: 0;
  border-left: 1px solid #E5E5E5;
}

div.status_main table thead th{
  padding: 8px 10px;
  color: #777;
  border-top: 1px solid #E5E5E5;
  text-align: center;
}
div.status_main table tbody th, div.status_main table thead th:first-child{
  width: 250x;
  min-width: 250px;
}

div.status_main table tbody td{
  min-width: 100px;  
}

div.status_main table thead th:first-child{
  border-left: 1px solid #E5E5E5;
}

div.status_main table thead th:last-child{
  border-right: 1px solid #E5E5E5;
}

div.status_main table thead th:first-child {
  text-align: left;
  color: #1C3B63;
  min-width: 250px;
  border-right: 1px solid #E5E5E5;
}

div.status_main table tbody th, div.status_main table tbody td{
  padding: 10px 10px;
  border-top: 1px solid #E5E5E5;
}

div.status_main table tbody th{
  text-align: left;
  background-color: #FFFFFF;
  color: #1C3B63;
  border-color: #E5E5E5;
  border-right: 1px solid #E5E5E5; /* Added separator */
}

div.status_main table tbody tr:first-child th{
  border-top: 1px solid #E5E5E5;
}

div.status_main table tbody tr:nth-child(odd) th{
  background-color: #E5E5E5;
}

div.status_main table tbody tr:nth-child(odd) td{
  background-color: #E5E5E5;
}

div.status_main table tbody td {
  text-align: left;  /* Aligns all text to the left */
  min-width: 180px;  /* Ensures no text wrapping/stacking */
  border-right: 1px solid #E5E5E5; /* Adds separators between columns */
}

div.status_main table tbody td:last-child{
  border-right: 1px solid #E5E5E5;
}

div.status_main table tbody tr:last-child th, div.status_main table tbody tr:last-child td{
  border-bottom: 1px solid #E5E5E5;
}

div.status_main i.fa{
  font-size: 18px;
}

div.status_main td span{
  margin-left: 6px;
  font-size: 16px;
  font-weight: 400;
}

div.status_main td div[data-toggle=tooltip]{
  display: inline-block;
}

div.status_main i.fa.ok, div.status_main td span.ok{
  color: #27a224;
}

div.status_main i.fa.warn, div.status_main td span.warn{
  color: #ff8a00;
}

div.status_main i.fa.error, div.status_main td span.error{
  color: #ea0e0e;
}

i.fa.ok{
  color: #27a224;
}

i.fa.warn{
  color: #ff8a00;
}

i.fa.error{
  color: #ea0e0e;
}

[data-toggle=tooltip]{
  cursor: help;
}

div.status_main .tooltip-inner{
  text-align: left;
  max-width: 400px;
  font-size: 14px ;
}

ul.table_legend{
  list-style: none;
  margin: 18px 10px;
  padding: 0;
}

ul.table_legend li{
  display: inline;
  margin: 0 18px 0 0;
  font-size: 14px;
  line-height: 18px;

}

ul.table_legend i.fa{
  font-size: 18px;
  margin-right: 4px;
  vertical-align: text-top;
}

.tooltip-container {
    position: relative; /* Position the tooltip text relative to its parent */
    cursor: pointer;
}

/* Make tooltip stay */
.tooltip-text {
/* Keep existing visibility/positioning settings */
    visibility: hidden;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);

    /* VISUAL IMPROVEMENTS */
    background-color: #333;
    color: #fff;
    padding: 10px 12px; /* Add slightly more padding */
    border-radius: 6px;
    
    /* FIX FOR LONG TEXT */
    white-space: normal;  /* Allows text to wrap naturally */
    width: 300px;         /* Sets a fixed width for the bubble */
    text-align: left;     /* Easier to read paragraphs than center alignment */
    font-size: 13px;      /* Slight adjustment for readability */
    line-height: 1.4;     /* Improves spacing between lines */
    
    /* Animation settings */
    opacity: 0;
    transition: opacity 0.3s;
    
    /* Optional: Add a subtle shadow for depth */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text,
    .tooltip-container[data-active="true"] .tooltip-text {
      visibility: visible;
      opacity: 1;
    }

/* --- DYNAMIC "BOTTOM" POSITION VARIATION --- */
/* This class is added by JS if we are too close to the top */
.tooltip-container.bottom .tooltip-text {
  bottom: auto;      /* Unset the bottom alignment */
  top: 125%;         /* Push it below the icon */
}

/* Re-orient the arrow to point UP */
.tooltip-container.bottom .tooltip-text::after {
  top: auto;
  bottom: 100%;
  border-color: transparent transparent #333 transparent;
}

/* --- VISIBILITY STATES --- */
.tooltip-container:hover .tooltip-text,
.tooltip-container[data-active="true"] .tooltip-text {
  visibility: visible;
  opacity: 1;
}