body,
html {
  /* height: 100%; */
  margin: 0;
}

body {
  padding-top: 0px;
  padding-left: 24px;
  padding-right: 24px;
}

body,
html,
.dashboard-container,
.dashboard-container-row,
#map_im {
  /* max-height: calc(100vh - 64px - 57px);
  height: calc(100vh - 64px - 57px); */
  height: 100vh;
  max-height: 100vh;
}

.email_button {
    background-color: #a90533;
    border: none;
    color: black;
    padding: 10px 20px; 
    text-align: center;
    text-decoration: none;
    display: inline-block; 
    margin: 4px 2px;
    border-radius: 16px;
    font-weight: bold;
    color: white;
}

.Tooltip {
    float: left;
    pointer-events: auto;
    width : 20px;
    height : 20px;
    border-radius : 5px;
    position: relative;
    display: inline-block;
    border-width : 0px;
    color : white;
    background-image:url('ic.jpg');
    background-size:cover;
    opacity: 0.7;
    z-index: 10;
}

.Tooltip:hover:after{
    content: attr(value);
    border-radius : 5px;
    float: right;
    background: black;
    color: white;
    font-size: 11px;
    padding: 5px 5px 5px 5px;
    width: 160px;
}

.dropdown-class > .Select-control .Select-clear {
    color: black;
}

html, body, #root, .dash-app {
    height: 100%; /* Make the root and app stretch full height */
    margin: 0;
}

.dash-app {
    display: flex;
    flex-direction: column; /* Stack children vertically */
}

.content {
    flex: 1; /* Push the footer to the bottom */
}

.footer {
    background-color: #f8f9fa; /* Light background color */
    padding: 1rem;
    text-align: center;
}

.local-context-rows {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 5px 0px;
}

.local-context-row-value {
  flex: 1;
  text-align: right;
  font-weight: bold;
  padding-right: 10px;
}

.local-context-row-label {
  flex: 1.5;
  text-align: left;
}

.local-context-header {
  display: flex;
  margin-bottom: 10px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

.custom-nav-link {
    color: white !important;
    font-weight: bold;
    font-size: 18px;
}

.custom-nav-link:hover {
    color: #ffcc00 !important; /* Highlight color on hover */
}

/* Apply dot to custom-nav-link in full navbar */
@media (min-width: 1200px) {
    .custom-nav-link::after {
        content: " •";
        margin-left: 0.4rem;
        margin-right: 0.1rem;
        color: white;
    }

    .navbar-nav > .nav-item:last-child .custom-nav-link::after {
        content: "";
        margin: 0;
    }
}

/* Disable dots on small (collapsed) nav */
@media (max-width: 1199.98px) {
    .custom-nav-link::after {
        content: "";
        margin: 0;
    }
}