﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: rgb(0, 102, 204);
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

a:hover,
a:active,
a:visited {
    text-decoration: underline;
}

u {
    text-decoration: underline;
}

p span {
	color: rgb(0, 102, 204);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: rgb(127, 127, 127);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: .875rem;
    line-height: 1.6;
}

#wrapper {
    position: relative;
    max-width: 46.25rem;
    margin: 1rem auto;
    border: .125rem solid rgb(127, 127, 127);
    padding: 1.562rem 1.562rem .437rem;
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: justify;
    margin: 0 0 1.25rem;
}

h1 {
    text-align: center;
    font-size: 1.562rem;
    line-height: 1;
    margin: 2.187rem 0;
    color: rgb(0, 102, 204);
}

h2 {
    font-size: 1.231em;
    line-height: 1.4;
    margin: 0 0 0;
}

h3 {
    font-size: .7rem;
    line-height: 1.4;
    margin: 0 0 .125rem;
     color: rgb(0, 102, 204);
}

hr {
    border-top: .125rem solid rgb(0, 102, 204);
    margin: 1px -1.25rem;
    margin-bottom: 1.25rem;
}

ul {
    list-style: none;
    margin: 0 0 .937rem;
    padding: 0;
}

ul li {
    padding-left: .937rem;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .312rem;
    height: .312rem;
    background-color: rgb(0, 102, 204);
    margin-left: -.937rem;
    top: .5rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}


header a {
    margin: 0 auto;
    display: block;
    max-width: 37.5rem
}

header p {
    text-align: center;
    font-size: 1.063em;
    font-weight: bold;
    color: #fff;
}

header {
    margin: -1.562rem -1.562rem 0;
}

article {
    position: relative;
}

article p:nth-of-type(2) span {
    color: rgb(0, 102, 204);
    font-weight: bold;
}

article section:first-of-type {
    float: left;
    width: 50.5%;
}

article section:last-of-type {
    float: right;
    width: 47%;
}

article aside:first-of-type {
    float: left;
    width: 49%;
}

article aside:last-of-type {
    float: right;
    width: 47%;
}

article aside:first-of-type {
    margin-bottom: 1.875rem;
}

footer > a {
    float: right;
    width: 22%
}

article >a{
    position: absolute;
    width: 50%;
    right: 0;
    bottom: 2%;
}
article a img{
    width: 100%;
}

footer {
	margin-top: 1rem;
}

footer > p {
    font-size: .687rem;
    text-align: left;
    color: rgb(0, 102, 204);
    margin-bottom: -.625rem;
}

address {
    font-style: normal;
}

address p {
    margin: 0;
    font-size: .625rem;
  
    color: rgb(0, 102, 204);
    line-height: 1.2;
}

address p span {
    display: inline-block;
}


address p span:nth-of-type(1) {
    width: 6.25rem;
}

address p span:nth-of-type(2) {
    width: 4.25rem
}

address p span:nth-of-type(3) {
    width: 6.375rem;
}

address p span:nth-of-type(4) {
    width: 6.875rem;
}


@media only screen and (max-width:46.187rem) {
    #wrapper {

        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }

    p {
        text-align: left;
        margin-bottom: .625rem;
    }

    header {
        margin: 0
    }

    article section:first-of-type {
        float: none;
        width: 100%;
    }

    article section:last-of-type {
        float: none;
        width: 100%;
    }

    article aside:first-of-type {
        float: none;
        width: 100%;
    }

    article aside:last-of-type {
        float: none;
        width: 100%;
    }

    article aside:first-of-type {
        margin-bottom: .625rem;
    }

    ul {
        margin-bottom: .625rem;
    }

    footer > p {
        margin-bottom: .625rem;
    }

    footer section {
        float: none;
        width: 100%;
    }

    footer > a {
        float: none;
        width: 9.375rem;
        display: block;
        margin: 0 auto .625rem;
    }

    footer > p {
        text-align: center;
    }

    h1 {
        font-size: 1.563em;
    }

    h2,
    h3 {
        font-size: 1em;
    }

    article > br {
        display: none;
    }

    article > a {
        position: static;
        width: 14.375rem
    }

    address p span:nth-of-type(1),
    address p span:nth-of-type(2),
    address p span:nth-of-type(3),
    address p span:nth-of-type(4) {
        width: auto;
    }
    address p{
        margin: 0 0 .125rem;
    }
    article a img{
        max-width: 100%;
    }
}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.5em;
    }

}
