﻿@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: pre-wrap;
}

a:hover,
a:active,
a:visited {
    text-decoration: underline;
}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #000;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 900px;
    margin: 1rem auto;
    border: solid thin #000;
    padding: 0 5.625rem;
    background-color: #fff;
    overflow: hidden;
}

p {
    margin: 0 0 .937rem;
}

h1 {
    text-align: left;
    font-size: 29px;
    line-height: 0.9;
    margin: 10px 0 40px;
}

h1 span {
    font-size: 21px;
}

h2 {
    font-size: 16px;
    line-height: 1;
    margin: 20px 0 3px;
}

hr {
    border-top: thin solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 .937rem 2.5rem;
    padding: 0;
}

ul li {
    padding-left: 35px;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .312rem;
    height: 1px;
    background: #000;
    margin-left: -1.562rem;
    top: .562rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    margin: 0 -90px 20px;
    padding: 0;
    position: relative;
}

header a {
    margin: 0 auto;
    display: block;
    position: absolute;
    width: 30%;
    height: 82%;
    top: 8%;
    left: 8%;
}

aside p {
    float: left;
    width: 40%
}

aside img {
    float: right;
    width: 63%;
    margin: -22px -90px 0 0;
    position: relative;
}

article > img:last-of-type {
    max-width: 70px;
    display: block;
    position: absolute;
    right: 6%;
    bottom: 11%;
}

footer {
    margin: 80px -40px 0 0;
}

footer p {
    font-size: 9px;
    text-align: right;
    letter-spacing: -0.3px;
    line-height: 2.3;
}

footer p span {
    position: relative;
}

footer p span:before {
    content: "";
    float: right;
    position: absolute;
    width: 40.312rem;
    height: .187rem;
    background: url(../images/line1.jpg) no-repeat;
    background-size: contain;
    margin-right: 0;
    top: 12px;
    right: -.062rem;

}

article p a {
    text-decoration: underline;
    color: blue;
}



@media only screen and (max-width:56.187rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }

    body {
        font-size: .875rem;
    }

    header {
        margin: 0 0 .625rem;
        padding: 0;
        position: relative;
    }

    aside p {
        float: none;
        width: 100%
    }

    aside img {
        float: none;
        width: 100%;
        margin: .625rem auto;
    }

    article > img:last-of-type {
        position: static;
        display: block;
        margin: 10px auto;
    }

    footer {
        margin: 10px 0;
    }

    footer p {
        letter-spacing: 0;
        line-height: 2;
    }

    footer p span {
        position: relative;
    }

    footer p span:before {
        width: 100%;
        height: .187rem;
        right: 0;
    }

    p,
    ul {
        text-align: left;
        margin: 0 0 .625rem;
    }

    p br, ul br {
        display: none;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 1.1;
        margin: .625rem 0;
    }

    h1 span {
        font-size: 1rem;
    }

    h2 {
        font-size: .875rem;
        line-height: 1.3;
        margin: .625rem 0 0;
    }

}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 22px;
    }
}
