/* 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: 'Open Sans', sans-serif;
    font-size: .812rem;
    line-height: 1.3;
    color: #1A2453;
    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;
}

strong {
    font-weight: 600;
}

h1 {
    color: #4F256F;
    display: block;
    font-size: 2.25rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: .625rem;
    text-align: center;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: .875rem;
}

h3 {
    margin: 0 0 .625rem;
    font-size: .875rem;
}

ul {
    padding: 0;
    margin-bottom: .625rem;
    list-style: none;
}

ul p {
    margin-bottom: .312rem;
}

ul li {
    padding-left: .937rem;
}

ul li:before {
    content: "●"
        /* ❖ *  ● ■ ▪ ◆ ❖ ✔ » ▸ ▶ ► ➤ ➢ ➧ ➭ ➽ ➲ 》➠ ◢ ◥ ☛ */
    ;
    float: left;
    margin-left: -.937rem;
    font-size: .75rem;
    line-height: 1.7;
}


/* layout  */

#wrapper {
    display: block;
    max-width: 770px;
    margin: .625rem auto;

    box-shadow: 0 0 .937rem .312rem #ddd;
    text-align: justify;
}

header a {
    display: block;
    margin: .625rem auto .625rem;
    width: 65%;
}

aside img,
header img {
    display: block;
    max-width: 100%;
}

header {
    border-top: 1.875rem solid #FFEEA9;
    display: block;
    margin: 0 10px 0;
}

nav {
   border: 7px solid #fff;
}

aside {
    margin: 0 10px;
}

header p {
    text-align: center;
    color: #0054A0;
    margin: 0 0 .937rem;
}

article {
    padding: 10px 1.875rem;
    position: relative;
}

article > a {
    position: absolute;
    right: 1.875rem;
    bottom: .625rem;
    width: 200px;
}

article section p {
    color: #58585A;
}

article > p:last-of-type {
    margin-bottom: 0;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}


/*----------------- footer --------------------*/

footer {
    color: #58585A;
    padding: 0 1.875rem .312rem;
    letter-spacing: -0.2px;
    text-align: justify;
    font-size: .812rem
}

footer p a,
ul li span {
    color: #0069AB;
}

@media only screen and (max-width: 819px) {
    #wrapper {
        margin: 0 auto;
        padding: .625rem;
       
        text-align: left;
    }
    nav{
        display: none
    }

    a {
        font-weight: bold;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
        text-align: left;
    }

    header {
         border-top: .625rem solid #FFEFAA;
        margin: -.625rem -.625rem 0;
        padding: .625rem .625rem 0
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: .875rem;
    }

    article {
        padding: .625rem 0;
    }

    article > a {
        position: static;
        margin-top: .625rem;
    }

    li br,
    article > br {
        display: none;
    }

    aside {
        margin: 0 -10px;
        ;
    }
}

@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }
}
