@-webkit-keyframes blink {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 0.2;
  }
}

.blink {
  -webkit-animation-name: blink;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: cubic-bezier(0.5, 0, 1, 1);
  -webkit-animation-duration: 1.7s;
}

.processing-tasks td:nth-child(2) {
  color: grey;
  max-width: 50px;
  max-height: 20px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 10px;
  padding-left: 0;
}

.processing-tasks td:nth-child(3) .project-task {
  font-weight: bold;
}

.processing-tasks td {
  padding-top: 5px;
  padding-bottom: 5px;
}

.imported-files td {
  padding: 0.2rem 0.75rem;
  vertical-align: middle;
}

.imported-files img {
  max-width: 4rem;
  margin-right: 0.5rem;
}

.imported-files img:hover {
  position: fixed;
  width: auto;
  height: auto;
  top: 1.5em;
  left: 12em;
  bottom: 1.5em;
  max-width: 80%;
  max-height: 95%;
  -webkit-box-shadow: 0px 0px 31px -10px rgba(115, 115, 115, 1);
  -moz-box-shadow: 0px 0px 31px -10px rgba(115, 115, 115, 1);
  box-shadow: 0px 0px 31px -10px rgba(115, 115, 115, 1);
}

.badge-pill {
  max-width: 8rem;
}

.page-recipes-workers {
  background-color: #1a1a1a;
  padding-bottom: 512px;
  height: 100vh;
}
.page-recipes-workers:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 15rem;
  background: linear-gradient(
    rgba(100, 100, 100, 0.6) 0%,
    rgba(26, 26, 26, 0) 100%
  );
  background-position: 0 rem;
  background-repeat: no-repeat;
}
.page-recipes-workers .recipes {
  clear: both;
  padding: 0 15px 15px 15px;
}
.page-recipes-workers .page-title {
  color: white;
  display: block;
  padding: 0.25rem 1rem;
}
.widget-task-card {
  overflow: hidden;
  border-radius: 0.5rem;
  filter: drop-shadow(0px 0px 10px #6b6b6b);
  position: relative;
  border: none;
  display: inline-block;
  height: 0;
  padding-bottom: 100%;
  width: 100%;
  margin-bottom: 0;
}
.widget-task-card.bg-danger {
  filter: drop-shadow(0px 0px 10px #c30808);
}
.widget-task-card .card {
  position: initial;
}
.widget-task-card .card-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.widget-task-card .card-description {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  max-width: 80%;
  background-color: white;
  color: black;
  font-weight: bold;
  padding: 0.15rem 0.5rem;
  border-radius: 0.5rem;
  filter: drop-shadow(0px 0px 10px #000000);
  font-size: 0.75rem;
}
.widget-task-card .card-processing {
  background-color: white;
  position: absolute;
  top: 1.25rem;
  left: 2rem;
  right: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 2.5rem;
  border-radius: 10rem;
  font-size: 0.8rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.widget-task-card .card-processing a {
  color: black;
}

.widget-task-card .card-errors {
  background-color: white;
  color: black;
  padding: 0.5rem;
  margin-top: 6rem;
}
.widget-task-card .card-date {
  position: absolute;
  top: 2.75rem;
  left: 3.75rem;
  max-width: 80%;
  background-color: white;
  color: grey;
  font-style: italic;
  padding: 0.15rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.65rem;
  .picto {
    font-style: normal;
  }
}
.widget-task-card .card-picto {
  position: absolute;
  z-index: 15;
  top: 1rem;
  left: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 10rem;
  background-color: white;
  filter: drop-shadow(0px 0px 10px #000000);
  overflow: hidden;
}
.widget-task-card .card-picto > div {
  width: 100%;
  height: 100%;
  background-size: cover;
}
.widget-task-card .card-picto .picto-URBASEE {
  background-image: url("/assets/urbasee.png");
}
.widget-task-card .card-picto .picto-KALIVIZ {
  background-image: url("/assets/kaliviz.png");
}
.widget-task-card .card-picto .picto-CITYSEN {
  background-image: url("/assets/citysense.png");
}

.widget-recipe {
  background-color: white;
  filter: drop-shadow(0px 0px 10px #000000);
  border: none;
}
.widget-recipe .recipe-title {
  display: block;
  font-weight: bold;
}
.recipe-stats {
}
.recipe-data {
  position: relative;
  height: 3.5rem;
  padding: 0 0.25rem;
}
.recipe-data-value {
  position: absolute;
  overflow: hidden;
  background-color: white;
  border-radius: 5rem;
  width: 3rem;
  height: 3rem;
  filter: drop-shadow(0px 0px 10px #000000);
  color: black;
  line-height: 3rem;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  z-index: 1;
}
.recipe-data-key {
  position: absolute;
  background-color: white;
  filter: drop-shadow(0px 0px 10px #000000);
  top: 0.9rem;
  color: black;
  padding: 0.15rem 0.5rem 0.15rem 2.8rem;
  left: 0.7rem;
  border-radius: 5rem;
  font-size: 0.75rem;
  text-align: center;
  white-space: nowrap;
}
.recipe-current h5 {
  font-size: 0.75rem;
  margin: 0.25rem;
}

.previews.row,
.recipes.row {
  display: block;
  width: 100%;
}
.previews.row::after,
.recipes.row::after {
  content: " ";
  clear: both;
  display: table;
}
.previews .col,
.widget-recipe.col {
  float: left;
  display: block;
  flex-basis: auto;
  flex-grow: initial;
  padding-bottom: 15px;
}
.widget-recipe.col {
  width: calc(100% / 2);
}
@media screen and (min-width: 1400px) {
  .widget-recipe.col {
    width: calc(100% / 3);
  }
}

@media screen and (max-width: 720px) {
  .previews .col,
  .widget-recipe.col {
    width: calc(100%);
  }
}
@media screen and (min-width: 720px) and (max-width: 1200px) {
  .previews .col {
    width: calc(100% / 2);
  }
}
@media screen and (min-width: 1200px) and (max-width: 1400px) {
  .previews .col {
    width: calc(100% / 3);
  }
}
@media screen and (min-width: 1400px) and (max-width: 1680px) {
  .previews .col {
    width: calc(100% / 4);
  }
}
@media screen and (min-width: 1680px) and (max-width: 1930px) {
  .previews .col {
    width: calc(100% / 6);
  }
}
@media screen and (min-width: 1930px) {
  .previews .col {
    width: calc(100% / 8);
  }
}

.card-body h3 {
  display: none;
  font-size: 1.15rem;
}

.card-body .card-title {
  margin-bottom: 0.15rem;
  font-weight: normal;
}

.card-body h1 {
  font-weight: bold;
}

.card.bg-primary > .card-body {
  padding: 0rem !important;
}

.card-body h5 {
  margin-left: 0.5rem;
}

.card-body .card.text-white > div {
  word-break: break-all;
}

.recipe-item {
  background-color: white;
  padding: 10px;
  margin: 0 0 10px 0;
}

.recipe-item label {
  width: 50%;
  margin: 0;
}

.recipe-item div {
  border-bottom: 1px solid lightgray;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
