.cta-grid-content-pane {
    background-color: #ffffff;
    display: block;
    margin: auto;
    position: relative;
}

.cta-grid-content {
    padding: 15px;
    text-align: center;
}

.cta-grid img {
    width: 100%;
}

.cta-grid-title {
    letter-spacing: 0.24px;
    text-align: center;
    margin-bottom: 0;
}

.cta-grid-paragraph {
    line-height: 24px;
    margin: 0;
    text-align: center;
}

.hover-container {
    display: none;
}

.hover-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #004762;
    opacity: 0.7;
}

.fixed-width {
    width: 170px;
}

a.hover-button {
    position: absolute;
}

/* Extra small devices - xs */
@media (max-width: 575px) {
    .cta-grid {
        margin-bottom: 30px;
    }

    .cta-grid-content-pane {
        width: 270px;
    }

    .cta-grid-paragraph {
        font-size: 13px;
    }

    a.hover-button {
        top: 42%;
        left: 21%;
    }
}

/* Small devices (landscape phones, 576px and up) - sm */
@media (min-width: 576px) {
    .cta-grid {
        margin-bottom: 30px;
    }

    .cta-grid-content-pane {
        width: 390px;
    }

    .cta-grid-paragraph {
        font-size: 13px;
    }

    a.hover-button {
        top: 42%;
        left: 27%;
    }
}

/* Medium devices (tablets, 768px and up) - md */
@media (min-width: 768px) {
    a.hover-button {
        top: 42%;
        left: 26%;
    }
}

/* Large devices (desktops, 992px and up) - lg */
@media (min-width: 992px) {
    .cta-grid {
        margin-bottom: 0;
    }

    .cta-grid-content-pane {
        width: 100%;
    }

    a.hover-button {
        top: 42%;
        left: 22%;
    }
}

/* Extra large devices (large desktops, 1200px and up) - xl */
@media (min-width: 1200px) {
    .cta-grid-paragraph {
        font-size: 16px;
    }

    a.hover-button {
        top: 42%;
        left: 26%;
    }
}

