/* ==========================================================================
   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;
}

body.hide {
    opacity: 0;
}

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

body {
    background: url('../img/bg.jpg') fixed no-repeat bottom left;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
    color: #1b1b1b;
}

h1 {
    margin: 0;
    font-family: 'Arbutus Slab', serif;
    font-size: 38px;
    color: #1b1b1b;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 15px;
}

h2 {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    font-size: 20px;
    color: #007FB1;
    text-transform: uppercase;
    letter-spacing: 13px;
    font-weight: normal;
}

#info {
    width: 500px;
    float: left;
    position: absolute;
    bottom: 20%;
    left: 750px;
}

#headlines {
    text-align: center;
}

p {
    display: block;
    margin: 20px auto;
    font-size: 16px;
    line-height: 24px;
    opacity: 0.8;
}

p a:link,
p a:visited,
p a {
    color: #5a5656;
    text-decoration: none;
    -webkit-transition: all 200ms cubic-bezier(0.420, 0.000, 0.580, 1.000);
}

p a:hover {
    color: #000;
    border-bottom: solid 1px #007FB1;
}

#social ul {
    padding: 0;
}

#social ul li {
    display: inline-block;
    width: 60px;
    list-style: none;
}

#social #mail {
    background: url('../img/mail-on.png') no-repeat left;
}

#social #linked {
    background: url('../img/linked-on.png') no-repeat left;
}

#social #fb {
    background: url('../img/fb-on.png') no-repeat left;
}

#social #twitter {
    background: url('../img/twitter-on.png') no-repeat left;
}

#social #inst {
    background: url('../img/inst-on.png') no-repeat left;
}

br.rwd-break {
    display: none;
}

@media all and (max-width: 959px) {
    #info {
        position: relative;
        float: left;
        top: 20px;
        left: auto;
        width: auto;
        margin: 20px;
        padding: 20px;
        background: rgba(200, 200, 200, 0.6);
    }
    #info p,
    #info #headlines {
        opacity: 1;
    }
    #social #inst {
        margin-top: 12px;
    }
    p a:link,
    p a:visited,
    p a {
        color: #000;
        text-decoration: none;
        border-bottom: solid 1px #007FB1;
    }
    #social img {
        opacity: 0;
    }
    #social {
        text-align: center;
    }
    #social ul li {
        text-align: center;
        width: 50px;
    }
}

@media only screen and (max-width: 320px) {
    /* Styles */
    #info {
        margin: 0;
        top: 0;
    }
}

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

@media only screen and (min-width: 35em) {}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {}

/* ==========================================================================
   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;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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;
    }
}