/**************************************************************
 Lawyer'it
 Copyright 2001-2021 Develop'it
 
 Version : 8.0.0
 Date    : 17/02/2021
 Fichier : css/Presentation.css
**************************************************************/

/*************************** Carte_Fonction ***************************/
.Carte_Fonction {
  width: 200px;
  height: 130px;
  margin-bottom: 2rem;
  position: relative;
  perspective: 40rem;
  transform-style: preserve-3d;
}

.Carte_Fonction .Carte_Face {
  position: absolute;
  border-radius: 4px;
  padding: 10px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(254, 254, 254, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  -moz-backdrop-filter: blur(5px);
  -o-backdrop-filter: blur(5px);
  -ms-backdrop-filter: blur(5px);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  transition: all 0.8s ease;
}

.Carte_Fonction .Carte_Face .Carte_Icone {
  text-align: center;
}

.Carte_Fonction .Carte_Face .Carte_Icone img {
  margin-top: 10px;
  height: 60px;
  width: 60px;
}

.Carte_Fonction .Carte_Face .Carte_Information {
  font-family: "Roboto", sans-serif;
  text-align: center;
  font-weight: 500;
  margin-top: 0.4em;
}

.Carte_Fonction .Carte_Recto {
  transform: rotateY(0deg);
}

.Carte_Fonction .Carte_Verso {
  padding: 20px 12px;
  font-size: 0.85em;
  line-height: 1.2em;
  text-align: center;
  display: flex;
  align-items: center;
  background-color: rgba(254, 254, 254, 1);
  transform: rotateY(180deg);
  opacity: 0;
}

.Carte_Fonction:hover .Carte_Recto {
  transform: rotateY(-180deg);
}

.Carte_Fonction:hover .Carte_Verso {
  transform: rotateY(0deg);
  opacity: 1;
}

.Carte_Fonction .Carte_Bouton {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 40px;
  width: 100%;
  text-align: center;
}

.Carte_Verso button {
  font-size: 0.8em;
  padding: 3px 10px;
  color: rgba(194, 73, 54, 1);
  border: 1px solid rgba(194, 73, 54, 1);
  background-color: rgba(254, 254, 254, 0.8);
}

.Carte_Verso button:hover {
  font-size: 0.8em;
  padding: 3px 10px;
  color: rgba(254, 254, 254, 1);
  background-color: rgba(194, 73, 54, 1);
}

/*************************** RotationDroite ***************************/
.Carte_Fonction .Carte_Recto.RotationDroite {
  transform: rotateY(0deg);
}

.Carte_Fonction .Carte_Verso.RotationDroite {
  transform: rotateY(-180deg);
}

.Carte_Fonction:hover .Carte_Recto.RotationDroite {
  transform: rotateY(180deg);
}

.Carte_Fonction:hover .Carte_Verso.RotationDroite {
  transform: rotateY(0deg);
}

/*************************** RotationHaut ***************************/
.Carte_Fonction .Carte_Recto.RotationHaut {
  transform: rotateX(0deg);
}

.Carte_Fonction .Carte_Verso.RotationHaut {
  transform: rotateX(-180deg);
}

.Carte_Fonction .Carte_Verso.RotationHaut button {
  color: rgba(254, 254, 254, 1);
  border: 1px solid rgba(254, 254, 254, 1);
  background-color: rgba(194, 73, 54, 0.8);
}

.Carte_Fonction:hover .Carte_Recto.RotationHaut {
  transform: rotateX(180deg);
}

.Carte_Fonction:hover .Carte_Verso.RotationHaut {
  /* background-color: rgba(194, 73, 54, 1); 
  color: rgba(254, 254, 254, 1); */
  transform: rotateX(0deg);
}

.Carte_Fonction .Carte_Verso.RotationHaut button:hover {
  color: rgba(194, 73, 54, 1);
  border: 1px solid rgba(254, 254, 254, 1);
  background-color: rgba(254, 254, 254, 1);
}

/*************************** RotationBas ***************************/
.Carte_Fonction .Carte_Recto.RotationBas {
  transform: rotateX(0deg);
}

.Carte_Fonction .Carte_Verso.RotationBas {
  transform: rotateX(180deg);
}

.Carte_Fonction:hover .Carte_Recto.RotationBas {
  transform: rotateX(-180deg);
}

.Carte_Fonction:hover .Carte_Verso.RotationBas {
  transform: rotateX(0deg);
}

/*************************** RotationDouble ***************************/
.Carte_Fonction .Carte_Recto.RotationDouble {
  transform: rotateX(0deg) rotateY(0deg);
}

.Carte_Fonction .Carte_Verso.RotationDouble {
  transform: rotateX(90deg) rotateY(90deg);
}

.Carte_Fonction:hover .Carte_Recto.RotationDouble {
  transform: rotateX(90deg) rotateY(-90deg);
}

.Carte_Fonction:hover .Carte_Verso.RotationDouble {
  transform: rotateX(0deg) rotateY(0deg);
}

/*************************** CadreImage ***************************/
.CadreImage {
  margin: 0 0 1.8rem 0;
  position: relative;
  padding: 0 10px;
  transition: all 0.5s ease-in-out 0s;
}
.CadreImage .Video {
  display: inline-block;
  width: 100%;

  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.CadreImage img {
  max-height: 200px;
  width: auto;
  min-width: 100%;
}
.CadreImage .Video::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: url("../image/Video_YouTube.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.CadreImage .Video:hover:after {
  background-color: rgba(254, 254, 254, 0.2);
  opacity: 0.5;
}

/*************************** Carte_TravailDistance ***************************/
.Carte_TravailDistance {
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  background-color: rgba(254, 254, 254, 1);
  position: relative;
}

.Carte_TravailDistance .Carte_Illustration {
  z-index: 2;
}

.Carte_TravailDistance .Carte_Titre {
  background-color: rgba(230, 230, 230, 1);
  text-align: center;
  overflow: hidden;
  padding-bottom: 10px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
  z-index: 3;
  position: relative;
}

.Carte_TravailDistance .Carte_Titre .Titre {
  font-size: 1.5em;
  font-weight: 600;
  color: rgba(50, 50, 50, 1);
}

.Carte_TravailDistance .Carte_Titre .SousTitre {
  font-size: 1em;
  font-style: italic;
  color: rgba(50, 50, 50, 1);
}

.Carte_TravailDistance .Carte_Description {
  position: inherit;
  background-color: rgba(250, 250, 250, 1);
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  height: 0;
  padding: 0px;
  overflow: hidden;
  z-index: -1;
  transition: all 0.6s ease;
}

.Carte_TravailDistance .Carte_Description.Ouvert {
  padding: 20px;
  margin-top: -10px;
  height: 300px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.Carte_TravailDistance .btVoirDetail {
  position: absolute;
  right: 20px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(254, 254, 254, 0.05);
  cursor: pointer;
  transition: all 0.6s ease;
}

.Carte_TravailDistance:hover .btVoirDetail {
  background-color: rgba(50, 50, 50, 0.2);
}

.Carte_TravailDistance .btVoirDetail .Picto {
  width: 20px;
  height: 20px;
  margin-top: 10px;
  transition: all 0.6s ease;
  transform: rotateZ(0);
  fill: rgba(50, 50, 50, 0.6);
}

.Carte_TravailDistance .btVoirDetail:hover .Picto {
  fill: rgba(50, 50, 50, 0.9);
}

.Carte_TravailDistance .btVoirDetail.Ouvert .Picto {
  transition: all 0.6s ease;
  transform: rotateZ(180deg);
}

/*************************** Animations ***************************/
@keyframes diFromBottom {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.diFromBottom {
  opacity: 0;
}

.diFromBottom.go {
  animation-name: diFromBottom;
}

@keyframes diFromTop {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.diFromTop {
  opacity: 0;
}

.diFromTop.go {
  animation-name: diFromTop;
}

@keyframes diFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.diFromRight {
  opacity: 0;
}

.diFromRight.go {
  animation-name: diFromRight;
}

@keyframes diFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.diFromLeft {
  opacity: 0;
}

.diFromLeft.go {
  animation-name: diFromLeft;
}
