﻿.animated-links {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin-top: 45px;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    grid-column: span 12; }
    .animated-links .DnnModule-DNN_HTML {
        grid-column: span 12; }
        .animated-links .DnnModule-DNN_HTML:first-child, .animated-links .DnnModule-DNN_HTML:nth-child(6) {
            grid-column: span 12; }
        @media (min-width: 768px) {
            .animated-links .DnnModule-DNN_HTML {
                grid-column: span 6; } }
        @media (min-width: 992px) {
            .animated-links .DnnModule-DNN_HTML {
                grid-column: span 4; } }
        @media (min-width: 1200px) {
            .animated-links .DnnModule-DNN_HTML {
                grid-column: span 3; } }

.photo-box {
    box-shadow: 0px 5px 30px rgba(0, 141, 204, 0.2);
    border-radius: 15px;
    overflow: hidden;
    height: 220px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 1s;
    grid-column: span 4;
    overflow: hidden; }
    @media (min-width: 768px) {
        .photo-box {
            height: 400px; } }
    .photo-box h4 {
        text-align: center;
        padding-bottom: 20px; }
    .photo-box .content-pane {
        margin-top: auto;
        position: relative;
        z-index: 1; }
    .photo-box img {
        position: absolute;
        margin-left: -90px;
        z-index: -1; }
        @media (min-width: 768px) {
            .photo-box img {
                bottom: 0; } }
    .photo-box:hover img {
        transform: scale(1.1);
        transition: all 0.3s; }
    .photo-box a.stretched-link::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 3; }
    .photo-box a.stretched-link:hover {
        text-decoration: none; }
    .photo-box .blue-overlay {
        background: linear-gradient(180deg, rgba(0, 86, 125, 0) 0%, #002c40 100%);
        height: 100%;
        width: 100%;
        margin: auto;
        position: absolute;
        z-index: 1; }

.helpful-links::after {
    grid-column: span 12;
    background-color: lavender;
    z-index: -1;
    width: 100vw;
    content: "";
    position: absolute;
    margin-left: -50vw;
    margin-right: -50vw;
    left: 0;
    right: 0; }
