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

@font-face {
    font-family: "Montserrat-Light";
    src: url('../fonts/Montserrat-Light.otf') format('truetype');
}
@font-face {
    font-family: "Montserrat-Regular";
    src: url('../fonts/Montserrat-Regular.otf') format('truetype');
}
@font-face {
    font-family: "Montserrat-UltraLight";
    src: url('../fonts/Montserrat-UltraLight.otf') format('truetype');
}

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

















/* ==========================================================================
   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;
    opacity: 0 !important;
}

/*
 * 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,
    *:first-letter,
    *:first-line {
        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,
    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;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

#MainMenu {
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.main-menu-container {
    width: 1000px;
    height: 500px;
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}

.main-menu-logo-container {
    width: 1000px;
    height: 264px;
    position: relative;
}

img.main-menu-logo {
    width: 793px;
    margin: 0 auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}

.main-menu-buttons {
    margin-top: 200px;
    margin-left: 80px;
    width: 900px;
    color: black;
    position: absolute;
}

.main-menu-buttons .btn {
    float: left;
    font-size: 3.6em;
    font-family: "Montserrat-UltraLight", sans-serif;
    margin: 0 1em;
}

.main-menu-button-separator {
    margin-top: -7px;
    float: left;
    width: 1px;
    background-color: #444;
    height: 100px;
}

.btn-home {
    width: 140px;
    height: 140px;
    color: white;
    position: absolute;
    font-size: 100px;
}

.btn-home > span {
    position: absolute;
    left: 30px;
    top: 20px;
}

#language-switcher {
    position: absolute;
    right: 50px;
    top: 70px;
    min-width: 250px;
    font-size: 38px;
    font-family: Montserrat;
    border: 2px solid white;
    padding: 10px 0;
    text-align: center;
    text-transform: uppercase;
    color: white;
    transition: transform 300ms;
    z-index: 1000;
}

.language-switcher {
    position: absolute;
    right: 50px;
    top: 70px;
    min-width: 250px;
    font-size: 38px;
    font-family: Montserrat;
    text-align: center;
    text-transform: uppercase;
    color: white;
    transition: transform 300ms;
    z-index: 1000;
}

.language-switcher__language {
    border: 2px solid white;
    margin: 15px 10px;
    padding: 5px 10px;
}

.language-switcher__dropdown {
    opacity: 0;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(40,40,40,0.6);
    transition: opacity 300ms;
    touch-action: none;
    position: relative;
    pointer-events: none;
    top: 10px;
    z-index: 3;
}

.language-switcher__dropdown--open {
    opacity: 1;
    touch-action: all;
    pointer-events: all;
    z-index: 1000;
}

.language-switcher__dropdown:before {

    content: "";
    position: absolute;
    top: -19px;
    border-left: transparent 20px solid;
    border-bottom: rgba(40,40,40,0.6) 20px solid;
    border-right: transparent 20px solid;
    margin-left: -20px;
}


#language-switcher.collapsed {
    z-index: 3;
}

#language-switcher div {
    z-index: 1000;
}

#language-switcher.collapsed div {
    display: none;
}

#language-switcher.collapsed div.active {
    display: block;
}

.find-your-texture {
    text-transform: uppercase;
    position: absolute;
    right: 90px;
    bottom: 80px;
    color: white;
    font-size: 35px;
    font-weight: 600;
    padding: 5px 15px;
    border: 2px solid white;
    z-index: 10;
}

.find-your-texture:empty {
    display: none;
}

.btn-home img {
    margin-left: 53px;
    margin-top: 40px;
}

#LookBook .slick-track {
    /* IMPORTANT HACK
    this value is 2048px * number of slades and prevents glitch with 0px wide slick-track */
    min-width: 10240px;
}

#LookBook, #MainMenu, #FlipBook {
    transition: opacity 500ms;
    opacity: 1;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
}

div.lookbook-image {
    position: absolute;
    height: 100%;
    width: 700px;
}

.label-container {
    color: black;
}

.lookbook-image-container {
    width: 700px;
    height: 100%;
    float: left;
}

.lookbook-recipe {
    width: 1100px;
    height: 100%;
    float: left;
    text-align: left;
}

.lookbook-close-label {
    width: 100px;
    height: 100%;
    float: left;
    padding-top: 2px;
    font-size: 19px;
    text-align: center;
}

.lookbook-recipe > table {
    margin: 50px 0 80px 40px;
    text-align: left;
}

.lookbook-recipe tr {
}

.lookbook-recipe th,
.lookbook-recipe td {
    padding: 20px 20px 30px 0;
}
.lookbook-recipe th {
    font-size: 28px;
    font-weight: bold;
    vertical-align: top;
    padding-right: 40px;
}

.lookbook-recipe td {
    font-size: 27px;
}

.lookbook-label-title {
    font-size: 50px !important;
}

.close-button {
    background-repeat: no-repeat;
    width: 60px;
    height: 100px;
    float: left;
    margin-left: 20px;
}