/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */


/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */


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

body {
    margin: 0;
}

html {
    color: #364449;
    background-color: #fff;
    font-size: 1.2em;
    line-height: 1.7;
    font-family: 'Lato', sans-serif;
}

.center {
    text-align: center;
}

.footer {
    background-color: #364449;
    color: #fff;
    width: 100%;
    margin-top: 3em;
}

.footer .content {
    padding: 2em 0;
    font-size: 0.8em;
}

.footer ul {
    padding: 0;
    margin: 0;
}

.footer li {
    display: inline-block;
    width: 24%;
    text-align: center;
    margin: 0;
}

.footer a, .footer a:visited, .footer a:active {
    color: #f59300;
}

.header {
    background-color: #364449;
    color: #fff;
    /* padding: 0 5em; */
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px 3px 8px #333;
}

.header h1 {
    margin: 0;
    -webkit-text-fill-color: #f59300;
    text-shadow: 2px 2px 10px #000;
    display: inline-block;
    vertical-align: middle;
}

.header__title {
    margin: 0;
    -webkit-text-fill-color: #f59300;
    text-shadow: 2px 2px 10px #000;
    display: inline-block;
    vertical-align: middle;
    font-family: 'Fjalla One', sans-serif;
    font-size: 2em;
    font-weight: bold;
}

.header__main-link {
    display: block;
    padding: 0.4em 0;
    margin: auto;
    max-width: 800px;
}

.header__main-logo {
    height: 4em;
}

.header ul {
    position: absolute;
    right: 1em;
}

.header li {
    display: inline-block;
    border: solid 2px #364449;
    border-radius: 0.5em;
    padding: 0 1em;
    background-color: #fff;
}

.header li a {
    color: #364449;
    font-weight: bold;
}

.content {
    clear: both;
    max-width: 800px;
    margin: auto;
}

h1, h2, h3, h4, h5 {
    font-family: 'Fjalla One', sans-serif;
}

h1 {
    color: #364449;
}

.disclaimer {
    font-style: italic;
    font-style: 0.9em;
}

img {
    max-width: 100%;
}

a,
a:visited,
a:active {
    color: #f59300;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.small {
    font-size: 0.9em;
}

ul li {
    margin-bottom: 1em;
    text-align: justify;
}

ul.contact li {
    font-style: italic;
}

ul.condensed li {
    margin-bottom: 0;
}

.col__container {
    margin-top: 1em;
}

.col {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 50%;
}

.col__box h3 {
    color: #364449;
    margin-top: 0;
}

.col__box {
    border: 2px solid rgba(175, 154, 178, 0.137);
    margin-bottom: 1em;
    border-radius: 5px;
    background-color: #fefefe;
}

.col__left .col__box {
    margin-right: 0.5em;
}

.col__right .col__box {
    margin-left: 0.5em;
}

.col__box--wrapper {
    margin: 1em;
}

.col__box img {
    max-width: 90%;
    margin: auto;
    display: block;
    box-shadow: 5px 5px 10px #eaeaea;
    border: solid 1px #eee;
}

.col__box label {
    font-size: 0.75em;
}

.clear-both {
    clear: both;
}

.img-link {
    display: block;
    position: relative;
    box-shadow: 0 0 10px #cecece;
    margin-bottom: 0.5em;
}

.img-link:visited, .img-link:active, .img-link:hover {
    color: #364449;
}

.img-link h2 {
    font-family: 'Fjalla One', sans-serif;
    margin: 0;
    color: #333;
    margin-left: 0.75em;
    font-size: 1.8em;
    line-height: 1.5em;
    font-weight: bold;
    cursor: pointer;
}

.img-link label {
    font-family: 'Fjalla One', sans-serif;
    position: absolute;
    margin: 0;
    color: #f59300;
    margin-left: 1.6em;
    top: 2.2em;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 0px 0px 4px #444;
    cursor: pointer;
}

blockquote {
    font-style: italic;
}

pre {
    font-family: 'Inconsolata', 'Courier New', monospace;
    background-color: #1d1e1e;
    color: #d3d3d3;
    padding: 1em;
    line-height: 1em;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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
   ========================================================================== */


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


/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}


/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}


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

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    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;
}

table {
    width: 100%;
}

table th {
    background-color: #faf5f5;
}

table td {
    background-color: #f0f0f0;
}

table tr:nth-child(even) td {
    background-color: #fafafa;
}

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

    .header__main-link, .content {
        max-width: 1000px;
    }

    .img-link:nth-child(even) {
        margin-left: 15px;
        margin-right: 0;
    }

    .img-link {
        display: inline-block;
        width: 480px;
        margin-bottom: 30px;
        margin-right: 15px;
    }

}

@media only screen and (max-width: 600px) {
    .col {
        float: none;
        width: auto;
    }
    .col__left .col__box {
        margin-right: 0;
    }
    .col__right .col__box {
        margin-left: 0;
    }
    body {
        padding-left: 10px;
        padding-right: 10px;
    }
    /* .img-link h2 {
        font-size: 1.5em;
    } */
}


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


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster */
        -webkit-box-shadow: none !important;
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}