.table-responsive {
  display: block;
  width: 100% !important;
  overflow-x: auto;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}
.table {
  max-width: 100%;
}
.table-bordered, .table-bordered td, .table-bordered th {
  border: 1px solid #f2f2f2;
}
.responsive-table {
  width: 100% !important;
  margin-bottom: 1.5em;
}
.responsive-table thead {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.responsive-table thead th {
  background-color: #ffffff;
  vertical-align: bottom;
  font-size: 15px;
  border-bottom: 2px solid #f2f2f2;
  font-weight: 400;
  text-align: left;
  color: #000000;
}
.responsive-table thead th:first-of-type {
  text-align: left;
}
.responsive-table tbody,.responsive-table tr,.responsive-table th,.responsive-table td {
  display: block;
  padding: 0;
  text-align: left;
  white-space: normal;
}
.responsive-table th,.responsive-table td {
  padding: 1rem 1.5rem;
  vertical-align: top;
}
.responsive-table caption {
  margin-bottom: 1em;
  font-size: 1em;
  font-weight: 700;
  text-align: center;
}
.responsive-table tfoot {
  font-size: .8em;
}
.responsive-table tbody tr {
  margin-bottom: 1em;
  border: 2px solid #3f51b5;
}
.responsive-table tbody tr:last-of-type {
  margin-bottom: 0;
}
.responsive-table tbody th[scope="row"] {
  background-color: #3f51b5;
  color: #FFFFFF;
}
.responsive-table tbody td[data-type=currency] {
  text-align: right;
}
.responsive-table tbody td[data-title]:before {
  content: attr(data-title);
  float: left;
  font-size: 1em;
  color: rgba(94, 93, 82, 0.75);
  font-weight: bold;
}

.responsive-table tbody td[data-type]:before {
  content: attr(data-type);
  float: left;
  font-size: 1em;
  color: rgba(94, 93, 82, 0.75);
  font-weight: bold;
}
.responsive-table tbody td[data-title] > *:first-child {
  clear: both;
}

@media (max-width: 768px) {
  .responsive-table tbody td[data-title] > *:first-child {
    justify-content: end;
    clear:none;
  }
}
.responsive-table tbody td.td-name {
  text-align: center;
}
.responsive-table tbody td[data-type="READ_ONLY"] {
  text-align: left;
}
.responsive-table tbody td.td-name,
.responsive-table tbody td[data-type="READ_ONLY"] {
  font-weight: bold;
  vertical-align: top;
}
.responsive-table tbody td[data-type="READ_ONLY"] p {
  padding: 0 !important;
  margin: 0 !important;
}
.responsive-table thead th[data-type="DATE"] {
  /* Fiksna širina DATE inputa. */
  width: 160px;
  min-width: 160px;
}
.responsive-table thead th[data-type="SELECT"] {
  /* Minimalna širina SELECT inputa. */
  min-width: 145px;
}
.responsive-table thead th[data-type="TEXT"],
.responsive-table thead th[data-type="TEXT_AREA"] {
  /* Minimalna širina TEXT i TEXT_AREA inputa. */
  min-width: 120px;
}
.responsive-table.write-table tbody td.action-cell {
  text-align: right;
}
.responsive-table:is(.write-table, .read-table) :is(th, td) {
  border-top: none !important;
}
@media (min-width: 75em) {
  .responsive-table th,.responsive-table td {
    padding: .75em;
  }
}
@media (min-width: 62em) {
  .responsive-table {
    font-size: 1em;
  }
  .responsive-table th,.responsive-table td {
    padding: .75em .5em;
  }
  .responsive-table tfoot {
    font-size: .9em;
  }
}
.responsive-table:not(.dtg) tbody td {
  text-align: right;
}
@media (min-width: 48em) {
  .responsive-table {
    font-size: .9em;
  }
  .responsive-table thead {
    position: relative;
    clip: auto;
    height: auto;
    width: auto;
    overflow: auto;
  }
  .responsive-table tr {
    display: table-row;
  }
  .responsive-table th,.responsive-table td {
    display: table-cell;
    padding: 1em;
  }
  .responsive-table caption {
    font-size: 1.5em;
  }
  .responsive-table tbody {
    display: table-row-group;
  }
  .responsive-table tbody tr {
    display: table-row;
    border-width: 1px;
  }
  .responsive-table tbody tr:nth-of-type(even) {
    background-color: #FFFFFF;
  }
  .responsive-table tbody th[scope="row"] {
    background-color: transparent;
    padding: 1rem 1.5rem;
    font-weight: 400;
    vertical-align: top;
    color: #707070;
    text-align: left;
  }
  .responsive-table:not(.dtg) tbody td {
    text-align: left;
  }
  .responsive-table.read-table tbody td {
    text-align: center;
  }
  .responsive-table tbody td[data-title]:before {
    content: none;
  }
  .responsive-table td[data-type="READ_ONLY"] {
    text-align: center !important;
  }
  .responsive-table .td-name-container {
    min-width: 200px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center !important;
  }
  .responsive-table.write-table tbody td.action-cell {
    text-align: center;
  }
}
@media (max-width: 831px) {
  .responsive-table tfoot {
    display:none !important
  }
}
@media (min-width: 832px) {
  .responsive-table tbody tr {
    border: none !important;
  }
}
.responsive-table.write-table th {
  border-bottom: 0 !important;
}
