@charset "UTF-8";
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* placeholder: proportions vidéo youtube responsive */
/* placeholder : width de 100vw */
/* changer delay selon position dans la liste*/
/* changer width selon position dans la liste */
/* center vertically */
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
.block-related-projects ul.related-projects-list li .wrapper-info-projet .wrapper-fl .ligne {
  background-image: url(../images/pixel-ligne-blanc.png);
  background-repeat: repeat-x;
  background-position: left center;
  height: 7px;
  background-size: auto 1px;
  display: block;
  float: left;
  width: 35px;
}

.block-related-projects ul.related-projects-list li .wrapper-info-projet .wrapper-fl .pointe {
  background-image: url(../images/pointe-blanche.png);
  background-repeat: no-repeat;
  background-position: left 0;
  background-size: auto 7px;
  display: block;
  float: left;
  width: 7px;
  height: 8px;
}

.block-related-projects ul.related-projects-list li:hover .wrapper-info-projet .wrapper-fl .ligne {
  background-image: url(../images/pixel-ligne-rose.png);
  width: 105px;
  -webkit-animation: fl-right 0.15s ease-in-out;
  -moz-animation: fl-right 0.15s ease-in-out;
  -ms-animation: fl-right 0.15s ease-in-out;
  -o-animation: fl-right 0.15s ease-in-out;
  animation: fl-right 0.15s ease-in-out;
}

.block-related-projects ul.related-projects-list li:hover .wrapper-info-projet .wrapper-fl .pointe {
  background-image: url(../images/pointe-rose.png);
}

.block-related-projects ul.related-projects-list li .wrapper-info-projet .client {
  width: 100%;
  font-family: "Helvetica";
  font-size: 1.25rem;
  color: white;
  margin-bottom: 7px;
  line-height: 120%;
  -webkit-transition: color 0.35s ease;
  -moz-transition: color 0.35s ease;
  -ms-transition: color 0.35s ease;
  -o-transition: color 0.35s ease;
  transition: color 0.35s ease;
}

.block-related-projects ul.related-projects-list li .wrapper-info-projet .nom-du-projet {
  opacity: 1;
  width: 100%;
  display: inline-block;
  height: auto;
  overflow: hidden;
  font-family: "SequelSans-BlackBodyText", sans-serif;
  font-size: 0.875rem;
  line-height: 120%;
  color: white;
}

.block-related-projects ul.related-projects-list li .degrade-image {
  position: absolute;
  bottom: 0;
  height: 300px;
  width: 100%;
  z-index: 1;
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgb(0, 0, 0)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=rgba(0, 0, 0, 0), endColorstr=rgb(0, 0, 0));
}

.block-related-projects {
  position: relative;
  z-index: 110;
  width: calc(100% - 40px);
  padding: 50px 20px 100px 20px;
  margin: 0 auto;
  height: 400px;
  overflow: hidden;
  background-color: black;
}
.block-related-projects.white {
  opacity: 1;
}
.block-related-projects.black {
  opacity: 0;
}
.block-related-projects h2 {
  color: white;
  font-family: "SequelSans-BoldDisplay", sans-serif;
  font-size: 2.35rem;
  line-height: 110%;
  font-weight: normal;
  margin: 0 0 35px 0;
  display: inline-block;
  position: relative;
  opacity: 0;
}
.block-related-projects h2.anim {
  -webkit-animation: animleft 0.5s;
  -moz-animation: animleft 0.5s;
  -ms-animation: animleft 0.5s;
  -o-animation: animleft 0.5s;
  animation: animleft 0.5s;
  left: 0;
  opacity: 1;
  -webkit-transition: left 0.25s, linear;
  -moz-transition: left 0.25s, linear;
  -ms-transition: left 0.25s, linear;
  -o-transition: left 0.25s, linear;
  transition: left 0.25s, linear;
}
.block-related-projects .all-projects-link {
  position: absolute;
  bottom: 90px;
  left: 20px;
  display: inline-block;
  background-color: white;
  border: 1px solid white;
  font-family: "SequelSans-BoldBodyText", sans-serif;
  text-decoration: none;
  color: black;
  width: calc(100% - 40px);
  text-align: center;
  padding: 0;
  line-height: 46px;
  height: 46px;
  margin-top: 10px;
  z-index: 11;
  opacity: 0;
}
.block-related-projects .all-projects-link:hover {
  background-color: #000;
  color: white;
  border: 1px solid #fff;
}
.block-related-projects .all-projects-link.anim {
  left: 20px;
  opacity: 1;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
.block-related-projects .coin-gauche,
.block-related-projects .coin-droit {
  position: absolute;
  z-index: 10;
  width: 140px;
  height: 250px;
  bottom: 175px;
}
.block-related-projects .coin-gauche {
  left: -120px;
  background: rgba(0, 0, 0, 0);
  background: -moz-linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgb(0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0)));
  background: -webkit-linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
  background: -o-linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=rgb(0, 0, 0), endColorstr=rgba(0, 0, 0, 0));
}
.block-related-projects .coin-droit {
  right: -70px;
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgb(0, 0, 0)));
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  background: -o-linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=rgba(0, 0, 0, 0), endColorstr=rgb(0, 0, 0));
}
.block-related-projects .prev,
.block-related-projects .next {
  display: none;
  position: absolute;
  z-index: 20;
  top: 203px;
  width: 60px;
  height: 60px;
  background-position: center;
  background-size: 60px;
  background-repeat: no-repeat;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.block-related-projects .prev {
  background-image: url(../images/fl-prev-slider@2x.png);
  left: 20px;
}
.block-related-projects .prev:hover {
  background-image: url(../images/fl-prev-slider-hover@2x.png);
}
.block-related-projects .next {
  right: 20px;
  background-image: url(../images/fl-next-slider@2x.png);
}
.block-related-projects .next:hover {
  background-image: url(../images/fl-next-slider-hover@2x.png);
}
.block-related-projects .mask {
  height: 223px;
  position: relative;
}
.block-related-projects .message {
  font-family: "SequelSans-BoldDisplay", sans-serif;
  font-size: 1.2em;
  color: white;
}
.block-related-projects ul.related-projects-list {
  position: relative;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.block-related-projects ul.related-projects-list li {
  position: relative;
  width: 260px;
  /* modif 2022 */
  height: 223px;
  /* end modif */
  display: block;
  float: left;
  margin-right: 20px;
  margin-left: 0;
  overflow: hidden;
  cursor: pointer;
  left: -100px;
  opacity: 0;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}
.block-related-projects ul.related-projects-list li.anim {
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
  left: 0;
  opacity: 1;
}
.block-related-projects ul.related-projects-list li a {
  display: block;
  width: calc(100% - 30px);
  text-decoration: none;
  color: inherit;
}
.block-related-projects ul.related-projects-list li img {
  width: 100%;
  height: auto;
  position: absolute;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.block-related-projects ul.related-projects-list li .wrapper-info-projet {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 15px;
  padding-top: 60px;
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgb(0, 0, 0)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=rgba(0, 0, 0, 0), endColorstr=rgb(0, 0, 0));
}
.block-related-projects ul.related-projects-list li .wrapper-info-projet .view {
  display: block;
}
.block-related-projects ul.related-projects-list li .wrapper-info-projet .wrapper-fl {
  margin-top: 20px;
  overflow: hidden;
  width: 100%;
}
.block-related-projects ul.related-projects-list li:last-child {
  margin-right: 0;
}
.block-related-projects ul.related-projects-list li:hover img {
  width: 110%;
  height: auto;
  margin: -5%;
}
.block-related-projects ul.related-projects-list li:hover .degrade-image {
  opacity: 0;
  -webkit-transition: all 0.75s ease;
  -moz-transition: all 0.75s ease;
  -ms-transition: all 0.75s ease;
  -o-transition: all 0.75s ease;
  transition: all 0.75s ease;
}
.block-related-projects ul.related-projects-list li:hover .wrapper-info-projet .client {
  color: #FFD600;
}
@media only screen and (min-width: 768px) {
  .block-related-projects {
    width: calc(100% - 40px);
  }
  .block-related-projects h2 {
    font-size: 3.125rem;
  }
  .block-related-projects .all-projects-link {
    width: 258px;
  }
  .block-related-projects .coin-droit {
    right: -15px;
  }
}
@media only screen and (min-width: 1024px) {
  .block-related-projects {
    width: 900px;
    padding: 30px 0 0 0;
    height: 400px;
  }
  .block-related-projects .wrapper-title {
    max-width: 1160px;
    margin: 0 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .block-related-projects .wrapper-title h2 {
    width: 600px;
  }
  .block-related-projects .wrapper-title .all-projects-link {
    position: relative;
    bottom: auto;
    left: auto;
    margin-right: 0px;
    margin-top: 0;
  }
  .block-related-projects .coin-gauche,
  .block-related-projects .coin-droit {
    bottom: auto;
  }
  .block-related-projects .coin-gauche {
    top: 120px;
  }
  .block-related-projects .coin-droit {
    top: 120px;
    right: 0;
  }
  .block-related-projects ul.related-projects-list li {
    margin-right: 40px;
  }
  .page-node-type-bureau .block-related-projects {
    height: 400px;
  }
}
@media only screen and (min-width: 1200px) {
  .block-related-projects {
    width: 1160px;
    margin: 0 auto;
  }
  .block-related-projects .prev,
  .block-related-projects .next {
    display: block;
  }
}
@media only screen and (min-width: 1440px) {
  .block-related-projects {
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }
  .block-related-projects .mask {
    width: 100%;
    margin: 0 auto;
  }
  .block-related-projects .mask ul {
    left: -130px;
  }
  .block-related-projects .wrapper-title {
    max-width: 1160px;
    margin: 0 auto;
  }
}
@media only screen and (min-width: 1500px) {
  .block-related-projects {
    width: 1460px;
  }
  .block-related-projects .wrapper-title {
    width: 1160px;
  }
  .block-related-projects .coin-gauche {
    left: 0;
  }
}
@media only screen and (min-width: 2100px) {
  .block-related-projects {
    width: 2060px;
  }
}
@-webkit-keyframes animleft {
  0% {
    opacity: 0;
    left: -300px;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
@-moz-keyframes animleft {
  0% {
    opacity: 0;
    left: -300px;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
@-ms-keyframes animleft {
  0% {
    opacity: 0;
    left: -300px;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
@-o-keyframes animleft {
  0% {
    opacity: 0;
    left: -300px;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
@keyframes animleft {
  0% {
    opacity: 0;
    left: -300px;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
@-webkit-keyframes animRight {
  0% {
    opacity: 1;
    left: 0;
  }
  100% {
    opacity: 0;
    left: -300px;
  }
}
@-moz-keyframes animRight {
  0% {
    opacity: 1;
    left: 0;
  }
  100% {
    opacity: 0;
    left: -300px;
  }
}
@-ms-keyframes animRight {
  0% {
    opacity: 1;
    left: 0;
  }
  100% {
    opacity: 0;
    left: -300px;
  }
}
@-o-keyframes animRight {
  0% {
    opacity: 1;
    left: 0;
  }
  100% {
    opacity: 0;
    left: -300px;
  }
}
@keyframes animRight {
  0% {
    opacity: 1;
    left: 0;
  }
  100% {
    opacity: 0;
    left: -300px;
  }
}