﻿@charset "utf-8";

/* Standard */
:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: #3baa33;
    display: inline-block;
    text-decoration: none;
    white-space: normal;
}

a:hover,
a:active,
a:visited {
    text-decoration: underline;
}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #767676;
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.125rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 56.25rem;
    margin: 1rem auto;
    border: solid thin #000;
    padding: 0 6.25rem 1.25rem;
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: left;
    margin: 0 0 .937rem;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    line-height: 1.1;
    margin: 1.562rem -6.25rem;
    padding: .937rem;
    background: #3baa33;
    color: #fff;
    font-weight: 700;
    opacity: 0.9;
}

h2 {
    font-size: 1.5rem;
    line-height: 1.1;
    margin: 0;
    color: #3baa33;
    font-weight: 600;
}

section h2 {
    margin: 0 1.375rem .625rem;
}

hr {
    border-top: 1px solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

header {
    position: relative;
    margin: 0 -6.25rem -7.5rem;
    padding: 0 6.25rem;
    z-index: 2;
}

header img {
    position: absolute;
    right: 5%;
    top: 15%;
    margin: 0;
    display: block;
    max-width: 100px;
}

header p {
    text-align: left;
    font-size: 1.063rem;
    font-weight: bold;
    color: #fff
}

section {
    border-radius: 1.5rem;
    box-shadow: inset 4px 4px 11px 2px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    padding: .937rem;
    margin: 1.5rem 0;
}

element {
    width: 49%;
    float: left;
}

element > section:nth-of-type(1) {
    min-height: 23.75rem;
}

element > section:nth-of-type(2) {
    min-height: 15.625rem;
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    17% {
        left: 0%;
    }

    20% {
        left: -100%;
    }

    37% {
        left: -100%;
    }

    40% {
        left: -200%;
    }

    57% {
        left: -200%;
    }

    60% {
        left: -300%;
    }

    77% {
        left: -300%;
    }

    80% {
        left: -400%;
    }

    97% {
        left: -400%;
    }

    100% {
        left: -500%;
    }
}

.slider {
    overflow: hidden;
    margin: 0px -6.25rem 1.25rem;
}

.slider figure {
    position: relative;
    width: 600%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 30s slidy infinite;
}

figure img {
    width: 16.666666666666668%;
    float: left;
}

@media only screen and (max-width:56.187rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }

    p a {
        white-space: normal;
        display: inline;
    }

    body {
        font-size: .937rem;
    }

    header {
        position: relative;
        background-color: #3baa33;
        margin: 0 -.625rem;
        padding: .625rem;
        z-index: 0;
    }

    header img {
        position: static;
        display: block;
    }

    header a {
        margin: .625rem auto;
        display: block;
        max-width: 6.25rem;
        width: 100%;
    }

    header p {
        text-align: center;
    }

    section {
        background-color: #fff;
        padding: .625rem;
        margin: 0 0 .625rem;
    }

    element {
        width: 100%;
        float: none;
    }

    element > section:nth-of-type(1) {
        min-height: auto;
    }

    element > section:nth-of-type(2) {
        min-height: auto;
    }

    article > section:first-of-type {
        width: 100%;
        float: none;
    }

    article > section:nth-of-type(2) {
        width: 100%;
        float: none;
    }

    .slider {
        overflow: hidden;
        margin: 0 -.625rem .625rem;
    }

    p {
        margin: 0 0 .625rem;
    }

    h1 {
        font-size: 1.5rem;
        margin: .625rem -.625rem;
        padding: .625rem;
    }

    h1 > br,
    article > br,
    p > br,
    li > br {
        display: none;
    }

    h2 {
        font-size: 1.125rem;
    }
}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.375rem;
    }
}
