/*! HTML5 Boilerplate v5.2.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: #111;
    font-size: 1em;
    line-height: 1.4;
    background-color:#fff;
    overflow-Y:scroll;
    overflow-X:hidden;
    margin:0;
    padding:0;
    height:100%;
}

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

body {
    font-family:'Raleway', sans-serif;
    color:#000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight:400;
    padding:0;
    margin:0;
    overflow:hidden;
    letter-spacing:0.25em;
    font-size:11px;
    background: url(../img/bckg.jpg) fixed;
    min-height:100%;
  }
ul,li {
  margin:0;
  padding:0;
  list-style: none;
}
a {
  text-decoration:none;
  color:#000;
}
a:hover {
  color:#ff5458;
}
h1 {
  font-weight:inherit;
  font-size:inherit;
  margin:inherit;
}
strong {
  font-weight:700;
}
/*
┌───────────────────────────────────────────────────────────────────────────┐
│                                                                           │
│ STANDARDS                                                                 │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘
*/
.cls {
  clear:both;
}
.middled:before {
  display:inline-block;
  height:100%;
  content:'';
  vertical-align:middle;
  margin-left:-4px;
}
.middle {
  display:inline-block;
  vertical-align:middle;
}
.red {
  color:#ff5458;
}
.b_red {
  background-color:#ff5458;
}
.b_white {
  background-color:#fff;
}
.b_light {
  background-color:#fff;
  /*background-color:#f6fbff;*/
}
.hide {
  display:none;
}
.b_paper {
  background: url(../img/bckg.jpg) fixed;
}
.b_black {
  background-color:#000;
}
.full_bg {
  background-size:cover!important;
  background:center no-repeat;
  image-rendering: -webkit-optimize-contrast;
}
.fullsize {
  top:0;
  bottom:0;
  left:0;
  right:0;
}
.blanktile {
  height:100vh;
  width:0;
}
.sline {
  width:16px;
  height:1px;
  display:inline-block;
  margin-bottom:18px;
}
.citation {
  font-size:48px;
  font-family:'Lora', serif;
  letter-spacing:0.02em;
}
.hw {
  width:50%;
}
.disabled {
  display:none;
}
/*
┌───────────────────────────────────────────────────────────────────────────┐
│                                                                           │
│ SHOW                                                                      │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘
*/
.showmask {
  position:absolute;
  width:50%;
  height:50%;
  background:url(../img/bckg.jpg) fixed;
}
.mask1 {
  top:0;
  left:0;
}
.mask2 {
  top:0;
  right:0;
}
.mask3 {
  bottom:0;
  left:0;
}
.mask4 {
  bottom:0;
  right:0;
}

#mouseon {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100vh;
  z-index:2000;
}
#bckgshow {
  position:fixed;
}
#show {
  position:relative;
  top:0;
  z-index:400;
  width:100%;
  height:100vh;
}

#animatedlogo {
  position:absolute;
  top:50%;
  left:50%;
  margin-left:-38px;
  margin-top:-60px;
  z-index:1;
}
.letter_e{
  width:27px;
  height:45px;
}
.letter_l{
  width:25px;
  height:45px;
}
#letter_1{
  position:absolute;
  top:0;
  left:0;
}
#letter_2{
  position:absolute;
  top:0;
  left:51px;
}
#letter_3{
  position:absolute;
  top:75px;
  left:0px;
}
#letter_4{
  position:absolute;
  top:75px;
  left:49px;
}
#accent {
  position:absolute;
  top:0px;
  left:100px;
}
#accent img {
  width:12px;
  height:9px;
  display:block;
}
.el {
  position:absolute;
  background-color:#fff;
}
.e1 {
  top:0;
  left:0;
}
.e2 {
  top:40px;
  left:0;
}
.e3 {
  top:0;
  left:0;
}
.e4 {
  top:20px;
  left:0;
}
.e5 {
  top:0;
  left:0;
}
.e6 {
  top:40px;
  left:0;
}
.w6 {
  width:6px;
}
.h5 {
  height:5px;
}
.slogan {
  color:#fff;
  text-transform:uppercase;
  position:absolute;
  width:100%;
  text-align:center;
  top:50%;
  margin-top:125px;
  font-size:13px;
  font-weight:600;
  z-index:1;
}
.slogan span {
  display:block;
}
#mousedown {
  position:absolute;
  bottom:25%;
  left:50%;
  margin-left:-13px;
  margin-bottom:-125px;
  opacity:0.5;
  z-index:510;
}
#mousedown img {
  width:26px;
  height:auto;
}
#edito {
  position:absolute;
  text-align:center;
  text-transform:lowercase;
  opacity:0;
  color:#fff;

}
#edito div {
  width:70%;
}
#edito span {
  display:block;
}
/*
┌───────────────────────────────────────────────────────────────────────────┐
│                                                                           │
│ HEADER                                                                    │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘
*/
#whiteloader {
  position:fixed;
  z-index:10000;
  background-color:#fff;
  pointer-events:none;
}
#loader {
  position:fixed;
  z-index:5000;
  pointer-events:none;
}
.corporate{
  position:absolute;
  bottom:28px;
  text-transform:uppercase;
  z-index:1500;
  color:#fff;
}
.corporate span{
  display:inline-block;
  opacity:1;
  line-height:1.5em;
}
.corpoleft{
  left:32px;
}
.corporight{
  right:32px;
}
.adjust{
  height: 24px;
  }
#control {
  width:50%;
  height:100%;
  position:fixed;
  top:0;
  left:0;
  z-index:3800;
}
#logo {
  position:absolute;
  left:32px;
  bottom:32px;
  z-index:5000;
}
#logo img{
  display:block;
  width:auto;
  height:58px;
}
#menu {
  margin-left:50%
}
#menu a {
  color:#ff5458;
  font-size:28px;
  font-family:'Lora', serif;
  line-height:1.4em;
  text-transform:uppercase;
  -webkit-transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -moz-transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -o-transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -ms-transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
#menu a:after {
  content:'´';
  display:inline;
  padding-left:1em;
  opacity:0;
  font-weight:700;
  -webkit-transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -moz-transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -o-transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -ms-transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
#menu a:hover:after {
  content:'´';
  display:inline;
  opacity:1;
  padding-left:0em;
  font-weight:700;
}
#buttonmenu {
  position:fixed;
  top:50%;
  width:32px;
  height:32px;
  left:0px;
  cursor:pointer;
  padding:32px;
  z-index:6000;
  margin-top:-53px;
}
#buttonmenu div {
  width:32px;
  height:4px;
  margin:8px 0px;
}
#logohead {
  position:absolute;
  top:32px;
  left:32px;
  width:66px;
  z-index:4000;
}
.home #logohead{
  display:none;
  }
/*
┌───────────────────────────────────────────────────────────────────────────┐
│                                                                           │
│ CONTENT                                                                   │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘
*/
#content {
  width:100%;
  position:relative;
}
#home {
  width:100%;
  height:100%;
}
.section_name {
  text-transform:uppercase;
  letter-spacing:0.25em;
  text-align:center;
  height:25vh;
  width:50%;
  position:absolute;
  
}
.name {
  height:25vh!important;
  min-height:180px!important;
}
.centertitre {
  position:absolute;
  top:50%;
  margin-top:-45px;
  width:100%;
}
.chapitre {
  font-size:28px;
  font-family:'Lora', serif;
  padding-bottom:12px;
}
.more {
  font-weight:400;
}
.tile {
  width:100%;
  height:50vh;
  position:relative;
  float:left;
  min-height:360px;
}
.bckgtile, .textile {
  position:absolute;
  width:50%;
  height:100%;
}
.tile:nth-child(odd) .bckgtile, .tile:nth-child(odd) .section_name {
  right:0;
}
.tile:nth-child(even) .bckgtile, .tile:nth-child(even) .section_name {
  left:0;
}
.textile {
  color:#000;
  text-transform:uppercase;
  letter-spacing:0.15em;
}
.textile span {
  display:block;
}
.tile:nth-child(odd) .textile {
  text-align:right;
  left:0;
}

.tile:nth-child(odd) .textile span{
  margin-right:-0.15em;
}
.tile:nth-child(odd) .textile h2{
  margin-right:-0.05em;
}
.tile:nth-child(even) .textile {
  text-align:left;
  right:0;
}
.titre {
  margin-top:-5px;
  margin-left:-0.05em;
  font-size:26px;
  text-transform:lowercase;
  font-weight:400;
  color:#fff;
}
.textfill {
  margin:0 16px;
}
.dot {
  position:absolute;
  width:16px;
  height:16px;
  border-radius: 50%;
  left:50%;
  top:50%;
  margin-left:-8px;
  margin-top:-8px;
}
.sujet{
  font-weight:600;
}
/*
┌───────────────────────────────────────────────────────────────────────────┐
│                                                                           │
│ INSTAGRAM                                                                 │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘
*/
#instafeed {
  padding:0px;
  letter-spacing:0.15em;
  text-transform:uppercase;


}
.event {
  width:25%;
  float:left;
  position:relative;
}
.event img {
  width: 100%;
}
.eventcontent {
  padding:0px;
  height:100%;
}
.datevent {
  font-family:'Lato', sans-serif;
  font-weight:400;
  margin-bottom:1em;
  color:#fff;
  font-size:13px;
}
.eventprev {
  margin-top:-0.4em;
}
.textevent {
  margin:16px;
  height:calc(50% - 16px);
  font-weight:400;
}
.event:nth-child(even) .textevent {
  text-align:right;
}
/*
┌───────────────────────────────────────────────────────────────────────────┐
│                                                                           │
│ CONTENT SINGLE                                                            │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘
*/
.showinfos {
  position:absolute;
  top:26px;
  right:26px;
  width:32px;
  height:32px;
  line-height:32px;
  cursor: pointer;
  color:#ff5458;
  font-weight:500;
  font-size:32px;
  text-align:right;
  z-index:2000;
}
.single #content {
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  width:auto;
}
.cover {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  text-align:center;
}
.hello {
  text-transform:lowercase;
  color:#fff;
  font-size:64px;
  font-weight:200;
}
.gallery-cell {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  opacity:0;
}
.infotoshow {
  width:50%;
  height:100%;
  position:absolute;
  top:0;
  right:0;
  z-index:2200;
}
.infos {
  margin:32px;
  text-transform:uppercase;
  width: calc(100% - 70px);
}
.infos span,.sticker span {
  display:block;
}
.sticker {
  text-transform:uppercase;
  position:absolute;
  bottom:32px;
  left:32px;

}
.description {
  text-transform:none;
  font-size:13px;
  font-family:'Lora', serif;
  letter-spacing:0.05em;
  opacity:0.8;
  margin-right:32px;
}
.description a {
  font-weight:800;
}
.description.en {
  padding-bottom:0.75em;
}
.shortdescr {
  text-transform:none;
  letter-spacing:0.05em;
  margin-right:32px;
  font-family:'Lora', serif;
  font-weight:400;
  opacity:0.8;
  font-size:15px;
}
.fr {
  font-style:italic;
  opacity:0.7;
}
.pagination {
  position:absolute;
  bottom:24px;
  right:0;
  width:100%;
  height:32px;
  text-align:center;
  font-size:17px;
  letter-spacing:0.01em;
  text-transform:lowercase;
  font-weight:400;
  z-index:2300;
}
.pagination a {
  color:#fff;
  letter-spacing:0.15em;
}
.pagination a:hover {
  color:#ff5458;
}
.pagination a span {
  display:inline-block;
  height:32px;
  line-height:32px;
}
.pagination .dot {
  position:absolute;
  width:16px;
  height:16px;
  border-radius: 50%;
  left:50%;
  top:50%;
  margin-left:-8px;
  margin-top:-8px;
}
.nextlink {
  position:absolute;
  left:50%;
  padding-left:32px;
  white-space: nowrap;
}
.prevlink {
  position:absolute;
  right:50%;
  padding-right:32px;
  margin-right:-0.4em;
  white-space: nowrap;
}
.date-story {
  height:100%;
  text-align:center;
  text-transform:lowercase;
  font-size:17px;
  opacity:0.7;
}
/*
┌───────────────────────────────────────────────────────────────────────────┐
│                                                                           │
│ PAGES                                                                     │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘
*/
#single-head {
  width:50%;
  height:25vh;
  text-align:center;
  position:relative;
  text-transform:uppercase;
  margin-left:50%;
  margin-top:-25vh;
}
#single-head .chapitre {
  font-size:36px;
  padding-bottom:10px;
}
#load-more {
  width:100%;
  text-align:center;
  font-size:17px;
  color:#fff;
  font-weight:500;
  letter-spacing:0.1em;
  padding:32px 0;
  cursor:pointer;
  z-index:2000;
}
#load-more:hover {
  color:#ff5458;
}
.home #load-more {
  display:none;
}
.entete {
  width:100%;
  height:75vh;

}
.textes {
  width:50%;
  margin-left:50%;
  padding-top:64px;
}
.textes .description {
  margin-right:20%;
}
.textes .sline {
  margin-bottom:8px;
}
.credits {
  text-transform:uppercase;
  margin-top:64px;
}
.credits span {
  display:block;
}
.credits .sline {
  margin: 24px 0 20px 0;
}

/*
┌───────────────────────────────────────────────────────────────────────────┐
│                                                                           │
│ PRESS                                                                     │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘
*/
.article {
  text-transform:uppercase;
  padding-top:64px;
}
.article .chapitre {
  margin-left:-0.1em;
}
.article a {
  color:#fff;
}
.article a:hover {
  color:#ff5458;
}
.datem {

}
.linktopost {
  font-size:17px;
  text-transform:lowercase;
  font-weight:500;
}
.tel {
  font-family:'Lato', sans-serif;
  font-weight:700;
}
/*
┌───────────────────────────────────────────────────────────────────────────┐
│                                                                           │
│ FOOTER                                                                    │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘
*/
#footer {
  min-height:100px;
  width:100%;
  position:relative;
  text-transform:uppercase;
  padding-bottom:256px;
  /*background-color:rgba(198,175,133,0.2);*/
}
#logofoot {
  width:66px;
  padding:164px 0 32px 0;
}
.foot {
  width:50%;
  margin-left:50%;
  height:100%;
  position:relative;
}
.foot span {
  display:block;
}
.single #footer{
  display:none;
}
.icons {
  padding-top:64px;
  position:absolute;
  bottom:32px;
  left:calc(50% - 5px);
}
.icons a {
  padding:0 4px;
}
.icons img {
  width:32px;
  height:32px;
}
/*
┌───────────────────────────────────────────────────────────────────────────┐
│                                                                           │
│ MEDIA                                                                     │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘
*/
@media only screen and (max-width:800px) {

.titre {
  font-size:20px;
}
.event {
  width:50%;
}
.hello {
  font-size:48px;
}
.nextlink span, .prevlink span {
  display:none!important;
}
.nextlink:after{
  content:'»';
  color:#fff;
  margin-left:-32px;
  font-size:42px;
  position:absolute;
  top:-16px;
  right:0;
  pointer-events:none;
}
.nextlink {
  right:32px;
  font-weight:300;
  left:auto;
  padding-left:0;
}
.prevlink {
  margin-right:0;
  font-weight:300;
  right:32px;
}
.prevlink:after{
  content:'«';
  color:#fff;
  margin-right:-32px;
  font-size:42px;
  position:absolute;
  top:-16px;
  left:0;
  pointer-events:none;
}
.nextlink a, .prevlink a {
  display:inline-block;
  height:32px;
  width:32px;
}

#menu a {
  font-size:24px;
}

}

@media only screen and (max-width:680px) {
.corporate {
  width:100%;
  text-align:center;
}
.corpoleft {
  bottom:44px;
  left:0;
}
.corporight {
  right:0;
}
.hello {
  font-size:36px;
  font-weight:400;
}
#mousedown {
  bottom:216px;
}
.foot {
  margin-left:0px;
  width:100%;
  text-align:center;
}
.icons {
  width:100%;
  text-align:center;
  left:0;
}
#logofoot {
  margin:0 auto;
}
#logofoot a {
  padding-left:10px;
}
}

@media only screen and (max-width:630px) {
.menushown {
  width:100%!important;
}
}

@media only screen and (max-width:600px) {
.section_name {
  width:100%;
}
.bckgtile, .textile {
  width:100%;
}
.bckgtile{
  width:100%;
  height:360px;
  position:relative;
}
.textile {
  width:100%;
  height:180px;
  position:relative;
}
.tile {
  height:540px;
}
.tile h2 {
  margin-right:-0.4em !important;
}
.tile:nth-child(even) .textile {
  text-align:right;
  right:0;
}
.hello {
  font-size:28px;
}
#single-head {
  width:100%;
  margin-top:0;
  margin-left:0;
}
.textes {
  margin-left:96px;
  width:calc(100% - 128px);
}
}


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

/**
 * Modification moons - 14/07/2018 
 * */

.new-logo {
  max-width: 400px;
	width: 100%;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.slogan.s2 {
	display: none;
}

.ea-photo {
   max-width: 300px;
   width: 100%;
   margin: 15px 0;
}

@media (min-width: 681px) {
	.ea-photo {
	   max-width: 500px;
	   width: 100%;
	   margin: 15px 15px;
	   position: absolute;
	   transform: translateX(-110%);
	   margin-top: 0;
	}
}
