﻿* {
    font-family: Verdana;
    box-sizing: border-box;
}

body {
    background-color: #E9E7E7;
}

main {
    display: block; /* Fix for IE11 */
}

header {
    padding: 1rem 2rem 0;
    margin-bottom: 0.25rem;
    position: relative;
    background: #fff url(/images/sticker.gif) no-repeat;
    background-position: top -20px right -20px;
    background-clip: border-box;
}

header, main, footer .container {
    background: #fff;
}

.container {
    width: 100%;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
}

header .brand {
    display: inline-block;
    position: relative;
    left: -10px;
    padding-top: 1rem;
}

    header .brand img {
        width: 150px;
        margin: -1rem 1rem 0 0;
        float: left;
    }

    header .brand span {
        display: inline-block;
        color: #333;
        font-family: 'Times New Roman', Times, serif;
        font-size: 2rem;
        text-align: center;
        line-height: 1.75rem;
    }

        header .brand span small {
            font-size: .5em;
            font-family: inherit;
        }

.logo {
    display: inline-flex;
    position: absolute;
    top: -15px;
    right: -10px;
    height: 110px;
    width: 110px;
    border-radius: 50%;
    background: #e08f14;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 5px #fff;
    transform: rotateZ(10deg);
    box-shadow: 3px 2px 5px rgba(0,0,0,0.15);
}

    .logo:link, .logo:visited {
        color: rgba(255,255,255,0.85);
    }

    .logo:hover, .logo:active {
        color: #fff;
        text-decoration: none;
    }

nav {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

    nav a {
        display: inline-block;
        min-width: 150px;
        padding: 0.5rem 0.75rem;
        text-align: center;
        border-radius: 0.5rem 0.5rem 0 0;
    }

        nav a:link, nav a:visited {
            color: rgba(0,0,0,0.85);
        }

        nav a:hover, nav a:active {
            color: #000;
            background: #E9E7E7;
            text-decoration: none;
        }

        nav a.active {
            color: #E08F14;
        }

img {
    max-width: 100%;
    height: auto;
}

footer {
    margin-top: 0.25rem;
}

.banner {
    margin: 0 0 1rem;
}

    .banner img {
        display: block;
        margin: 0 auto;
    }

.award {
    display: flex;
    flex-wrap: wrap;
}

    .award > h2 {
        width: 100%;
    }

    .award aside {
        margin: 0 1rem 0 0;
        flex: 0 1 25%;
    }

    .award section {
        flex: 1 1;
        flex-basis: calc(75% - 2rem);
    }

.main-content.home > aside a {
    display: block;
}

.main-content.home > aside ul {
    margin: 0;
    padding: 0 0 0 1em;
}

.main-content.home > aside > *:not(:last-child) {
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6, p, address {
    margin: 0 0 1rem 0;
}

a, a:link, a:visited {
    color: #E08F14;
    text-decoration: none;
    cursor: pointer;
}

    a:hover {
        text-decoration: underline;
    }

h1, .h1 {
    color: #1F410A;
    font-size: 19pt;
    font-family: Arial;
    font-weight: bold;
}

h2, .h2 {
    font-size: 14pt;
    font-weight: bold;
    color: #E08F14;
}

h3, .h3 {
    font-size: 12pt;
}

h4, .h4 {
    font-size: 11pt;
}

h3, h4, .h3, .h4 {
    font-weight: bold;
    color: #E08F14;
}

address {
    font-style: normal;
}

.homes-grid {
    display: flex;
    flex-wrap: wrap;
}

    .homes-grid .home {
        flex: 1 1 25%;
    }

    .homes-grid .home {
        border: 1px solid #cecece;
        border-radius: 0.25rem;
    }

    .homes-grid:not(.fancy) .home h3, .homes-grid:not(.fancy) .home h4 {
        margin: 0.5rem 0 1rem;
    }

    .homes-grid:not(.fancy) .home {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .homes-grid .home img {
        display: inline-block;
        width: 100%;
        min-height: 200px;
        height: auto;
        border: 1px solid #cecece;
        border-right: none;
        border-left: none;
        text-indent: 1rem;
        object-fit: cover;
        object-position: center;
    }

    .homes-grid:not(.fancy) .home .btn {
        display: inline-block;
        width: 100%;
        padding: 0.5rem 1rem;
    }

    .homes-grid .home .btn:hover {
        background: #cecece;
        color: #ffffff;
        font-weight: bold;
    }

    .homes-grid:not(.fancy) .home section > :not(img) {
        padding: 0 1rem;
    }

.fancy .home {
    position: relative;
    overflow: hidden;
}

    .fancy .home img {
        min-width: 100%;
        min-height: 250px;
    }

    .fancy .home article {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 100%;
        transform: translateY(calc(100% - 1.5rem));
        padding: 0 1rem;
        background: rgba(0,0,0,0.25);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }

        .fancy .home article p {
            color: #fff;
        }

    .fancy .home article {
        transition: all 0.25s ease-out;
    }

.homes-grid.fancy .home:hover article {
    transform: translateY(0);
}

.sticker_div {
    background-image: url(/images/sticker.gif);
    background-position: right top;
    background-repeat: no-repeat;
    width: 900px;
    padding: 19px 20px 0 0;
}

.site_div {
    width: 900px;
    background-color: White;
    background-image: url(/images/sticker_inside.gif);
    background-position: right top;
    background-repeat: no-repeat;
}


.logo_div {
    margin-bottom: 20px;
}

.inner_div {
    padding: 25px;
}

.tab_div {
    height: 30px;
    background-image: url(/images/tab_back.gif);
    background-repeat: repeat-x;
    background-position: left center;
    margin-bottom: 10px;
}

.footer_div {
    border-top: solid 1px silver;
    margin-top: 20px;
    color: #1F410A;
    padding: 20px 0px 10px 0px;
    text-align: right;
}

.header {
    background-color: silver;
    font-weight: bold;
}

.bullet_list {
    padding-left: 15px;
    margin-left: 0px;
}

    .bullet_list li {
        margin-left: 0px;
    }

.sold_plot_row, tr.sold {
    background-color: #E9E9E9;
}

.sold_cell {
    text-align: center;
}

.plots_table {
    width: 100%;
    margin-bottom: 20px;
    border: solid 1px black;
    border-collapse: collapse;
}

    .plots_table td, .plots_table th {
        border: solid 1px black;
        border-collapse: collapse;
    }

    .plots_table td {
        text-align: right;
    }

        .plots_table td:first-child {
            text-align: left;
        }

        .plots_table td:nth-child(2) {
            text-align: center;
        }

    .plots_table th {
        background-color: silver;
        font-weight: bold;
        text-align: center;
    }

    .plots_table .sold td, .plots_table.houses td:last-child {
        text-align: center;
    }

@media only screen and (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media only screen and (min-width: 768px) {
    header {
        min-height: calc(135px + 1rem);
    }

    .container {
        max-width: 720px;
    }

    .main-content.home {
        display: flex;
        flex-flow: row wrap;
    }

        .main-content.home article {
            width: 75%;
            padding: 0 1rem 0 0;
        }

        .main-content.home aside {
            width: 25%;
        }

        .main-content.home > aside {
            padding: 0 0 0 1rem;
        }
}

@media only screen and (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    nav {
        position: absolute;
    }
}

@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
