﻿@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: 14px;
    line-height: 1.4;
    color: #303030;
    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 .937rem;
}

h1 {
    color: #fff;
    display: block;
    font-size: 1.625rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 1.875rem 0 1.375rem;
    background: #00539F;
    padding: 1.25rem .937rem .625rem;
}

h1 > span:nth-of-type(1) {
    font-size: 1.375rem;

}

h1 > span:nth-of-type(2) {
    font-size: 0.9em;
    font-weight: 100;
}

h1 span strong {
    font-weight: bold;
}

h2 {
    text-align: left;
    font-size: .9rem;
    line-height: 1;
    margin: 0;
}

h3 {
    margin: 0 0 .625rem;
    font-size: .875rem;
}

ul {
    padding: 0;
    margin-bottom: 1.25rem;
    list-style: none;
    padding-right: 0;
}

ul li {
    padding-left: .625rem;
    margin-bottom: .187rem;
}

ul li:before {
    content: "\0025aa";
    float: left;
    margin-left: -.625rem;
    font-size: 1.062rem;
    line-height: 1.1;
    color: #303030;
}


/* layout  */

#wrapper {
    display: block;
    max-width: 880px;
    margin: .625rem auto;
    padding: 3.125rem 3.125rem 1.25rem;
    box-shadow: 0 0 .937rem #a1a1a1;
}

header {
    margin: 0 0 0;
}

header a {
    float: right;
}

header img {
    display: block;
    max-width: 100%;
}

article section {
    width: 48%;
    float: left;
    padding-right: 0;
}

article > img {
    margin-bottom: .625rem;
    width: 100%;
}

article section:last-of-type {
    float: right;
    width: 48%;
}

article section:last-of-type ul:first-of-type {
    margin-bottom: .625rem;
    padding-right: 0
}

article section:last-of-type p:last-of-type {
    margin: 1.562rem 0 -.937rem;
}

article section:last-of-type p:last-of-type {
    margin: 1.75rem 0 0
}

article section:last-of-type p:first-of-type {
    letter-spacing: -0.3px
}

u {
    color: blue;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}


/*article p a, footer p a{
     color: #0000FF;
    text-decoration: underline;
}*/

#wrapper > article > section:nth-child(3) > p:nth-child(5) {
    letter-spacing: -0.2px;
}

/*----------------- footer --------------------*/

footer {
    clear: both;
}

footer p:first-of-type {
    margin-bottom: 1rem;

}

/*footer p:first-of-type  a{
     color: #0000FF;
    text-decoration: underline;
}*/


@media only screen and (max-width:799px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }

    article section:last-of-type p {
        margin: 0 0 .625rem;
    }

    header a {
        margin: .625rem auto 0;
        display: block;
        float: none;
        width: 13.75rem
    }

    article section:last-of-type {
        float: none;
        width: 100%;
    }

    article section:first-of-type p {
        margin-bottom: .625rem;
    }

    article section:last-of-type {
        padding-top: 0;
    }

    article > img {
        margin-bottom: .937rem;
    }

    article section {
        width: 100%;
        float: none;
    }

    a {
        font-weight: bold;
    }

    p,
    ul,
    h2 {
        margin-bottom: .625rem;
    }

    article section:last-of-type p:first-of-type br,
    article section:first-of-type p:first-of-type br {
        display: none;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: 0 .625rem;
    }

    header {
        margin: -.625rem -.625rem 0;
    }

    h1 {
        font-size: 1.25rem;
        margin: .625rem 0;
        text-align: center;
    }

    h1 span {
        font-size: 1.125rem;
    }

    h2 {
        font-size: .875rem;
        margin: 0 0 .625rem;
    }

    article section:last-of-type ul:first-of-type {
        margin: 0 0 .625rem;
    }

    article section:last-of-type p:last-of-type {
        margin-top: .625rem;
    }

    ul br {
        display: none
    }

    article > p {
        margin: 0 0 .625rem;
    }

    article section:nth-of-type(1) p:nth-of-type(1) {
        margin: 0 0 .625rem;
    }

    footer p:nth-of-type(1) {
        margin: 0 0 .625rem;
    }

    article section:nth-of-type(2) h2:last-of-type {
        margin: 0 0 .625rem;
    }

    ul {
        font-size: inherit;
    }

    ul,
    article section:last-of-type ul:first-of-type {
        padding-right: 0;
    }

    section > br {
        display: none;
    }

    article section:last-of-type p:last-of-type {
        margin: 1.562rem 0 .937rem;
    }
}

@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

    h1 span {
        font-size: 1rem;
    }

    ul li:before {
        font-size: 1rem;
        line-height: 1;
    }
}
