/* reset all */

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a,
img {
    outline: none;
    border: none;
}

img {
    max-width: 100%;
    display: inline-block;
}



/* 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;
}

h1 {
    color: #fff;
    display: block;
    font-size: 1.575rem;
    font-weight: 100;
    line-height: 1;
    margin-bottom: 1.875rem;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1;
    color: #fff;
    font-weight: 400;
    margin: 0 0 .125rem;
}

h3 {
    margin: 0 0 .625rem;
    font-size: 1rem;
}

ul {
    padding: 0;
    margin-bottom: 1.25rem;
    list-style: none;
}

ul li {
    padding-left: .937rem;
}

ul li:before {
    content: "";
    float: left;
    margin-left: -.625rem;
    width: .187rem;
    height: .187rem;
    background: #fff;
    position: relative;
    top: .5rem;
}

article > p,
footer p {
    color: #5B6670
}

/* body set-up */

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.4;
    color: #000;
    background: #fff;
    font-weight: normal;
    font-size: 14px;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 900px;
    margin: .625rem auto;
    padding: 2.5rem;
    box-shadow: 0 0 .937rem #a1a1a1
}

header {
    margin: -2.5rem -2.5rem 0;
    padding: 1.875rem;
}

header a {
    display: block;
    margin: 0 auto;
    float: right;
}

header img {
    display: block;
    max-width: 100%;
}

header p {
    text-align: center;
    font-size: .937rem;
    font-weight: bold;
    color: #fff;
}


#wrapper > section {
    margin: 0 -40px 15px;
}

aside p {
    float: left;
    width: 47%;
    text-align: justify;
    font-size: 16px;
    line-height: 1.3;
    color: #5B6670;
}

aside element {
    display: block;
    float: right;
    width: 51%;
}

aside img {
    display: block;
    margin: 2px 0 0;
}




/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

/*----------------- footer --------------------*/

footer {
    margin: 0 -40px -30px;
    padding: 15px 40px;
}

footer p {
    margin-bottom: 10px;
}

/*--use when you have phone number--*/

footer span {
    white-space: nowrap;
}

article > img {
    margin: .625rem auto;
    display: block;
}

article > section {
    margin: 0 -2.5rem;
    padding: 1.25rem 2.5rem;
    color: #fff;
    background: #5B6670;
    font-size: 13px
}

footer p:nth-of-type(2),
footer p:nth-of-type(3),
footer p:nth-of-type(4) {
    float: left;
    width: 33.33%;
    margin-bottom: .625rem;
}

footer p:nth-of-type(4) {
    float: right;
}



article section p:last-of-type {
    margin-bottom: .625rem;
}


@media only screen and (max-width:899px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }

    article > section {
        margin: 0 -.625rem;
        padding: .625rem;
        color: #fff;
        background: #5B6670;
    }

    #wrapper > section {
        margin: 0 -.625rem .937rem;
    }

    aside p {
        width: auto;
        float: none;
        text-align: left;
        font-size: 14px;
    }

    aside element {
        width: auto;
        float: none;
    }

    aside img {
        display: block;
        margin: 0 auto 10px;
        text-align: center;
    }

    footer p:nth-of-type(2),
    footer p:nth-of-type(3),
    footer p:nth-of-type(4) {
        float: none;
        width: 100%;
        margin-bottom: .625rem;
    }

    footer p:nth-of-type(4) {
        float: none;
        margin: 0;
    }

    a {
        font-weight: bold;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;


    }

    footer p {
        font-size: .812rem;

    }

    header {
        margin: -.625rem -.625rem .625rem;
        padding: .625rem;
    }

    article p br,
    article ul br {
        display: none;

    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: .937rem;
    }
}

@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

    ul li:before {
        top: .375rem;
    }
}
