﻿

* {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 1.2rem;
    color: #183d53;
    padding-bottom: 10px;
}

h2 {
    font-size: 1rem;
    color: #183d53;
    padding-bottom: 10px;
}

ul {
    padding: 10px;
}

li {
    padding: 5px;
}

.box-shadow {
    padding: 20px;
    margin: 20px;
    border-radius: 5px;
    box-shadow: inset 0 -3em 3em rgba(0,0,0,0.1), 0 0 0 2px rgb(255,255,255), 0.3em 0.3em 1em rgba(0,0,0,0.3);
}
.nav-link
{
    font-size: 0.9rem;
}
.page-header {
    display: flex;
    background-color: #1db2b2 /*#467896 */;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    flex: 1;
}

    .page-header .button {
        font-family: inherit;
        font-size: 0.8rem;
        padding: 5px 18px;
        border: 1px solid;
        border-radius: 5px;
    }

    .page-header > * {
        padding: 10px;
    }

.logo h1 {
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
}

/* align menu to the right*/
.nav-menu {
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    background-color: #06a5a5;
}

    .nav-menu a {
        color: white;
        padding-right: 10px;
        text-decoration: none;
        display: inline-block;
    }


    .nav-menu .active a {
        font-weight: bold;
        color: #278019;
        background: #f2f2f2;
    }

    .nav-menu ul li:hover {
        background-color: #1db2b2;
    }

    .nav-menu ul li a {
        display: inline-flex;
    }

    .nav-menu ul {
        display: flex;
        list-style: none;
    }

        .nav-menu ul li:not(:last-child) {
            padding-right: 15px;
        }


.banner {
    display: flex;
    background: url("septic2.jpg") no-repeat center / cover;
    height: 350px;
    display: -webkit-box;
    width: 100%;
}

.banner-content {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    margin: auto;
}

.apply-button {
    color: #fff;
    font-size: 1.1em;
    padding: 20px;
    border: 1px solid white;
    border-radius: 10px;
    background-color: #183d53;
    text-decoration: none;
}

    .apply-button:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.7);
        color: white;
        background-color: #467896;
    }



.flexbox .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* background: #eee;*/
    justify-content: center;
    align-items: center;
    overflow: auto;
}

    .flexbox .container .col {
        flex: 1;
        padding: 1rem;
    }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    grid-gap: 10px;
    background-color: white;
}

.card {
    border: 2px solid #eee;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

    .card .content {
        padding: 10px;
        flex: 1 1 auto;
    }

    .card header {
        background-color: #566374;
        padding: 10px;
        color: white;
    }

    .card footer {
        background-color: rgba(96, 139, 168, .2);
        padding: 10px;
        text-align: center;
    }



.page-footer {
    display: flex;
    font-size: 0.9rem;
    background-color: #467896;
    height: 50px;
    padding: 20px;
    color: #fff;
    justify-content: center;
}


@media screen and (max-width: 48rem) {
    .page-header > * {
        padding: 10px;
    }

    .flexbox .container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-flow: column;
    }

    .page-header {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        flex: 1;
    }

    .logo {
        display: flex;
        flex-flow: column;
    }

        .logo h2 {
            font-size: 0.9rem;
        }

    .nav-menu {
        display: flex;
        order: 2;
        flex-direction: row;
        font-size: 0.8rem;
    }

        .nav-menu ul {
            width: auto;
            margin-top: 0;
            flex-wrap: wrap;
            flex: 1;
        }
}

@media screen and (min-width: 550px) {
}

/* fall back rules , if browser does nto support flexbox */
.no-flexbox .container {
    background: #eee;
    overflow: auto;
}

    .no-flexbox .container .col {
        width: 27%;
        padding: 30px 3.15% 0;
        float: left;
    }

@media screen and (max-width: 48rem) {
    .no-flexbox .container .col {
        width: 95%;
    }

    .apply-button {
        color: #fff;
        font-size: 0.6em;
    }
}


