﻿@charset "utf-8";

/* Standard */

/* reset all */

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    font: 16px;
}

*,
*: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: .812rem;
    line-height: 1.2;
    color: #000;
    background: #fff;
    font-weight: normal;
}

/* main style */

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
}

u {
    text-decoration: underline;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 .625rem;
}

h1 {
    color: #000;
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    margin-top: 0
}

h2 {
    text-align: left;
    font-size: .812rem;
    color: #000;
    margin: 0 0 .937rem;
}

h3 {
    margin: .937rem 0 .937rem;
    font-size: 1.062rem;
    color: #00589D;
}

h4 {
    color: #DA2618;
    font-size: 1rem;
    margin-bottom: 11px;
    margin: .625rem 0
}

h4:nth-of-type(2) {
    margin-top: 1.875rem;
}

h4:nth-of-type(3) {
    margin-top: 1.25rem;
}

h5 {
    font-size: 1rem;
    text-align: center;
    line-height: 1.4
}

h5:last-of-type {
    margin-bottom: .625rem
}

h5 span {
    font-weight: normal;
    font-size: 0.8em
}

ul {
    padding: 0;
    margin-bottom: .937rem;
    list-style: none;
}

ul li {
    padding-left: 3.562rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.812rem;
    font-size: 1.125rem;
    line-height: 0.9;
    color: #000;
}

ul li ul {
    margin-bottom: 0;
}

ul li ul li {
    padding-left: 2.812rem;
}

ul li ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .375rem;
    height: .375rem;
    border-radius: 100%;
    margin-left: -1.562rem;
    border: thin solid #000;
    background: #fff;
    top: .312rem;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 52.5rem;
    margin: .625rem auto;
    display: flex;
}

header {
    background: #4F256F;
    margin: -.937rem -.937rem .625rem;
    padding: .937rem;
}

header a {
    display: block;
    margin: 0 auto .625rem;
    width: 13.437rem;
}

header img {
    display: block;
    max-width: 100%;
}

header p {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}

aside {
    width: 21%;
    float: left;
    border: thin solid #000;
    padding: .937rem .625rem 0 .625rem;
    background: #92D14F;
    color: #fff;
    font-size: .812rem;
    line-height: 1.25;
}


aside p {
    font-weight: bold;
    font-size: .75rem;
    margin-bottom: .937rem;
}

aside a {
    display: block;
    max-width: 12.5rem
}

article {
    width: 83%;
    position: relative;
    padding: 1.562rem 1.25rem 0 .625rem;
    line-height: 1.2
}

p:last-of-type {
    margin: 0
}

article p {
    margin-bottom: .937rem;
}

section p {
    text-align: center;
}

article p > a {
    color: blue;
    text-decoration: underline;
}

article > a {
    color: blue;
    text-decoration: underline;
}


/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

    /* IE10+ CSS styles go here */
    aside {
        line-height: 1.3;
    }
}

@-moz-document url-prefix() {
    aside {
        line-height: 1.3;
    }
}

@media only screen and (max-width:52.437rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
        display: block;
    }

    aside p {
        margin-bottom: .625rem
    }

    ul {
        margin-bottom: .625rem;
    }

    a {
        font-weight: bold;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
    }

    header {
        margin: -.625rem -.625rem .625rem;
        padding: .625rem;
    }

    h1 {
        margin: 0
    }

    h2 {
        font-size: .875rem;
        margin-bottom: .625rem;
    }

    h2:first-of-type {
        margin-top: 0
    }

    h3 {
        margin: .625rem 0
    }

    h4 {
        font-size: .937rem;
        margin: .625rem 0 .312rem
    }

    h4:nth-of-type(2) {
        margin-top: .625rem;
    }

    h4:nth-of-type(3) {
        margin-top: .625rem;
    }

    aside {
        width: 100%;
        float: none;
        border: thin solid #000;
        padding: .625rem .625rem;
        background: #92D14F;
        color: #fff;
        height: auto;
        margin-bottom: .625rem;
    }

    article {
        width: 100%;
        float: none;
        padding: 0;
    }

    article section a {
        display: block;
        margin: .625rem 0 0;
        max-width: 14.062rem;
        float: none
    }

    article p {
        margin-bottom: .625rem;
    }

    article p:first-of-type br {
        display: none;
    }

    p {
        margin-bottom: .625rem;
    }

    ul {
        margin-bottom: .625rem;
        text-align: left
    }

    article p br {
        display: none;
    }

    ul li {
        padding-left: .625rem;
    }

    ul li:before {
        content: "\2022";
        float: left;
        margin-left: -.625rem;
        font-size: 1.125rem;
        line-height: .937rem;
        color: #000;
        margin-top: .062rem;
    }

    article ul br,
    aside p br,
    aside h4 br {
        display: none;
    }

    article > p:nth-of-type(3) {
        margin-right: 0;
    }

    aside br {
        display: none
    }

    aside a {
        display: block;
        max-width: 12.5rem;
        margin: 0 0 .937rem;
    }

    h2:last-of-type {
        margin-top: 0
    }

    h5 {
        font-size: .937rem;
    }

    h5:last-of-type {
        margin-bottom: .625rem
    }


    #wrapper > article > p:nth-child(13) > br:nth-child(4) {
        display: block;
    }

    article p:last-of-type {
        margin-bottom: 0;
        margin-top: 0
    }

    article p:nth-of-type(4) {
        margin-bottom: .625rem
    }

    p a {
        white-space: normal;
        display: inline;
    }
}

@media only screen and (max-width:29.937rem) {
    body {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 1rem;
    }

    h2 {
        font-size: 0.9rem;
    }

    ul li:before {
        font-size: 1rem;
        line-height: 1;
    }
}
