/*
 * Sections of the single page (built from content/*.md).
 * With JavaScript (html.js), they stay hidden and are shown one at a time in the folding panel.
 * Without JavaScript, they are read one below the other under the tile grid.
 */

html.js .cd-sections
{
    display: none;
}

.cd-sections .cd-section
{
    max-width: 800px;
    margin: 3em auto;
    padding: 0 1em;
}

/* A second heading in a section (e.g. "Mentions légales" under "Nous contacter") gets air above it. */
.cd-section h2:not(:first-child),
.cd-fold-content h2:not(:first-child)
{
    margin-top: 3em;
}

/* The 404 page (built from not-found.html): the site's header and footer, a short message. */

.not-found
{
    max-width: 640px;
    margin: 4em auto;
    padding: 0 1em;
    text-align: center;
}

.not-found h1
{
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: #C84231;
    margin-bottom: 1em;
}

.not-found p
{
    font-family: "Muli", serif;
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 1.5em;
}

.not-found .button
{
    display: inline-block;
    padding: 0.8em 1.6em;
    background-color: #C84231;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    border-radius: 2px;
}

.not-found .button:hover,
.not-found .button:focus
{
    background-color: #a8351f;
}

/* Header icons: inline SVG inside the <i class="material-icons"> Materialize styles (no icon font). */

i.material-icons svg
{
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: middle;
}
