:root {
    font-size: 16px;
}

* {
    margin: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

#wrapper {
    margin: 0.75rem auto;
    border: 1px #000 solid;
    max-width: 910px;
    color: #000;
    position: relative;
    padding: 0;
    background-color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.25rem;
    font-size: 1rem;
    text-align: left;
}

p {
    padding-bottom: 0.9375rem;
}

h1, h2, h3 {
    color: #fff;
    width: 455px;
    font-size: 1.5rem;
    line-height: 1.75rem;
}

h1 {
    margin: 0 0 0.8125rem -1.5625rem;
    background: #EFA012;
    padding: 0.375rem 0.625rem;
}

h1 span {
    display: block;
}

h2 {
    background: #EFA012;
    margin: 0 0 0.375rem -1.5625rem;
    padding: 0.25rem 0.625rem;
}

h3 {
    background: #0091D3;
    margin: 0 0 2.125rem -1.5625rem;
    padding: 0.3125rem 0.5rem;
}

a {
    color: #475257;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a u {
    color: #0000ff;
}

img {
    max-width: 100%;
    height: auto;
    width: auto;
    border: none;
    vertical-align: middle
}

ul {
    margin-bottom: 5rem;
    padding: 0;
    list-style: none;
}

ul li {
    padding-left: 2rem;
    position: relative;
}

ul li:before {
    content: '\2022';
    position: absolute;
    top: 0;
    left: 0;
    color: #000;
    font: normal 1.125rem/1.125rem helvetica;
}

.clear:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    position: relative;
}

header section p {
    float: left;
}

header a img {
    float: right;
    margin-top: -0.9375rem;
}

header section {
    padding: 2.5rem 1.5625rem 0;
}

header figure {
    margin: 0;
    position: absolute;
    width: 74%;
    bottom: 1.4375rem;
    left: 0;
    padding: 0 1.5625rem;
    font-size: 116%;
    line-height: 1.6875rem;
}

header figure img {
    margin: 0 0 0.875rem 0.375rem;
}

article {
    padding: 0.3125rem 1.875rem 0;
}

aside:nth-of-type(2n-1) {
    float: left;
    width: 46%;
}

aside:nth-of-type(2n) {
    float: right;
    width: 48%
}

aside section {
    background: #EFA012;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.1);
    color: #fff;
    padding: 0.3125rem 0.625rem 1.25rem;
    margin: 0 0 0.625rem;
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.375rem;
}

aside:nth-of-type(3) ul li {
    background: url(../images/iconlist.jpg) 0 0.25rem no-repeat;
}

aside:nth-of-type(3) ul li:before {
    content: none;
}

footer {
    text-align: right;
    padding: 0 1.875rem 1.875rem;
    margin-top: -8rem;
}

article p {
    padding-bottom: 1.875rem;
}

aside:nth-of-type(3) section , aside:nth-of-type(4) section {
    height: 54px;
}

footer img {
    margin: 0 0 2.5rem;
}

aside:nth-of-type(4) {
    /* font-size: 0.875rem; */
}

aside:nth-of-type(4) p {
    padding-bottom: 0.9375rem;
}

@media only screen and (max-width: 910px) {
    #wrapper {
        border: none;
        font-size: 0.875rem;
        line-height: 1.125rem
    }

    header figure {
        position: static;
        padding: 0.9375rem 0.9375rem 0;
        width: auto;
        font-size: 100%;
        line-height: 1.25rem;
    }

    article {
        padding: 0.625rem 0.9375rem 0
    }

    aside {
        width: auto !important;
        float: none !important;
    }

    ul {
        margin-bottom: 1.25rem
    }

    article br, header br {
        display: none
    }

    aside:nth-of-type(4) br {
        display: inline
    }

    h1, h2, h3 {
        font-size: 1.25rem;
        line-height: 1.5rem;
        margin-left: -0.9375rem;
        width: auto;
        margin-bottom: 0.625rem !important;
    }

    footer {
        padding: 0 0.9375rem 0.9375rem;
        margin-top: 0;
    }

    header section img {
        margin-bottom: 0.625rem;
    }

    header section {
        padding: 0.9375rem 0.9375rem 0
    }

    aside section {
        height: auto !important;
        padding: 0.3125rem;
        font-size: 1rem;
    }
}
