/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

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

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

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


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

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

.wrapper {
    width: 90%;
    margin: 0 5%;
}


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

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

/* ==========================================================================
   Custom styles
   ========================================================================== */


body {
    background: url(../img/noise.png);
    background-color: #efefef;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: lighter;
    color: #424242;
    text-shadow: 0px 1px 1px #ffffff;
    /*filter: dropshadow(color=#ffffff, offx=0, offy=1);*/
    padding-top: 3em;
}


header,
aside,
article,
footer {
    width: 500px;
    margin-left: 10%;
}

header h1 {
    font-family: 'Exo', sans-serif;
    font-weight: 100;
    font-size: 3em;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1em;
}

header img {
    height: 60px;
    margin: 0 10px 20px 0;
}

header h2 {
    color: #fff;
    text-shadow: #555 0 1px 2px;
    /*filter: dropshadow(color=#999, offx=0, offy=1);*/
}

header h3 {
    font-family: 'Bilbo', Georgia, cursive;
    font-size: 1.8em;
    line-height: 1.2;
}

header h2,
header h3 {
    font-weight: lighter;
    font-variant: normal;
}

aside img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin: 2px;
    -webkit-box-shadow: 0 8px 6px -6px #333;
       -moz-box-shadow: 0 8px 6px -6px #333;
            box-shadow: 0 8px 6px -6px #333;
}

aside a {
    background: transparent;
}

aside a:hover {
    border-bottom: none;
    position: relative;
    bottom: 4px;
}

aside br {
    display: none;
}

article h1 {
    font-family: 'Exo', sans-serif;
    font-weight: 200;
    font-size: 2em;
    margin-top: 2em;
}

a {
    color: #fff;
    background-color: #7479a7;
    text-decoration: none;
    text-shadow: 0px 1px 1px #303244;
    /*filter: dropshadow(color=#303244, offx=0, offy=1);*/
    padding: 2px 4px;
    border-radius: 2px;
}

a:hover {
    color: #424242;
    background-color: #efefef;
    border-bottom: 1px solid #7479a7;
    text-shadow: 0px 1px 1px #ffffff;
    /*filter: dropshadow(color=#ffffff, offx=0, offy=1);*/
}

a:active,
a:focus {
    position: relative;
    top: 1px;
}


ul.blog-feed {
    padding-left: 40px;
}

ul.blog-feed li {
    list-style: none;
    padding: 4px;
}

ul.blog-feed h3 {
    color: #424242;
    font-weight: normal;
    font-size: 1.2em;
    text-shadow: 0px 1px 1px #ffffff;
    /*filter: dropshadow(color=#ffffff, offx=0, offy=1);*/
    margin: -3px;
}

ul.blog-feed h3 a {
    color: #424242;
    text-shadow: 0px 1px 1px #ffffff;
    /*filter: dropshadow(color=#ffffff, offx=0, offy=1);*/
    background-color: transparent;
}

ul.blog-feed h3 a:hover {
    background-color: transparent;
}
ul.blog-feed li a {
    color: #666;
    padding: 6px;
    background-color: #efefef;
    text-shadow: none;
    filter: none;
}

ul.blog-feed li a:after {
    content: " \2192";
}

ul.blog-feed li a:hover {
    background-color: #ffffff;
}

footer p {
    font-size: 0.8em;
}

footer {
    padding: 1em 0 4em 0;
}

div.idl {
    position:absolute;
    top:3em;
    right:10%;
}

div.idl a,
div.idl a:hover {
    background: none;
    border-bottom: none;
}

div.idl img {
    width: 150px;
    height: 150px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 540px) {

    body {
        padding: 0;
    }

    header,
    aside,
    article,
    footer {
        width: 90%;
        margin: auto;
    }

    header h1,
    header h2,
    header h3 {
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    header img {
        display: block;
        margin: auto;
        padding-bottom: 40px;
    }

    aside {
        text-align: center;
    }

    aside img {
        margin-bottom: 20px;
    }

    aside br {
    display: block;
    }

    ul.blog-feed {
    padding-left: 10px;
    }

}

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

    div.idl {
        position: relative;
        text-align: center;
    }

}

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

    header,
    aside,
    article,
    footer {
        width: 500px;
        margin-left: 10%;
    }

}

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

    header,
    aside,
    article,
    footer {
        width: 500px;
        margin-left: 10%;
    }


}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}