﻿body {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
}

h1, h2, h3 {
    text-align: center;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
}

h1 {
    font-size: 3em;
    line-height: 1em;
    margin-bottom: 10px;
}

.topHeader {
    background-image: url("images/bg-high.jpg");
    background-position: center center;
    color: white;
    min-height: 850px;
    height: auto;
    vertical-align: top;
    box-sizing: border-box;
    padding: 30px 20px;
    position: relative;
}

    .topHeader h3 {
        font-family: 'Source Sans Pro', sans-serif;
        width: 100%;
        position: absolute;
        bottom: 90px;
        font-size: 2.2em;
        line-height: 1.5em;
        font-weight: 400;
    }

.tableCont {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
}



.maintable {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    top: -100px;
}

    .maintable td {
        width: 33%;
        max-width: 33%;
        min-width: 33%;
        padding: 10px;
        box-sizing: border-box;
        text-align: left;
        vertical-align: top;
    }

        .maintable td img {
            width: 100%;
            max-width: 380px;
            height: auto;
            margin: 20px 0;
        }

.medTit h2 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 0;
}

.mainTextRow h3 {
    text-align: left;
    font-size: 1.1em;
    line-height: 1.5em;
    font-weight: 700;
}

.squareDiv {
    width: 100%;
    height: 250px;
    max-height: 250px;
    max-width: 350px;
    display: block;
    padding: 30px;
    padding-bottom: 10px;
    box-sizing: border-box;
    margin: 0 auto;
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5em;
    line-height: 1.7em;
    text-align: center;
}

.redDiv {
    background-color: #EF7E64;
}

.paleDiv {
    background-color: #FDEAA5;
}

.darkDiv {
    background-color: #1C322E;
    color: white;
}

.divText {
    text-align: left;
}
/*resp*/
@media (max-width: 920px) {
    h1 {
        font-size: 2.5em;
    }

    .topHeader {
        height: 700px;
        min-height: 700px;
    }

        .topHeader h3 {
            font-size: 1.5em;
        }

    .squareDiv {
        font-size: 1.4em;
        line-height: 1.5em;
    }

    .medTit h2 {
        font-size: 1.7em;
    }
}

@media (max-width: 780px) {

    body {
        font-size: 14px;
    }

    h1 {
        font-size: 2.4em;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.3em;
    }

    .topHeader h3 {
        font-size: 1em;
    }

    .squareDiv {
        font-size: 1.25em;
        line-height: 1.35em;
        height: 180px;
        padding: 20px;
    }
}

@media (max-width: 680px) {

    h1 {
        font-size: 1.8em;
        margin-top: 0;
    }


    .topHeader {
        min-height: 500px;
        background-size: cover;
        background-position: top center;
    }

        .topHeader h3 {
            font-size: 1.3em;
            bottom: 80px;
        }

    .maintable td {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        display: block;
    }

    .squareDiv {
        max-width: 100%;
        height: auto;
        min-height: auto;
        padding-bottom: 30px;
    }

    .squareDiv {
        line-height: 1.5em;
    }
}
