﻿:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v30-latin-500.eot');
    src: local(''), url('../fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-500.woff2') format('woff2'), url('../fonts/roboto-v30-latin-500.woff') format('woff'), url('../fonts/roboto-v30-latin-500.ttf') format('truetype'), url('../fonts/roboto-v30-latin-500.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-v30-latin-900.woff2') format('woff2'), url('../fonts/roboto-v30-latin-900.woff')
}

html {
    min-height: 100%;
}

body {
    color: #516168;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1.125rem;
    font-weight: 400;
}

#wrapper {
    max-width: 830px;
    margin: 0.75rem auto;
    border: 1px solid #000;
    padding: 0;
    background-color: #fff;
}

header {
    padding: 0;
    border-bottom: 8px solid #981d34;
}

article {
    padding: 0.9375rem 1.25rem 1.5625rem;
    position: relative;
}

footer {
    padding: 0.9375rem;
    color: #fff;
    background: #981d34;
    font-size: 105%;
    font-weight: 700;
}

article p:nth-of-type(1) {
    margin: 0 0 1.25rem;
}

section {
    position: absolute;
    bottom: 2.35rem;
    right: 1.25rem;
    z-index: 1;
    width: 46%;
}

footer p {
    text-align: center;
}

footer a {
    color: #fff;
}

p {
    margin: 0;
}

strong {
    font-weight: 500;
    font-size: 105%;
}

h1 {
    margin: 1.875rem 0;
    padding: 0;
    font-weight: 900;
    font-size: 1.625rem;
    line-height: 1.875rem;
    color: #981d34;
}

h1 small {
    font-size: 1.0625rem;
    font-weight: 500;
    color: #516168;
}

h2 {
    margin: 0 0 0.25rem;
    padding: 0;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.1875rem;
}

h3 {
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.4;
}

a {
    color: #000;
    text-decoration: none;
}

a span {
    color: #981d34;
    font-weight: 900;
    font-size: 1.625rem;
    line-height: 1.875rem;
}

ul {
    padding: 0;
    list-style: none;
    line-height: 1.45;
}

ul li {
    padding-left: 0.625rem;
}

li:before {
    content: '\2022';
    color: #516168;
    float: left;
    margin-left: 0;
    font-size: 0.75rem;
    text-indent: -0.625rem;
}

img {
    max-width: 100%;
    border: none;
    vertical-align: middle;
}

@media all and (max-width: 829px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    article {
        padding: 0.625rem 0.9375rem;
    }

    footer {
        padding: 0.9375rem 0.9375rem 0.0625rem;
    }

    section {
        position: static;
        width: auto;
    }

    article p:nth-of-type(1) {
        margin: 0 0 1rem;
    }

    h1 {
        font-size: 1.375rem;
        line-height: 1.625rem;
        margin: 1rem 0;
    }

    ul {
        margin: 0 0 0.625rem;
    }

    p {
        margin: 0 0 1rem;
        text-align: left;
    }

    a span {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    br {
        display: none;
    }

    footer br {
        display: inline;
    }

    a,
    footer span {
        white-space: nowrap;
    }
}