#locations {
    margin: 5rem 0;

    .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

        > div {
            margin-bottom: 3rem;
        }

        .location {
            height: 100%;
            position: relative;
            text-align: center;
            padding-bottom: 55px;
            border: 1px solid darken($gray-lighter, 15%);

            img {
                width: 100%;
                max-width: 100%;
                margin-bottom: 2rem;
            }

            .name {
                color: $blue;
                font-weight: bold;
            }

            .phone {
                a {
                    color: $text-color;
                }
            }

            a.btn {
                bottom: 0;
                margin-top: 2rem;
                position: absolute;
            }
        }
    }
}

@media (max-width: $screen-md-max) {
    #locations {
        .row {
            display: inherit;

            .location {
                padding-bottom: 5rem;
            }
        }
    }
}
