﻿/* reset all */

html {
    box-sizing: border-box;
}

:root {
    font: 16px;
}

* {
    margin: 0;
    padding: 0;
}

*,
*: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;
    text-decoration: none;
}

u {
    text-decoration: underline;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 .937rem;
    text-align: left;
}
p:nth-of-type(2){
    text-align: justify;
}

h1 {
    color: #000;
    display: block;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
    margin: 15px 0;
    text-align: center;
}

section p {
    margin-top: 0;
    text-align: center;
    margin-bottom: .312rem;
}

article section {
    margin: 1.25rem 0;
}

section p {
    margin-bottom:0;
}

section {
    margin: 2.5rem 0;
}

/*article section p a{
	color: blue;
	text-decoration: underline;
}*/

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: .875rem;
    line-height: 1;
    font-weight: normal;
    color: #000;
    margin: 0 0  0;
}

h3 {
    margin: 0 0 .625rem;
    font-size: .875rem;
}

ul {
    padding: 0;
    margin-bottom: .937rem;
    list-style: none;
    text-align: left;
}

ul li {
    padding-left: 2.812rem;
}



ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.437rem;
    font-size: 1.25rem;
    line-height: 1;
    color: #000;
}

ul p {
    margin: 1.25rem;
}

ul li ul {
    margin-bottom: 0;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 755px;
    margin: .625rem auto;
    padding: 0 4.375rem;
    border: thin solid #000;
}

header {
    margin-right: -4.375rem
}

header p {
    font-family: 'Calibri', sans-serif;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    background-color: rgb(192, 0, 0);
    float: right;
    padding: .312rem 2.75rem .437rem 2.187rem;
    margin: .625rem 0;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}



/*----------------- footer --------------------*/

footer {
    background: rgb(192, 0, 0);
    color: #fff;
    text-align: left;
    padding: .937rem .937rem .937rem 2.812rem;
    margin-left: 30%;
    margin-right: -4.375rem;
    margin-bottom: 0;
    margin-top: 40px;
    position: relative;
}

footer section {
    position: absolute;
    max-width: 5rem;
    left: -8%;
    top: -55%;
}

* img {
    width: 100%;
    display: block;
}

footer > img {
    float: right;
    width: 5.625rem;
}

footer > a {
    position: absolute;
    top: -25%;
    left: -7%;
    width: 14%;
    height: 50%;
    z-index: 99;
}

h3 {
    font-family: 'Calibri';
    font-size: 1.562rem;
    float: left;
    line-height: 1.2;
}

h3 span {
    font-size: 1.25rem;
}

article p span {
    word-spacing: .5rem;
    letter-spacing: 0.5px
}

article p a {
    color: #000;
    text-decoration: none;
}


@-moz-document url-prefix() {
    article p span {
        word-spacing: 0.2rem;
        letter-spacing: 0.5px;

    }
    #wrapper {
        max-width: 750px;
    }
}

@media only screen and (max-width:754px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
        text-align: left
    }

    footer section {
        position: static;
        margin: 0 auto;
    }

    a {
        font-weight: bold;
    }

    header {
        margin: -.625rem -.625rem .625rem;
        padding: .625rem;
    }
    p{
        text-align: left;
    }

    h1 {}

    h2 {
        font-size: .875rem;
    }

    h3 {
        text-align: center;
        float: none;
    }

    header p {
        margin-bottom: .625rem;
    }

    article p:nth-of-type(7),
    article p:nth-of-type(9) {
        text-align: left;
    }
    
    p:nth-of-type(2),
    p:nth-of-type(3){
        text-align: left;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
    }

    footer > img {
        float: none;
        margin: 0 auto;
        display: block;
    }

    ul li {
        padding-left: 1.25rem;
    }

    ul li:before {
        margin-left: -1.25rem;
    }

    article br {
        display: none;
    }

    article section br {
        display: block;
    }

    p,
    ul,
    h2 {
        margin-bottom: .625rem;
    }

    section {
        margin: .625rem 0;
    }

    article p span {
        word-spacing: normal;
        letter-spacing: normal;
    }
}


@media only screen and (max-width:29.937rem) {
    body {
        font-size: .812rem;
    }

    article p {
        text-align: left;
    }

    h1 {
        font-size: 1.125rem;
    }

    ul li:before {
        font-size: 1rem;
        line-height: 1.3;
    }

    h3 span {
        font-size: 1.125rem;
    }

    h3 {
        text-align: center;
        float: none;
        font-size: 1.25rem;
    }
}