@charset "UTF-8";
/*!
* www.KNACSS.com V6.0.5 (1er décembre 2016) @author: Alsacreations, Raphael Goetter
* Licence WTFPL http://www.wtfpl.net/
*/
/* ----------------------------- */
/* ==Table Of Content            */
/* ----------------------------- */
/* 1- Normalize (basic reset) */
/* 2- Base (basic styles) */
/* 3- Print (print quick reset) */
/* 4- Stylings (minor stylings) */
/* 5- Misc (skip links, hyphens) */
/* 6- Tables (data tables consistency) */
/* 7- Forms (forms consistency) */
/* 8- Media object */
/* 9- Autogrid object */
/* 10- Global Layout (alignment, modules, positionning) */
/* 11- Helpers (width and spacers helpers) */
/* (12- WordPress reset (disabled by default)) */
/* 13- Responsive (Responsive Web Design helpers) */
/* 14- Grid Layout (grillade) */
/* ---------------------------------- */
/* ==Normalize (basic reset)          */
/* ---------------------------------- */
/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0; }

/* HTML5 display definitions
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 * 2. Add the correct display in IE.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  /* 1 */
  display: block; }

/**
 * Add the correct display in IE 9-.
 */
audio,
canvas,
progress,
video {
  display: inline-block; }

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Add the correct display in IE 10-.
 * 1. Add the correct display in IE.
 */
template,
[hidden] {
  display: none; }

/* Links
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */ }

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */
a:active,
a:hover {
  outline-width: 0; }

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit; }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000; }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 65%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none; }

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden; }

/* Grouping content
   ========================================================================== */
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px; }

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/* Forms
   ========================================================================== */
/**
 * 1. Change font properties to `inherit` in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
select,
textarea {
  font: inherit;
  /* 1 */
  margin: 0;
  /* 2 */ }

/**
 * Restore the font weight unset by the previous rule.
 */
optgroup {
  font-weight: bold; }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */ }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */ }

/* ----------------------------- */
/* ==Base (basic styles)         */
/* ----------------------------- */
/* switching to border-box model for all elements */
html {
  box-sizing: border-box; }

* {
  box-sizing: inherit; }

img {
  vertical-align: middle; }

blockquote,
figure {
  margin-left: 0;
  margin-right: 0; }

code,
pre,
samp,
kbd {
  /* IE fix */
  white-space: pre-line;
  white-space: pre-wrap;
  font-family: consolas, courier, monospace;
  line-height: normal; }

em,
.italic,
address,
cite,
i,
var {
  font-style: italic; }

/* avoid margins on nested elements */
li p,
li .p-like,
li ul,
li ol {
  margin-top: 0;
  margin-bottom: 0; }

/* max values */
img,
table,
td,
blockquote,
code,
pre,
textarea,
input,
video,
svg {
  max-width: 100%; }

img {
  height: auto; }

/* ----------------------------- */
/* ==Print (quick print reset)   */
/* ----------------------------- */
@media print {
  * {
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important; }
  body {
    width: auto;
    margin: auto;
    font-family: serif;
    font-size: 12pt; }
  p,
  .p-like,
  h1,
  .h1-like,
  h2,
  .h2-like,
  h3,
  .h3-like,
  h4,
  .h4-like,
  h5,
  .h5-like,
  h6,
  .h6-like,
  blockquote,
  ul,
  ol {
    color: #000;
    margin: auto; }
  .print {
    display: block; }
  .no-print {
    display: none; }
  /* no orphans, no widows */
  p,
  .p-like,
  blockquote {
    orphans: 3;
    widows: 3; }
  /* no breaks inside these elements */
  blockquote,
  ul,
  ol {
    page-break-inside: avoid; }
  /* page break before main headers
  h1,
  .h1-like {
    page-break-before: always;
  }
  */
  /* no breaks after these elements */
  h1,
  .h1-like,
  h2,
  .h2-like,
  h3,
  .h3-like,
  caption {
    page-break-after: avoid; }
  a {
    color: #000; }
  /* displaying URLs
  a[href]::after {
    content: " (" attr(href) ")";
  }
  */
  a[href^="javascript:"]::after,
  a[href^="#"]::after {
    content: ""; } }

/* ----------------------------- */
/* ==Stylings (minor stylings)   */
/* ----------------------------- */
/* styling elements */
code,
kbd,
mark {
  border-radius: 2px; }

kbd {
  padding: 0 2px;
  border: 1px solid #999; }

code {
  padding: 2px 4px;
  background: rgba(0, 0, 0, 0.04);
  color: #b11; }

pre code {
  padding: 0;
  background: none;
  color: inherit;
  border-radius: 0; }

mark {
  padding: 2px 4px; }

sup,
sub {
  vertical-align: 0; }

sup {
  bottom: 1ex; }

sub {
  top: 0.5ex; }

blockquote {
  margin: 0; }

q {
  font-style: normal; }

q,
.q {
  quotes: "“\00a0" "\00a0”"; }
  q:lang(fr),
  .q:lang(fr) {
    quotes: "«\00a0" "\00a0»"; }

/* tables */
table,
.table {
  border: 1px solid #ccc; }

caption {
  padding: 1rem;
  color: #555;
  font-style: italic; }

td,
th {
  padding: 0.3em 0.8em;
  border: 1px #aaa dotted;
  text-align: left; }

/* ----------------------------- */
/* ==Misc (skip links, hyphens)  */
/* ----------------------------- */
/* styling skip links */
.skip-links {
  position: absolute; }
  .skip-links a {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0.5em;
    background: black;
    color: white;
    text-decoration: none; }
    .skip-links a:focus {
      position: static;
      overflow: visible;
      clip: auto; }

@media (max-width: 543px) {
  /* you shall not pass
  div,
  textarea,
  table,
  td,
  th,
  code,
  pre,
  samp {
    word-wrap: break-word;
    -webkit-hyphens: auto;
        -ms-hyphens: auto;
            hyphens: auto; } */ }

@media (max-width: 543px) {
  .no-wrapping {
    word-wrap: normal;
    -webkit-hyphens: manual;
        -ms-hyphens: manual;
            hyphens: manual; } }

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  img[src$=".svg"] {
    width: 100%; } }

/* ----------------------------- */
/* ==Tables                      */
/* ----------------------------- */
table,
.table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  vertical-align: top;
  margin-bottom: 2rem; }

.table {
  display: table; }

#recaptcha_table,
.table-auto {
  table-layout: auto; }

td,
th {
  vertical-align: top;
  min-width: 2rem;
  cursor: default; }

/* ----------------------------- */
/* ==Forms                       */
/* ----------------------------- */
/* thanks to HTML5boilerplate,
* github.com/nathansmith/formalize and www.sitepen.com
*/
/* buttons */
.btn {
  display: inline-block; }

/* forms items */
form,
fieldset {
  border: none; }

input,
button,
select,
label,
.btn {
  font-family: inherit;
  font-size: inherit; }

button,
input,
optgroup,
select,
textarea {
  color: #000; }

label {
  vertical-align: middle;
  cursor: pointer; }

legend {
  border: 0;
  white-space: normal; }

textarea {
  min-height: 5em;
  vertical-align: top;
  font-family: inherit;
  font-size: inherit;
  resize: vertical; }

select {
  -webkit-appearance: menulist-button; }

/* if select styling bugs on WebKit */
/* select { -webkit-appearance: none; } */
/* 'x' appears on right of search input when text is entered. This removes it */
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration {
  display: none; }

::-webkit-input-placeholder {
  color: #777; }

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #777; }

.btn:focus,
input[type="button"]:focus,
button:focus {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

/* unstyled forms */
button.unstyled,
input[type="button"].unstyled,
input[type="submit"].unstyled,
input[type="reset"].unstyled {
  padding: 0;
  border: none;
  line-height: 1;
  text-align: left;
  background: none;
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none; }
  button.unstyled:focus,
  input[type="button"].unstyled:focus,
  input[type="submit"].unstyled:focus,
  input[type="reset"].unstyled:focus {
    box-shadow: none;
    outline: none; }

/* Media object */
@media (min-width: 544px) {
  .o-media {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start; }
  .o-media-content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 0;
    /* avoid min-width:auto */ } }

/* Media variants */
@media (min-width: 544px) {
  .o-media--reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse; }
  .o-media-figure--center {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center; } }

/* Autogrid object */
@media (min-width: 544px) {
  [class^="autogrid"],
  [class*=" autogrid"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; }
  [class^="autogrid"] > *,
  [class*=" autogrid"] > * {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 0;
    /* avoid min-width:auto */ } }

/* Autogrid variants */
@media (min-width: 544px) {
  .has-gutter > *:not(:first-child) {
    margin-left: 1rem; }
  [class*="--reverse"] {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse; } }

/* ----------------------------- */
/* ==Global Layout               */
/* ----------------------------- */
/* module, gains superpower "BFC" Block Formating Context */
.mod,
.bfc {
  overflow: hidden; }

/* blocks that needs to be placed under floats */
.clear {
  clear: both; }

/* blocks that must contain floats */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
  border-collapse: collapse; }

/* simple blocks alignment */
.left {
  margin-right: auto; }

.right {
  margin-left: auto; }

.center {
  margin-left: auto;
  margin-right: auto; }

/* text and contents alignment */
.txtleft {
  text-align: left; }

.txtright {
  text-align: right; }

.txtcenter {
  text-align: center; }

/* floating elements */
.fl {
  float: left; }

img.fl {
  margin-right: 1rem; }

.fr {
  float: right; }

img.fr {
  margin-left: 1rem; }

img.fl,
img.fr {
  margin-bottom: 0.5rem; }

/* inline-block */
.inbl {
  display: inline-block;
  vertical-align: top; }

/* flexbox layout
http://www.alsacreations.com/tuto/lire/1493-css3-flexbox-layout-module.html
*/
[class*="flex-container"],
.flex-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap; }

.flex-container-h {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row; }

.flex-container-v {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; }

.flex-item-fluid {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0; }

.flex-item-first,
.item-first {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1; }

.flex-item-medium,
.item-medium {
  -webkit-box-ordinal-group: 1;
      -ms-flex-order: 0;
          order: 0; }

.flex-item-last,
.item-last {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1; }

.flex-item-center,
.item-center {
  margin: auto; }



/* ----------------------------- */
/* TYPOGRAPHIE
/* ----------------------------- */


/* Fonts */

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


/* Styles de texte */

html {
  font-size: 62.5%;
  font-size: calc(1em * 0.625);
}

body{
  font-family: 'SuisseIntl', Helvetica, Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 0;
  background: #f2f2f2;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}


.button-lien a,
.t26{
  font-family: 'SuisseIntl', Helvetica, Arial, sans-serif;
  font-size: 2.6rem;
}

.navbar,
.t20{
  font-family: 'SuisseIntl', Helvetica, Arial, sans-serif;
  font-size: 2rem;
}

.extrait-categorie,
.index-date,
.index-categorie,
.index-txt,
.index-lien,
.t10{
  font-family: 'SuisseIntl', Helvetica, Arial, sans-serif;
  font-size: 1rem;
}


/* ----------------------------- */
/* THEME : CLEAR/DARK
/* ----------------------------- */

body.dark .extrait-categorie,
body.dark .loading-text,
.index.dark .projet-index,
.infos.dark,
.index.dark a,
.index.dark a:hover,
.index.dark a:focus,
.index.dark a:active,
.infos.dark a,
.infos.dark a:hover,
.infos.dark a:focus,
.infos.dark a:active{
  color: #f2f2f2;
}


/* ----------------------------- */
/* LIENS
/* ----------------------------- */

a{
  text-decoration: none;
  color: #000;
}

a:hover,
a:focus,
a:active{
  color: #000;
}


.infos a:hover{
  box-shadow: inset 0 -2px 0 0;
}

.bbb{
  box-shadow: 0 1px 0 0;
}

a.inactif:hover{
  cursor: default;
}


/* Liens blocs */

.projet-extrait,
.projet-index,
.link-zone{
  position: relative;
}

a.load-galerie:before{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0);
}


/* ----------------------------- */
/* ELEMENTS GÉNÉRIQUES
/* ----------------------------- */


::selection{
  background-color: #000 !important;
  color: #f2f2f2 !important;
}

::-moz-selection{
  background-color: #000 !important;
  color: #f2f2f2 !important;
}

h1, h2, h3, h4, h5, h6{
  margin-top: 0;
  margin-bottom: 0;
  font-weight: normal;
}

img{
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

hr{
  display: block;
  clear: both;
  height: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #000;
  background-color: #f2f2f2;
}

hr.big{
  margin: 3rem 0;
}

hr.clear{
  height: 0;
  margin: 0;
}

hr.clear{
  height: 0;
  margin: 0;
}

p{
  margin: 0;
}

ul, ol{
  list-style-type: none;
  padding: 0;
  margin: 0;
}

li{
  list-style-type: none;
}


/* ----------------------------- */
/* FORMULAIRES
/* ----------------------------- */

input,
button{
  -webkit-appearance: none;
}

input:focus,
select:focus{
  outline: 0;
}

/* Placeholders */

::-webkit-input-placeholder {
  color: #000;
  opacity:  1;
}
::-moz-placeholder {
  color: #000;
  opacity:  1;
}
:-ms-input-placeholder {
  color: #000;
  opacity:  1;
}
:-moz-placeholder {
  color: #000;
  opacity:  1;
}

input:focus::-webkit-input-placeholder{
    color: transparent!important;
}
input:focus::-moz-placeholder{
    color: transparent!important;
}
input:focus:-moz-placeholder{
    color: transparent!important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

button{
  background: #000;
  color: #fff;
  border: none;
  padding: 0.2em 0.5em;
}

button:hover{
  cursor: pointer;
}

.header-connexion button{
  padding: 0.2em 1.2em;
}

/* CSS Library For Responsive Select Element Styling */

select.select-style{
  border: none;
  box-shadow: none;
  background: transparent;
  background-image: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  /* Hide arrow on FF */
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: ellipsis;
}
/* Hide arrow on IE10*/
select.select-style::-ms-expand{
  display: none;
}
select.select-style optgroup{
  color: inherit;
  font: inherit;
}
/* IE9: To hide select arrow we make the select overflow on the right side there is not another way :( */
@media screen and (min-width:0\0) {
  select.select-style{
    width: calc( 100% + 58px );
  }
}

/* Select styles */
select.select-style{
  padding: 0.2rem 2.5rem 0.1rem 0.6rem;
  border: 2px solid #000;
  border-radius: 0;
  background: url('images/icon-select.svg') right 0.6rem center no-repeat;
  background-size: 1.2rem;
}


/* ----------------------------- */
/* PRELOAD IMAGES
/* ----------------------------- */

.page:before{
  content: '';
  background: 
    url('images/icon-arrow-w.svg'), 
    url('images/icon-close-w.svg'), 
    url('images/icon-mask-w.svg'),
    url('images/icon-next-w.svg'),
    url('images/icon-paint-w.svg'),
    url('images/icon-prev-w.svg'),
    url('images/icon-trash-w.svg');
  width: 0;
  height: 0;
  display: none;
}


/* ----------------------------- */
/* LAZYLOAD
/* ----------------------------- */

.lazy-hidden{
  background-image: url('images/bg-transparent.png');
  opacity: 1;
}

.lazy-loaded{
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  opacity: 1;
}


/* ----------------------------- */
/* DESIGN GLOBAL
/* ----------------------------- */

header,
.extrait-date,
.extrait-titre,
.extrait-txt,
.extrait-lien,
.navbar-index,
.navbar-infos,
.navbar-galerie,
.img-counter,
.button-lien{
  display: none;
}

.page{
  padding: 0;
}

.main{
  width: 100%;
}

.projets{
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 100vw;
  height: calc(100vh - 3.7rem);
  height: calc(var(--vh, 1vh) * 100 - 3.7rem);
  padding: 26px;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateY(100vh);
  transform: translateY(100vh);
  -webkit-transition: transform 0.5s ease, visibility 0.5s;
  transition: transform 0.5s ease, visibility 0.5s;
}
.projets.projets-visible{
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.page404{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(100vh - 3.7rem);
  height: calc(var(--vh, 1vh) * 100 - 3.7rem);
  padding: 26px;
}

.page404 img{
  width: 450px;
  max-width: 100%;
}

.index,
.infos{
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 100vw;
  height: calc(100vh - 3.7rem);
  height: calc(var(--vh, 1vh) * 100 - 3.7rem);
  padding: 26px 13px 0 13px;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateY(100vh);
  transform: translateY(100vh);
  -webkit-transition: transform 0.5s ease, visibility 0.5s;
  transition: transform 0.5s ease, visibility 0.5s;
}

.index-visible,
.infos-visible{
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  z-index: 5;
}

.galerie{
  width: 100%;
  height: calc(100vh - 3.7rem);
  height: calc(var(--vh, 1vh) * 100 - 3.7rem);
  -webkit-transform: translateY(-100vh);
  transform: translateY(-100vh);
  visibility: hidden;
  color: #f2f2f2;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  -webkit-transition: transform 0.5s ease, visibility 0.5s;
  transition: transform 0.5s ease, visibility 0.5s;
}

.galerie.galerie-visible{
  -webkit-transform: translateY(0);
  transform: translateY(0);
  visibility: visible;
  z-index: 10;
}

.projet-galerie{
  height: 100%;
}

.navbar{
  position: fixed;
  left: 0;
  bottom: -4rem;
  width: 100%;
  height: 3.7rem;
  box-shadow: 2px 2px 0 0 #000 inset, -2px -2px 0 0 #000 inset;
  background: #f2f2f2;
  z-index: 100;
}

.navbar-visible{
  bottom: 0;
  -webkit-transition: bottom 0.5s ease;
  transition: bottom 0.5s ease;
}



/* ----------------------------- */
/* NAVBAR
/* ----------------------------- */


/* Hauteur + hover */

.navbar-menu li,
.navbar-button{
  height: 3.7rem;
}

@media (min-width: 768px){
  #navbar-mainmenu > li:hover,
  .navbar-button:hover{
    height: calc(3.7rem + 4px);
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}


/* Menus */

.navbar-menu{
  float: left;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.navbar-menu li{
  position: relative;
  text-align: center;
  white-space: nowrap;
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
.navbar-menu > li > ul > li:last-child{
  height: 3.6rem;
}

#navbar-mainmenu > li,
.navbar-texte{
  padding: 0.7rem 0.8rem 0.7rem 1rem;
}

#navbar-categories li{
  padding: 0.7rem 1rem 0.7rem 0.8rem;
}

#navbar-categories li ul li{
  padding: 0.7rem 0.8rem 0.7rem 0.8rem;
}

.navbar-menu li.nav-projets,
.navbar-menu li.nav-projets ul li{
  padding: 0.7rem;
  width: 4.2em;
}

/* 1er niveau */

#navbar-mainmenu > li{
  box-shadow: 2px 0 0 0 #000 inset, 2px 0 0 0 #000;
}
#navbar-categories > li{
  box-shadow: -2px 0 0 0 #000 inset, -2px 0 0 0 #000;
}

@media (min-width: 768px){
  #navbar-mainmenu > li:hover{
    cursor: pointer;
    background: #f2f2f2;
    box-shadow: 2px 2px 0 0 #000 inset, 2px 0 0 0 #000;
  }
  #navbar-mainmenu > li.pushed:hover{
    height: 4.2rem;
  }

  #navbar-mainmenu > li.nav-projets:hover,
  #navbar-mainmenu > li.img-counter:hover{
    background: none;
    -webkit-transform: none;
    transform: none;
    box-shadow: 2px 0 0 0 #000 inset, 2px 0 0 0 #000;
    height: auto;
  }

  #navbar-mainmenu > li.nav-projets:hover,
  #navbar-mainmenu > li.img-counter:hover{
    cursor: default;
  }

  #navbar-mainmenu > li.nav-projets *{
    cursor: pointer;
  }

  #navbar-categories > li:hover{
    cursor: pointer;
  }

}

#navbar-mainmenu > li.pushed{
  background: #000;
  color: #f2f2f2;
}


/* 2e niveau */

.navbar-menu > li > ul{
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  background: #f2f2f2;
  color: #000;
  width: 100%;
  text-align: center;
  box-shadow: 2px 2px 0 0 #000 inset, 2px 0 0 0 #000;
}

#navbar-categories > li > ul{
  left: -2px;
}

.navbar-menu > li:hover ul{
  display: block;
}

.navbar-menu > li > ul > li:not(:last-child){
  width: 100%;
  box-shadow: 0 -2px 0 0 #000 inset;
}

.navbar-menu > li > ul > li.pushed,
.navbar-menu > li > ul > li.pushed a{
  display: block;
  background: #000;
  color: #f2f2f2;
}
@media (min-width: 768px){
  .navbar-menu > li > ul > li:hover,
  .navbar-menu > li > ul > li:hover a{
    display: block;
    background: #000;
    color: #f2f2f2;
  }
}


/* Barre de texte + Loading bar */

.navbar-texte{
  text-align: center;
  overflow: hidden;
}

.dot1{
  -webkit-animation: blinkone 1s step-start 0s infinite;
  animation: blinkone 1s step-start 0s infinite;
}
.dot2{
  -webkit-animation: blinktwo 1s step-start 0s infinite;
  animation: blinktwo 1s step-start 0s infinite;
}
.dot3{
  -webkit-animation: blinkthree 1s step-start 0s infinite;
  animation: blinkthree 1s step-start 0s infinite;
}

@keyframes blinkone{
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@keyframes blinktwo{
  25% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
}
@keyframes blinkthree{
  25% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
}

.loading-bar{
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #000;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}

.loading-counter{
  display: none;
}


/* Boutons */

.navbar-buttons,
.navbar-galerie.galerie-visible{
  float: right;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.navbar-button{
  position: relative;
  width: 3.7rem;
  box-shadow: -2px 0 0 0 #000 inset, -2px 0 0 0 #000;
}

@media (min-width: 768px){
  .navbar-button:hover{
    cursor: pointer;
    box-shadow: -2px 2px 0 0 #000 inset, -2px 0 0 0 #000;
    background-color: #f2f2f2;
  }
}

.button-move{
  background: url('images/icon-arrow-b.svg') no-repeat;
  background-size: 40%;
  background-position: 45% center;
}
.button-move.pushed{
  background: url('images/icon-arrow-w.svg') #000 no-repeat;
  background-size: 40%;
  background-position: 45% center;
}
.button-paint{
  background: url('images/icon-paint-b.svg') no-repeat;
  background-size: 70%;
  background-position: 40% center;
}
.button-paint.pushed{
  background: url('images/icon-paint-w.svg') #000 no-repeat;
  background-size: 70%;
  background-position: 40% center;
}
.button-paint:active{
  background-size: 65%;
}
.button-mask{
  background: url('images/icon-mask-b.svg') no-repeat;
  background-size: 68%;
  background-position: 40% center;
}
.button-mask.pushed{
  background: url('images/icon-mask-w.svg') #000 no-repeat;
  background-size: 68%;
  background-position: 40% center;
}
.button-trash{
  background: url('images/icon-trash-b.svg') no-repeat;
  background-size: 55%;
  background-position: 40% center;
}
.button-trash.pushed{
  background: url('images/icon-trash-w.svg') #000 no-repeat;
  background-size: 55%;
  background-position: 40% center;
}
.button-close{
  background: url('images/icon-close-b.svg') no-repeat;
  background-size: 50%;
  background-position: 45% center;
}
.button-close.pushed{
  background: url('images/icon-close-w.svg') #000 no-repeat;
  background-size: 50%;
  background-position: 45% center;
}
.button-prev{
  background: url('images/icon-prev-b.svg') no-repeat;
  background-size: 35%;
  background-position: 45% center;
}
.button-prev.pushed{
  background: url('images/icon-prev-w.svg') #000 no-repeat;
  background-size: 35%;
  background-position: 45% center;
}
.button-prev:active{
  background-size: 30%;
}
.button-next{
  background: url('images/icon-next-b.svg') no-repeat;
  background-size: 35%;
  background-position: 45% center;
}
.button-next.pushed{
  background: url('images/icon-next-w.svg') #000 no-repeat;
  background-size: 35%;
  background-position: 45% center;
}
.button-next:active{
  background-size: 30%;
}

.button-prev,
.button-next{
  width: 5.2rem;
}

.button-lien{
  padding: 0.2em 0.3em;
}

.navbar-index,
.navbar-infos{
  float: right;
}

#close-index,
#close-infos,
#close-galerie{
  float: right;
}


/* ----------------------------- */
/* LOADING PAGE
/* ----------------------------- */

.loading-page{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  padding: 26px;
  visibility: hidden;
  overflow: hidden;
  z-index: 50;
  -webkit-transform: translateY(-100vh);
  transform: translateY(-100vh);
  -webkit-transition: transform 0.5s ease, visibility 0.5s;
  transition: transform 0.5s ease, visibility 0.5s;
}

.loading-page .loading-text{
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 26px;
}

.loading-page.no-transition{
  -webkit-transition: none;
  transition: none;
}

.loading-visible{
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.loading-image{
  max-width: 100%;
  height: 0;
  overflow: hidden;
  -webkit-transition: height 0.1s ease;
  transition: height 0.1s ease;
}

.loading-image.portrait{
  width: 300px;
}
.loading-image.paysage{
  width: 450px;
}

.loading-page img{
  width: 100%;
}

#loading-cursor{
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  white-space: nowrap;
  text-shadow: 0.5px 0 0.5px #f2f2f2, -0.5px 0 0.5px #f2f2f2, 0 0.5px 0.5px #f2f2f2, 0 -0.5px 0.5px #f2f2f2, 0.5px 0.5px 1px #000;
}


/* ----------------------------- */
/* RENDU IMAGES
/* ----------------------------- */

/* Chrome */
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) {

  .loading-image img,
  .projet-image img,
  .galerie img{
    image-rendering: -webkit-optimize-contrast;
  }

}


/* ----------------------------- */
/* EXTRAITS PROJETS
/* ----------------------------- */

.projet-extrait{
  -webkit-transition: opacity 0.5s ease, visibility 0.3s;
  transition: opacity 0.5s ease, visibility 0.3s;
  margin-bottom: 4.6rem;
}

.projet-extrait:last-of-type{
  margin-bottom: 0;
}

.extrait-image{
  background-size: 0%;
}

.extrait-image,
.extrait-categorie{
  -webkit-transition: transform 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045);
  transition: transform 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.projet-extrait.align-left{
  margin-right: auto;
}
.projet-extrait.align-right{
  margin-left: auto;
}
.projet-extrait.align-center{
  margin-left: auto;
  margin-right: auto;
}

.projet-extrait.trashed{
  visibility: hidden;
}

.projet-extrait.trashed .extrait-image,
.projet-extrait.trashed .extrait-categorie{
  -webkit-transform: scale(0) rotate(10deg);
  transform: scale(0) rotate(10deg);
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

.extrait-categorie{
  margin-bottom: 1em;
}

.projet-image a{
  display: block;
}

.extrait-image img{
  width: 100%;
}

.projet-extrait .extrait-image:hover,
.projet-index:hover{
  cursor: pointer;
}

.projet-extrait.draggable .extrait-image:hover,
.projet-extrait.draggable a:hover{
  cursor: url('images/cursor-arrow-b.png'), move;
}

.projet-extrait.trashable .extrait-image:hover,
.projet-extrait.trashable a:hover{
  cursor: url('images/cursor-trash-b-open.png'), not-allowed;
}


/* ----------------------------- */
/* INDEX
/* ----------------------------- */

.projet-index{
  display: block;
  float: left;
  padding: 0 13px;
  margin-bottom: 26px;
}

@media (min-width: 1160px){
  .projet-index{
    width: 33.33%;
  }
  .projet-index:nth-of-type(3n+1){
    clear: both;
  }
}

@media (min-width: 768px) and (max-width: 1159px){
  .projet-index{
    width: 50%;
  }
  .projet-index:nth-of-type(2n+1){
    clear: both;
  }
}
@media (min-width: 320px) and (max-width: 767px){
  .projet-index{
    width: 100%;
    clear: both;
  }
}

.projet-index-hidden{
  display: none;
}

.index-image{
  float: left;
  width: 60%;
  padding-right: 13px;
}

.index-image img{
  width: 100%;
}

.index-textes{
  float: right;
  width: 40%;
  padding-left: 13px;
}

.index-categorie{
  margin-bottom: 1.2em;
}

.projet-index .projet-photographe,
.projet-index .projet-annee{
  display: none;
}


/* ----------------------------- */
/* INFOS
/* ----------------------------- */

.page-3col{
  float: left;
  position: relative;
  top: -3px;
  padding: 0 13px;
  margin-bottom: 1.2em;
}
@media (min-width: 1024px){
  .page-3col{
    width: 33.33%;
  }
}
@media (max-width: 1023px){
  .page-3col{
    width: 100%;
    max-width: 50rem;
  }
}

.page-3col p + p{
  margin-top: 0.6em;
}


/* ----------------------------- */
/* GALERIE
/* ----------------------------- */

.galerie section{
  padding: 0;
  margin: 0;
  width: 100vw;
}

.slide-simple img,
.slide-double img,
.slide-x4 img{
  display: block;
}

.slide-simple img{
  width: 100%;
}

.slide-video,
.slide-capture{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100vh - 3.7rem);
  height: calc(var(--vh, 1vh) * 100 - 3.7rem);
}

.slide-video video{
  min-width: 100%; 
  min-height: 100%; 
  width: auto; 
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}

.slide-capture a{
  display: block;
}

.slide-capture video{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  box-shadow: 0px 5px 40px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

.slide-capture-inner{
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.slider-controls{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 3.7rem);
  height: calc(var(--vh, 1vh) * 100 - 3.7rem);
  z-index: 100;
}
.slider-prev,
.slider-next{
  float: left;
  width: 50%;
  height: 100%;
}
.slider-prev:hover{
  cursor: url('images/cursor-prev.png'), w-resize;
}
.slider-next:hover{
  cursor: url('images/cursor-next.png'), e-resize;
}



/* ----------------------------- */
/* RESPONSIVE : DESKTOP
/* ----------------------------- */

@media (min-width: 768px){

.galerie section{
  float: left;
  height: 100%;
}

.slide-simple img{
  height: calc(100vh - 3.7rem);
  height: calc(var(--vh, 1vh) * 100 - 3.7rem);
  object-fit: cover;
  overflow: hidden;
}

.slide-double img{
  float: left;
  width: 50%;
  height: calc(100vh - 3.7rem);
  height: calc(var(--vh, 1vh) * 100 - 3.7rem);
  object-fit: cover;
  overflow: hidden;
}

.slide-x4 img{
  float: left;
  width: 50%;
  height: calc( (100vh - 3.7rem) / 2 );
  height: calc( (var(--vh, 1vh) * 100 - 3.7rem) / 2 );
  object-fit: cover;
  overflow: hidden;
}

.slide-capture video{
  width: 70%;
}

}



/* ----------------------------- */
/* RESPONSIVE : MOBILE
/* ----------------------------- */

@media (max-width: 767px){

.button-home,
.button-index,
.nav-projets,
.img-counter,
.button-move,
.button-trash,
.button-prev,
.button-next,
.slider-controls{
  display: none !important;
}

.projet-extrait{
  width: 100% !important;
}

.galerie{
  overflow: auto;
}

.slide-capture video{
  width: 85%;
}

.projet-extrait{
  margin-bottom: 3rem;
}

.index,
.infos{
  padding: 12px 6px 0 6px;
}

.projets,
.loading-page,
.loading-page .loading-text,
.page404{
  padding: 12px;
}

.page-3col{
  padding: 0 6px;
}

.projet-galerie img{
  padding: 12px 12px 0 12px;
}

.projet-galerie section:last-child img:last-child{
  padding: 12px;
}

section + .slide-capture{
  margin-top: 12px;
}

}


/* ----------------------------- */
/* RESPONSIVE : 1920+
/* ----------------------------- */

@media (min-width: 1920px){

html {
  font-size: 80%;
  font-size: calc(1em * 0.80);
}

}


/* ----------------------------- */
/* RESPONSIVE : 1600+
/* ----------------------------- */

@media (min-width: 1600px) and (max-width: 1919px){

html {
  font-size: 76%;
  font-size: calc(1em * 0.76);
}

}


/* ----------------------------- */
/* RESPONSIVE : 1440+
/* ----------------------------- */

@media (min-width: 1440px) and (max-width: 1599px){

html {
  font-size: 74%;
  font-size: calc(1em * 0.74);
}

}


/* ----------------------------- */
/* RESPONSIVE : 768+
/* ----------------------------- */

@media (min-width: 768px) and (max-width: 1439px){

html {
  font-size: 72%;
  font-size: calc(1em * 0.72);
}

}


/* ----------------------------- */
/* RESPONSIVE : 500+
/* ----------------------------- */

@media (min-width: 500px) and (max-width: 767px){

html {
  font-size: 74%;
  font-size: calc(1em * 0.74);
}

}

/* ----------------------------- */
/* RESPONSIVE : 320+
/* ----------------------------- */

@media (min-width: 320px) and (max-width: 599px){

html {
  font-size: 68%;
  font-size: calc(1em * 0.68);
}

}

/* ----------------------------- */
/* RESPONSIVE : 0+
/* ----------------------------- */

@media (max-width: 319px){

html {
  font-size: 60%;
  font-size: calc(1em * 0.60);
}

}