/*! HTML5 Boilerplate v6.0.1 | 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
 *
 * 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
   ========================================================================== */
@font-face {
    font-family: 'mullerlight';
    src: url('../fonts/muller-light-webfont.woff2') format('woff2'),
         url('../fonts/muller-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'mullerregular';
    src: url('../fonts/muller-regular-webfont.woff2') format('woff2'),
         url('../fonts/muller-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

#outer {
    position: relative;
    max-width: 2200px;
    margin: 0 auto;
}
img {
    max-width: 100%;
    height: auto;
}
h1, .h1 {
    margin-top: 0;
    /*font-family: "minion-pro";*/
    font-family: "mullerlight";
    font-weight: 400;
    font-size: 36px;
    color: #FFFFFF;
    text-shadow: #505050 1px 1px 9px;
}
h2 {
    font-family: "mullerregular";
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 12px;
    margin-top: 0;
}
p {
    color: #FFFFFF;
}
.logo {
    text-align: center;
    padding: 20px 0;
    max-width: 200px;
    margin: 0 auto;
}
.logo a {
    display: inline-block;
}
.logo nav {
    margin-top: 14px;
}
.logo nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.logo nav ul li {
    margin: 10px 0;
}
.logo nav ul li a {
    font-family: "mullerregular";
    color: #000000;
}
.logo nav ul li a:hover {
    color: #f6c817;
}
@media only screen and (min-width: 768px) {
    .logo nav {
        margin-top: 0;
        position: absolute;
        right: 20px;
        top: 8px;
    }
}
@media only screen and (min-width: 992px) {
    .logo nav {
        top: 32px;
    }
    .logo nav ul li {
        display: inline-block;
        margin: 0 12px;
    }
}

.showcase {
    display: none;
    position: relative;
    height: calc(100vh - 89px);
    background-repeat: no-repeat;
    background-size: cover;    
    background-position: 57% 50%;
    text-align: center;
}
@media only screen and (min-width: 1025px) {
    .showcase {
        display: block;
    }
}
.showcase .showcase-content {
    position: absolute;
    width: 100%;
    bottom: 30px;
}
.showcase p {
    font-family: "mullerlight";
    text-transform: uppercase;
    text-shadow: #505050 1px 1px 9px;
    font-size: 20px;
}
.showcase h1, .showcase p {
    margin: 0;
}
.showcase:after {
    content: "";
    display: block;
    background-image: url(../img/bg-overlay-v2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

@media only screen and (min-width: 1025px) {
    .mobile-slider {
        display: none;
    }
}
.mobile-slider .item {
    position: relative;
    height: calc(100vh - 89px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.mobile-slider .item:after {
    content: "";
    display: block;
    background-image: url(../img/bg-overlay-v2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
}
.mobile-slider .item .item-content {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    bottom: 20px;
}
.mobile-slider .item .item-content h2 {
    margin: 0;
}
.mobile-slider .item .item-content p {
    font-family: "mullerlight";
    text-transform: uppercase;
    text-shadow: #505050 1px 1px 9px;
    font-size: 20px;
    margin: 0;
}
.mobile-slider .slick-dots {
    bottom: 20px;
}
.mobile-slider .slick-dots li button {
    width: 20px;
    height: 20px;
}
.mobile-slider .slick-dots li button:before {
    font-size: 20px;
}

.content {
    position: relative;
    z-index: 1;
    padding: 40px 0;
}
@media only screen and (min-width: 768px) {
    .content {
        padding: 60px 0;
    }
}
.content article {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
}
.content p {
    color: #000000;
    font-family: "mullerregular";
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 30px;
}
.content article form ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.content article form li {
    display: block;
    padding: 0;
    margin: 0 0 20px;
}
.content article form ul > li:last-child {
    margin-bottom: 0;
}
.content article form li label {
    display: inline-block;
    color: #000000;
    width: 70px;
    font-family: "mullerlight";
    margin-right: 5px;
}
.content article form li input {
    border: solid #000000 1px;
    height: 30px;
    padding: 0 7px;
}
.content article form li input.error {
    border: solid red 1px;
}
.content article form button[type=submit] {
    background-color: #f6c817;
    border: 0;
    line-height: 30px;
    color: #FFFFFF;
    padding: 10px 30px;
    cursor: pointer;
}
.content article form button[type=submit]:hover {
    opacity: 0.9;
}





/* ==========================================================================
   Inner page
   ========================================================================== */
.page-plain .content {
    padding: 20px 0;
}
.page-plain .content article {
    max-width: 800px;
    text-align: left; 
}
.page-plain .content article h1 {
    color: #000000;
    text-shadow: none;
    font-family: "mullerregular";
    font-weight: 400;
    font-size: 38px;
    margin-bottom: 12px;
    margin-top: 0; 
}
.page-plain .content a {
    color: #000000;
}
.page-plain .content a:hover {
    color: #f6c817;
}
.page-plain .content article ul {
    margin-bottom: 30px;
}
.page-plain .content article ul li {
    font-family: "mullerregular";
    font-weight: 400;
}
.page-plain .content .underline {
    text-decoration: underline;
}



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

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * 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;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

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

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

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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:
     * 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;
    }
}
