﻿@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;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #0B1D26;
    font-family: Helvetica, Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 900px;
    margin: 1rem auto;
    border: solid thin #CECBCA;
    padding: 15px 5px 0 15px;
    background-color: #fff;
    background: url(../images/bg.jpg) no-repeat top center;
    background-size: 100%;
    overflow: hidden;
}

p {
    margin: 0 0 20px;
}

h1 {
    font-size: 35px;
    letter-spacing: 0.3px;
    margin: 20px 0;
    color: #009EE3;
}

h2 {
    font-size: 14px;
    margin: 0 0 10px;
}

h3 {
    color: #009EE3;
    background: #D9DADA;
    border: solid thin #009EE3;
    font-size: 1rem;
    padding: 10px;
    margin: 0 0 0.625rem;
    width: 180px;
    float: right;
}

h4 {
    color: #009EE3;
    text-align: center;
    font-size: 20px;
    margin: 30px 0 60px;
}

ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

ul li {
    padding-left: 18px
}

ul li:before {
    content: "\▪";
    float: left;
    margin-left: -18px;
    font-size: 22px;
    line-height: 0.8;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

header a {
    float: right;
}

header > img {
    float: left;
}

header {
    margin: 0 0 60px;
}

article {
    width: 74%;
    float: left;
    padding: 0 0 0 40px;
}

article p:last-of-type {
    text-align: center;
}

section {
    width: 23%;
    float: right;
}

section p {
    color: #fff;
    text-align: right;
    margin: 40px 0;
}

footer {
    background: #009EE3;
    color: #fff;
    padding: 10px 20px;
    margin: 40px -5px 0 -15px;
}

footer p:first-of-type {
    margin-bottom: 0;
    font-size: 28px;
    font-weight: bold;
    width: 50%;
    float: left;
}

footer p:last-of-type {
    margin-bottom: 0;
    font-size: 23px;
    font-weight: bold;
    width: 33%;
    float: right;
    text-align: right;
}

@media only screen and (max-width:899px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem .625rem 0;
        background: #fff;
    }

    article br {
        display: none;
    }

    p {
        margin: 0 0 10px;
    }

    h1 {
        font-size: 25px;
        letter-spacing: 0;
        margin: 10px 0;
    }

    h3 {
        font-size: 1rem;
        padding: 10px;
        margin: 0 0 0.625rem;
        width: auto;
        float: none;
    }

    h4 {
        font-size: 17px;
        margin: 10px 0 10px;
    }

    ul {
        margin: 0 0 10px;
    }

    header a {
        float: none;
    }

    header > img {
        float: none;
    }

    header {
        margin: 0 0 15px;
    }

    article {
        width: auto;
        float: none;
        padding: 0 0;
    }

    section {
        width: auto;
        float: none;
    }

    section p {
        color: #000;
        text-align: left;
        margin: 10px 0;
    }

    footer {
        padding: 10px 10px;
        margin: 10px -10px 0 -10px;
    }

    footer p:first-of-type {
        margin-bottom: 10px;
        font-size: 20px;
        width: auto;
        float: none;
    }

    footer p:last-of-type {
        margin-bottom: 10px;
        font-size: 18px;
        width: auto;
        float: none;
        text-align: left;
    }
}

@media only screen and (max-width:479px) {
    h1 {
        font-size: 1.5em;
    }
}
