﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

a:hover,
a:active,
a:visited {
    text-decoration: underline;
}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #000;
    font-family: Helvetica, Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 775px;
    margin: 1rem auto;
    border: solid thin #000;
    padding: 0;
    background-color: #fff;
    overflow: hidden;
}

p {
    margin: 0 0 .625rem;
}

h1 {
    font-size: 32px;
    line-height: 1;
    margin: 0 0 1.875rem;
    color: #75B72E;
    position: relative;
    z-index: 1;
}

h1 span {
    font-size: 0.67em;
    font-weight: bold
}

h2 {
    font-size: 1rem;
    line-height: 1;
    margin: 0 0 0;
    float: left;
    width: 24.5%;
    background: #5D8F26;
    text-align: right;
    color: #fff;
    padding: .312rem;
    position: relative;
    margin-right: 0;
}


h2:before {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1.875rem;
    background: url(../images/title.png) no-repeat;
    background-size: contain;
    top: -50%;
    left: 0;
}


h3 {
    margin: 1.25rem 0 .625rem;
    font-size: 1.062rem;
    line-height: 1;
}

h4 {
    position: absolute;
    top: 4%;
    left: 4.812rem;
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
    line-height: 1;
    color: #fff;
    font-style: italic
}


ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    float: right;
    width: 74%;
}

ul li {
    padding-left: .937rem;
    letter-spacing: -0.3px;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -.937rem;
    font-size: 1.375rem;
    line-height: 0.9;
}

ul:nth-of-type(3) {
    margin: 0;
}

ul:nth-of-type(1) {
    padding-right: 1.562rem
}


.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    margin: 0;
    padding: 0;
    position: relative;
}



header section:nth-of-type(2) {
    position: absolute;
    right: 2.5rem;
    bottom: 20%;
    width: 42%;
    text-align: right;
}

aside {
    padding: 0 2.5rem 0 4.812rem;
    position: relative;
}


aside img {
    position: absolute;
    top: -52%;
    right: .5rem;
    width: 100%;
    max-width: 100px;
}

aside p {
    margin-top: .625rem;
    margin-bottom: .312rem;
    letter-spacing: -0.3px;
}

article {
    padding: 0 2.812rem 0 0;
}


footer {
    background: url(../images/footer.png)no-repeat top left;
    background-size: 48.75rem;
    padding: 2.187rem 2.5rem 0 4.812rem;
}


footer p:nth-of-type(1) {
    float: left;
}

footer p:nth-of-type(2) {
    float: right;
    margin-bottom: 1.25rem;
    text-align: right;
}

element {
    display: block;
    background: #5D8F26;
    text-align: left;
    padding: .625rem 2.5rem .625rem 4.812rem;
    color: #fff;
}

element p:nth-of-type(1) {
    float: left;
    margin: 0;
    font-size: 1rem;
}

element p:nth-of-type(2) {
    float: right;
    margin: 0;
    font-size: 1rem;
}

@media only screen and (max-width:47.75rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0;
    }

    ul:nth-of-type(1) {
        padding-right: 0;
    }

    header {
        margin: 0;
        padding: 0;
        border-bottom: .125rem solid #75B72E;
    }

    header > img {
        display: none;
    }

    header section:nth-of-type(1) {
        background: #7BBA37;
        padding: .312rem .625rem;
        text-align: center;
    }

    header section:nth-of-type(2) {
        position: static;
        padding: .625rem;
        width: auto;
    }

    header section:nth-of-type(2) a {
        margin: 0 auto .625rem;
        display: block;
        max-width: 13.5rem;
    }

    header p {
        text-align: left;
        margin: 0;
    }


    aside {
        padding: .625rem;
    }

    aside img {
        position: static;
        text-align: right;
        display: block;
        float: right
    }

    article {
        padding: .625rem;
    }


    footer {
        background: #D9D9D9;
        border-top: .125rem solid #9C9C9B;
        padding: .625rem;
    }

    footer p:nth-of-type(1),
    footer p:nth-of-type(2) {
        width: auto;
        float: none;
        text-align: left;
        margin: 0 0 .625rem;
    }

    footer p:nth-of-type(2) {
        margin: 0;
    }

    element {
        display: block;
        padding: .625rem;
    }

    element p:nth-of-type(1),
    element p:nth-of-type(2) {
        float: none;
        width: auto;
        text-align: center;
        font-size: .875rem;
    }

    element p:nth-of-type(1) {
        margin: 0 0 .625rem;
    }

    a {
        font-weight: bold;
    }

    h1 {
        font-size: 1.5rem;
        margin: 0 0 .625rem;
    }

    h2 {
        width: auto;
        float: none;
        text-align: left;
        margin: 0 -.625rem;
        padding-left: 1.25rem;
        font-size: .875rem;
    }


    h3 {
        margin: 0 0 .625rem;
        font-size: .937rem;
    }

    h4 {
        position: static;
    }

    ul {
        float: none;
        width: auto;
        margin: 0 0 .625rem;
        letter-spacing: normal;
    }

    ul li {
        letter-spacing: normal;
    }

    ul br {
        display: none;
    }
}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.125rem;
    }
}
