table {
  font-size: 11px;
  width: 100%;
}

table thead tr {
  background-color: #f9f9f9;
}

table tbody tr:nth-of-type(odd) {
  background-color: #fff;
}

table tbody tr:nth-of-type(even) {
  background-color: #f9f9f9;
}

table tbody tr:hover {
  background-color: #eaecff;
}

table td,
table th {
  padding: 7px;
}

.main-table tr td,
.main-table tr th {
  max-width: 80px;
  overflow: hidden;
}

[data-cell] [name='rating'] {
  width: 105px;
}

.main-table tr td:nth-child(13),
.main-table tr th:nth-child(13),
.main-table tr td:nth-child(14),
.main-table tr th:nth-child(14) {
  max-width: 150px;
  word-break: break-word;
}

.main-table tr td:nth-child(22),
.main-table tr th:nth-child(22) {
  max-width: 100px;
}

.recontact {
  background-color: #dea3fa !important;
}

.expired-3days {
  background-color: #f3caca !important;
}
.expired-2days {
  background-color: #f2f3ca !important;
}
.expired-1day {
  background-color: #caf3d5 !important;
}
.today {
  background-color: #caf3d5 !important;
}
.recontact {
  font-weight: bold;
}

.modal-table tr:nth-child(1),
.home-table tr td:nth-child(1),
.home-table tr td:nth-child(8),
.home-table tr td:nth-child(9),
.home-table tr td:nth-child(11),
.home-table tr td:nth-child(15),
.home-table tr td:nth-child(17),
.home-table tr td:nth-child(18),
.home-table tr td:nth-child(19),
.home-table tr td:nth-child(20),
.home-table tr th:nth-child(1),
.home-table tr th:nth-child(8),
.home-table tr th:nth-child(9),
.home-table tr th:nth-child(11),
.home-table tr th:nth-child(15),
/* .home-table tr th:nth-child(16), */
.home-table tr th:nth-child(17),
.home-table tr th:nth-child(18),
.home-table tr th:nth-child(19),
.home-table tr th:nth-child(20) {
  display: none;
}

.table-row {
  overflow-x: auto;
}

input:read-only,
input:read-only:focus {
  background-color: #efefef;
  /* pointer-events: none; */
}

input[type='submit'],
input[type='submit']:focus {
  background-color: #0d6efd;
  pointer-events: all;
}

@media (min-width: 1600px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1540px;
  }
}

@media (max-width: 1200px) {
  .main-table th {
    display: none;
  }

  .main-table td {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    padding: 5px 10px;
    border-bottom: 1px solid #e7e7e7;
    word-break: break-all;
  }

  .main-table tr td:last-child {
    border-bottom: 10px solid #e7e7e7;
  }

  .main-table td::before {
    content: attr(data-cell) ': ';
    font-weight: 700;
    text-transform: capitalize;
  }

  .main-table tr td,
  .main-table tr th,
  table tr td table tr th {
    max-width: unset !important;
  }

  table tr td:nth-child(9),
  table tr td:nth-child(8) {
    display: grid;
  }
}

.legenda {
  margin-bottom: 10px;
  font-size: 10pt;
}
.green {
  background-color: #caf3d5;
  margin-bottom: 5px;
}
.yellow {
  background-color: #f2f3ca;
  margin-bottom: 5px;
}
.red {
  background-color: #f3caca;
}
