/* Popin */

#popin-shadow{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1500;
  background-color: #fff;
  opacity: 0.7;
}

#popin-layout{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1600;
  display: flex;
  justify-content: center;
  align-items: center;
}

#popin-content{
  position: relative;
  /*width: 700px;
  height: 700px;*/
  height: auto;
  max-width: 90%;
  max-height: 60%;
  /*padding: 120px;*/
  justify-content: center;
  background-color: #ccc;
  display: block;
  width: 550px;
}

#popin-content-a{
  width: 100%;
  height: 100%;
  display: block;
}

#popin-image{
  height: auto;
  max-width: 100%;
}

#popin-lien{
  text-transform: uppercase;
  font-size: 18px;
  background-color: #dc2915;
  padding: 30px 70px;
  align-self: flex-end;
  text-decoration: none;
  color: #fff;

  transition: all ease 0.2s;
}

#popin-lien:hover{
  background-color: #272727;
  color: #dc2915;

  transition: all ease 0.2s;
}

#popin-fermer{
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 45px;
  z-index: 2000;
}

#popin-fermer:hover{
  cursor: pointer;
}

#popin-fermer-inner{
  position: relative;
  height: 100%;
  width: 100%;
  /*display: flex;
  justify-content: center;
  align-items: center;*/
}

#popin-fermer-droite{
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: #fff;
  transform: rotate(45deg);
  top: 20px;
  left: 0;
  opacity: 1;
  transition: all ease 0.2s;
}

#popin-fermer-gauche{
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: #fff;
  transform: rotate(-45deg);
  top: 20px;
  right: 0;
  opacity: 1;
  transition: all ease 0.2s;
}

#popin-fermer:hover #popin-fermer-gauche, #popin-fermer:hover #popin-fermer-droite{
  opacity: 0.7;
  transition: all ease 0.2s;
}