﻿/* Service page styles */

section.services.card-grid {
    grid-template-rows: auto auto
}

section.services {
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: flex-start;
    align-items: stretch;
}

    section.services div.service {
        grid-row: span 2;
        border: solid 1px var(--color-grey);
        border-top: 0;
        background-color: var(--color-off-white);
        flex: 0 0 100%;
        border-radius: 0;
        padding: 1.5em 1.5em 0.5em 1.5em;
        position: relative;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -moz-transition: all linear .2s;
        -o-transition: all linear .2s;
        -webkit-transition: all linear .2s;
        transition: all linear .2s;
    }

        section.services div.service div.icon {
            float: left;
            background-color: var(--color-white);
            width: 2em;
            padding: 0.5em;
            margin-right: 0.5em;
            border-radius: 0.5em;
        }

        section.services div.service h2 {
            margin-bottom: 0.25em;
        }

        section.services div.service div.service-footer {
            font-size: var(--font-size-p-sml);
            font-weight: var(--font-weight-regular);
            color: var(--color-grey-blue);
            text-align: center;
            position: relative;
            margin-top: 0.5em;
        }

            section.services div.service div.service-footer:after {
                content: "";
                display: block;
                border-bottom: solid 1px var(--color-grey);
                position: absolute;
                left: 0;
                width: 100%;
                top: 2.25em;
                z-index: 1;
            }

            section.services div.service div.service-footer a {
                display: inline-block;
                padding: 0.5em 1em;
                background-color: var(--color-blue);
                color: var(--color-white);
                border-radius: 1.35em;
                border: solid 1em var(--color-off-white);
                position: relative;
                z-index: 2;
            }

                section.services div.service div.service-footer a:after {
                    display: none;
                }

                section.services div.service div.service-footer a:hover {
                    background-color: var(--color-light-blue);
                }
