﻿:root {
    --cc-primary: rgb(13, 71, 161);
}

#climatePledgeSurvey {
   transition: height .1s ease-in;
}

.btn-iframe-expand {
    position: sticky;
    display: flex;
    bottom: 1rem;
    margin-left: auto;
    margin-right:auto;
}

#celebratingCommunityVoices_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(33.33%, 1fr));
    grid-gap: 0px;
}

    #celebratingCommunityVoices_grid > img {
        float: left;
        object-fit: cover;
        width: 100%;
        height: 100%;
        height: 100%;
        height: -moz-available; /* WebKit-based browsers will ignore this. */
        height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
        height: fill-available;
        max-height: 25rem;
    }

.format-img {
    float: left;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 25rem;
}


#getInvolved_icon {
    /* Allows the icon to free flow in the div */
    width: 50%;
    bottom: 0;
    left: -40rem;
}


#educationProgramHeader {
    height: 15dvh;
}

@media only screen and (max-width: 576px) {
    #educationProgramHeader {
        height: unset;
    }
}

section.scrollable {
    overflow: hidden;
}

#pastEventGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(33.333%, 1fr));
    grid-gap: 0px;
}

    #pastEventGrid > img {
        float: left;
        width: 100%;
        height: 100%;
        height: -moz-available; /* WebKit-based browsers will ignore this. */
        height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
        height: fill-available;
        aspect-ratio: 1/1;
        -webkit-aspect-ratio: 1/1;
        object-fit: cover;
    }


@media (max-width: 576px) {

    #pastEventGrid {
        grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
    }
}

@media (min-width: 576px) and (max-width: 768px) {

    #pastEventGrid {
        grid-template-columns: repeat(auto-fill, minmax(33.333%, 1fr));
    }
}
