﻿/* reset all */

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    font: 16px;
}

*,
*: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: .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: #1F497D;
    display: block;
    font-size: .875rem;
    font-weight: bold;
    margin-bottom: .937rem;
    text-align: center;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: .875rem;
}

h3 {
    margin: 0 0 .625rem;
    font-size: .875rem;
}

ul {
    padding: 0;
    margin-bottom: .937rem;
    list-style: none;
}

ul li {
    padding-left: 1.562rem;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .375rem;
    height: 1px;
    background: #000;
    margin-left: -1.562rem;
    top: .562rem;
}



/* layout  */

#wrapper {
    display: block;
    max-width: 51.875rem;
    margin: .625rem auto;
    padding: 6.25rem;
    box-shadow: 0 0 .75rem .25rem #ddd;
}

header > a {
    display: block;
    margin: 0 auto 2.55rem;
    width: 55%;
}

header img {
    display: block;
    max-width: 100%;
}

header p {
    text-align: justify;
}

p a:first-of-type {
    color: blue;
    text-decoration: underline;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}


/*----------------- 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;
}

@media only screen and (max-width:53.0625rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
        text-align: left;
    }
    a {
        font-weight: bold;
		font-size: 1rem;
		white-space: nowrap;
    }
    header a {
        margin-bottom: .625rem;
    }
    p,
    ul {
        margin-bottom: .625rem;
    }
    header p {
        text-align: left;
    }
}

@media only screen and (max-width:29.9375rem) {}