﻿@charset "utf-8";

/* Standard */

/* reset all */

html {
    box-sizing: border-box;
}

:root {
    font-size: 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: .8rem;
    line-height: 1.4;
    color: #000;
    background: #bbb;
    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;
    text-align: justify;
}

h1 {
    color: #008ECD;
    display: block;
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1.25rem;
    margin-top: .937rem;
    text-align: center;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: .937rem;
    line-height: 1;
    margin: 0 0 .625rem;
    font-weight: 600;
}

h3 {
    margin: 0 0 .937rem;
    font-size: 1.125rem;
    text-align: center;
}

h5 {
    color: #008ECD;
    font-size: 1.062rem;
    text-align: center;
    font-weight: normal;
}

h3 span {
    color: #5A5A5A;
}

h4 {
    text-align: left;
    font-size: .937rem;
    line-height: 1;
    margin: 0 0 0;
    font-weight: 600;
}

ul {
    padding: 0;
    margin-bottom: 1.875rem;
    list-style: none;
}

ul li {
    padding-left: .625rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -.625rem;
    font-size: .937rem;
    line-height: 1rem;
    color: #000;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 54.375rem;
    margin: .625rem auto;
    padding: 4.375rem;
    border: thin solid #000;
    background: #fff;
}

header {
    margin: -1.875rem 0 .625rem;
    padding: 0;
}

header a {
    display: block;
    margin: 0 auto 1.25rem;
    float: right;
    max-width: 20rem;
    width: 100%;
}

header img {
    display: block;
    max-width: 100%;
}

header > img {
    display: block;
    margin: 0 auto;
    max-width: 33.75rem;
    width: 100%;
}

header p {}

#wrapper > section {
    text-align: center;
    margin: 0 0 0;
}

#wrapper > section p {
    text-align: center;
}

article section:first-of-type {
    width: 50%;
    float: left;
    letter-spacing: -0.3px;
}

article section:last-of-type {
    width: 48.5%;
    float: right;
    margin-right: 0;
    letter-spacing: -0.3px
}


aside p a {
    color: #0000FF;
    text-decoration: underline;
}

aside,
nav {
    display: block;
    letter-spacing: -0.4px
}

/*--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;
}

footer p a {
    color: #0065CD;
}

/*--use when you have phone number--*/

footer span {
    white-space: nowrap;
}


ul li ul {
    margin-bottom: 0
}

ul li ul li {
    padding-left: 2.812rem;
}

ul li ul li:before {
    content: "-";
    margin-left: -1.562rem;
}



@media only screen and (max-width:54.312rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }

    article section:first-of-type {
        width: 100%;
        float: none;
    }

    article section:last-of-type {
        width: 100%;
        float: none;
        margin-right: 0;

    }

    aside {
        text-align: left
    }

    ul li br {
        display: none;
    }

    a {
        font-weight: bold;
    }

    footer {
        margin: 0 0 -.625rem;
        padding: 0;
    }

    header {
        margin: -.625rem -.625rem .625rem;
        padding: .625rem;
    }

    h1 {
        margin: .625rem 0;
    }

    h2,
    h4 {
        font-size: .875rem;
    }

    h3 {
        margin: 0 0 .625rem;
    }

    h5 {
        margin: 0 0 .625rem;
    }

    ul {
        margin-bottom: .625rem;
    }

    ul li br {
        display: none;
    }

    p {
        margin: 0 0 .625rem;
        text-align: left;
    }

    nav p br {
        display: none;
    }
}

@media only screen and (max-width:29.937rem) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

    footer {
        margin: 0 .625rem 0;
        padding: 0;

    }

    ul li:before {
        font-size: 1rem;
        line-height: 1.125rem;
    }

    header a {}
}

