/**
 * Source: http://nicolasgallagher.com/micro-clearfix-hack/
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

/* apply a natural box layout model to all elements, but allowing components to change */
html {
    -webkit-box-sizing: border-box; /* Safari 3.0 - 5.0, Chrome 1 - 9, Android 2.1 - 3.x */
    -moz-box-sizing: border-box;    /* Firefox 1 - 28 */
    box-sizing: border-box;         /* Safari 5.1+, Chrome 10+, Firefox 29+, Opera 7+, IE 8+, Android 4.0+, iOS any */
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

body {
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 100%;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 768px;
    max-width: 48rem;
    padding: 0 3%;
    margin-bottom: 48px;
    margin-bottom: 3rem;
}

h2 {
    margin: 0;
}

p {
    margin-bottom: 16px;
    margin-bottom: 1r3em;
}
img {
    height: auto;
    width: 100%;
}
.logo {
    margin-left: -11px;
    margin-left: -0.6875rem;
    max-width: 434px;
    max-width: 27.125rem;
    padding-top: 16px;
    padding-top: 1rem;
}

a:link {
    color: #555;
    font-weight: bold;
}

a:visited {
    color: #888;
}

a:hover {
    color: #000;
}

.nav-menu {
    margin: 0;
    padding: 8px 0 16px;
    padding: 0.5rem 0 1rem;
    text-align: center;
}
.nav-menu li {
    list-style: none;
    padding: 8px;
    padding: 0.5rem;
}
.nav-menu li a {
    background: #ccc;
    border-radius: 8px;
    border-radius: 0.5rem;
    display: inline-block;
    padding: 12px 4px 16px;
    padding: 0.75rem 0.25rem 1rem;
    text-decoration: none;
    width: 100%;
}


.nav-menu li a:link {
    color: #333;
}

.nav-menu li a:visited {
    color: #333;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
    background-color: #333;
    color: #ccc;
}

@media screen and (min-width: 27em) {
    .nav-menu li {
        float: left;
        width: 50%;
    }
}

@media screen and (min-width: 48em) {
    .nav-menu {
        margin: 0 -6px;
        margin: 0 -0.375rem;
    }
    .nav-menu li {
        width: 25%;
    }
}
