﻿/* reset all */

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    font-size: 1rem;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a,
img {
    outline: none;
    border: none;
}

img {
    max-width: 100%;
    display: inline-block;
}

/* body set-up */

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Open Sans', sans-serif;
    font-size: .937rem;
    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.437rem;
    font-weight: bold;
    line-height: 1.4;
    background: #dedede;
    margin: 0 0 1.25rem -2.187rem;
    padding: .625rem .312rem .625rem 2.187rem;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: 1em;
    line-height: 1;
    margin: 0 0 .312rem;
}

ul {
    padding: 0;
    margin-bottom: 1.25rem;
    list-style: none;
}

ul li {
    padding-left: .937rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -.937rem;
    font-size: 1.375rem;
    line-height: 1;
    color: #000;
}



/* layout  */

#wrapper {
    display: block;
    max-width: 36.875rem;
    margin: .625rem auto;
    padding: 1.25rem;
    border: .125rem solid #000;
    background: url(../images/bg.JPG)repeat-y right top;
}

header {
    margin: -1.25rem -1.25rem .937rem;
    position: relative
}

header:after {
    content: "";
    float: right;
    height: 2.187rem;
    width: .812rem;
    bottom: -2.187rem;
    position: absolute;
    right: 0;
    background: #fff;
}

header a {
    display: block;
    float: left;
    width: 49%;
    padding: 1.25rem 0 0 .625rem
}

header img {
    display: block;
    max-width: 100%;
}

header > img {
    float: right;
    max-width: 270px;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

/*----------------- footer --------------------*/

/*--use when you have phone number--*/

footer span {
    white-space: nowrap;
}

article {
    padding-left: .625rem;
}

article > p:first-of-type {
    padding-top: 1.25rem
}

article {
    margin: 0 .312rem 0 .312rem
}

article p:nth-of-type(5) a {
    display: inline;
    white-space: normal
}

article p:last-of-type {
    letter-spacing: -0.2px
}

p a {
    display: inline;
    white-space: pre-wrap;
}

section p {
    font-weight: 600;

}

section p:nth-of-type(1) {
}

section p:nth-of-type(2),
section p:nth-of-type(3) {
    letter-spacing: -0.4px;
}

@media only screen and (max-width:36.812rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
        background: 0
    }

    p,
    ul {
        margin-bottom: .625rem
    }

    a {
        font-weight: bold;
    }

    header a {
        float: none;
        margin: 0 auto .937rem;
        width: 100%;
        max-width: 18.75rem;
    }

    header > img {
        float: none;
        margin: 0 auto
    }

    header:after {
        display: none;
    }


    article p:first-of-type br {
        display: none;
    }

    article {
        margin: 0
    }

    header {
        margin: -.625rem -.625rem .625rem;
    }

    article {
        padding: 0
    }

    article p:nth-of-type(5) {
        text-align: left
    }

    h1 {
        font-size: 1.375rem;
        margin: .625rem -.625rem .625rem;
        padding: .625rem
    }

    article p br,
    ul br {
        display: none;
    }

    section p:nth-of-type(1) {
        letter-spacing: normal;
    }

    section p:nth-of-type(2),
    section p:nth-of-type(3) {
        letter-spacing: normal;
    }

    section br {
        display: none;
    }

    p br {
        display: none;
    }
}

@media only screen and (max-width:29.937rem) {
    body {
        font-size: .812em;
    }

    header a {
        max-width: 15.625rem;
    }

    h1 {
        font-size: 1.125rem;
    }

}
