/* reset all */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

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;
}

/* body set-up */

body {
    font-family: 'Open Sans', sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    color: #000;
    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 1.25rem;
}

h1 {
    display: block;
    font-size: 1.687rem;
    font-weight: bold;
    line-height: 1.2;
    background: #dedede;
    margin: 0 -0px 1.25rem -1.25rem;
    padding: .625rem .937rem .625rem 1.25rem;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: .937rem;
    margin: 0 0 0px;
}

h3 {
    margin: 30px 0 0;
    font-size: 16px;
}

ul {
    padding: 0;
    margin-bottom: 1.25rem;
    list-style: none;
}

ul li {
    padding-left: 15px;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -15px;
    font-size: 16px;
    line-height: 1.4;
    color: #000;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 550px;
    margin: 10px auto;
    padding: .937rem;
    border: .125rem solid #000;
    background: url(../images/bg.JPG)repeat-y right top;
    overflow: hidden;
}

header {
    margin: -.937rem -.937rem 0px;
    position: relative
}

header a {
    display: block;
    position: absolute;
    top: 1.875rem;
    left: 1.25rem;
    max-width: 10.937rem;
}

header img {
    display: block;
    max-width: 100%;
}

header > img {
    float: right;
    max-width: 14.375rem;
    padding-left: 1.25rem;
    background: #fff;
    padding-bottom: 1.25rem
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

/*----------------- footer --------------------*/

footer {
    background: #4F256F;
    color: #fff;
    margin: 0 -.937rem -.937rem;
    text-align: center;
    padding: .937rem;
}

/*--use when you have phone number--*/

footer span {
    white-space: nowrap;
}

article > img {
    float: right;
    padding-left: 1rem;
}

article > p:first-of-type {
    padding-top: 0px
}

article {
    margin: -3.437rem .312rem 0 .312rem;
    position: relative;
}

article section p span {
    width: 54%;
}

article p:nth-of-type(5) {
    letter-spacing: 0.15px;
}

article > p:last-of-type {
    margin-bottom: 0
}


article a {
    white-space: normal;
    display: inline;
}


@media only screen and (max-width:549px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
        background: 0
    }

    p,
    ul {
        margin-bottom: .625rem
    }

    a {
        font-weight: bold;
    }

    header {
        margin: 0
    }

    header a {
        position: static;
        margin: 0px auto .625rem;
        width: 100%;
        max-width: 12.5rem
    }

    header > img {
        float: none;
        margin: 0 auto;
        padding: 0 0 .625rem
    }

    header:after {
        display: none;
    }

    article > img {
        float: none;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
    }

    article p:first-of-type br {
        display: none;
    }

    article {
        margin: 0
    }

    article p:nth-of-type(5) {
        text-align: left
    }

    h1 {
        font-size: 1.75rem;
        margin: .625rem 00px .625rem -.625rem;
        padding: .625rem
    }

    article p br,
    ul br {
        display: none;
    }

    h2 {
        font-size: .875rem;
    }

    h3 {
        margin: 10px 0 0;
    }

    article section p span {
        width: auto;
    }
}

@media only screen and (max-width:479px) {
    body {
        font-size: .875rem;
    }

    h1 {
        font-size: 1.375rem;
    }

    ul li:before {
        font-size: 16px;
        line-height: 18px;
    }
}
