﻿/* reset all */

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    font: 1rem;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a,
img {
    outline: none;
    border: none;
}

img {
    max-width: 100%;
    display: inline-block;
}


/* body set-up */

body {
    font-family: 'Arial', sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    color: #000;
    background: #fff;
    font-weight: normal;
}


/* main style */

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

u {
    text-decoration: underline;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 .625rem;
}

h1 {
    color: #0070C0;
    display: block;
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1;
    margin: 5px 0 20px;
    text-align: center;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: 1.125rem;
    line-height: 1;
    background: #D9D9D9;
    padding: .187rem .312rem .625rem;
    margin: 0 0 .125rem;
}

h3 {
    margin: 0 0 .625rem;
    font-size: .875rem;
}

ul {
    padding: 0;
    margin-bottom: 1.25rem;
    list-style: none;
    text-align: justify;
}

ul li {
    padding-left: 1.562rem;
    margin-left: .125rem;
    text-align: left;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.25rem;
    font-size: 1.375rem;
    line-height: 0.9;
    font-family: 'Arial', sans-serif;
}


ul > span > li {
    margin-top: 10px;
}


ol {
    padding: 0;
    margin-bottom: 0;
    list-style: none;
    text-align: justify;
}

ol li {
    padding-left: 25px;
    margin-left: 2px;
}

ol li:before {
    content: "";
    float: left;
    position: relative;
    width: .437rem;
    height: 1px;
    background: #000;
    border-radius: 50%;
    margin-left: -1.562rem;
    top: .437rem;
}




/* layout  */

#wrapper {
    display: block;
    max-width: 745px;
    margin: .625rem auto;
    padding: .937rem;
    border: 1px solid #000;
}

header {
    position: relative;
}

header a {
    display: block;
    margin: 0 0 1.875rem 1.875rem;
    width: 13.437rem;
}

header img {
    display: block;
    max-width: 100%;
}

header > img {
    position: absolute;
    width: 50%;
    right: -.937rem;
    top: -.937rem;
}

section {
    display: flex;
    justify-content: space-between;
    padding: 0;
    font-size: .75rem;
    line-height: 1.6;
    width: 80%;
    margin: 0 auto 10px
}

section p img {
    float: left;
    margin-right: 20px;
}

section p span {
    display: inline-block;
}

section p:last-of-type {
    margin-right: 50px;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

article > p:last-of-type {
    text-align: justify;
    margin: 0;
}

article > p:last-of-type a {
    font-family: 'arial', sans-serif;
    font-weight: bold;
    color: #548DD4;
}

@media only screen and (max-width:46.5rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }

    a {
        font-weight: bold;
    }

    header a,
    header > img {
        position: static;
        margin: 0 auto .625rem;
    }

    section {
        padding: 0;
        text-align: center;
        width: auto;
        display: block;
    }

    section p {
        display: block;
        float: none;
        margin: 0 0 10px;
        padding: 0;
    }

    section p:last-of-type {
        margin-right: 0px;
    }

    section p img {
        float: none;
        display: block;
        margin: 0 auto .312rem;
    }

    section br {
        display: none;
    }

    aside ul {
        width: 100%;
    }

    h2 {
        font-size: 1rem;
        padding: .312rem;
    }

    ul {
        text-align: left;
        margin-bottom: .625rem;
    }

    aside ul:last-of-type li {
        margin-bottom: 0
    }

    aside ul:last-of-type li:nth-of-type(1),
    aside ul:last-of-type li:nth-of-type(2) {
        text-align: left;
    }

    aside ul:nth-of-type(1) li {
        margin-left: 2px;
    }

    article > p:last-of-type {
        text-align: left;
        margin: 0;
    }

    
}

@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

    ul li:before {
        font-size: 1rem;
        line-height: 1.1;
    }
}
