﻿/* 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: .812rem;
    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 .937rem;
}

h1 {
    color: #000;
    display: block;
    font-size: .812rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    text-align: center;
}

section p {
    margin-top: 0;
    text-align: center;
    margin-bottom: .625rem;
}

article section {
    margin: 0 0 .937rem;
}

section {
    margin: 2.5rem 0;
}



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 .937rem;
}


ul {
    padding: 0;
    margin: 0 0 .937rem 20px;
    list-style: none;
}

ul li {
    padding-left: 1.75rem;
}



ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .312rem;
    height: .312rem;
    border-radius: .312rem;
    background: #000;
    /*    background: url(../images/li.JPG) no-repeat;*/
    background-size: contain;
    margin-left: -1.25rem;
    top: .437rem;
}

ul p {
    margin: 0;
}

ul li ul {
    margin-bottom: 0px
}

/* layout  */

#wrapper {
    display: block;
    max-width: 48.125rem;
    margin: .625rem auto;
    padding: 0 5rem;
    border: thin solid #000;
}

header {
    margin-top: .937rem;
    margin-bottom: 1.25rem;
    margin-right: -5rem
}

header p {
    font-family: 'Calibri';
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background-color: rgb(192, 0, 0);
    float: right;
    padding: .312rem 2.75rem .437rem 2.187rem;
    margin-bottom: 1.562rem;
}

/*--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: 25%;
    margin-right: -5rem;
    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 span {
    font-size: 1.375rem;
}

article p span {
    word-spacing: .5rem;
    letter-spacing: 0.5px
}

/*--use when you have phone number--*/

footer span {
    white-space: nowrap;
}

p a {
    /*    color: blue;*/
    /*    text-decoration: underline;*/
}

h3 {
    font-family: 'Calibri';
    font-size: 1.5rem;
    float: left;
    line-height: 1.2;
}

a u {
    color: #0000FF;
}

@media only screen and (max-width:48.062rem) {
    #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;
    }

    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;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
    }

    footer > img {
        float: none;
        margin: 0 auto;
        display: block;
    }

    ul li {
        padding-left: 1.25rem;
        text-align: left;
    }

    ul li:before {
        margin-left: -1.25rem;
    }

    article br {
        display: none;
    }

    article section br {
        display: block;
    }

    p,
    ul,
    h2 {
        margin: 0 0 10px;
    }

    section {
        margin: .625rem 0;
    }

    article p span {
        word-spacing: normal;
        letter-spacing: normal;
    }

    p {
        text-align: left;
    }
}


@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }

    article p {
        text-align: left;
    }

    h1 {
        font-size: 1.125rem;
    }

    ul li:before {
        font-size: 1rem;
        line-height: 1.125rem;
    }

    h3 span {
        font-size: 1.125rem;
    }

    h3 {
        text-align: center;
        float: none;
        font-size: 20px;
    }
}
