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


/*
font-family: 'Lora', serif;
font-family: 'Roboto', sans-serif;
blue : hsla(195,80%,50%,1);
blue-grey : hsla(195,7%,50%,1);
*/

* {
    box-sizing: border-box;
    outline: none
}

html,
body {
    height: 100vh;
}

body {
    font-family: 'Roboto', sans-serif;
    color: hsla(195, 7%, 50%, 1);
    background-image: url(../img/body-bg-top-left.jpg), url(../img/body-bg-bottom-right.jpg);
    background-repeat: no-repeat;
    background-position: left top, right bottom;
    background-attachment: fixed;
    height: 100vh;
}

body:after,
body:before {
    content: attr(data-baseline);
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    writing-mode: vertical-lr;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    padding: 2rem;
    font-size: 1.2rem;
    font-family: 'Lora', serif;
    font-weight: 400;
    color: hsla(195, 7%, 50%, .6);
    text-transform: uppercase;
    letter-spacing: .2rem
}

body:after {
    top: auto;
    left: auto;
    right: 0;
    bottom: 0;
}

.flex {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
}

.ease {
    -webkit-transition: all 600ms ease;
    transition: all 600ms ease;
}

.article-box a {
    color: hsla(195, 80%, 50%, 1);
    text-decoration: none;
    font-weight: 600
}

.article-box a:hover {
    text-decoration: underline;
}

.article-box p {
    font-size: .85rem;
}

.article-box.standard {}

.article-box.standard p {
    font-size: .9rem;
}

.border-box {
    background-color: #fff;
    border: .5rem solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

a.arrow:after {
    content: '';
    display: block;
    width: 80px;
    height: 60px;
    background-image: url(../img/icon-right-arrow.svg);
    background-repeat: no-repeat;
    background-position: 0 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform: scale(0.4);
    transform: scale(0.4);
    -webkit-transition: -webkit-transform 600ms ease;
    transition: -webkit-transform 600ms ease;
    transition: transform 600ms ease;
    transition: transform 600ms ease, -webkit-transform 600ms ease;
}

a.arrow:hover:after {
    -webkit-transform: scale(0.4) translateX(25px);
    transform: scale(0.4) translateX(25px);
}

.preload-box {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #fff;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.preload-box--data {
    font-family: 'Lora', serif;
    font-size: 5rem;
    color: hsla(195, 80%, 50%, 1);
}

.preload-box--data>span:nth-child(2) {
    font-size: 1rem;
}

.main {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.header-box__social-box>div {
    -ms-flex-pack: end;
    -webkit-box-pack: end;
    justify-content: flex-end;
}

.header-box__social-box a {
    padding: .5rem;
}

.header-box__social-box a:hover path {
    fill: hsla(195, 80%, 50%, 1);
}

.header-box__nav-box {
    position: relative;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid hsla(195, 7%, 50%, .5);
}

.header-box__nav-box a {
    font-weight: 400;
    font-size: 1rem;
    color: hsla(195, 7%, 50%, 1);
    text-decoration: none;
    display: block;
    position: relative;
    padding: .5rem;
}

.header-box__nav-box a:not(.header-box__nav-box--last):before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: -2rem;
    width: 0%;
    height: 4px;
    background-color: hsla(195, 80%, 50%, 1);
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;
}

.header-box__nav-box a:hover,
.header-box__nav-box a.on {
    color: hsla(195, 80%, 50%, 1);
}

.header-box__nav-box a:not(:hover):before {
    -webkit-transition-timing-function: cubic-bezier(0.700, -0.600, 0.735, 0.045);
    transition-timing-function: cubic-bezier(0.700, -0.600, 0.735, 0.045);
}

.header-box__nav-box a:hover:before,
.header-box__nav-box a.on:before {
    width: 100%;
    left: 0;
}

.header-box__nav-box--last {
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    text-align: right;
}

.header-box__nav-box span {
    display: inline-block;
    padding: 0 1rem;
    position: relative;
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
}

.section-box {
    margin: 4rem 0;
}

.home-slideshow-box {
    margin: 3rem 0px;
}

.home-slideshow-box>div {
    -ms-flex: 1;
    -webkit-box-flex: 1;
    flex: 1;
    text-align: center;
}

.home-slideshow-box-left,
.home-slideshow-box-right {
    max-width: calc(25% / 2);
    position: relative;
}

.home-slideshow-box-left>svg,
.home-slideshow-box-right>svg {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 80px;
    height: 250px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.home-slideshow-box-left>svg {
    right: -15px;
}

.home-slideshow-box-right>svg {
    left: -15px;
    -webkit-transform: translateY(-50%) scale(-1);
    transform: translateY(-50%) scale(-1);
}

.home-slideshow-box-left>div,
.home-slideshow-box-right>div {
    position: relative;
    cursor: pointer;
    min-height: 690px
}
.home-slideshow-box-center {
    max-width: 73%;
    margin: 0 auto;
    position: relative;
}

.home-slideshow-box--picture {
    min-height: 690px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.home-slideshow-box-left .home-slideshow-box--picture,
.home-slideshow-box-right .home-slideshow-box--picture {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.home-slideshow-box-left .home-slideshow-box--picture:after,
.home-slideshow-box-right .home-slideshow-box--picture:after {
    content: '';
    display: block;
    width: 100%;
    height: 690px;
    background-color: hsla(0, 0%, 70%, 0);
    -webkit-transition: all 600ms ease;
    transition: all 600ms ease;
}

.home-slideshow-box-left .home-slideshow-box--picture:hover:after,
.home-slideshow-box-right .home-slideshow-box--picture:hover:after {
    background-color: hsla(0, 0%, 100%, 0.5);
}

.home-slideshow-box--artist {
    display: none;
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 5;
}

.home-slideshow-box-center .home-slideshow-box--artist {
    display: block;
}

.home-slideshow-box--artist-name {
    font-family: 'Lora', serif;
    font-size: 3.2rem;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.2rem;
    position: relative;
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, .8);
}

.home-slideshow-box--artist-name:after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 5%;
    height: 2px;
    background-color: #fff;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.home-slideshow-box--artist-title {
    color: #fff;
    letter-spacing: 0.15rem;
    font-weight: 600;
    font-size: .9rem;
    font-family: 'Lora', serif;
    margin-bottom: 3rem;
    text-transform: capitalize;
}

.home-slideshow-box--artist-link {
    text-decoration: none;
    display: inline-block;
    background-color: hsla(195, 80%, 50%, 1);
    color: #fff;
    padding: .5rem 1rem;
    font-size: .75rem;
    letter-spacing: 0.05rem;
}

.home-slideshow-box--artist-link:hover {
    background-color: hsla(195, 80%, 30%, 1);
}

.home-private-collection > p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    letter-spacing: 0.6rem;
    text-align: center;
    text-transform: uppercase;
}

.home-private-collection > a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: hsla(195, 80%, 50%, 1);
    font-weight: 400;
    font-size: 1rem;
}

.footer {
    margin-top: 5rem;
    position: relative;
}

.footer:before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: hsla(195, 7%, 50%, .4);
    position: absolute;
    top: 1px;
    left: 0;
}

.footer > p {
    -ms-flex: 1;
    -webkit-box-flex: 1;
    flex: 1;
    padding: 1rem;
    font-size: .8rem;
}

.footer span {
    padding: 0 .5rem;
}

.footer a {
    text-decoration: none;
    color: hsla(195, 80%, 50%, 1);
    font-weight: 400;
}

.footer a:hover {
    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:
 * 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 (max-width: 1024px) {
    body {
        padding: 2rem;
    }
    body:after,
    body:before {
        display: none;
    }
    .section-box {
        padding: 1rem;
    }
}

@media only screen and (max-width: 1024px) and (orientation:portrait) {
    body {
        padding: 0rem 1rem;
    }
    .home-slideshow-box-left,
    .home-slideshow-box-right {
        max-width: calc(40% / 2);
    }
    .home-slideshow-box-center {
        width: 60%;
        position: relative;
        z-index: 5;
    }
    .home-slideshow-box-left>svg {
        right: 0px;
        -webkit-transform: scaleX(0.5) translateY(-50%) translateX(25px);
        transform: scaleX(0.5) translateY(-50%) translateX(25px);
    }
    .home-slideshow-box-right>svg {
        left: 0px;
        -webkit-transform: scaleX(-.5) translateY(-50%) translateX(25px);
        transform: scaleX(-.5) translateY(-50%) translateX(25px);
    }
    .news-box {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .news-box>div {
        width: calc(50% - 2.5rem) !important;
    }
    .article-box__smarket--column-2 {
        padding-left: 2rem !important;
    }
    .article-box__smarket__column-1--list .picture {
        width: 110px;
    }
    .article-box__smarket__column-1--list .picture img {
        width: 100%;
        height: auto;
    }
    .article-box__smarket__column-1--list .title {
        padding-left: 0.5rem !important;
    }
}

@media only screen and (max-width: 736px) {
    .spip-admin-float {
        display: none;
    }
    a {
        -webkit-transition: none!important;
        transition: none!important
    }
    body {
        background-image: url(../img/body-bg-top-left.jpg);
        background-position: left top;
    }
    body:after,
    body:before {
        display: none;
    }
    .back-top {
        padding: 1rem;
        background-color: hsla(195, 80%, 50%, 1);
        position: fixed;
        bottom: 0%;
        right: 0;
        z-index: 999;
    }
    .back-top.active {
        display: block !important;
    }
    .border-box {
        border-width: 5px;
    }
    .header-box__nav-box {
        -ms-flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
    }
    .home-slideshow-box {
        margin-top: 0;
    }
    .home-slideshow-box-left>svg,
    .home-slideshow-box-right>svg {
        display: none;
    }
    .header-box__nav-box-mobile {
        display: block !important;
        background-color: hsla(195, 80%, 50%, 1);
        color: #fff;
        font-family: 'Lora', serif;
        margin-top: 2rem;
    }
    .header-box__nav-box-mobile a {
        display: block;
        color: #fff;
        text-align: center;
        text-decoration: none;
        font-size: 1.5rem;
    }
    .header-box__nav-box-mobile a.close,
    .header-box__nav-box-mobile.active a.open {
        display: none;
    }
    .header-box__nav-box-mobile.active a.close {
        display: block;
    }
    .header-box__nav-box-mobile svg {
        -webkit-transform: scale(0.4) translateX(-35px) translateY(-5px);
        transform: scale(0.4) translateX(-35px) translateY(-5px);
        margin-right: -25px;
    }
    .header-box__nav-box {
        display: none;
    }
    .header-box__nav-box-mobile.active+.header-box__nav-box {
        display: block;
    }
    .header-box__logo-box {
        text-align: center;
    }
    .header-box__nav-box {
        margin: 0;
        padding: 0;
        margin-top: 1px;
        border: none;
    }
    .header-box__nav-box a {
        background-color: hsla(195, 80%, 50%, 1);
        color: #fff;
        text-align: center;
        margin-bottom: 1px;
    }
    .header-box__nav-box a:not(.header-box__nav-box--last):before {
        display: none;
    }
    .header-box__nav-box a:hover,
    .header-box__nav-box a.on {
        color: #fff;
        background-color: hsla(195, 50%, 50%, 1);
    }
    .header-box__nav-box span {
        height: 0px;
        overflow: hidden;
        display: none;
    }
    .home-slideshow-box-center {
        max-width: 100%
    }
    .home-slideshow-box--picture {
        min-height: 400px
    }
    .home-slideshow-box-left,
    .home-slideshow-box-right {
        display: none;
    }
    .section-box {
        padding: 0rem;
    }
    .section-box__smarket-list--artist {
        -ms-flex-preferred-size: calc( 100% / 2 - 1rem) !important;
        flex-basis: calc( 100% / 2 - 1rem) !important
    }
    .section-box__smarket-list--artist--picture {
        min-height: 200px !important;
    }
    .section-box__smarket-list--artist--title {
        font-size: .8rem !important;
        left: 0.3rem !important;
        bottom: 0.3rem !important;
        width: calc(100% - .6rem) !important;
    }
    .article-box.standard {
        padding: 0 2rem;
    }
    .article-box.standard div {
        padding: 0 !important;
    }
    .article-box>div {
        -ms-flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
    }
    .article-box img {
        width: 100%;
        height: auto;
    }
    .article-box__smarket {
        -ms-flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        margin-top: 1rem !important;
    }
    .nav-box__smarket-subnav a {
        -ms-flex-preferred-size: calc( 100% / 4) !important;
        flex-basis: calc( 100% / 4) !important;
    }
    .article-box__smarket>div {
        width: 100%;
        padding: 0 2rem;
    }
    .article-box__smarket__column-1--list a {
        display: inline !important
    }
    .article-box__smarket__column-1--list .picture {
        display: none;
    }
    .article-box__smarket__column-1--list .title {
        padding: .5rem !important;
    }
    .article-box__smarket__column-1--list h1 {
        font-size: .8rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .article-box__smarket--column-2 .slideshow-box {
        padding: 0.1rem !important;
    }
    .slideshow-box--details {
        -ms-flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
    }
    .slideshow-box--contact {
        margin-top: 1rem;
    }
    .slideshow-box--details>div {
        margin: 0 !important;
        margin-top: 1em !important;
    }
    a.arrow:after {
        display: none;
    }
    .news-box {
        -ms-flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
    }
    .news-box>div {
        width: calc( 100% - 2rem)!important;
    }
    .footer {
        -ms-flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        text-align: center !important;
    }
    .footer p {
        text-align: center !important;
        padding: 0 2rem;
        line-height: 2;
    }
}

@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;
    }
}
