/*
 * projets.css
 * Projets : liste des projets et fiche projet
 */

.Projet {
  text-align: center;
}

.Projet-customer {
  padding-top: 60px;
}

.Projet-headertitle {
  font-size: 48px;
  font-family: "miriam_librebold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #3800D3;
  font-weight: normal;
  margin: 30px 0px 20px;
  padding: 0px 0px;
}

@media screen and (min-width: 992px) {
  .Projet-headertitle {
    font-size: 72px;
    padding: 0px 200px;
  }
}

.Projet-teaser,
.Projet-body {
  padding: 80px 0px 40px;
  font-size: 26px;
  line-height: normal;
  color: #fff;
  margin: 0px auto;
  max-width: 1170px;
}

.Projet-teaser p,
.Projet-body p {
  padding: 0px 20px 40px;
}

@media screen and (min-width: 992px) {
  .Projet-teaser p,
  .Projet-body p {
    padding: 0px 200px 40px;
  }
}

.Projet-teaser img,
.Projet-body img {
  margin-top: 40px;
  margin-bottom: -40px;
  padding: 0px 0px;
  background-color: #fff;
  display: block;
  border: 0px solid #3800D3;
}

@media screen and (min-width: 992px) {
  .Projet-teaser img,
  .Projet-body img {
    padding: 0px 140px;
  }
}

.Projet-body.key0 {
  color: #000;
}

.Projet-body img {
  border: 1px solid #ccc;
}

.Projet .logo-projet {
  padding: 0px 20px;
}

@media screen and (min-width: 768px) {
  .Projet .logo-projet {
    height: 180px;
    max-width: auto;
    display: inline-block;
  }
}

.ProjetTeaser {
  background-color: #3800D3;
}

.ProjetTeaser-poster {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 0;
  height: 100%;
  width: 100%;
  filter: opacity(0.5) grayscale(1);
  -webkit-filter: opacity(0.5) grayscale(1);
}

.ProjetTeaser-background {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(47, 0, 176, 0.55);
  background: -moz-linear-gradient(top, rgba(47, 0, 176, 0.55) 0%, #2f00b0 64%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(47, 0, 176, 0.55)), color-stop(64%, #2f00b0));
  background: -webkit-linear-gradient(top, rgba(47, 0, 176, 0.55) 0%, #2f00b0 64%);
  background: -o-linear-gradient(top, rgba(47, 0, 176, 0.55) 0%, #2f00b0 64%);
  background: -ms-linear-gradient(top, rgba(47, 0, 176, 0.55) 0%, #2f00b0 64%);
  background: linear-gradient(to bottom, rgba(47, 0, 176, 0.55) 0%, #2f00b0 64%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2F00B0', endColorstr='#2F00B0', GradientType=0 );
}

.ProjetSmartphone-poster {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 0;
  height: 100%;
  width: 100%;
}

.ProjetSmartphone-background {
  position: absolute;
  top: 0px;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0.9;
}

.ProjetBody {
  position: relative;
}

.ProjetBody-background {
  position: absolute;
  left: 0px;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: #2F00B0;
}

.TeaserProjet {
  position: relative;
  border: 5px solid #3800D3;
  overflow: hidden;
  background-color: #3100ba;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.TeaserProjet-content {
  background-color: #2F00B0;
  display: block;
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 10px;
}

@media screen and (min-width: 992px) {
  .TeaserProjet-content {
    position: absolute;
    bottom: 0px;
    height: 160px;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    padding-bottom: 0px;
  }
}

@media screen and (min-width: 1200px) {
  .TeaserProjet-content {
    height: 190px;
  }
}

.TeaserProjet-title {
  font-weight: normal;
  line-height: normal;
  font-size: 30px;
}

@media screen and (min-width: 992px) {
  .TeaserProjet-title {
    font-size: 24px;
  }
}

@media screen and (min-width: 1200px) {
  .TeaserProjet-title {
    font-size: 30px;
  }
}

.TeaserProjet-title.large {
  font-size: 30px;
}

@media screen and (min-width: 992px) {
  .TeaserProjet-title.large {
    font-size: 36px;
  }
}

@media screen and (min-width: 1200px) {
  .TeaserProjet-title.large {
    font-size: 48px;
  }
}

.TeaserProjet-subtitle {
  margin-top: 4px;
  font-size: 20px;
  font-weight: normal;
  line-height: normal;
}

@media screen and (min-width: 992px) {
  .TeaserProjet-subtitle {
    font-size: 15px;
  }
}

@media screen and (min-width: 1200px) {
  .TeaserProjet-subtitle {
    font-size: 20px;
  }
}

.TeaserProjet-subtitle.large {
  font-size: 21px;
}

@media screen and (min-width: 992px) {
  .TeaserProjet-subtitle.large {
    font-size: 19px;
  }
}

@media screen and (min-width: 1200px) {
  .TeaserProjet-subtitle.large {
    font-size: 26px;
  }
}

.TeaserProjet-logo {
  position: absolute;
  top: 180px;
  bottom: auto;
  left: 15px;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .TeaserProjet-logo {
    top: 230px;
    bottom: auto;
  }
}

@media screen and (min-width: 992px) {
  .TeaserProjet-logo {
    bottom: 160px;
    top: auto;
  }
}

@media screen and (min-width: 1200px) {
  .TeaserProjet-logo {
    bottom: 200px;
  }
}

.TeaserProjet-link {
  display: block;
}

.TeaserProjet-link:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 250px;
  left: 0;
  top: 0;
  background-color: #3800D3;
  opacity: 0.5;
  z-index: 1;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

@media screen and (min-width: 768px) {
  .TeaserProjet-link:before {
    height: 300px;
  }
}

@media screen and (min-width: 992px) {
  .TeaserProjet-link:before {
    width: 200%;
    height: 200%;
  }
}

.TeaserProjet-link img.poster {
  width: 100%;
  height: auto;
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  -moz-filter: grayscale(1);
  -o-filter: grayscale(1);
  -ms-filter: grayscale(1);
}

.TeaserProjet-picture {
  position: relative;
  height: 250px;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .TeaserProjet-picture {
    height: 300px;
  }
}

@media screen and (min-width: 992px) {
  .TeaserProjet-picture {
    height: auto;
    overflow: auto;
  }
}

.TeaserProjet-link:hover:before,
.TeaserProjet-link:focus:before {
  content: '';
  position: absolute;
  background-color: transparent;
  z-index: 1;
}

.TeaserProjet-link:hover img.poster,
.TeaserProjet-link:focus img.poster {
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
  -moz-filter: grayscale(0);
  -o-filter: grayscale(0);
  -ms-filter: grayscale(0);
}

.TeaserProjet .tags {
  position: relative;
  background-color: #2F00B0;
  padding: 10px 15px;
  margin: 0px;
}

@media screen and (min-width: 992px) {
  .TeaserProjet .tags {
    position: absolute;
    bottom: 10px;
    z-index: 4;
    left: 15px;
    bottom: 10px;
    padding: 0px;
  }
}

@media screen and (min-width: 1200px) {
  .TeaserProjet .tags {
    bottom: 20px;
  }
}

/* --- Anciennement en style="" dans le HTML --- */
.ProjetTeaser {
  position: relative;
}
.ProjetTeaser-poster,
.ProjetSmartphone-poster {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}
.Projet-teaser {
  position: relative;
  z-index: 2;
}
.ProjetSmartphone {
  position: relative;
  padding: 140px 0;
}
.caroussel-mobile {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  text-align: center;
}
.caroussel-mobile-item {
  outline-width: 0;
  text-align: center;
}
.ProjetLogo {
  background: #FEF9F3;
  padding: 200px 0;
}
.caroussel-tablet {
  padding: 140px 0;
}
.caroussel-tablet-item {
  outline-width: 0;
}
