/* Enter Your Custom CSS Here */

.gform_wrapper label.gfield_label {
	font-weight:100;
}

/* Adjust column widths for the Departmental Searches table */
.departmental-searches-table th:nth-child(1),
.departmental-searches-table td:nth-child(1) {
    width: 35% !important; /* Search column */
}

.departmental-searches-table th:nth-child(2),
.departmental-searches-table td:nth-child(2) {
    width: 43% !important; /* Description column */
}

.departmental-searches-table th:nth-child(3),
.departmental-searches-table td:nth-child(3) {
    width: 22% !important; /* Fee column */
}

.departmental-searches-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

/* Merge the first cell in the last row across all columns */
.departmental-searches-table tr:last-child td:first-child {
    display: table-cell !important; /* Ensure it behaves as a table cell */
    width: 100% !important; /* Span full table width */
    text-align: center !important; /* Center content, adjust as needed */
    border: 1px solid #ddd !important; /* Match table borders, adjust as needed */
    box-sizing: border-box !important; /* Include padding/borders in width */
    padding: 8px !important; /* Match existing cell padding, adjust as needed */
}

/* Responsive design for mobile */
@media screen and (max-width: 768px) {
    .departmental-searches-table th,
    .departmental-searches-table td {
        display: block !important;
        width: 100% !important;
    }
    .departmental-searches-table tr:last-child td[colspan="3"] {
        display: block !important;
        width: 100% !important;
    }
}