/* ---------- Média de type Document ----------- */

.fichier-telecharge.card-img {
  margin: 20px;
  width: 395px;
  height: 522px;
  background: #44A3DD; /* Old browsers */
  position: relative;
  outline: none;
  padding-top: 60px;
}

.result-container .fichier-telecharge {
    margin: 12px 0 !important;
}

.fichier-telecharge.border-round {
  border-radius: 10px;
}

.fichier-telecharge .file-title, .fichier-telecharge .file-title a {
  font-family: NunitoSans;
  font-size: 26px;
  font-weight: 800;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.31;
  letter-spacing: normal;
  color: #ffffff;
  margin: 13px 0;
  text-decoration: none;
  z-index: 1;
  position: relative;
}

.fichier-telecharge .box-infos {
  width: 107px;
  height: 18px;
  opacity: 0.8;
  font-family: NunitoSans;
  font-size: 13px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;

}

.result-container .fichier-telecharge .file-date {
  opacity: 0.8;
  font-family: NunitoSans;
  font-size: 13px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  display:block !important;
}

.fichier-telecharge .file-date{
  display:none;
}


.fichier-telecharge .file-description {
  position: absolute;
  padding: 25px 20px;
  bottom: 0;
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  border-radius: 0 0 10px 10px;
  left: 0;
  right: 0;
  border: none;
}

.fichier-telecharge .icon {
  height: 260px;
}

.fichier-telecharge .file-type {
  float: left;
  width: 70%;
  text-align: left;
  text-transform: uppercase;
  font-size: 13px;
  font-family: NunitoSans;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
  text-transform: uppercase;
  flex: 0 0 70%;
  max-width: 70%;
  opacity: 0.8;
}

.fichier-telecharge .file-reading-time {
  float: right;
  width: 30%;
  text-align: right;
  font-size: 13px;
  flex: 0 0 30%;
  max-width: 30%;
}

.fichier-telecharge .icon-download {
  margin: 15px;
  float: right;
  transition: transform 0.5s;
  position: absolute;
  top: 0;
  right: 0;
}

.fichier-telecharge a, .fichier-telecharge a:hover {
  outline: none;
  color: white;
}
.fichier-telecharge:hover .icon-download{
  transform: scale(1.2);
}

.image-document-under{
  border-radius: 0% !important;
  width: 200px;
  height: 260px;
  margin: auto;
}

.image-document-upper{
  width: 200px;
  height: 260px;
  background-size: cover;
  border-radius: 0% !important;
  transform: rotate(-10deg);
  box-shadow: 2px 4px 4px 2px rgba(0,0,0,.2);
  position: absolute;
  top: 60px;
  right: 97px;
  transition: transform 0.5s;
  z-index: 1;
}

.image-document-upper img, .image-document-under img {
  width: 200px;
  height: 260px;
  object-fit: cover;
  margin: 0;
  background-color: white;
}

.image-document-upper > div,
.image-document-under > div,
.image-document-upper .contextual-region,
.image-document-under .contextual-region,
.image-document-upper .contextual-region .field--name-field-media-image,
.image-document-under .contextual-region .field--name-field-media-image,
.image-document-upper .field--type-image,
.image-document-under .field--type-image,
.image-document-upper .field__item,
.image-document-under .field__item,
.image-document-upper .field__item img,
.image-document-under .field__item img {
  width: 100%;
  height: 100%;
  margin: 0;
}

.fichier-telecharge:hover .image-document-upper{
  transform:rotate(0);
}

@media only screen and (max-width: 767px) {
  .fichier-telecharge.card-img {
    padding: 0;
    margin: 20px 0;
    width: 292px;
    height: 410px;
    max-width: none;
  }

  .fichier-telecharge .file-description {
    border-top: none;
  }

  .fichier-telecharge .file-title, .fichier-telecharge .file-title a {
    font-size: 21.8px;
  }

   .image-document-upper {
    top: 11%;
    right: 27.5%;
    width: 45%;
    height: 45%;
   }

  .image-document-under {
    padding: 0;
    border-radius: 0% !important;
    width: 45%;
    height: 45%;
    position: absolute;
    top: 11%;
    right: 27.5%;
  }
}
