﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

#wrapper {
    position: relative;
    max-width: 664px;
    margin: 12px auto;
    border: 1px solid #000;
    padding: 0;
    overflow: hidden;
    text-align: left;
    font-size: 13px;
    line-height: 18px;
    color: #200E00;
    font-family: 'Open Sans', Helvetica, sans-serif;
    background-color: #fff;
}

.mbile {
    display: none;
}

footer p:nth-of-type(1) {
    margin-bottom: 5px;
}

figure {
    position: relative;
}

figure a {
    position: absolute;
    top: 5%;
    right: 0%;
    width: 40%;
    z-index: 1;
    height: 23%;
}

.mb {
    margin-bottom: 25px;
}

header {
    position: relative;
    margin: 0;
    padding: 0;
}

article {
    margin: 0;
    padding: 0;
}

footer big {
    font-size: 114%;
}

section {
    color: #fff;
    padding: 0px 20px 1px;
    display: inline-block;
    font-size: 1rem;
    line-height: 22px;
    position: absolute;
    width: 100%;
    bottom: 2%;
    left: 0;
}

h1 small {
    font-size: 61%;
    line-height: 20px;
}

aside:nth-of-type(1) {
    width: 50%;
    float: left;
    padding: 10px 20px 0 20px;
}

aside:nth-of-type(2) {
    width: 50%;
    float: left;
    background: #E1E1E0;
    padding: 10px 28px 5px 20px;
    line-height: 17px;
}

.pad {
  padding: 40px 0 40px 123px;
}

nav:nth-of-type(1) {
    width: 50%;
    float: left;
    padding: 10px 20px 33px 20px;
    background: #E1E1E0;
}

nav:nth-of-type(2) {
    width: 50%;
    float: right;
    padding: 10px 28px 12px 20px;
}

h2 span {
    font-size: 13px;
    line-height: 18px;
    display: block;
    font-weight: normal;
}

footer {
    margin: 0;
    padding: 10px 20px 1px;
    background: #0072B4;
    color: #fff;
    font-size: 88%;
    line-height: 16px;
    position: relative;
}

footer img {
    position: absolute;
    bottom: 10%;
    left: 3%;
    z-index: 10;
}

p {
    margin: 0px 0px 6px;
    padding: 0px;
}

h1 {
    margin: 0px 0px 2px 0px;
    padding: 0;
    font-size: 25px;
    line-height: 29px;
    text-align: left;
}

h1 em {
    font-style: normal;
    text-transform: uppercase;
}

h2 {
    font-size: 17.5px;
    margin: 3px 0 5px;
    line-height: 21px;
}

h3 {
    font-size: 15px;
    margin: 0 0 5px;
    line-height: 19px;
    color: #0072B4;
    word-spacing: 3px;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul li {
    padding-left: 14px;
    margin-bottom: 2px;
}

li:before {
    content: "\2022";
    color: #0072B4;
    float: left;
    font-family: Arial, sans-serif;
    margin-left: 0px;
    font-size: 27px;
    text-indent: -14px;
    margin-top: 1px;
}

.clear {
    clear: both;
    margin: 0px;
    display: block;
    padding: 0px;
}

header img {
    position: relative;
    top: 0px;
    left: 0px;
    margin: 0px auto;
}

footer p:last-of-type {
    font-size: 115%;
    margin: 0 0 0px;
}

aside:nth-of-type(1) p:last-of-type {
    margin-bottom: 10px
}

@media all and (max-width:664px) {
    #wrapper {
        width: 100%;
        min-width: 320px !important;
        padding: 0px;
        font-size: 13px;
        line-height: 18px;
        border: none;
    }

    footer img {
        position: static;
    }

    figure a {
        top: 6%;
        right: 0%;
        width: 27%;
        z-index: 1;
        height: 30%;
    }

    .mbile {
        display: inline;
    }

    .des {
        display: none;
    }

    .pad {
      padding: 0;
    }

    header {
        height: auto;
        padding: 0;
        width: auto;
        margin: 0px;
    }

    aside:nth-of-type(2),
    aside:nth-of-type(1),
    nav:nth-of-type(1),
    nav:nth-of-type(2) {
        width: 100%;
        padding: 10px;
        float: none;
    }

    aside:nth-of-type(2) {
        margin-bottom: 0;
    }

    section {
        position: static;
        font-size: 14px;
        line-height: 18px;
        padding: 10px;
        display: block;
        background: #025c90;
    }

    .mb {
        margin-bottom: 10px;
    }

    article {
        height: auto;
        padding: 0;
        width: auto;
        margin: 0px;
    }

    footer {
        padding: 10px;
        margin: 0;
    }

    h1 {
        font-size: 20px;
        line-height: 26px;
    }

    h2 {
        margin: 0 0 16px;
        font-size: 15px;
        line-height: 20px;
    }

    h3 {
        font-size: 17px;
        line-height: 22px;
    }

    ul li {
        padding-left: 15px;
    }

    li:before {
        text-indent: -15px;
    }

    p {
        text-align: left;
    }

    br {
        display: none;
    }
}