﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 575px;
    margin: 12px auto;
    border: 1px solid #000;
    padding: 0px;
    background-color: #fff;
    overflow: hidden;
    color: #181818;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

header,
article {
    margin: 0;
    text-align: center;
    padding: 0 5px 0 210px;
}

article p:nth-of-type(1),
article p:nth-of-type(2),
article p:nth-of-type(5) {
    font-size: 17px;
    line-height: 22px;
}

.bg {
    position: relative;
}

.bg:before {
    content: '';
    position: absolute;
    width: 103%;
    height: 10px;
    background-color: #FFEC15;
    z-index: 3;
    bottom: 0;
    right: -4px;
}

.bg span {
    position: relative;
    z-index: 5;
}

footer {
    border-left: 35px solid #FFEC15;
    margin: 0px 0px 0px 0px;
    top: 0;
    left: 0;
    bottom: 0;
    width: 210px;
    position: absolute;
    padding: 8px;
    background-color: #CFCDCC;
}

footer section {
    position: absolute;
    bottom: -7px;
    left: 10px;
    font-size: 15px;
    line-height: 19px;
}

footer section p {
    margin: 0px 0px 10px;
}

p {
    margin: 0 0 20px;
    padding: 0;
}

h1 {
    margin: 25px 30px;
    font-size: 44px;
    line-height: 46px;
    font-weight: 700;
    border-right: 6px solid #FFEC15;
    border-left: 6px solid #FFEC15;
}

h1 span {
    display: block;
    font-size: 22px;
    line-height: 26px;
    font-weight: 400;
}

h1 small {
    display: block;
    font-size: 22px;
    line-height: 26px;
}

h2 {
    font-size: 20px;
    margin: 16px 0px;
    line-height: 24px;
    font-weight: 700;
}

h3 {
    font-size: 36px;
    margin: 0 0 15px;
    line-height: 44px;
    font-weight: 500;
}

a {
    color: #181818;
    text-decoration: none;
}

img {
    max-width: 100%;
}

@media all and (max-width: 575px) {
    #wrapper {
        width: 100%;
        min-width: 200px !important;
        padding: 0;
        margin: 0;
        border: none;
    }

    header,
    article {
        margin: 0;
        text-align: center;
        padding: 0 10px;
    }

    footer {
        border-left: 10px solid #FFEC15;
        position: static;
        padding: 8px;
        width: 100%;
        text-align: center;
    }

    footer section {
        position: static;
    }

    p {
        margin: 0 0 10px;
    }
}