/* reset all */

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a,
img {
    outline: none;
    border: none;
}

img {
    width: 100%;
    display: inline-block;
}

/* body set-up */

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.2;
    color: #000;
    font-size: .812rem;
    background: #fff;
    font-weight: normal;
}

/* main style */

a {
    display: inline-block;
    white-space: nowrap;
}

u {
    text-decoration: underline;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 .937rem;
}

h1 {
    display: block;
    font-size: 17px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: .625rem;
    margin-right: -10px;
    padding-bottom: .312rem;
    border-bottom: solid thin #000
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: .875rem;
    line-height: 1;
    margin: 0 0 .5rem;
}

h3 {
    margin: 0 0 .625rem;
    font-size: 1rem;
}

ul {
    padding: 0;
    margin-bottom: .937rem;
    list-style: none;
}

ul li {
    padding-left: 1.562rem;
    padding-bottom: 5px
}


ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .5rem;
    height: .062rem;
    background: #0057B7;
    margin-left: -1.562rem;
    top: .437rem;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 46.875rem;
    margin: .625rem auto;
    padding: 3.75rem 3.75rem 0;
    border: thin solid #000;
}

header {
    margin: -3.75rem -3.75rem .937rem;
    position: relative;
}

header a {
    position: absolute;
    top: 13%;
    left: 3%;
    width: 35%;
    height: 19%;
    display: block;
    margin: 0 auto;
}

header img {
    display: block;
    max-width: 100%;
}



/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

/*----------------- footer --------------------*/


/*--use when you have phone number--*/


article p{
    text-align: justify
}

footer p {
    word-spacing: 0.06rem;

}

p a {
    color: blue;
}

article {
    position: relative;
}

nav {
    position: absolute;
    top: 11.5%;
    right: 0;
    max-width: 70px;
}

section p a {
    width: 100%;
    text-align: center
}

small {
    font-size: 85%;
}

@media only screen and (max-width:779px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }

    article p,
    ul {
        text-align: left
    }

    a {
        font-weight: bold;
    }

    nav{
        position: static;
        margin: 0 auto;
        display: block;
    }

    header {
        margin: -.625rem -.625rem .625rem;
    }

    h2 {
        font-size: .937rem;
    }
    section p{
        text-align: center;
    }
    
    ul li{
        padding-left: .937rem;
    }
    
    ul li:before{
        margin-left: -.937rem;
    }
    
    h1{
        margin-right: 0;
    }
}


@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

    ul li:before {
        font-size: 1rem;
        line-height: 1rem;
    }
}
