﻿@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: 'Lato', sans-serif;
    font-size: .812rem;
    line-height: 1.4;
    background: #F6F6F6
}

#wrapper {
    position: relative;
    max-width: 56.25rem;
    margin: 1rem auto;
    padding: 0;
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: justify;
    margin: 0 0 0.625rem;
}

h1 {
    font-size: 2em;
    line-height: 1.1;
    margin: 1.25rem 0;
    color: #004994;
}

h2 {
    font-size: .812rem;
    line-height: 1.4;
    margin: 0 0 .312rem;
    color: #004994;
    font-weight: 400
}

h3 {
    font-size: .75rem;
    line-height: 1.4;
    margin: 35rem 0 .312rem;
    color: #004994;
    font-weight: 400
}

hr {
    border-top: .062rem solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem;
    padding-bottom: .312rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: .75rem;
    line-height: 1.5;
    color: #004994;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

article {
    width: 59%;
    float: left;
    padding: 1.25rem 0 0 3.125rem;
}

header {
    background: url(../images/img.jpg) center no-repeat;
    height: 29.375rem;
    background-size: cover;
}

header a {
    max-width: 280px;
    width: 100%;
    margin: 1.25rem
}

article p:first-of-type,
article p:nth-of-type(2),
article p:nth-of-type(3) {
    color: #004994;
}

section {
    padding: 1.25rem;
    margin: 0 0 1.25rem
}

section:first-of-type,
section:nth-of-type(3) {
    background-color: #004994;
    color: #fff;
}

section:first-of-type {
    color: #fff;
}

section:first-of-type p {
    text-align: center;
    font-size: 1rem
}

footer {
    color: #333;
    padding: 1.25rem 2.812rem 1.25rem 1.25rem;
    width: 36%;
    float: right;
    text-align: left;
}

footer p {
    text-align: left;
    margin-bottom: 1.25rem;
}

header element {
    display: none;
}

footer >a:first-of-type {
    max-width: 9.375rem;
    margin: -55px auto 0;
    z-index: 10;
    position: relative;
    margin-left: 65px
}

footer > a:nth-of-type(2) {
    max-width: 10.625rem;
    width: 100%;
    margin-bottom: 1.25rem
}

footer a {
    font-weight: bold
}


@media only screen and (max-width:56.187rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        hyphens: auto;
    }

    section,
    footer {
        padding: .625rem
    }

    h1 {
        font-size: 1.5rem
    }

    p {
        text-align: left
    }

    header a {
        max-width: 12.5rem;
    }

    article {
        width: auto;
        float: none;
        padding: .625rem .625rem 0;
    }

    article br {
        display: none;
    }

    footer {
        width: auto;
        float: none;
        padding: 0 .625rem;
    }

    footer p {
        margin-bottom: .625rem;
    }

    header {
        background: #fff;
        height: 100%;
    }


    header element {
        display: block;
    }

    header a  {
        width: 100px
    }

    footer >a:first-of-type {
        display: none
    }

    footer p:first-of-type {
        text-align: left;
    }

    h3 {
        margin: 0 0 .312rem;
    }
}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.5em;
    }
}
