body {
    padding-top: 80px;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-size: 10pt;
}

.topbar {
    position: fixed;
    display: none;
    z-index: 999;
    background-color: #fff;
}

.topbar p {
    float: left;
}

.sidebar {
    position: fixed;
}

.sidebar p {
    padding-top: 3px;
}

img {
    margin-bottom: 10px;
    max-width: 100%;
    max-height: 100%;
}

article {
    padding-bottom: 80px;
}

.footer {
    padding: 100px 0 100px 0;
    color: #dadada;
    font-size: 12px;
}

/* ipad portrait */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait) {

}

@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (orientation: landscape) {
    body {
        padding-top: 15px;
        font-size: 5pt;
    }

    .sidebar img {
        max-width: 60px;
    }
}

/* iphone portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (orientation: portrait) {
    body {
        padding-top: 0;
        font-size: 5pt;
    }

    .container {
        padding-top: 90px;
    }

    .sidebar {
        display: none;
    }

    .topbar {
        display: block;
        height: 90px;
        width: 100%;
    }

    .topbar img, .topbar div {
        float: left;
    }

    .topbar div {
        padding-top: 15px;
    }

    .topbar img.logo {
        max-width: 60px;
        margin: 15px;
    }
}