﻿:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0rem;
    padding: 0rem;
}

html {
    min-height: 100%;
}

img {
    max-width: 100%;
    height: auto;
    width: auto\9;
    /* ie8 */
    border: none;
}

body {
    color: #2e2113;
    font-family: 'Roboto', sans-serif;
}

#wrapper {
    position: relative;
    max-width: 513px;
    margin: 0.625rem auto;
    border: 0.1875rem solid #00AFEA;
    padding: 0rem;
    background-color: #fff;
    overflow: hidden;
    text-align: left;
    line-height: 1.125rem;
    font-size: 0.92rem;
}

h1 {
    margin: 0px -0.625rem 0.375rem -0.5rem;
    padding: 1.375rem 0rem 0rem 4.6rem;
    font-size: 1.8125rem;
    line-height: 1.6875rem;
    text-align: left;
    height: 4.0625rem;
    letter-spacing: 0.0625rem;
    color: #FFF;
    text-align: center;
    background: url(bg.png) no-repeat 0px 0.3125rem;
    background-size: 100% 100%;
    text-transform: uppercase;
}

h1 em {
    font-style: normal;
    text-transform: uppercase;
}

h1 span {
    font-size: 1.4375rem;
    letter-spacing: 0px;
    font-weight: normal;
    line-height: 1.125rem;
    text-transform: none;
}

h2 {
    font-size: 1.125rem;
    margin: 1rem 0rem;
    line-height: 1.375rem;
}

h3 {
    font-size: 0.8125rem;
    margin: 0.5rem 3rem;
    background:#00AFEA;
    height:0.25rem;
    text-align: center;
    line-height: 1.125rem;
}

p {
    margin: 0rem 0rem 0.625rem 0rem;
    padding: 0rem 0rem 0rem 0rem;
    text-align: justify;
}

header {
    margin: 0;
    padding: 0rem 0rem 0rem 0rem;
    position: relative;
}

header a:nth-of-type(1) {
    position: absolute;
    width: 15%;
    height: 41%;
    top: 3%;
    left: 2%;
}

header a:nth-of-type(2) {
    position: absolute;
    width: 55%;
    height: 28%;
    top: 1%;
    right: 2%;
}

article {
    margin: 0rem 0rem 0rem 0rem;
    padding: 0.625rem 0.625rem 0rem 0.625rem;
}
article p strong{
    color: #00AFEA;
}

footer {
    margin: 0rem 0rem 0rem 0rem;
    padding: 0rem 0rem 0.225rem 0rem;
    position: relative;
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.1875rem;
}
article p:last-of-type{
    margin-bottom: 2px;
}
footer strong {
    font-size: 110%;
}

a {
    color: #2e2113;
    text-decoration: none;
}

ul {
    margin: 0rem 0rem 0.5rem 0rem;
    padding: 0rem 0rem 0rem 0rem;
    list-style: none;
}

ul li {
    padding-left: 0.6rem;
    background: url(icon.jpg) no-repeat 0px 0.2rem;
}

.clear {
    clear: both;
    margin: 0px;
    display: block;
    padding: 0rem;
}

header img {
    position: relative;
    top: 0rem;
    left: 0rem;
    display: block;
}

article aside {
    line-height: 1.125rem;
    font-size: 15px;
    text-align: justify;
    color: #00AFEA;
}

article nav {
    background: #00AFEA;
    height: 4px;
    margin: 0.625rem 3.125rem;
    display: block;
}

@media (max-width: 513px) {
    #wrapper {
        width: 100%;
        min-width: 200px !important;
        font-size: 0.875rem;
        line-height: 1.0625rem;
        padding: 0rem;
        border: none;
    }

br {
    display: none;
}

    header {
        height: auto;
        padding: 0;
        width: auto;
        margin: 0rem;
    }

    article {
        height: auto;
        padding: 0.625rem;
        width: auto;
        margin: 0rem;
    }

    footer {
        height: auto;
        padding: 0 0.625rem;
        width: auto;
        margin: 0rem;
        font-size: 0.875rem;
    }

    h1 {
        margin: 0.5rem 0rem 0.5rem 0rem;
        font-size: 1.125rem;
        line-height: 1.375rem;
        letter-spacing: 0rem;
        padding: 0.8rem 1rem 0.8rem 3.5rem;
        height: auto;
    }
    h1 span {font-size: 1.125rem;}
    h2 {
        margin: 0.5rem 0rem;
        font-size: 0.9375rem;
        line-height: 1.25rem;
    }

    h3 {
        margin: 0.5rem 0rem;
        font-size: 0.8125rem;
        line-height: 1.125rem;
    }

    a:hover {
        text-decoration: underline;

    }

    ul li {
        padding-left: 0.9375rem;
    }

    ul li:before {
        text-indent: -0.9375rem;
    }

    p {
        margin: 0rem 0rem 0.625rem;
        text-align: left;
    }

    br {
        display: none;
    }

    footer br {
        display: block;
    }

    article aside {
        line-height: 1.0625rem;
        font-size: 0.8125rem;
        text-align: left;
        color: #007AA2;
    }
}
@media (max-width: 327px) {

h1{
    padding-top: 1.0625rem;
}
}