/*! HTML5 Boilerplate | MIT License | http://h5bp.com/ */
html,
button,
input,
select,
textarea {
    color: #424242;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #0af;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

a {
    text-decoration: none;
    color: #424242;
}
a:hover {
    color: #0af;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px "Open Sans",Helvetica,Helvetica Neue,Arial;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-top: thick solid #424242;
}

.footer-container,
.header-container,
.footer-container,
.main aside {
    background: #fff;
}

.title {
    color: #424242;
}

nav ul li a small {
    font-size: 0.5em;

}

.title:hover {
    color: #0af;
}

/* ==============
    MOBILE: Menu
   ============== */
nav {
    margin-top: -5px;
}

nav ul {
    margin: 0;
    padding: 0;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}
.message h1, h2{
    display: inline;
}
.main article h1 {
    font-size: 2em;
}

.main aside {
    color: #424242;
    padding: 10px 10px 10px 10px;
    margin-top: 30px;
    clear: right;
}

.main aside article {
    width:100%;
}

.main aside article .header{
    background: #424242;
    color: #fff;
    margin: -30px -10px -10px -10px;
}

.main aside article .header h2{
    font-size: 1em;
    padding: 1% 10px 1% 10px;
}

.main aside article section h3 {
    font-size: 0.9em;
    margin: 0;
}

.main aside article .header a {
    color: #fff;
}
.main aside article section {
    font-size: 0.9em;
    line-height: 1.7em;
}
.semantic-list {
    padding: 0;
    list-style: none;
}

.footer-container footer {
    color: #424242;
    padding: 20px 0;
    text-align: center;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width:480px) {
    nav li {
        width:100%;
        height:30px;
        text-align:center;
        padding:2px;
        border-top: thin solid #424242;
    }

    .title {
        width:100%;
        text-align:center;
    }
}

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */
    nav a {
        float: left;
        width: 100px;
        margin: 0 auto;
        padding: 25px 10px;
        margin-bottom: 0;
        display: block;
        text-align: center;
        text-decoration: none;
        background: #fff;
        border-top:thick solid #424242;
    }
    nav .current,
    nav a:hover {
        border-top:thick solid #0af;
        border-bottom:thin solid #0af;
        background: #f8f8f8;
    }     
    .title {
        float: left;
    }

    nav {
        float: right;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container .wrapper {
        border-bottom: thin solid #eee;
    }
    
    .main aside {
        -webkit-box-shadow: 0 1px 2px #ddd;
           -moz-box-shadow: 0 1px 2px #ddd;
                box-shadow: 0 1px 2px #ddd;
    }

/* ============
    WIDE: Menu
   ============ */

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 70%;
    }

    .main aside {
        float: right;
        width: 24%;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1140px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0,0,0,0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}
