﻿/* 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 {
    display: inline-block;
    width: 100%;
}

/* 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: justify
}

h1 {
    display: block;
    font-size: 1.062rem;
    line-height: 1.8;
    margin: 1.25rem 0 1.25rem;
    text-align: left;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: .875rem;
    line-height: 1;
    margin: 1.25rem 0 0;
}

h3 {
    color: #2F9284;
    font-size: 13px;
    margin: 1.562rem 0 .937rem;
}

ul {
    padding: 0;
    margin: 0 0 0 0;
    list-style: none;
}

ul li {
    padding-left: 3rem

}

ul li:before {
    /*    content: "\2022";
    float: left;
    margin-left: -0.938rem;
    font-size: 1.375rem;
    line-height: 1.2;*/
    content: "";
    float: left;
    position: relative;
    top: 7px;
    margin-left: -1.437rem;
    border: .125rem solid #000;
    /*    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;*/

}

hr {
    border: none;
    margin: .5rem 0;
    height: .312rem;
    background: #D57218;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 840px;
    margin: 0.75em auto;
    padding: 4.375rem 6.25rem;
    border: thin solid #9C9EA1;
}



/* content */

header {
    margin: 0 0 .625rem;
    padding: 0;
}

header a {
    display: block;
    margin: 0 0 0 -1.25rem;
    float: left;
    max-width: 16.25rem;
}

header img {
    display: block;
}

header section {
    float: right;
    margin-right: -6.25rem;
    width: 50%;
    color: #5B5B5A;
    margin: .625rem -6.25rem 0 0;
    font-size: .75rem;
}
header h1{
    text-align: left;
    margin-top: 0;
    font-size: 1.125rem
}



article p:first-of-type{
    text-align: justify;
}

article p a {
    color: blue;
    text-decoration: none;

}

article p:last-of-type {
    margin: 0;
    text-align: justify
}

article p span{
    font-size: 1rem;
    line-height: 0.5;
}

/*--use clearfix when float get's overflowed--*/
.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

/*----------------- footer --------------------*/

footer {
    margin: 0 0 0;
    padding: 0;
}



@media only screen and (max-width:839px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }

    header {
        margin: 0 -.625rem;
    }

    header a {
        float: none;
        margin: 0 auto .937rem;
        display: block;
    }

    header section {
        width: auto;
        float: none;
        text-align: center;
        margin: 0;
    }
    header h1{
        padding-left: .625rem
    }

    header p {
        text-align: center;
        margin: .625rem 0;
    }

    h1 {
        margin: .625rem 0;
    }

    h2 {
        font-size: .875rem;
        margin: 0 0 .625rem;
    }

    a {
        font-weight: bold;
    }

    p {
        margin: 0 0 .625rem;
        text-align: left;
    }
    article p:last-of-type {
        margin: 0;
        text-align: left
    }
    article p:first-of-type{
        text-align: left;
    }
}

@media only screen and (max-width:29.937rem) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1rem;
    }

}
