﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

#wrapper {
    border: solid thin #2d1f0f;
    font-family: 'Hind', sans-serif;
    font-size: 15px;
    line-height: 19px;
    width: 477px;
    margin: 12px auto;
    padding: 0;
    background: #FFF;
    overflow: hidden;
    text-align: left;
    position: relative;
    color: #2d1f0f;
}

article {
    padding: 0 22px 18px 30px;
    margin: -49px 0 0;
    position: relative;
}
footer {
    color: #fff;
    padding: 7px 35px 4px;
    background-color: #0f213a;
    text-align: right;
}

footer a {
    color: #fff;
}

h1 {
    font-size: 33px;
    line-height: 33px;
    color: #2B3648;
    padding: 16px 21px 9px 28px;
    background: #fdb813;
    margin: 5px 0 20px -30px;
}

h1 span {
    font-size: 23px;
    line-height: 27px;
    display: block;
    font-weight: 600;
    margin: 4px 0;
}

h1 small {
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
}

h2 {
    font-size: 24px;
    margin: 16px 0;
    line-height: 28px;
}

h3 {
    font-size: 22px;
    margin: 16px 0;
    line-height: 26px;
}

p {
    margin-bottom: 6px;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: #2d1f0f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}


.clearfix {
    clear: both;
    font-size: 0;
    line-height: 0;
    display: block;
}

@media screen and (max-width: 477px) {
    #wrapper {
        width: 100%;
        font-size: 14px;
        line-height: 19px;
        border: none;
        margin: 0;
        background: #fff;
    }

    article {
        padding: 0 16px 10px 16px;
        text-align: left;
        margin: 0;
    }

    article br {
        display: none;
    }

    header,
    aside,
    footer {
        position: relative;
        top: 0;
        left: 0;
    }

    header {
        text-align: left;
    }

    footer {
        text-align: right;
        padding: 5px 16px;
    }

    aside {
        text-align: left;
    }

    p {
        margin-bottom: 3%;
        text-align: left;
    }

    a {
        font-weight: bold;
    }

    h1 {
        width: auto;
        font-size: 30px;
        margin: 0 -16px 10px -16px;
        line-height: 34px;
        padding: 12px 16px;
        position: static;
    }

    h1 br {
        display: block;
    }
}