:root {
  --black: #222222;
  --white: #ffffff;
  --admin-toolbar-sidebar-width: 0px;
}

.d-none {
  display: none !important;
}

.document_card {
  position: relative;
  padding: 8px 112px 8px 16px;
  display: flex;
  height: 100%;
  align-items: center;
  background-color: #d7dfe0;
  min-height: 54px;
}
.document_card.media_document::before {
  content: "\ea0a";
  display: inline-block;
  font-family: "edp_icons", sans-serif;
  font-size: 22px;
  margin-right: 20px;
}
.document_card.media_audio::before {
  content: "\ea45";
  display: inline-block;
  font-family: "edp_icons", sans-serif;
  font-size: 22px;
  margin-right: 20px;
}
.document_card .field--name-field-document-title {
  word-break: break-word;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .document_card .field--name-field-document-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }
}
.document_card .field--name-field-media-document {
  width: fit-content;
  font-size: 10px;
  font-weight: 400;
  line-height: 16px;
}
.document_card .field--name-field-media-image {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}
.document_card .field--name-field-media-image .field__item {
  display: flex;
}
.document_card .field--name-field-media-image .image-container {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e6ebec;
}
.document_card .field--name-field-media-image .image-container img {
  max-height: 40px;
  max-width: 40px;
}
.document_card .field--name-field-media-image .document-file {
  padding-left: 8px;
  width: fit-content;
  font-size: 10px;
  font-weight: 400;
  line-height: 16px;
}
.document_card .field--name-field-media-image .document-name {
  padding-right: 85px;
  padding-left: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .document_card .field--name-field-media-image .document-name {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }
}
.document_card .field--name-field-media-image .document-info {
  font-size: 10px;
  font-weight: 400;
  line-height: 16px;
}
.document_card .field--name-thumbnail {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}
.document_card .field--name-thumbnail img {
  height: 40px;
  width: 40px;
}
.document_card .field--name-name {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #424d5b;
  padding-left: 8px;
  padding-right: 22px;
}
.document_card .document-file {
  color: #424d5b;
}
.document_card .document-actions {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  z-index: 1;
  align-items: center;
  /* Icon pause is missing from the edp_icons font-family. An alternative was implemented based 
  on the exported icon as background icon. //.play-pause[data-state="pause"]::before {content: '\eaf9';} */
}
.document_card .document-actions button:focus-visible,
.document_card .document-actions a:focus-visible {
  outline: 2px solid #263cc8;
  outline-offset: 0;
}
.document_card .document-actions .download-file a {
  color: #263cc8;
  line-height: 14px;
}
.document_card .document-actions .download-file a:before {
  content: "\e942";
  display: inline-block;
  font-family: "edp_icons", sans-serif;
  font-size: 14px;
  padding: 5px;
}
.document_card .document-actions .open-file a {
  color: #263cc8;
  line-height: 14px;
}
.document_card .document-actions .open-file a:before {
  content: "\e946";
  display: inline-block;
  font-family: "edp_icons", sans-serif;
  font-size: 14px;
  padding: 5px;
}
.document_card .document-actions .tooltip-file,
.document_card .document-actions .play-pause {
  display: flex;
  align-items: center;
  z-index: 0;
  background: none;
  border: none;
  padding: 0;
}
.document_card .document-actions .tooltip-file:before,
.document_card .document-actions .play-pause:before {
  display: inline-block;
  font-family: "edp_icons", sans-serif;
  font-size: 14px;
  padding: 5px;
}
.document_card .document-actions .tooltip-file {
  opacity: 0;
}
.document_card .document-actions .tooltip-file::before {
  content: "\e96d";
}
.document_card .document-actions .play-pause[data-state=play]::before {
  color: #263cc8;
  content: "\e92b";
}
.document_card .document-actions .play-pause[data-state=pause] {
  display: block;
  height: 24px;
  width: 24px;
}
.document_card .document-actions .play-pause[data-state=pause]::before {
  content: "";
  background-image: url(../../assets/img/pause_cobalt_blue.svg);
  background-repeat: no-repeat;
  background-position: center;
  padding: 12px;
}
.document_card.has_tooltip .tooltip-file {
  opacity: 1;
}
.document_card [id^=tippy-] .tippy-box {
  min-width: 300px !important;
}

.dark-version .document_card {
  background-color: #424d5b;
}
.dark-version .document_card .document-file {
  color: #becacc;
}
.dark-version .document_card .tooltip-file::before {
  color: #becacc;
}
.dark-version .document_card .download-file a,
.dark-version .document_card .open-file a {
  color: #28ff52;
}
.dark-version .document_card .play-pause[data-state=play]::before {
  color: #28ff52;
}
.dark-version .document_card .play-pause[data-state=pause]::before {
  background-image: url(../../assets/img/pause_electric_green.svg);
}
.dark-version .document_card .document-actions button:focus-visible,
.dark-version .document_card .document-actions a:focus-visible {
  outline: 2px solid #28ff52;
  outline-offset: 0;
}
.dark-version .field--name-field-media-image .image-container {
  background-color: #646d78;
}
