@media screen and (max-width: 767.98px) {
  .document-block::before {
    height: 75% !important;
  }
}

@media screen and (max-width: 767.98px) {
  .document-block .component-content .container {
    padding: 0px;
  }
}

.document-block .component-content .container .heading {
  margin-bottom: 0px;
}

.document-block .component-content .container .heading .field-title h2 {
  margin-bottom: 0;
}

@media screen and (max-width: 767.98px) {
  .document-block .component-content .container .document-model-container .document-model-item {
    padding: 24px 16px;
  }
}

@media screen and (max-width: 767.98px) {
  .document-block .component-content .container .document-model-container .document-model-item .image-field {
    width: 15%;
    margin-left: -14px;
    margin-right: 8px;
  }
}

.document-block .component-content .container .document-model-container .document-model-item .image-field:empty {
  background-image: url(../images/icons/outils-main-blue.svg);
}

.document-block .component-content .container .file-list.ffb-file-list {
  padding: 0px;
  padding-top: 24px;
  padding-bottom: 24px;
  height: 100%;
}

.document-block .component-content .container .file-list.ffb-file-list .component-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  background-color: #FFF;
  box-shadow: 0 5px 10px 0 rgba(51, 59, 69, 0.25);
  border-radius: 4px;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

.document-block .component-content .container .file-list.ffb-file-list .component-content:hover {
  box-shadow: 0 8px 15px 0 rgba(51, 59, 69, 0.4);
}

@media screen and (max-width: 575.98px) {
  .document-block .component-content .container .file-list.ffb-file-list .component-content {
    background-color: transparent;
    border-radius: inherit;
    box-shadow: inherit;
    padding-top: 0px;
    margin-left: -16px;
    margin-right: -16px;
  }
  .document-block .component-content .container .file-list.ffb-file-list .component-content:hover {
    box-shadow: inherit;
  }
}

.document-block .component-content .container .file-list.ffb-file-list .component-content ul {
  width: 100%;
}

@media screen and (min-width: 767.98px) {
  .document-block .component-content .container .file-list.ffb-file-list .component-content ul {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 575.98px) {
  .document-block .component-content .container .file-list.ffb-file-list .component-content ul {
    -ms-flex-wrap: inherit;
    flex-wrap: inherit;
  }
}

.document-block .component-content .container .file-list.ffb-file-list .component-content ul .list-item {
  width: 33.3333333333%;
}

@media screen and (max-width: 991.98px) {
  .document-block .component-content .container .file-list.ffb-file-list .component-content ul .list-item {
    min-width: inherit;
    width: 33.3333333333%;
  }
}

@media screen and (max-width: 575.98px) {
  .document-block .component-content .container .file-list.ffb-file-list .component-content ul .list-item {
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }
  .document-block .component-content .container .file-list.ffb-file-list .component-content ul .list-item::before {
    content: "";
    width: -webkit-calc(100% - 16px*2);
    width: calc(100% - 16px*2);
    height: 100%;
    position: absolute;
    left: 16px;
    top: 0px;
    background-color: #FFF;
    box-shadow: 0 5px 10px 0 rgba(51, 59, 69, 0.25);
    border-radius: 4px;
    z-index: -1;
  }
}

.document-block .component-content .container .file-list.ffb-file-list .component-content ul .list-item .file-icons {
  width: 145px;
  height: 145px;
}

.document-block .component-content .container .file-list.ffb-file-list .component-content ul .list-item .file-icons span:not(:empty) {
  border-radius: 0px;
  box-shadow: none;
  background-color: transparent;
}

.document-block .component-content .container .file-list.ffb-file-list .component-content ul .list-item .file-icons span:not(:empty) img {
  -o-object-fit: contain;
  object-fit: contain;
  height: 100%;
  width: 100%;
}

.document-block .component-content .container .file-list.ffb-file-list .component-content ul .list-item .file-icons span:not(:empty)::before {
  display: none;
}

.document-block .component-content .container > .row > div:nth-child(2) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.document-block .component-content .container > .row > div:nth-child(2) > .row:nth-child(1) {
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
}

@media screen and (min-width: 767.98px) {
  .document-block .component-content .container > .row > .col-lg-12 .file-list.ffb-file-list .component-content ul .list-item {
    width: 33.3333333333%;
  }
}

@media screen and (min-width: 991.98px) {
  .document-block .component-content .container > .row > .col-lg-12 .file-list.ffb-file-list .component-content ul .list-item {
    width: 16.6666666667%;
  }
}
