﻿@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 {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #404041;
    font-family: Helvetica, Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 48.437rem;
    margin: 1rem auto;
    border: solid thin #000;
    padding: 2.5rem 2.5rem 0;
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: justify;
    margin: 0 0 .937rem;
}

h1 {
    text-align: center;
    font-size: 1.625rem;
    line-height: 1.1;
    margin: 2.187rem 0;
}

h1 span {
    font-size: 1.437rem
}

h2 {
    font-size: 1rem;
    line-height: 1;
    margin: 0 0 0;
}

h3 {
    font-size: .937rem;
    line-height: 1;
    margin: 0 0 0;
}

ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

ul li {
    padding-left: .937rem
}


ul li:before {
    content: "\2022";
    float: left;
    margin-left: -.937rem;
}

ul:last-of-type {
    margin: 0
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

article {
    background: url(../images/bg.jpg)no-repeat top center;
    margin: 0 -2.5rem;
    padding: 2.5rem 2.5rem 1.25rem;
    color: #004279;
}

footer {
    color: #004279;
}


footer p:nth-of-type(1) {
    float: left;
}

footer p:nth-of-type(2) {
    float: right;
    margin-right: 10%
}

aside {
    margin: 1.125rem 0;
}

menu {
    margin: 0 -2.5rem .125rem;
    padding: 0;
}

footer {
    background: #F59701;
    margin: 0 -2.5rem;
    padding: .937rem 2.5rem;
}

footer p span {
    display: inline-block;
    color: #fff;
    font-weight: bold;
    width: 3.75rem;
    text-align: right;
    margin-right: .5rem
}

header a {
    float: right;
    margin: 0 0 1.562rem;
}

@media only screen and (max-width:48.375rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem .625rem 0;
    }

    menu {
        margin: 0 -10px;
    }

    article {
        padding: 10px;
        margin: 0 -.625rem;
        background-size: cover;
    }

    aside {
        margin: 10px 0;
    }

    header a {
        margin: .937rem 0;
    }

    aside p {
        margin: 0;
    }

    footer p:nth-of-type(1),
    footer p:nth-of-type(2) {
        width: auto;
        float: none;
    }

    a {
        font-weight: bold;
    }

    footer p span {
        text-align: left;
        margin: 0;

    }

    p,
    ul {
        margin: 0 0 .625rem;
        text-align: left
    }

    h2 {
        font-size: .875rem;
    }

    h1 {
        margin: .625rem 0;
        font-size: 1.25rem;
    }

}

@media only screen and (max-width:29.937rem) {
    h1 {}
}
