﻿.cards {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.card {
    display: block;
    margin: 15px;
    background: #fff;
    width: calc(33.33333% - 30px);
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card__image {
    display: block;
    position: relative;
    overflow: hidden;
}

    .card__image:before {
        content: " ";
        display: block;
        padding-top: 75%;
    }

.card__image__layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.card__image__layer--container {
    background-size: contain;
    background-repeat: no-repeat;
}

.card__body {
    padding: 15px;
}

h2.card__title {
    font-size: 1.2em;
    line-height: 1.5em;
    /*font-family: 'Roboto Slab', serif;*/
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0.25em;
}

h3.card__subtitle {
    /*font-family: 'Roboto Slab', serif;*/
    opacity: 0.8;
    margin-bottom: 1em;
    overflow: hidden;
    line-height: 1.5em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

p.card__content.card__content--preview {
    opacity: 0.8;
}

.card__read-more {
    text-align: right;
}


@media screen and (max-width: 768px) {
    .card {
        width: calc(50% - 30px);
    }
}

@media screen and (max-width: 550px) {
    .card {
        width: calc(100% - 30px);
    }
}

.section-title {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 1em;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

    .section-title:after {
        content: " ";
        display: block;
        height: 3px;
        background: #00a0dd;
        width: 100px;
        max-width: 80%;
        margin: 0 auto;
        margin-top: 0.5em;
    }

.two-panel-row {
    display: flex;
    justify-content: space-between;
    background: #fafafa;
    margin: 2em 0;
}

.two-panel-row--transparent {
    background: transparent;
}

.two-panel-row.two-panel-row--reverse {
    flex-direction: row-reverse;
}

    .two-panel-row > div {
        width: 50%;
        position: relative;
    }

    .two-panel-row__right > .content-container {
        margin-left: 0;
    }

.two-panel-row.two-panel-row--reverse .two-panel-row__right > .content-container {
    margin-left: auto;
    margin-right: 0;
}

.two-panel-row__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
    .two-panel-row__image.two-panel-row__image--center {
        background-size: 85%;
        background-position: center;
        background-repeat: no-repeat;
    }

    @media screen and (min-width: 769px) {
        .two-panel-row__image.two-panel-row__image--center {
            margin: 40px;
            width: calc(100% - 80px);
            height: calc(100% - 80px);
            background-size: contain;
        }
    }

.two-panel-row__image--ar-713:before {
    content: " ";
    display: block;
    padding-top: 71.3768%;
}

.two-panel-row__right {
    padding: 2em;
}

@media screen and (max-width: 768px) {
    .two-panel-row,
    .two-panel-row.two-panel-row--reverse {
        flex-direction: column;
    }

        .two-panel-row > div {
            width: 100%;
            padding: 0;
        }

    .two-panel-row__image {
        position: relative;
        min-height: 30vh;
    }
}

.section-title.section-title--left-align {
    text-align: left;
}

    .section-title.section-title--left-align:after {
        margin-left: 0;
    }

.section-subtitle.section-subtitle--left-align {
    text-align: left;
}


a.edcv-service {
    display: block;
    text-align: center;
    padding: 2em;
    text-decoration: none;
    color: #333;
}

h4.edcv-service__title {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

h4.edcv-service__title:after {
    content: " ";
    display: block;
    height: 3px;
    background: #00a0dd;
    width: 100px;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 0.5em;
}


ul.contact-methods {
    display: block;
}

    ul.contact-methods > li.contact-method {
        display: block;
    }

        ul.contact-methods > li.contact-method > a {
            display: flex;
            padding: 0.5em 0;
            text-decoration: none;
            align-items: center;
        }

            ul.contact-methods > li.contact-method > a > span {
                font-size: 1.3em;
                margin-right: 0.5em;
            }



ul.bulleted-list {
    list-style: disc;
    padding-left: 18px;
}

    ul.bulleted-list > li {
        margin: 0.75em 0;
        line-height: 1.5em;
    }

h2.section-subtitle {
    display: block;
    text-align: center;
    font-size: 1.2em;
    margin: 1em 0;
    margin-bottom: 2em;
    /*font-family: 'Roboto Slab', sans-serif;*/
    opacity: 0.8;
    font-style: italic;
}


.content-row.content-row--brand {
    background: #00a0dd;
    color: #fff;
}

.content-row--brand .section-title:after {
    background: #fff;
}

.content-row.content-row--offwhite {
    background: #eee;
}

.text-right {
    text-align: right;
}

@media screen and (max-width: 768px) {
    .md-text-center {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .two-panel-row__image--md-1-3 {
        background-position: center 20%;
    }
}