html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

a {
    text-decoration: none;
}

    a:hover {
        color: inherit !important;
    }
.even-row {
    background-color: #f9f9f9; /* Light gray for even rows */
}

.odd-row {
    background-color: #ffffff; /* White for odd rows */
}
input[type="button"],
input[type="submit"] {
    color: white !important;
}

    input[type="button"]:hover,
    input[type="submit"]:hover {
        color: white !important;
    }

/* Handles Buttons for Committee Index Pages */
.button-container-index {
    display: grid; /* Enable CSS Grid */
    grid-template-columns: repeat(3, 1fr); /* Create up to 4 equal-width columns */
    gap: 1rem; /* Add spacing between buttons */
}

    .button-container-index .btn {
        text-align: center; /* Center-align text inside buttons */
       /* padding: 0.5rem 1rem;*/ /* Add padding for better spacing */
        box-sizing: border-box; /* Include padding and borders in width calculations */
        white-space: nowrap;
        font-size: clamp(12px, 2vw, 18px);
    }

@media (max-width: 768px) {
    .button-container-index {
        grid-template-columns: 1fr; /* Stack buttons vertically on smaller screens */
    }

        .button-container-index .btn {
            width: 100%; /* Ensure each button takes up the full width */
            font-size: clamp(12px, 3vw, 14px); /* Further adjust font size for smaller screens */
        }
}
/*----END----*/
.btn-view {
    color: #fff;
    background-color: #080530;
    border-color: none;
    border-radius: 5px;
}
.btn-sm:hover {
    color: white !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add a shadow on hover */
    transform: translateY(-2px); /* Optional: Slightly lift the element */
}
/* Display for tracked bills on the index page */
.custom-listbox {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;

}

.listbox-item {
    display: flex;
    justify-content: space-between; /* Align text and buttons */
    align-items: center; /* Vertically align items */
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

    .listbox-item:last-child {
        border-bottom: none; /* Remove border for the last item */
    }

.listbox-item-buttons {
    display: flex;
    gap: 10px; /* Add space between buttons */
}

@media (max-width: 768px) {
    .custom-spacing {
        margin-bottom: 20px; /* Add space on smaller screens */
    }

    .custom-buttons {
        flex-direction: row; /* Stack buttons vertically */
        gap: 10px; /* Add space between buttons */
    }
}

/* formatting to get the card action pane to get the welcome and
    name to the left and the buttons to the right*/

.card__action-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.welcome-message {
    text-align: left;
    white-space: nowrap;
}
.linkfontsize-index {
    font-size: clamp(14px, 1.5vw, 20px);
    white-space: nowrap;
}

/*----END----*/
.cardheadersizing {
    display: flex; /* Flexbox for alignment */
    align-items: center; /* Vertically center content */
    justify-content: space-between; /* Space between elements */
    height: 60px; /* Fixed height for collapsed headers */
    padding: 15px 20px;
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden; /* Hide overflowing content */
    transition: height 0.3s ease; /* Smooth transition for height changes */
}

    .cardheadersizing.expanded {
        height: auto; /* Allow height to adjust based on content when expanded */
        white-space: normal; /* Allow text wrapping when expanded */
        overflow: visible; /* Show all content when expanded */
    }
/* Formatting buttons to stack and size appropriately. Primarily used in the Witness Part of this project*/
.button-container {
    display: flex; /* Enable Flexbox */    
    gap: 0.5rem; /* Add spacing between buttons */
    width: 100%; /* Ensure the container takes up the full width */
    justify-content: space-between; /* Distribute buttons evenly */
}

    .button-container input[type="submit"], button {
        flex: 1 1 calc(25% - 0.5rem); /* Each button takes up 25% of the width with spacing */
        text-align: center; /* Center-align button text */
        box-sizing: border-box; /* Include padding and borders in width calculations */
    }

@media (max-width: 768px) {
    .button-container {
        flex-direction: column; /* Stack buttons vertically */
    }

        .button-container input[type="submit"] button {
            flex: 1 1 100%; /* Each button takes up the full width */
        }
}
