.popup-det {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  z-index: 10000;
}

.searchDet {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  box-shadow: 0 0 8px rgba(0, 0, 0, 3);
  background-color: var(--sec_color);
  height: 90%;
  width: 90%;
  max-width: 90%;
  overflow-y: auto;
}

.searchDet .title-det {
  font-size: 2rem;
  font-weight: 700;
  position: absolute;
  left: 50%;
  top: 0.5em;
  transform: translateX(-50%);
}

.searchDet .close-btn-det {
  position: sticky;
  float: right;
  top: 0px;
  font-size: 1.3em;
  cursor: pointer;
  padding: 1em;
}

.searchDet .flex-det {
  display: flex;
  flex-direction: row;
  margin-top: 6em;
  height: calc(100% - 8em);
}

.searchDet .flex-det .datos-det {
  min-width: 13em;
  margin-left: 2em;
}

.searchDet .flex-det .datos-det div {
  margin-bottom: 2em;
}

.searchDet .flex-det .datos-det div span {
  font-weight: 700;
}

.searchDet .flex-det .task-list {
  margin-right: 2em;
  margin-bottom: 2em;
  height: 100%;
  width: 98%;
  overflow: auto;
}

.searchDet .flex-det .task-list #taskDiv {
  display: none;
  margin: 0px;
}

.searchDet .flex-det .task-list .table-det {
  width: 100%;
  border-collapse: collapse;
  margin-right: 1em;
  font-size: 1rem;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.searchDet .flex-det .task-list .table-det th {
  font-size: 1rem;
  min-width: 3em;
}

.searchDet .flex-det .task-list .table-det thead th {
  background: var(--ft_color);
  color: var(--sec_color);
  text-align: left;
  font-weight: bold;
  border: 1px solid var(--sec_color_darker);
}

.searchDet .flex-det .task-list .table-det th,
.searchDet .flex-det .task-list .table-det td {
  padding: 12px 15px;
}

.searchDet .flex-det .task-list .table-det tbody tr {
  border-bottom: 1px solid #dddddd;
}

.searchDet .flex-det .task-list .table-det tbody tr:nth-of-type(even) {
  background: var(--sec_color_darker);
}

.searchDet .flex-det .task-list .table-det tbody tr:nth-of-type(odd) {
  background: var(--sec_color);
}

.searchDet .flex-det .task-list .table-det tbody tr:last-of-type {
  border-bottom: 2px solid var(--ft_color);
}

@media (max-width: 72rem) {
  .searchDet .flex-det {
    flex-direction: column;
    height: calc(100% - 6em);
  }

  .searchDet .flex-det .datos-det br {
    display: none;
  }

  .searchDet .flex-det .task-list {
    align-self: center;
    margin-right: 0;
  }
}

@media (max-width: 37.5rem) {
  .searchDet .title-det {
    font-size: 1.4rem;
    top: 1em;
  }
}
