html,
body {
    font-family: 'Merriweather', sans-serif !important;
    background-color: #F4F7F6;
    height: 100%;
}
.wrap {
    min-height: 100%;
}

.main {
    overflow: auto;
    padding-bottom: 72px;
}

/* must be same height as the footer */

#footer {
    position: relative;
    margin-top: -72px;
    /* negative value of footer height */
    height: 72px;
    clear: both;
}

/* navbar settings */
.bg-primary {
    background-color: #2CC241 !important;
}

#nav-heading {
    padding-left: 0.5em;
}

#timestamp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Adjust the minmax values as needed */
    gap: 10px;
}

.timestamp-button {
    background-color: #2CC241;
    border: none;
    color: white;
    padding: 0.5em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    height: 73px;
    border-radius: 10px;
}
.timestamp-button.disabled {
    background-color: #757575;
    border: none;
    color: white;
    padding: 0.5em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    height: 73px;
    border-radius: 10px;
}

.timestamp-button.selected, .timestamp-button.in-range {
    background-color: grey; /* Or any color you prefer */
    color: white;
}

.date-separator {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: center;
    /* Add any additional styling as needed */
}

.spinner-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* High z-index to ensure it's above other elements */
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}