/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1rem;
    line-height: 1.4;
    font-family: 'Raleway', sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.inline-link {
    font-weight: 500;
    color: #09C;
    text-decoration: none;
}

.inline-link:hover {
    text-decoration: underline;
}

blockquote {
    padding: 0;
    margin: 0;
    color: #47596b;
    font-size: 1rem;
    line-height: 2rem;
    font-weight: 300;
    letter-spacing: 1px;

}

blockquote footer {
    font-size: 11px;
    font-style: italic;
    letter-spacing: 1px;
}

a, a:visited {
    color: rgb(12, 128, 167);
    text-decoration: none;
}

a:hover {
    color: rgb(8, 92, 121);
}

h2 {
    font-weight: 500;
    text-align: left;
    margin-top: 0;
}

h3 {
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
}

h4 {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 20px 0 10px 0;
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fixed.bg-container {
    width: 100%;
    height: 400px;
    background: url('/img/tech-bg.jpg') bottom;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.bg-container:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,1));
    opacity: .6;
  }

header {
    width: 100%;
    height: 80px;
    padding: 10px 20px;
    background-color: #fff;
    position: fixed;
    top: 0;
    z-index: 500;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);  /* Firefox 3.5 - 3.6 */
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.main-content-container {
    top: 60px;
    position: relative;
    z-index: 100;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: block;
}

.poster-content {
    margin-top: 100px;
    margin-bottom: 100px;
    text-shadow: 0px 0px 20px rgba(0, 0, 0, .88);
    color: #fff
}

.poster-content h2 {
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 8px;
    text-align: center;
}

.poster-content p {
    font-size: 15px;
    font-weight: 450;
    letter-spacing: 4px;
    margin: 30px 0;
}

.poster-divider {
    width: 180px;
    margin: 0 auto;
    height: 0px;
    border-bottom: 1px solid #fff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, .88);
}

a.poster-button {
    width: 140px;
    height: 40px;
    background-color: #fff;
    color: #333;
    border-radius: 6px;
    border: 1px solid #fff;
    font-size: 11px;
    line-height: 40px;
    letter-spacing: 2px;
    text-decoration: none;
    display: block;
    margin: 0 auto;
}

a.poster-button:hover {
    background-color: #eaeaea;
    color: #000;
    text-shadow: none;
}

a.button {
    width: auto;
    height: 40px;
    color: #212121;
    border-radius: 4px;
    border: 1px solid #212121;
    font-size: 11px;
    line-height: 40px;
    letter-spacing: 2px;
    text-decoration: none;
    margin: 0 auto;
    padding: 10px;
}

a.button:hover {
    background-color: #212121;
    color: #fff;
    text-shadow: none;
}

.resume-button {
    margin-bottom: 20px;
}

.logo {
    width: 60px;
    height: 60px;
    background: url('/img/logo.png') no-repeat top left;
    background-size: 60px 60px;
    float: left;
}

.logo-link {
    display: block;
    width: 100%;
    height: 100%;
}

nav {
    float: right;
    font-size: .83rem;
    letter-spacing: 2px;
    line-height: 60px;
}

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

nav li {
    display: inline-block;
    margin-left: 20px;
}

nav li a {
    color: #999 !important;
    text-decoration: none;
    text-transform: uppercase;
}

nav li a:hover {
    color: #212121 !important;
    text-decoration: underline;
}

nav li.active a {
    color: #212121 !important;
}

.content-block {
    background-color: #fff;
    padding: 60px 20px;
}

.quote {
    background-color: #e9e9e9;
    padding: 40px 20px;
}

.divider {
    width: 85px;
    margin: 0 auto;
    height: 0px;
    border-bottom: 1px solid #212121;
}
.subhead, .about-me, .work {
    font-size: .875rem;
    color: #666;
    margin-top: 20px;
    line-height: 1.75rem;

}



.row {
    width: 100%;
}

.col-4 {
    width: 24%;
    padding: 20px;
    display: inline-block;
    margin: 0;
    vertical-align: top;
}

.col-4 p {
    font-size: .875rem;
    color: #999;
    margin: 0;
}

.about-me, .work {
    text-align: left;
}

p.work {
    margin-top: 0;
}

ul.work {
    padding-left: 20px;
    margin-top: 0;
    display: inline-block;
}


.icon-circle {
    background-color: #212121;
    border-radius: 50%;
    width: 85px;
    height: 85px;
    margin: 0 auto 0px auto;
    color: #fff;
}

.icon-circle i {
    line-height: 85px;
}

.quote p {
    background: url('/img/quotes.png') no-repeat top left;
    background-size: 65px 41px;
    text-indent: 66px;
    padding-top: 15px;
    margin: 0;
}

.me {
    float: left;
    margin: 20px 30px 30px 0;
}

footer.footer {
    width: 100%;
    height: 80px;
    padding: 10px 20px;
    background-color: #fff;
    -webkit-box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.1);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.1);  /* Firefox 3.5 - 3.6 */
    box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.1);
}

.interior .poster-button {
    width: 220px;
    margin-top: 30px;
}

.interior .subhead, .interior h3 {
    text-align: left;
    margin: 0px 0 15px 0;
}
.col-70 {
    width: 70%;
    padding: 0 20px;
    display: inline-block;
    margin: 0;
    float: left;
}

.interior .col-70 .container {
    margin-bottom: 30px;
}

.interior .col-70 .container p {
    font-weight: 300;
    margin-bottom: 20px;
}

.interior .col-70 .container strong {
    font-weight: 500;
}

.interior .container.interior-container .work-description {
    text-align: left;
}

.interior .container.interior-container .work-sample-img {
    float: left;
    margin: 0 30px 0px 0;
    -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);  /* Firefox 3.5 - 3.6 */
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: auto;

}

.interior .work-sample h3 {
    text-align: center;
}

.interior .work-sample article {
    margin: 30px 0 60px 0;
    vertical-align: top;
}



.col-30 {
    width: 30%;
    padding: 0 20px;
    display: inline-block;
    margin: 0;
    border-left: 1px dotted #ccc;
}

.interior .col-30 blockquote {
    margin: 20px 0;
    font-size: 14px;
    color: #777;
    line-height: 1.5em;
}


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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * 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 receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

ul.resume-list {
    font-size: 14px;
    color: #666;
    line-height: 21px;
    text-align: left;
    padding-left: 20px;
    margin-top: 0;
    font-weight: 300;
}

ul.resume-list li {
    margin-bottom: 4px;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

   @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
       .bg-container {
           background: url('/img/home-bg@2x.jpg') top;
       }
       .logo {
           background: url('/img/logo@2x.png') no-repeat top left;
           background-size: 60px 60px;
       }
       .quote p {
           background: url('/img/quotes@2x.png') no-repeat top left;
           background-size: 65px 41px;
       }
   }

   @media only screen and (max-width: 960px) {
       .col-70 {
           width: 100%;
           float: none;
       }
       .col-30 {
           width: 100%;
           float: none;
           border-left: none;
           border-top: 1px dotted #ccc;
           padding-top: 30px;
       }
   }

   @media only screen and (max-width: 768px) {
       .col-4 {
           width: 48%;
           padding: 20px;
           display: inline-block;
           margin: 0;
       }
       header {
           position: relative;
       }
       .main-content-container {
           top: 0;
       }
       .interior .container.interior-container .work-sample-img {
            float: none;
            width: 100%;
            height: auto;
            margin-bottom: 30px;
        }
        a.button {
            float: none;
        }
   }

   @media only screen and (max-width: 480px) {
       .col-4 {
           width: 100%;
           padding: 20px;
           display: inline-block;
           margin: 0;
       }
       .me {
           float: none;
           margin: 20px 30px 0px 20px;
       }
       .home {
           display: none;
       }
       header {
           position: relative;
       }
   }

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


