.grid-events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 230px));
    justify-content: space-between;
    grid-gap: 10px;
}

.grid-events h4 {
    color: #004dda;
    font-weight: 600;
    padding: 15px 20px 8px;
    margin: 0;
}

.grid-events p {
    margin: 0;
    padding: 0 20px 12px;
}

.grid-events .eventContent {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 24px;
    height: auto;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    color: #101010;
    min-height: 195px;
    margin-bottom: 20px;
}

.grid-events a {
    text-overflow: ellipsis;
}

.grid-events .bottom {
    font-size: 14px;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #eaeaea;
    padding-top: 8px;
    background: #fff;
    display: flex;
    justify-content: space-between;
}

.grid-events .bottom>* {
    margin: auto 0;
}

.grid-events .bottom b {
    display: inline-block;
    width: 14%;
}

.grid-events>div {
    cursor: pointer;
}

.grid-events>div:hover {
    box-shadow: 0 6px 15px -3px #d8d8d8;
}

.grid-events>div>div {
    padding-bottom: 20px;
}

.grid-events>div img {
    width: 100%;
    height: 175px;
}

.modals div {
    display: inline-block;
    border: 1px solid #ddd;
    padding: 0px 3px 0px 3px;
    min-width: 52px;
    text-align: center;
    font-size: 15px;
}

@media only screen and (max-width: 768px) {
    #modal-container .modal-background .modal h2 {
        font-size: 18px;
    }
}