/* custom table*/
.dataTables_length {
  text-align: left;
}

#agreements-list thead {
  background-color: #075d89;
  color: white;
}

#agreements-list {
  background-color: white;
  text-align: left;
  padding-top: 16px;
}

#agreements-list thead tr td,
#agreements-list thead th {
  border: none;
}

.dataTables_wrapper .dataTables_filter input {
  width: 70% !important;
}

table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting_asc:before {
  font-size: 30px;
  padding-bottom: 4px;
}

.dataTables_length,
.agreements-list_filter {
  padding-bottom: 16px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  margin-top: 30px !important;
  justify-content: center;
}

@media only screen and (max-width: 992px) {
  /* Force table to not be like tables anymore */
  #agreements-list table,
  #agreements-list thead,
  #agreements-list tbody,
  #agreements-list th,
  #agreements-list td,
  #agreements-list tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  #agreements-list thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  #agreements-list tr {
    border: 1px solid #ccc;
    padding: 10px;
  }

  #agreements-list td {
    border: none;
    position: relative;
    white-space: normal;
    text-align: left;
    padding: 0;
    padding-bottom: 10px;
  }

  #agreements-list td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }

  .table.agreements tfoot {
    display: none;
  }

  .dataTables_wrapper .dataTables_info {
    white-space: normal !important;
  }

  /* Label the data */
  #agreements-list td:before {
    content: attr(data-title);
  }
}

@media (max-width: 767px) {
  div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"] {
    padding-left: 0px !important;
  }
}

/* Agreement Detail Page */
.agreement-detail-item {
  padding: 1rem 0;
}
.agreement-detail-item h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.agreement-detail-item h3 {
  font-size: 1.35rem;
}

.agreement-detail-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
