﻿@charset "utf-8";

:root {
    font-size: 16px;
}

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: 'Arial', sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    color: #000;
    background: #fff;
    font-weight: normal;
}

/* main style */

a {
    color: blue;
    display: inline-block;
    text-decoration: underline;
    white-space: nowrap;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 .937rem;
    text-align: justify;
}

h1 {
    display: block;
    font-size: 1.375rem;
    font-weight: bold;
    line-height: 1rem;
    margin: .625rem 0 .937rem 0;
    text-align: center;
    padding-top: .312rem;
}

h1 span {
    font-size: 0.875rem;
    font-weight: normal;
}

h1:last-of-type {
    margin: -0.5rem 0 1rem;
}

h2 {
    font-style: italic;
    text-align: left;
    font-size: 1rem;
    margin: 0 0 .625rem;
}

h3 {
    margin: 0 0 1.25rem 0.025rem;
    font-size: 1rem;
}


h4 {
    font-size: 1.125rem;
    font-weight: bold;
    margin: 0 0 .625rem;
}

ul {
    padding: 0;
    list-style: none;
    margin: 0 0 0.938rem 3.125rem;
}

ul li {
    padding-left: 2.812rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -25px;
    font-size: 16px;
    line-height: 1.2;
    color: #000;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 51.25rem;
    margin: .625rem auto;
    padding: 3.125rem 3.125rem 1.562rem;
    border: thin solid #000;
    overflow: hidden
}

header {
    margin: -3.125rem -3.125rem .625rem;
    padding: 0;
    position: relative;
}

header > a {
    display: block;
    margin: 0 auto 0;
    width: 15%;
    right: 4%;
    top: 10%;
    height: 60%;
    position: absolute;
}

header p {
    text-align: left;
    float: left;
    position: absolute;
    bottom: 50%;
    top: 40%;
    left: 1.437rem;
    color: #595959;
}

header p a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

article p span{
    text-decoration: underline;
    color: #0000FF;
}
article a{
    color: #0000FF;
}

/*--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;
    position: relative;
}

footer > section {
    position: static;
    float: right;
    margin-top: -29rem;
    margin-right: -1.25rem
}

footer > section img {
    max-width: 18.125rem;
    width: 100%;
    display: block;
    margin-top: 3.75rem;
}

footer > section a {
    position: absolute;
    width: 39%;
    height: 1.95rem;
    bottom: 0;
}
footer aside section{
    display: flex;
    margin-bottom: -.625rem;
}
footer aside section p:first-of-type{
    margin-right: 1.875rem;
}
footer aside > p {
    width: 60%;
}

footer p span {
    display: inline-block;
    width: 3.437rem;
}


/*--use when you have phone number--*/

/*article p:nth-of-type(6), */
footer > p:nth-of-type(1) {
    text-align: justify;
    padding-right: 39.5%;
}
footer aside > p:first-of-type{
    letter-spacing: -0.1px;
}
footer aside p:nth-of-type(3){
    margin: 0;
}
footer aside p:nth-of-type(4){
    letter-spacing: -0.5px;
}
footer aside p:nth-of-type(5){
    letter-spacing: -0.2px;
}

article p:nth-of-type(2) {
    letter-spacing: -0.2px;
}

footer aside p:first-of-type {
    float: none;
    letter-spacing: -0.4px;
}
@-moz-document url-prefix() {
    footer aside > p:first-of-type{
        letter-spacing: -0.5px;
    }
    footer aside p:nth-of-type(4){
        letter-spacing: -0.6px;
    }
}

footer aside p:last-of-type {
    float: none;
    margin: 0 0 1.562rem;
}

@media only screen and (max-width:45.25rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }

    article h3 ~ p {
        margin-left: 0.65rem;
    }

    article p:nth-of-type(6),
    footer > p:nth-of-type(1) {
        text-align: left;
        padding-right: 0;
    }

    article p:nth-of-type(2) {
        letter-spacing: 0;
    }

    article p:nth-of-type(3) {
        margin-bottom: 1rem;
    }

    article p:nth-of-type(4) {
        margin-bottom: 0.625rem;
    }

    article p:nth-of-type(4) br,
    article p:nth-of-type(5) br {
        display: none;
    }
    footer aside section{
        display: block;
        margin-bottom: 0;
    }
    footer aside > p {
        width: 100%;
    }
    a {
        font-size: 0.938rem;
        font-weight: bold;
    }

    footer {
        margin: 0 0 0;
        padding: 0;
    }

    header {
        margin: -0.625rem -0.625rem .625rem;
        padding: 0;
    }

    h1,
    h1:last-of-type {
        margin: .625rem 0;
    }

    h2 {
        font-size: .875rem;
        margin: .625rem 0;
    }

    p {
        margin: 0 0 .625rem;
        text-align: left;
    }

    h3 {
        font-size: .875rem;
    }

    footer section {
        position: relative;
        margin: 0;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    }

    footer section img {
        margin-top: 0rem;
    }

    footer section a {
        width: 100%;
        bottom: 0.5%;
        /*margin-left: 2.5rem*/
    }

    ul {
        margin: 0 0 .625rem;
    }

    ul li:before {
        content: "\2022";
        float: left;
        margin-left: -15px;
        font-size: 16px;
        line-height: 1.2;
        color: #000;
    }

    footer p:nth-of-type(2) br {
        display: none
    }

    footer p span {
        display: inline-block;
        width: auto;
    }

    ul li br {
        display: none;
    }

    footer aside p:first-of-type {
        float: none;
    }

    footer aside p:last-of-type {
        float: none;
        margin: 0 0 .625rem 0;
    }

    footer aside p:last-of-type br {
        display: block;
    }

    footer p:nth-last-of-type(2),
    article p:nth-of-type(4) {
        text-align: left;
    }

    footer p {
        width: 100%;
    }

    header p {
        text-align: left;
        float: left;
        position: absolute;
        bottom: 50%;
        top: 40%;
        left: .687rem;
        font-size: .687rem
    }
}

@media only screen and (max-width:30rem) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

    ul li:before {
        font-size: 16px;
        line-height: 18px;
    }

    footer section a {
        width: 100%;
    }

    header p {
        text-align: left;
        float: left;
        position: absolute;
        bottom: 50%;
        top: 40%;
        left: 0.313rem;
        font-size: 0.563rem;
    }
}
