@import url("fonts/fonts.css");
* {
  --gris: rgb(215, 215, 215);
  --plan: rgb(245, 245, 245);
  --rouge: rgb(227, 22, 19);
  --rouge: rgb(255, 51, 36);
  --pastel: rgba(63, 178, 69, 0.24);
  --pastelSolid: rgb(213,242,220);
  --vert: rgba(42, 191, 79, 1);
  --textcolor: rgb(20, 20, 20);
  --headerText: 24px;
  --bodyText: 18px;
  --notes: 13px;
  text-rendering: optimizeLegibility !important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  --timer: 0.3s;
}

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.2;
  font-size: var(--bodyText);
  color: var( --textcolor);
  font-family: "National 2", sans-serif;
  font-weight: 500;
  text-rendering: optimizeLegibility !important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body.projets {
  background-color: var(--vert);
}

h4 {
  font-style: italic;
  font-family: "National 2", sans-serif;
  font-weight: 501;
  margin-bottom: 1em;
}

em {
  font-style: italic;
  font-weight: 501;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

sup {
  font-size: 60%;
  vertical-align: text-top;
}

a, a:visited {
  color: inherit
}

#siteName a {
  text-decoration: none;
}

nav#menu {
  width: 100%;
  height: auto;
  position: fixed;
  top: 0px;
  z-index: 2;
  text-align: center;
  display: flex;
  justify-content: space-between;
  /*   padding: 0.5em 0; */
  /*   background-image: linear-gradient(to top, rgba(255,0,0,0), rgba(63, 178, 69, 1)); /* Standard syntax (must be last) */
  */
}

nav#menu #menuWrapper {
/*   flex: 1 0 50%; */
  width: 50%;
  padding-top: 0.5em;
  max-width: 450px;
}

nav#menu #listeFiltres {
  flex: 1 1 66%;
  padding: 0.5em 100px 0;
}

#menu ul#mainMenu li#newsButton, .index-projets #menu ul#mainMenu li#newsButton {
  display: none;
  cursor: pointer;
}

body.tpl-default nav#menu #menuWrapper {
  background-image: linear-gradient(to top, rgba(215, 215, 215, 0), rgba(215, 215, 215, 1) 70%);
}

body.projets.ajax nav#menu #menuWrapper {
  background: transparent !important;
}



body.projets nav#menu #listeFiltres {
  background-image: linear-gradient(to top, rgba(42, 191, 79, 0), rgba(42, 191, 79, 1) 70%);
}

#menu ul#mainMenu li {
  display: inline-block;
  padding: 0 3px;
}

#menu ul#mainMenu a {
  text-decoration: none;
}

#menu ul#mainMenu a:hover, #menu ul#mainMenu a.active, body.index-projets #index-projets {
  border-bottom: 2px var( --textcolor) solid;
}

.activemenu {
  border-bottom: 2px var( --textcolor) solid;
}

#menu .active {
  /*   pointer-events: none */
}

.ajax #menu .active {
  pointer-events: auto
}

#menu ul#mainMenu li:hover {}

.menuSpacer {
  min-height: 120px;
}

nav button {
  opacity: 0;
  position: fixed;
  top: 0px;
  left: 0px;
  cursor: help;
}

#actualites {
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: 450px;
  width: 450px;
  top: 0px;
  left: 0px;
  height: 100vh;
  z-index: 1;
  background: var(--gris);
  max-width: 50%;
}

#actualites ul {
  padding: 0px 30px 0;
  background: var(--gris);
  position: fixed;
  width: inherit;
  max-width: inherit;
  text-align: center;
}

#actualites li {
  margin-bottom: 2.5em;
}

#actualites a {
  text-decoration: none;
  border-bottom: dotted #fff 2px
}

#actualites a:hover {
  border-bottom: dotted rgba(0, 0, 0, 1) 2px;
}

.projets #lesprojets {
	width: calc(100vw - 450px);
}

.transverses#lesprojets {
  display: flex;
  flex-direction: column;
}

.transverses#lesprojets>ul {
  flex: 1 1 auto;
}

#listeTransverses {
  background-color: var(--rouge);
  min-height: 0px !important;
}

#listeTransverses li {
  padding-top: 40px !important;
}

.projets.hideNews #lesprojets {
  width: 100%;
  max-width: 100%;
  transition-duration: 0.5s;
  transition-property: width, max-width;
}

.tpl-default.hideNews #actualites {
  display: block;
}

#page {
  display: flex;
}

.agence #contentDefault img {
  filter: grayscale(100) brightness(0.95);
  transition-property: filter opacity;
  transition-duration: 0.3s;
  transition-delay: 0s;
  opacity: 0;
}

.agence #contentDefault img.lazyloaded {
  opacity: 1;
}

.agence #contentDefault img:hover {
  filter: grayscale(0);
}

#texteProjet {
  flex: 0 1 50%;
  background: var(--gris);
  top: 0px;
  z-index: 2;
  text-align: center;
  position: relative;
  max-width: 450px;
}

.newsItem h3, .agence section:first-of-type h3 {
  margin: 0em 0 1em;
}

.newsItem figure {
  background: var(--gris);
  padding: 0px;
  display: inline-block;
  margin: 1em 0 0;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  transition-property: background-color;
}

/* .newsItem figure:hover {
  background-color: #fff;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  transition-property: background-color;
} */

.newsItem img {
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  max-width: 100%;
  width: auto;
  max-height: 190px;
  display: block;
/*
  transition-duration: 0.3s;
  transition-property: opacity;
  transition-delay: 0.5s;
  opacity: 0;
 */
}

.newsItem img.lazyloaded {
  opacity: 0.9;
}

.newsItem img.portrait {
  max-width: 230px;
  max-height: 100%;
  height: auto !important;
}

/* .newsItem img:hover {
  filter: none;
  transition-duration: 0.2s;
  transition-property: filter;
  transition-timing-function: ease-in-out;
} */

#projectContainer {
  display: flex;
}

#projectContainer.gauche {
  flex-direction: row-reverse;
}

#lesprojets {
  background-color: var(--vert);
}

#imagesProjet, #contentDefault {
  flex: 1 1 50%;
  padding: 0 40px 40px;
  z-index: 0;
}

#lesprojets {
  flex: 1 0 50%;
  padding: 0 40px;
}

#imagesProjetWrapper {
  position: relative;
  min-height: 100vh;
  /*   padding-bottom: 10em; */
}

#lesprojets ul {
  /*
  display: flex;
  flex-wrap: wrap;
 */
  padding: 0 0px 50px;
}

#lesprojets li {
  text-align: center;
  /*   flex: 1 1 50%; */
  width: 50%;
  margin: 0px 0 50px;
  padding: 0 40px;
  height: 30vw;
  /*
  display: flex;
  justify-content: center;
  align-items: center;
 */
}

.transverses#lesprojets li {
  /* width: 100%; */
}

.count, .selected::after {
  border: 1px solid;
  margin: 0px -2px 0 5px;
  border-radius: 2em;
  font-size: 60%;
  height: 1.5em;
  min-width: 1.5em;
  display: inline-block;
  line-height: 1.4em;
  text-align: center;
  font-family: "National 2", sans-serif;
  font-weight: 500;
  box-sizing: border-box;
  padding: 0px 4px;
  top: -2px;
  position: relative;
}

.tpl-index-projets #listeFiltres li:hover span, .selected {
  color: var(--vert);
}

.tpl-default #noFilter.selected {
  color: #fff;
}


.selected:hover {
  text-decoration: line-through;
}

#noFilter.selected:hover {
  text-decoration: none;
}

#noFilter .count{
	margin: 0 2px 0 5px;
}


#lesprojets li>a {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  text-decoration: none;
}

.titreProjet {
  width: 100%;
  text-align: center;
  flex: 0 1 1em;
  height: auto;
  opacity: 0;
  transition-property: opacity;
  transition-delay: 1.5s;
  transition-delay: 0.3s;
}

.titreProjet.lazyloaded {
  opacity: 1;
}

.imgContainer {
  height: calc(100% - 2em);
  width: 100%;
  margin-top: 1em;
  background: var(--vert);
  flex: 0 1 50%;
}

.transverse.thematiques-transversales{
  background-color: var(--vert);
}

.transverse .imgContainer {
  flex-wrap: wrap;
  mix-blend-mode: multiply;
  background-color: transparent;
  flex: 0 1 100%;
}

.transverse .imgContainer:hover {
  mix-blend-mode: normal;
}

.transverse .imgContainer img {
  flex: 1 1 50%;
  display: block;
  height: auto;
  width: auto;
  max-height: 100%;
  max-width: 100%;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.15);
}

.thematiques-transversales figure{
  position: relative;
  height: 100%;
  width: 100%;
  display: inline-block;
}
.duoTitle p{
  display: inline-block;
}

#listeTransverses .imgContainer {
  background: var(--rouge);
}

.imgContainer img, .imgContainer video {
  max-width: 100%;
  max-height: calc(30vw - 2em);
  width: auto;
  /*  height: auto; */
  filter: grayscale(100) opacity(0.94);
}

.imgContainer video {
  height: 100% !important;
  width: 100%;
  /* background-color: var(--vert); */
}

.imgContainer span {
  display: flex;
  /* margin-bottom: -1px; */
  justify-content: center;
}

.imgContainer figure {
  /* display: inline-flex; */
  transition: background-color 0.2s;
}

.imgContainer img, .imgContainer video {
  transition-duration: 1s;
  transition-property: opacity;
  transition-delay: 0.3s;
}

.imgContainer .lazyload {
  opacity: 0
}

.imgContainer .lazyloaded {
  opacity: 1
}



.mediaWrapper {
  mix-blend-mode: multiply;
}



.transverse .imgContainer span{
  width: 55%;
  height: 55%;
  position: absolute;
  display: block;
  max-height: 100%;
  mix-blend-mode: normal;
}

.transverse .imgContainer span.portrait{

}

.transverse .imgContainer span:nth-child(2){
  right: 0px;
  top: 45%;
  transform: translateY(-50%);
}

.transverse .imgContainer span:nth-child(3){
  text-align: right;
}

.transverse .imgContainer span:nth-child(3) img{
  position: absolute;
  bottom: 0px;
}
.transverse .imgContainer span:nth-child(1){
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px;
}

.transverse .imgContainer span:nth-child(1) figure{
    text-align: center;
}

.transverse .imgContainer span:nth-child(1) figure img{
    display: inline-block;
}


@media only screen and (min-width: 1024px){
	#lesprojets li>a:hover span {
	  transition: background-color 0.2s;
	}

	#lesprojets li:hover .mediaWrapper {
	  mix-blend-mode: normal;
	}

	#lesprojets li:hover img, #lesprojets li:hover video {
	  filter: grayscale(0);
	}
}


#projetTarget {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
}

#projetTarget, #projectContainer {
  background: #fff;
  width: 100%;
  min-height: 100vh;
  z-index: 1;
}

/* FILTRES */

#listeFiltres ul {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#listeFiltres li {
  text-align: left;
  display: inline-block;
  width: auto;
  padding: 0 3px;
  margin: 0;
  flex: none;
  cursor: pointer;
}

#listeFiltres li>span {
  transition: color 0.3s;
}

#listeFiltres li:after {
  content: ",";
}

#listeFiltres li#noFilter:after {
	border: 0;
	margin: 0px;
	font-size: initial;
	height: initial;
	min-width: initial;
	display: inline-block;
	line-height: initial;
	text-align: center;
	font-family: "National 2", sans-serif;
	font-weight: 500;
	box-sizing: border-box;
	padding: initial;
	top: initial;
	position: relative;
}


#listeFiltres li:last-of-type::after {
  content: "";
}

.projets #listeFiltres span.selected, .projets #listeFiltres span:hover {
  color: white;
}

/* TEMPLATE PROJET */


.imageGrid{
	margin-bottom: 30px;
}

.gridImages{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px;
}

.rowTitle{
	margin-bottom: 1em;
}
.gridImages figure{
	margin-bottom: 1em !important;
}

.gridImages figure{
  padding: 0 5px;
}
.gridImages figure img{
	width: 100%;
/*
	padding: 0 5px;
	flex: 0 0 90%;
 */
	height: auto;
	margin-bottom: 1.2em;
}

.gridImages figcaption{
	font-size: var(--notes);
	margin: 0.5em 0 0 0 !important;
	text-align: left !important;
/*
	padding: 0 5px;
	flex: 0 0 10%;
 */
	height: 1.2em;
	overflow: hidden;
	text-overflow: ellipsis;
	position: absolute;
	bottom: 0em;
}

.videoFigure {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  transition-delay: 1s;
}

.videoFigure.lazyloaded {
  opacity: 1;
}

#projectTitle {
  flex: 0 1 50%;
  max-width: 450px;
  padding: 9px 30px 57px;
  background: linear-gradient(to top, rgba(215, 215, 215, 0), var(--gris) 70%);
}

#texteLong {
  text-align: left;
  padding-bottom: 2em;
  padding-top: 130px;
}

#texteProjet #texteProjetWrapperWrapper {
  position: fixed;
  background: var(--gris);
  height: 100vh;
  overflow: hidden;
  padding: 0px 30px 0;
}

.gauche #texteProjet #texteProjetWrapperWrapper {
  position: relative;
}

#texteProjet.false>div, #texteProjet.false>div figure {
  background: #fff;
}

#texteProjet h2 {
  padding: 0.5em 30px 0;
  min-height: 110px;
  position: fixed;
  max-width: inherit;
  width: inherit;
  z-index: 2;
  text-align: center;
  background-image: linear-gradient(to top, rgba(215, 215, 215, 0), var(--gris) 68.49%);
}

#texteProjet h2 span {}

#texteProjet.false h2 {
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 68.49%);
}

.gauche #texteProjet h2 {
  margin: 110px 0 1em;
  min-height: 0px;
}

#texteProjet p {
  margin-bottom: 1em;
}

#texteProjet table p {
  margin-bottom: 0em;
}

#texteProjet figure {
  margin-bottom: 1em;
}

#texteProjet li::before, #indexProjets span li::before {
  content: "·";
  display: inline-block;
  width: 0.4em;
  margin-left: -0.4em;
}
#texteProjet table a[download]{
	width: 100%;
	display: inline-block;
	position: relative;
	overflow: hidden;
	vertical-align: text-bottom;
}

@keyframes DL{
  0%{
  	margin-top: 0px;
  	opacity: 1;
  }

  50% {
  	margin-top: 20px;
    opacity: 1;
  }

  51% {
    margin-top: 20px;
    opacity: 0;
  }

  52%{
  	margin-top: -20px;
    opacity: 0;
  }

  100% {
    margin-top: 0px;
    opacity: 1;
  }
}

#texteProjet table a[download]::after{
	content:	url("data:image/svg+xml,%3Csvg version='1.1' id='Calque_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 4976.8 6262' style='enable-background:new 0 0 4976.8 6262;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23272425;%7D%0A%3C/style%3E%3Cpolygon id='XMLID_11_' class='st0' points='3273,5619.2 4976.8,3052.7 3918.5,3052.7 3197.9,4272 3197.9,605.4 2274.6,605.4 2274.6,4272 1554,3052.7 495.8,3052.7 2199.5,5619.2 '/%3E%3C/svg%3E");
	display: inline-block;
	width: 0.7em;
	vertical-align: baseline;
	padding-left: 0.2em;
	top: 0.1em;
	position: absolute;
	right: 0;
}

#texteProjet table a[download]:hover::after{
	animation: 1s DL ease-in-out;
	animation-iteration-count: 1;
}

#texteProjet ul, #texteProjet ol {
  margin-bottom: 1em;
}

#texteProjet li {
  margin: 0 0 0.5em 1em;
}

#texteProjet table ul, #texteProjet table li {
  margin: 0;
}

#texteProjet figcaption {
  text-align: center;
  font-size: var(--notes);
  margin-top: 0.8em;
}

#texteProjet figure {
  padding: 0 20px;
  background-color: var(--gris);
}

#texteProjet figure:hover {}

#texteProjet figure:hover img {
  filter: none;
  mix-blend-mode: initial;
}

#texteProjet figure>span {
  background-color: transparent;
  transition: background 0.5s;
}

#texteProjet figure:hover>span {
  background: #fff;
}

#texteProjet figure.portrait {
  padding: 0 40px;
}

#texteProjet img {
  filter: grayscale(100%) opacity(0.85);
  mix-blend-mode: multiply;
  width: 100%;
  opacity: 0;
  transition-delay: 0.7s;
  transition-duration: 0.5s;
  transition-property: opacity;
  display: block;
}

#texteProjet img.lazyloaded {
  opacity: 1;
}

.topOffset {
  height: 150px;
}

#texteProjetWrapper section table a, .ficheFilter {
  cursor: pointer;
  text-decoration: none;
}

#texteProjetWrapper section table a:hover, .ficheFilter:hover {
  opacity: 0.7
}

#imagesProjet {
  max-height: 100vh;
}

#gradientMask {
  width: 100%;
  background: linear-gradient(#fff 15%, rgba(255, 255, 255, 0));
  position: fixed;
  top: 0px;
  left: 0px;
  height: 87px;
  z-index: 1;
  max-width: inherit;
}

#imagesProjet figure {
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.imageProjet {
  max-width: 100%;
  display: block;
  width: 100% !important;
  height: auto;
  position: relative;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  transition-property: filter, opacity;
  -webkit-transition-property: filter, opacity;
  transition-delay: 0.5s;
  -webkit-transition-delay: 0.5s;
  opacity: 0;
}

.imageProjet:first-of-type {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

figure.portrait {
  text-align: center;
}

figure.portrait .imageProjet {
  /*
	max-height: 90vh;
	width: auto !important;
*/
}

.imageProjet.lazyload {
  opacity: 0;
}

.imageProjet.lazyloaded {
  opacity: 1;
}

#imagesProjet figcaption {
  text-align: center;
  display: block;
  width: 100%;
  margin-top: 18px;
}

.ajax #listeFiltres {
  display: none;
}

table {
  margin: 1em 0 2em 0;
}

table tr td:first-of-type {
  border-top: 1px solid #000;
  width: 32%;
  padding: 0.3em 0.3em 0.3em 0em;
}

table tr:first-of-type td {
  border-top: 1px solid #000;
}

table td {
  border-bottom: 1px solid #000;
  padding: 0em 0 0.35em 0.25em;
}

.nextProjectText {
  display: none;
}

.nextProjectText a {
  text-decoration: none;
}

.nextProject.theEnd {
  padding-bottom: 2em;
}

.nextProject {
  padding: 2em 40px 0;
  text-align: center;
  max-height: 360px;
  overflow: hidden;
  background: var(--vert);
  margin: 2em -40px 0;
  width: calc(100% + 80px);
  position: absolute;
  transition-duration: 0.3s;
  transition-delay: 1s;
  transition-property: opacity;
}

.nextProject a {
  text-decoration: none;
}

.nextProject.lazyload, .lazyload .nextProjectLink, .lazyload .nextProjectImage {
  opacity: 0;
}

.nextProject.lazyloaded, .lazyloaded .nextProjectLink, .lazyloaded .nextProjectImage {
  opacity: 1;
}

.nextProjectLink, .nextProjectImage {
  transition-duration: 0.3s;
  transition-property: opacity;
}

.nextProjectLink {
  transition-delay: 1.5s;
}

.nextProjectImage {
  transition-delay: 2s;
  mix-blend-mode: multiply;
  filter: grayscale(100);
  margin-bottom: -10px;
}

.nextProjectImage img {
  width: 100%;
  margin-top: 2em;
  filter: grayscale(100);
  mix-blend-mode: multiply;
}

/* INDEX */

#indexProjets {
  width: 100%;
  font-size: var(--notes);
}

#indexProjets>ul {
  display: flex;
  flex-direction: column;
}

#indexProjets>ul>li, #sorts {
  flex: 1 1 50%;
  display: flex;
  flex-direction: row;
  width: 100%;
}

#sorts {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  background-color: #fff;
  z-index: 1;
  padding-top: 70px !important;
}

#indexProjets li.unlisted {
  color: #999;
}

#indexProjets li.listed {
  transition: background-color 0.3s;
}

#indexProjets li.listed:hover {
  background-color: var(--pastel);
  cursor: pointer;
}

#indexProjets li.listed a {
  text-decoration: none;
}

#sorts, #indexProjets>ul>li {
  border-bottom: 1px solid #666;
  min-height: 2em;
  line-height: 1.2em;
  padding: 0.7em 0;
}

#indexProjets>ul>li span, #sorts span {
  flex: 1 1 10%;
  padding-right: 1em;
}

#indexProjets>ul>li span.number {
  padding-right: 0em;
}

.smallCol {
  flex: 1 0 35px !important;
}

#sorts .toSort:hover {
  cursor: pointer;
}

#sorts span.is-sorting {
  font-family: "National 2", sans-serif;
  font-weight: 500;
}

#sorts span.is-sorting::after {
  content: url("data:image/svg+xml,%3Csvg version='1.1' id='Calque_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 23.5 20.7' style='enable-background:new 0 0 23.5 20.7;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23272425;%7D%0A%3C/style%3E%3Cpolygon id='XMLID_2_' class='st0' points='1.1,1.1 11.8,19.5 22.4,1.1 '/%3E%3C/svg%3E");
  height: 9px;
  width: 8px;
  /* overflow: hidden; */
  display: inline-block;
  position: absolute;
  margin-left: 3px;
}

#sorts span.is-sorting.is-checked::after {
  content: url("data:image/svg+xml,%3Csvg version='1.1' id='Calque_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 23.5 20.7' style='enable-background:new 0 0 23.5 20.7;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23272425;%7D%0A%3C/style%3E%3Cpolygon id='XMLID_2_' class='st0' points='22.4,19.5 11.8,1.1 1.1,19.5 '/%3E%3C/svg%3E%0A");
  height: 9px;
  width: 8px;
  /* overflow: hidden; */
  display: inline-block;
  position: absolute;
  margin-left: 3px;
}

span.inventaire, span.surface, span.date_livraison {
  font-feature-settings: "tnum";
}

span.surface, span[data-sort-value="surface"] {
  text-align: right;
}

span.date_livraison, span[data-sort-value="date_livraison"] {
  text-align: center;
}

/* Agence */

#contentDefault {
  max-width: 1100px;
}

.agence.tpl-default #contentDefault p{
  margin-bottom: 1em;
}

.cols {
  display: flex;
  justify-content: space-between
}

.cols>* {
  flex-basis: calc(50% - 10px);
  min-width: calc(50% - 10px) !important;
}

.cols>* img {
  max-width: 100%;
  margin: 1em 0;
}

h3 {
  margin: 1em 0;
  display: inline-block;
}

section h3 span, h3 span {
  border-bottom: 2px var( --textcolor) solid;
  line-height: 1.4em;
}

.agence table {
  width: 100%;
  font-feature-settings: "tnum";
}

.agence table tr td:first-of-type {
  width: 50%
}

#editButton a {
  position: fixed;
  text-decoration: none;
  top: 10px;
  right: 10px;
  z-index: 10;
  background-color: #000;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  padding: 2px 5px 4px;
}

#editButton a:hover {
  background-color: #fff;
  color: #000;
}

#splashScreen {
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 100;
  position: fixed;
  text-align: center;
}

#splashScreen svg {
  height: 100vh;
  max-width: 100%
}

.logoItem {
  opacity: 0;
}

/* ----error---- */
.errorText{
  color: var(--rouge);
}


.errorText p{
	padding-top: 0.5em;
	padding-bottom: 2em;
}

.errorText img{
	max-width: 100%;
}

.errorText figure{
	padding-bottom: 1em;
}

.errorBack{
  background-color: var(--rouge)!important;
}

@media only screen and (max-width: 720px) {
	.tpl-error #page{
		background-color: var(--rouge);
		height: 100vh;
		padding-top: 1.3em;
		text-align: center;
	}
	.errorText img{
		mix-blend-mode:multiply;
	}
	.errorText{
		color: #fff !important
	}

}

/* MAINTENANCE */

.tpl-maintenance #page{
	background-color: var(--vert);
	height: 100vh;
	text-align: center;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center
}

.tpl-maintenance #page main{
	flex: 0 0 50%
}


/* FADE IN */
@-webkit-keyframes fadeSequence {
	100% { opacity: 1; }
}

@keyframes fadeSequence {
	100% { opacity: 1; }
}





body .fadeEl{
	opacity: 0;
	-webkit-animation: fadeSequence var(--timer) forwards;
	-moz-animation: fadeSequence var(--timer) forwards;
	animation: fadeSequence var(--timer) forwards;
}



body .fadeEl0 {
	-webkit-animation-delay: 0s;
	-moz-animation-delay: 0s;
	animation-delay: 0s;

}

body .fadeEl1 {
	-webkit-animation-delay: var(--timer);
	-moz-animation-delay: var(--timer);
	animation-delay: var(--timer);

}
body .fadeEl2 {
	-webkit-animation-delay: calc(var(--timer) * 2);
	-moz-animation-delay: calc(var(--timer) * 2);
	animation-delay: calc(var(--timer) * 2);

}
body .fadeEl3 {
	-webkit-animation-delay: calc(var(--timer) * 3);
	-moz-animation-delay: calc(var(--timer) * 3);
	animation-delay: calc(var(--timer) * 3);

}

body .fadeEl4 {
	-webkit-animation-delay: calc(var(--timer) * 4);
	-moz-animation-delay: calc(var(--timer) * 4);
	animation-delay: calc(var(--timer) * 4);

}

body .fadeEl5 {
	-webkit-animation-delay: calc(var(--timer) * 5);
	-moz-animation-delay: calc(var(--timer) * 5);
	animation-delay: calc(var(--timer) * 5);

}

body .fadeEl6 {
	-webkit-animation-delay: calc(var(--timer) * 6);
	-moz-animation-delay: calc(var(--timer) * 6);
	animation-delay: calc(var(--timer) * 6);
}




@media only screen and (min-width: 2060px) {
  #listeProjets li {
    flex: 0 1 33%;
    width: 33%;
  }

  #listeProjets li.portrait img{
    width: auto;
    height: calc(24vw - 2em);
  }

  .imgContainer video {
    height: calc(24vw - 2em) !important;
    width: calc(24vw - 2em);
  }
}

@media only screen and (max-width: 1200px) {

nav#menu #listeFiltres {
padding: 0.5em 20px 0;
}


#listeProjets li {
    flex: 0 0 100%;
    width: 100%;
  }


}
@media only screen and (max-width: 1120px) {
  .cols{
    display: block;
  }

  .tableHeader{
    display: none;
  }
  body.agence section#presse > ul > li .tabs,
  body.agence section#presse > ul > li .tabs span,
  body.agence section#expositions > ul > li .tabs,
  body.agence section#expositions > ul > li .tabs span{
    display: block;
  }

  body.agence section > ul {
    border-bottom: 1px solid;
  }


  #presse ul li div span:nth-child(1),
  #expositions ul li div span:nth-child(1){
    margin-bottom: 0.5em;
  }


}


@media only screen and (max-width: 1024px) {


  nav#menu #listeFiltres {
  	display: none;
  }



  #contentDefault {
    max-width: 100%;
  }
  span.equipe, span[data-sort-value='equipe'], span.programme, span[data-sort-value='programme'] {
    display: none;
  }
}



@media only screen and (max-width: 720px) {

.gridImages figure{
  flex: 0 0 25% !important;
}

.gridImages figcaption{
  display: none !important;
}

.duoTitle{
  margin: 0 10px;
}

#lesprojets{
	max-width: 100%;
}

  #gradientMask {
    z-index: 3;
    transition: background 0.5s;
  }
  body.grayGradient #gradientMask {
    background: linear-gradient(rgba(215, 215, 215, 1) 15.97%, rgba(215, 215, 215, 0));
  }
  #presse li span:nth-child(3), #presse li span:nth-child(4), #expositions li span:nth-child(3), #expositions li span:nth-child(4) {
    display: none;
  }
  #projectTitle {
    position: relative;
    text-align: center;
    max-width: 100%;
    z-index: 100;
    display: block;
    background: transparent;
    padding: 0 10px 0;
  }
  #projectTitle h2 span {
    /* border-bottom: 2px solid; */
  }
  #projectTitle h2 span a {
    text-decoration: none;
  }
  body.tpl-projet nav#menu,
  body.tpl-transverse nav#menu{
    /* background-image: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 70%); */
    flex-direction: column;
  }


  body * {
    font-size: 5vw;
  }
  #texteProjet>div {
    padding: 0px 10px 0 !important;
  }
  #texteProjet h2 {
    display: none;
  }
  .nextProject {
    display: none;
  }
  #texteProjet .nextProjectText {
    display: block;
    background-color: var(--vert) !important;
    padding-top: 0.5em !important;
  }
  #texteProjet>.nextProjectText.theEnd {
    padding-bottom: 0.5em !important;
  }
  .nextProjectImageText img {
    opacity: 1 !important;
    margin: 0.5em 0 0em !important;
  }
  #texteLong {
    padding-top: 0px
  }
  .imgContainer img, .imgContainer video {
    max-height: calc(80vw);
  }
  .projets #lesprojets {
    padding: 0 10px;
  }
  span.surface, span[data-sort-value='surface'], span.moa, span[data-sort-value='moa'], span.lieu, span[data-sort-value='lieu'] {
    display: none;
  }
  .smallCol {
    flex: 0 0 3em !important;
  }
  #listeProjets li {
    flex: 0 1 100%;
    width: 100%;
  }
  .cols {
    display: block;
  }
  #projectContainer {
    flex-direction: column;
  }
  #imagesProjet {
    max-height: inherit;
  }
  #imagesProjetWrapper {
    padding-bottom: 0em;
  }
  #texteProjet {
    max-width: 100%;
  }
  #texteProjet #texteProjetWrapperWrapper {
    position: relative;
    height: auto;
  }
  nav#menu #listeFiltres {
    display: none;
  }
  nav#menu #menuWrapper {
    max-width: 100%;
    flex: 1 1 100%
  }
  #lesprojets li {
    height: 80vw;
    height: calc(80vw + 2em);
  }
  .tpl-default #menu ul#mainMenu li#newsButton {
    display: inline-block;
  }
  .hideNews.tpl-default #menu ul#mainMenu li#newsButton {
    display: inline-block;
    border-bottom: 2px solid;
  }
  .hideNews #menu ul#mainMenu li a {
    border-bottom: 0px solid;
  }
  #lesprojets, #imagesProjet, #contentDefault {
    flex: 1 1 100%;
    padding: 0 10px;
  }
  #lesprojets li {
    margin: 0px 0 20px;
    padding: 0 10px;
  }
  #actualites {
    display: none;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
  #actualites ul {
    padding: 0 18px;
  }
  .showNews #actualites {
    display: block;
  }
}

@media only screen and (max-width: 720px) {
  #stickyGradient {
    height: 50px;
    z-index: 100;
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    width: 100%;
    background-image: linear-gradient(to top, rgba(215, 215, 215, 0), var(--gris) 68.49%);
  }
  #colorGradient {}
  .tpl-projet #menuWrapper,
  .tpl-transverse #menuWrapper{
    width: 100% !important;
    transition-duration: 0.3s;
    transition-property: margin-top;
    transition-delay: 0.1s;
  }
  .tpl-projet #mainMenu, .tpl-projet #siteName,
  .tpl-transverse #mainMenu, .tpl-transverse #siteName{
    transition-duration: 0.3s;
    transition-property: opacity;
    transition-delay: 0.1s;
    transition-timing-function: ease-in-out;
  }
  .tpl-projet.scrollDown #menuWrapper,
  .tpl-transverse.scrollDown #menuWrapper{
    margin-top: -2.5em;
  }
  .tpl-projet.scrollDown #menuWrapper:hover,
  .tpl-transverse.scrollDown #menuWrapper:hover{
    margin-top: 0em;
  }
  .tpl-projet.scrollDown #mainMenu, .tpl-projet.scrollDown #siteName,
  .tpl-transverse.scrollDown #mainMenu, .tpl-transverse.scrollDown #siteName{
    opacity: 0;
  }
  .tpl-projet.scrollDown #menuWrapper:hover #mainMenu, .tpl-projet.scrollDown #menuWrapper:hover #siteName,
  .tpl-transverse.scrollDown #menuWrapper:hover #mainMenu, .tpl-transverse.scrollDown #menuWrapper:hover #siteName{
    opacity: 1;
  }
  .rowCat {
    display: none;
  }
  body.projets nav#menu #menuWrapper {
    background-image: linear-gradient(to top, rgba(42, 191, 79, 0), rgba(42, 191, 79, 1) 50%);
    padding-bottom: 40px;
  }
  body.projets.hideNews nav#menu #menuWrapper, body.agence.hideNews nav#menu #menuWrapper {
    background-image: linear-gradient(to top, rgba(215, 215, 215, 0), rgba(215, 215, 215, 1) 50%);
    padding-bottom: 40px;
  }
  body.agence nav#menu #menuWrapper {
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
    padding-bottom: 40px;
  }
  span.statut_livraison, span[data-sort-value='statut_livraison'] {
    display: none;
  }
  .projets #lesprojets {
    width: 100%;
    min-width: inherit;
    right: auto;
    position: absolute;
    transition-duration: 0.5s;
    transition-property: width, max-width;
  }
  #imagesProjet figure {
    margin-bottom: 0.5em;
  }
  .imageProjet {
    margin-bottom: 0.1em;
 }

 #listeProjets li{
 	margin-bottom: 3em;
 }

 #listeProjets li.landscape {
    height: 80vw;
    }

}


/*---------------------------------------------Loading fade-----------------------------------------------------*/


/* Keyframes for the fade-in */

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  opacity: 1 \9;
  /*just in case ie*/
  -webkit-animation: fadeIn ease-in 1;
  -moz-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-duration: 0.4s;
  -moz-animation-duration: 0.4s;
  animation-duration: 0.4s;
}

.fade-in.fone {
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.fade-in.ftwo {
  -webkit-animation-delay: .4s;
  -moz-animation-delay: .4s;
  animation-delay: .4s;
}


@media (prefers-color-scheme: dark) {

  html {
    filter: invert(1) hue-rotate(.5turn);
  }

  img {
    filter: invert(1) hue-rotate(.5turn);
  }

  img:not(:hover) {
    opacity: .7;
    transition: opacity .25s ease-in-out;
  }
}