﻿@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: #293133;
    font-family: 'Open Sans', sans-serif;
    font-size: .875rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 46.875rem;
    margin: 1rem auto;
    border: solid thin #000;
    padding: 0;
    background-color: #fff;
    overflow: hidden;
}

p {
    margin: 0 0 1.25rem;
}

h1 {
    font-size: 1.937rem;
    line-height: 1;
    margin: 0;

}

h1 span {
    font-size: 0.65em;
    font-weight: normal;
}

h2 {
    font-size: 1rem;
    line-height: 1;
    margin: 0 0 .312rem;
    background: #fff;
    color: #D51427;
    padding: .312rem .625rem;
    font-weight: normal;
    position: relative;
}

h2:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 1.562rem solid transparent;
    border-bottom: 1.625rem solid transparent;
    border-left: 1.75rem solid #D51427;
    position: absolute;
    top: -.437rem;
    right: -1rem;
    -ms-transform: rotate(40deg);
    /* IE 9 */
    -webkit-transform: rotate(40deg);
    /* Safari 3-8 */
    transform: rotate(40deg);
}


ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: .937rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -.937rem;
    font-size: 1.375rem;
    line-height: 0.9;
}

section ul:last-of-type {
    margin-bottom: 0;
}

nav {
    width: 60%;
    float: left;
}

element {
    display: block;
    width: 40%;
    float: right;
    padding: 2rem 1.562rem;
    background: #DFE0E1;
}

element p {
    margin: .937rem 0 0;
}

nav,
element {
    height: 12.625rem;
}

address {
    background: #293133;
    padding: 1.25rem 1.562rem;
    color: #fff;
    font-style: normal;
}


section {
    width: 60%;
    float: left;
    background: #D51427;
    padding: .937rem 1.562rem;
    color: #fff;
}

aside {
    width: 40%;
    float: right;
    padding: 1.875rem 1.562rem;
    background: #DFE0E1;
}

section,
aside {
    height: 41rem;
}

aside p:nth-of-type(3) {
    margin: 1.875rem 0 1.875rem;
}

footer {
    background: #293133;
    color: #fff;
    padding: .437rem 0 .437rem 1.562rem;

}

footer p {
    margin: 0;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

@-moz-document url-prefix() {

    section,
    aside {
        height: 41.625rem;
    }
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

    /* IE10+ CSS styles go here */
    section,
    aside {
        height: 41.625rem;
    }
}

@media only screen and (max-width:46.812rem) {
    #wrapper {

        margin: 0 auto;
        border: 0;
        padding: 0;
    }

    a {
        font-weight: bold;
    }

    header {}

    nav,
    element {
        height: auto;
        display: block;
        width: auto;
        float: none;
        padding: 0;
    }

    element {
        padding: .625rem;
        text-align: center;
    }

    nav img {
        display: block;
        margin: 0 auto;
    }

    address {
        margin: 0;
        padding: .625rem;
    }

    section,
    aside {
        height: auto;
        width: auto;
        float: none;
        padding: .625rem .625rem .625rem;
    }

    footer {
        padding: .625rem;
    }

    aside p:nth-of-type(3),
    p {
        margin: 0 0 .625rem;
    }

    h1 {
        font-size: 1.25rem;
    }

    h1 span {
        font-size: .875rem;
    }

    h2 {
        font-size: .875rem;
    }
    element p {
    margin: .625rem 0 0;
}
}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.125rem;
    }
}
