.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card-grid {
    margin: 0 auto;
    background-color: whitesmoke;
    color: black;
    height: 346px;
    width: 218px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.card-grid:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.card-grid .thumbimage {
    height: 244px;
    overflow: hidden;
}

.card-grid .thumbimage img {
    width: 100%;
}

.card-grid .data {
    padding: 6px 0px 0px 9px;
    display: block;
}

.card-grid .data .data-title {
    color: #0165ac;
    font-weight: bold;
    overflow: hidden;
    height: 65px;
}

.card-grid .data .data-title > a {
    color: #000;
    text-decoration: none;
}

/* Tooltip container */
.tooltip {

}

/* Tooltip text */
.tooltip .tooltiptext {
    border-style: solid;
    border-width: 1px;
    border-color: grey;
    width: 400px;
    display: none;
    background-color: white;
    padding: 10px;
    z-index: 1;
    margin-left: 0px;
    border-radius: 3px;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 0%;
    left: 0%;
    margin-left: 1px;
    margin-top: -11px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #555 transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    display: block;
    position: absolute;
    margin-top: 58px;
    text-align: justify;
    padding: 25px;
}

@media screen and (max-width: 991px) {
    .tooltip .tooltiptext {
        width: 257px;
    }
}