.polls-grid thead th, .polls-grid tbody td {
    border-right: 1px solid #eee;
}
.polls-grid thead th img {
    position: relative;
    top: 2px;
}
.polls-grid thead th {
    font-size: 16px;
    color: var(--primary-color);
    text-align: center;
    font-weight: bold;
    font-family: 'ErnestineWebW03';
}

.poll-title {
    padding: 0 10px;
    font-size: 15px;
    font-family: "Roboto" !important;
    text-transform: capitalize;
    
}
.poll-badges {
    display: table-cell;
    text-align: left !important;
}
.polls-grid tbody td {
    padding: 15px 5px;
    font-size: 13px;
    text-align: center;
    color: var(--body-text);
}
.poll-button {
    font-size: 13px;
    padding: 10px;
    width: auto !important;
    display: inline-block;
}
.poll-button i {
    margin-left: 5px;
    vertical-align: middle;
}
.polls-pagination {
    text-align: center;
    margin: 50px 0 0 0;
}

.page-numbers {
    list-style: none !important;
    display: inline-flex;
    padding: 0;
    margin: 0;
}

.page-numbers li {
    margin: 0 5px;
}

.page-numbers a,
.page-numbers span {
    display: block;
    padding: 5px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--body-text);
    background-color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.page-numbers a:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.page-numbers .current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: bold;
    cursor: default;
}

.page-numbers .next {
    font-weight: 500;
}

/* ....Responsive ..... */
@media (max-width:1119px) {
   .polls-grid thead {
        display: none;
} 
.poll-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-self: center;
}
.polls-grid tbody tr {
        display: grid;
        border: 1px solid #ccc;
        margin-bottom: 20px;
        justify-content: center;
}
.polls-grid tbody {
    display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
    gap: 15px;
    justify-content: center;
}
.polls-grid thead th, .polls-grid tbody td, .polls-grid {
    border: none;
}
.polls-grid tbody td:before {
    content: attr(data);
    display: inline-block;
}
td[data="Title"], td.poll-dates {
    grid-column: -1 / 1;
}
.polls-grid {
    border: 0 !important;
}
.polls-grid tbody td {
    line-height: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}
.poll-title {
    width: 100%;
    display: block;
    font-size: 20px;
    border-bottom: 1.5px solid #ccc;
    padding: 10px 0 20px;
}
}