/*! 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: 1em;
    line-height: 1.4;
}

/*
 * 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 {
    height: 100%;
}

/*
 * Default background
 */
body {
    /* background: url('../img/backgrounds/brownbridge@2560.jpg') top center no-repeat fixed; */
    background: url('../img/backgrounds/brownbridge.jpg') top center no-repeat fixed;
    background-size: cover;
}





/* Non-retina screens */
@media only screen {
    body {
        /* 5120x3200 non-retina */
        background: url('../img/backgrounds/brownbridge.jpg') top center no-repeat fixed;
        /* background: url('../img/backgrounds/brownbridge@5k.jpg') top center no-repeat fixed; */
        background-size: cover;
    }
}
@media only screen and (max-width: 3840px) and (max-height: 2400px) {
    body {
        background: url('../img/backgrounds/brownbridge.jpg') top center no-repeat fixed;
        /* background: url('../img/backgrounds/brownbridge@4k.jpg') top center no-repeat fixed; */
        background-size: cover;
    }
}
@media only screen and (max-width: 2880px) and (max-height: 1920px) {
    body {
        /* background: url('../img/backgrounds/brownbridge@2880.jpg') top center no-repeat fixed; */
        background: url('../img/backgrounds/brownbridge.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}
@media only screen and (max-width: 2560px) and (max-height: 1600px) {
    body {
        background: url('../img/backgrounds/brownbridge.jpg') top center no-repeat fixed;
        /* background: url('../img/backgrounds/brownbridge@2560.jpg') top center no-repeat fixed; */
        background-size: cover;
    }
}
@media only screen and (max-width: 1920px) and (max-height: 1280px) {
    body {
        background: url('../img/backgrounds/brownbridge.jpg') top center no-repeat fixed;
        /* background: url('../img/backgrounds/brownbridge@1920.jpg') top center no-repeat fixed; */
        background-size: cover;
    }
}
@media only screen and (max-width: 1334px) and (max-height: 889px) {
    body {
        /* background: url('../img/backgrounds/brownbridge@1334.jpg') top center no-repeat fixed; */
        background: url('../img/backgrounds/brownbridge.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}



/* Traditional retina display, >1.1 physical pixels per CSS pixel. */
@media
only screen and (-webkit-min-device-pixel-ratio: 1.1),
    only screen and (   min--moz-device-pixel-ratio: 1.1),
    only screen and (     -o-min-device-pixel-ratio: 1.1),
    only screen and (        min-device-pixel-ratio: 1.1),
    only screen and (                min-resolution: 97dpi),
    only screen and (                min-resolution: 1.1dppx) {
    body {
        background: url('../img/backgrounds/brownbridge.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}
/*
@media
only screen and (-webkit-min-device-pixel-ratio: 1.1)      and (max-width: 1920px) and (max-height: 1200px),
only screen and (   min--moz-device-pixel-ratio: 1.1)      and (max-width: 1920px) and (max-height: 1200px),
only screen and (     -o-min-device-pixel-ratio: 1.1)      and (max-width: 1920px) and (max-height: 1200px),
only screen and (        min-device-pixel-ratio: 1.1)      and (max-width: 1920px) and (max-height: 1200px),
only screen and (                min-resolution: 97dpi)    and (max-width: 1920px) and (max-height: 1200px),
only screen and (                min-resolution: 1.1dppx)  and (max-width: 1920px) and (max-height: 1200px) {
    body {
        background: url('../img/backgrounds/brownbridge@4k.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}
@media
only screen and (-webkit-min-device-pixel-ratio: 1.1)      and (max-width: 1440px) and (max-height: 960px),
only screen and (   min--moz-device-pixel-ratio: 1.1)      and (max-width: 1440px) and (max-height: 960px),
only screen and (     -o-min-device-pixel-ratio: 1.1)      and (max-width: 1440px) and (max-height: 960px),
only screen and (        min-device-pixel-ratio: 1.1)      and (max-width: 1440px) and (max-height: 960px),
only screen and (                min-resolution: 97dpi)    and (max-width: 1440px) and (max-height: 960px),
only screen and (                min-resolution: 1.1dppx)  and (max-width: 1440px) and (max-height: 960px) {
    body {
        background: url('../img/backgrounds/brownbridge@2880.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}
*/
@media
only screen and (-webkit-min-device-pixel-ratio: 1.1)      and (max-width: 1280px) and (max-height: 800px),
only screen and (   min--moz-device-pixel-ratio: 1.1)      and (max-width: 1280px) and (max-height: 800px),
only screen and (     -o-min-device-pixel-ratio: 1.1)      and (max-width: 1280px) and (max-height: 800px),
only screen and (        min-device-pixel-ratio: 1.1)      and (max-width: 1280px) and (max-height: 800px),
only screen and (                min-resolution: 97dpi)    and (max-width: 1280px) and (max-height: 800px),
only screen and (                min-resolution: 1.1dppx)  and (max-width: 1280px) and (max-height: 800px) {
    body {
        background: url('../img/backgrounds/brownbridge@2560.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}
@media
only screen and (-webkit-min-device-pixel-ratio: 1.1)      and (max-width: 960px) and (max-height: 640px),
only screen and (   min--moz-device-pixel-ratio: 1.1)      and (max-width: 960px) and (max-height: 640px),
only screen and (     -o-min-device-pixel-ratio: 1.1)      and (max-width: 960px) and (max-height: 640px),
only screen and (        min-device-pixel-ratio: 1.1)      and (max-width: 960px) and (max-height: 640px),
only screen and (                min-resolution: 97dpi)    and (max-width: 960px) and (max-height: 640px),
only screen and (                min-resolution: 1.1dppx)  and (max-width: 960px) and (max-height: 640px) {
    body {
        background: url('../img/backgrounds/brownbridge@1920.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}
@media
only screen and (-webkit-min-device-pixel-ratio: 1.1)      and (max-width: 667px) and (max-height: 444px),
only screen and (   min--moz-device-pixel-ratio: 1.1)      and (max-width: 667px) and (max-height: 444px),
only screen and (     -o-min-device-pixel-ratio: 1.1)      and (max-width: 667px) and (max-height: 444px),
only screen and (        min-device-pixel-ratio: 1.1)      and (max-width: 667px) and (max-height: 444px),
only screen and (                min-resolution: 97dpi)    and (max-width: 667px) and (max-height: 444px),
only screen and (                min-resolution: 1.1dppx)  and (max-width: 667px) and (max-height: 444px) {
    body {
        background: url('../img/backgrounds/brownbridge@1334.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}



/* Very-high DPI screens >2 physical pixels per CSS pixels */
@media
only screen and (-webkit-min-device-pixel-ratio: 2.1),
    only screen and (   min--moz-device-pixel-ratio: 2.1),
    only screen and (     -o-min-device-pixel-ratio: 2.1),
    only screen and (        min-device-pixel-ratio: 2.1),
    only screen and (                min-resolution: 193dpi),
    only screen and (                min-resolution: 2.1dppx) {
    body {
        background: url('../img/backgrounds/brownbridge.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}
/*
@media
only screen and (-webkit-min-device-pixel-ratio: 2.1)      and (max-width: 1280px) and (max-height: 800px),
only screen and (   min--moz-device-pixel-ratio: 2.1)      and (max-width: 1280px) and (max-height: 800px),
only screen and (     -o-min-device-pixel-ratio: 2.1)      and (max-width: 1280px) and (max-height: 800px),
only screen and (        min-device-pixel-ratio: 2.1)      and (max-width: 1280px) and (max-height: 800px),
only screen and (                min-resolution: 193dpi)    nd (max-width: 1280px) and (max-height: 800px),
only screen and (                min-resolution: 2.1dppx)  and (max-width: 1280px) and (max-height: 800px) {
    body {
        background: url('../img/backgrounds/brownbridge@4k.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2.1)      and (max-width: 960px) and (max-height: 600px),
only screen and (   min--moz-device-pixel-ratio: 2.1)      and (max-width: 960px) and (max-height: 600px),
only screen and (     -o-min-device-pixel-ratio: 2.1)      and (max-width: 960px) and (max-height: 600px),
only screen and (        min-device-pixel-ratio: 2.1)      and (max-width: 960px) and (max-height: 600px),
only screen and (                min-resolution: 193dpi)    nd (max-width: 960px) and (max-height: 600px),
only screen and (                min-resolution: 2.1dppx)  and (max-width: 960px) and (max-height: 600px) {
    body {
        background: url('../img/backgrounds/brownbridge@2880.jpg') top center no-repeat fixed;
        background-size: cover;
    }
} */
@media
only screen and (-webkit-min-device-pixel-ratio: 2.1)      and (max-width: 853px) and (max-height: 533px),
only screen and (   min--moz-device-pixel-ratio: 2.1)      and (max-width: 853px) and (max-height: 533px),
only screen and (     -o-min-device-pixel-ratio: 2.1)      and (max-width: 853px) and (max-height: 533px),
only screen and (        min-device-pixel-ratio: 2.1)      and (max-width: 853px) and (max-height: 533px),
only screen and (                min-resolution: 193dpi)   and (max-width: 853px) and (max-height: 533px),
only screen and (                min-resolution: 2.1dppx)  and (max-width: 853px) and (max-height: 533px) {
    body {
        background: url('../img/backgrounds/brownbridge@2560.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2.1)      and (max-width: 640px) and (max-height: 640px),
only screen and (   min--moz-device-pixel-ratio: 2.1)      and (max-width: 640px) and (max-height: 640px),
only screen and (     -o-min-device-pixel-ratio: 2.1)      and (max-width: 640px) and (max-height: 640px),
only screen and (        min-device-pixel-ratio: 2.1)      and (max-width: 640px) and (max-height: 640px),
only screen and (                min-resolution: 193dpi)    and (max-width: 640px) and (max-height: 640px),
only screen and (                min-resolution: 2.1dppx)  and (max-width: 640px) and (max-height: 640px) {
    body {
        background: url('../img/backgrounds/brownbridge@1920.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2.1)      and (max-width: 444px) and (max-height: 296px),
only screen and (   min--moz-device-pixel-ratio: 2.1)      and (max-width: 444px) and (max-height: 296px),
only screen and (     -o-min-device-pixel-ratio: 2.1)      and (max-width: 444px) and (max-height: 296px),
only screen and (        min-device-pixel-ratio: 2.1)      and (max-width: 444px) and (max-height: 296px),
only screen and (                min-resolution: 193dpi)    and (max-width: 444px) and (max-height: 296px),
only screen and (                min-resolution: 2.1dppx)  and (max-width: 444px) and (max-height: 296px) {
    body {
        background: url('../img/backgrounds/brownbridge@1334.jpg') top center no-repeat fixed;
        background-size: cover;
    }
}


































#content {
    display: block;
    position: absolute;
    color: black;
    font-family: 'Raleway', sans-serif;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    min-width: 50%;
}

#content a,
#content a:visited {
    color: black;
}

#content a:hover,
#content a:visited {
    color: #222222;
}


#social a,
#social a:visited {
    color: black;

}

#social a:hover,
#social a:visited {
    color: #222222;
}


#contentBox {
    position: relative;
    width: 100%;
    height: 100%;
}

#splash {
    width: 100%;
    min-height: 30%;
    vertical-align: center;
    border-top: 2pt solid black;
    border-bottom: 2pt solid black;
    padding: 0.3em 0;
    text-align: center;
    font-size: 60pt;
    margin: auto;
}

.verticalLine {
    height: 25px;
    width: 0;
    margin: 0 auto;
    border: 1px solid black;
}

#social {
    margin: 0 auto;
    border: 2px solid black;
    padding: 0.5em 1em;
    text-align: center;
}

#menu {
    border: 2px solid black;
    margin: 0 auto;
}

#menu a {
    width: 100%;
    padding: 0.25em 1em;
    text-align: center;
}

#menu a,
#menu a:visited {
    text-decoration: none;
}

#menu a:hover,
#menu a:active {
    text-decoration: none;
}

#menu td {
    border: 2px solid black;
    text-align: center;
}

#menu td:hover,
#menu td:active {
    background: black;
    color: white;
}

#menu td:hover a,
#menu td:active a {
    color: white;
}

#subpage-menu {
    max-width: 8.5in;
    margin: 0 auto;
    color: black;
    text-align: right;
    font-size: 24pt;
    padding: 0;
}


#subpage-menu a:visited,
#subpage-menu a:link {
    color: black;
    text-decoration: none;
}

#subpage-menu a:hover,
#subpage-menu a:active {
    color: #888888;
    text-decoration: none;
}

#subpage-footer {
    max-width: 8.5in;
    margin: 0.5em auto;
    color: #888888;
    text-align: right;
    font-size: 8pt;
    padding: 0;
}

#subpage-footer a:visited,
#subpage-footer a:link,
#subpage-footer a:hover,
#subpage-footer a:active {
    color: #888888;
    text-decoration: none;
}

#footer {
    max-width: 8.5in;
    margin: 0 auto;
    color: black;
    text-align: right;
    font-size: 8pt;
    padding: 0;
    position: absolute;
    display: block;
    bottom: 0;
    right: 0;
}

#footer a:visited,
#footer a:link,
#footer a:hover,
#footer a:active {
    color: black;
    text-decoration: none;
}

/*
 * Resume stuff
 */

#coverletterPage {
    background-color: white;
    border: 1pt black solid;
    margin: 0 auto;
    padding: .75in;
    width: 7in;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

#coverletterPage p {
    font-size: 11pt;
}

#coverletterHeader {
    background-color: black;
    color: white;
    text-align: left;
    padding: 1em 1em;
    margin: 0 0 1em 0;
    border-bottom-left-radius: 10pt;
    border-top-left-radius: 10pt;
    border-top-right-radius: 10pt;
    font-size: 10pt;
}


#coverletterHeader h1 {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 2em;
    font-weight: 400;
    line-height: 1em;
}

#coverletterHeader h3 {
    font-weight: 400;
}

#coverletterHeader .address {
    font-weight: 400;
    padding: 0 0 0 0;
}

#coverletterHeader .address :link,
#coverletterHeader .address :hover,
#coverletterHeader .address :focus,
#coverletterHeader .address :visited {
    color: white;
    text-decoration: none;
    -webkit-print-color-adjust: exact;
}

#coverletterHeader .address :hover {
    color: lightgrey;
    text-decoration: none;
}


/*
 * Resume stuff
 */

#resumePage {
    background-color: white;
    border: 1pt black solid;
    margin: 0 auto;
    padding: 0.5in;
    width: 7.75in;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

.resume-item {
    margin: 1em 0 0 0;
}

#resumePage b,
#coverletterPage b {
    font-weight: 800;
}

#resumePage i.date,
#coverletterPage i.date {
    font-weight: 300;
    font-style: italic;
}

#resumePage .leftColumn,
#coverletterPage .leftColumn {
    width: 2.25in;
    float: left;
    margin: 0;
    padding: 0;
    font-size: 10pt;
}

.leftColumn p {
    margin: 0.25em 0 0.25em 0;
    padding: 0;
}

#resumePage .leftColumn h2,
#coverletterPage .leftColumn h2{
    background-color: black;
    color: white;
    font-weight: 400;
    padding-left: 0.5em;
    margin: 0.5em 0 0 0;
    font-size: 13pt;
    border-bottom-left-radius: 8pt;
    border-top-left-radius: 8pt;
}

#resumePage .rightColumn,
#coverletterPage .rightColumn {
    float: left;
    width: 5.25in;
    margin: 0 0 0 0.25in;
    /* padding-left: 0.25in; */
    font-size: 10pt;
}

#resumePage .rightColumn h2,
#coverletterPage .rightColumn h2 {
    font-size: 13pt;
    background-color: black;
    color: white;
    font-weight: 400;
    padding-left: 0.5em;
    margin: 1em 0 0.5em 0;
    border-top-right-radius: 10pt;
}

#resumePage .rightColumn :first-child,
#coverletterPage .rightColumn :first-child {
    margin-top: 0;
}

#resumePage .float-clear,
#coverletterPage .float-clear{
    clear: both;
}

#resumeHeader {
    background-color: black;
    color: white;
    text-align: center;
    padding: 1em 1em;
    margin: 0 0 1em 0;
    border-bottom-left-radius: 10pt;
    border-top-left-radius: 10pt;
    border-top-right-radius: 10pt;
    font-size: 10pt;
}

#resumeHeader h1 {
    margin: 0;
    font-size: 2em;
    font-weight: 400;
}

#resumeHeader h3 {
    font-weight: 400;
}

#resumeHeader .address {
    font-weight: 400;
    padding: 1em 0 0 0;
}

#resumeHeader .address :link,
#resumeHeader .address :hover,
#resumeHeader .address :focus,
#resumeHeader .address :visited {
    color: white;
    text-decoration: none;
    -webkit-print-color-adjust: exact;
}

#resumeHeader .address :hover {
    color: lightgrey;
    text-decoration: none;
}

i.fa {
    font-size: 80%;
    vertical-align: middle;
}

#resumePage .resume-description {
    margin: 0;
    background-color: #eeeeee;
    color: black;
    padding: 0.2em 0.2em 0.2em 0.5em;
    border: 1pt solid black;
    border-left: 2em solid black;
    border-top-left-radius: 10pt;
}

#resumePage .resume-subdescription {
    background-color: #eeeeee;
    color: black;
    border-top: 1pt solid black;
    border-bottom: 1pt solid black;
    border-left: 2em solid #777777;
    /* border-top-left-radius: 10pt; */
    padding: 0.2em 0.2em 0.2em 0.5em;
    margin: 0.25em -0.5em 0.25em -0.5em;
}


.rightColumn .resume-body {
    margin: 0 0 0.5em 0;
    padding: 0.25em 0.5em 0.25em 0.5em;
    border-left: solid 1pt black;
    border-bottom: solid 1pt black;
    border-right: solid 1pt black;
    border-bottom-right-radius: 10pt;
}

#medialist {
    width: 100%;

    padding: 0;
    font-weight: 500;
    font-size: 10pt;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

#medialist li {
    left: -1em;
    margin-left: 0;
    padding: 0;
}

#medialist :link, 
#medialist :hover, 
#medialist :focus, 
#medialist :visited {
    color: black;
    text-decoration: none;
}

.bitly:link, 
.bitly:hover, 
.bitly:focus, 
.bitly:visited {
    color: grey !important;
    text-decoration: none;
}

.rightColumn p {
    margin: 0;
    line-height: 1.40;
}

.rightColumn ul {
    margin: 0;
    line-height: 1.40;
    padding-left: 1.5em;
}

#skillTable {
    width: 100%;
}

#skillTable td {
    font-size: 10pt;
}

#skillTable td.level {
    color: black;
    letter-spacing: 0pt;
    text-align: left;
    font-size: 10pt;
}

#skillTable th {
    font-weight: 500;
    font-size: 11pt;
    padding: 0.5em 0 0 0;
}

#skillTable .fa {
    color: #888888;
}

@media only print {
    body,
    html {
        background: none;
        padding: 0;
        margin: 0;
        width: initial;
    }
    #coverletterPage {
        border: none;
        margin: 0 auto 0 auto;
        padding: 0;
        width: 6.5in;
        display: block;
        /*
        position: absolute;
        top: 0;
        left: 0; */
    }
    #coverletterPage p {
        font-size: 10.5pt;
    }
    #resumePage {
        border: none;
        margin: 0 0 0 0;
        padding: 0;
        width: 7.75in;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }

    #subpage-menu,
    #subpage-footer {
        display: none;
    }

    .bitly:link, 
    .bitly:hover, 
    .bitly:focus, 
    .bitly:visited {
        color: black;
        text-decoration: none;
        visibility: visible;
    }

    #resumeHeader .address :link,
    #resumeHeader .address :hover,
    #resumeHeader .address :focus,
    #resumeHeader .address :visited {
        color: white !important;
        text-decoration: none;
        -webkit-print-color-adjust: exact;
    }

    #resumeHeader,
    #resumeHeader h1,
    #resumeHeader h2 ,
    #resumeHeader .address,
    #resumePage .rightColumn h2,
    #resumePage .leftColumn h2{
        color: white !important;
        background-color: black !important;
        color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .rightColumn .resume-body {
        border-left: solid 1pt black;
        border-bottom: solid 1pt black;
        border-right: solid 1pt black;
        color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    #resumePage .resume-description {
        background-color: #eeeeee;
        border: 1pt solid black;
        border-left: 2em solid black;
        border-top-left-radius: 10pt;
        color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    .float-clear {
        float: none;
        display: none;
    }
}



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

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

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