*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family:
    "Lato",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
  font-size: 62.5%;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0 auto;
  max-width: 115.2rem;
  background-color: white;
  color: #36515f;
  font-size: 1.3rem;
  line-height: 1.4;
}

[type="search"] {
  display: flex;
  margin: 3.6rem auto;
  border: 0;
  border-radius: 0.4rem;
  padding: 5px 15px;
  margin-top: 5rem;
  margin-bottom: 5rem;
  width: 100%;
  max-width: 64rem;
  height: 3.6rem;
  background-color: #f2f5f7;
  font-size: 1.7rem;
  line-height: 1;
}

[type="search"]:focus {
  outline: none;
  box-shadow: 0 0 0.2rem 0.1rem #9bb8c6;
}

.ranking-wrapper {
  overflow-x: auto;
}

.ranking {
  border-spacing: 0;
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  min-width: 72rem;
  font-size: 1.1rem;
  /* font-size: 1.4rem; */
  /* line-height: 1.44; */
  /*white-space: nowrap;*/
}

@media (min-width: 960px) {
  .ranking {
    font-size: inherit;
  }
}

thead,
tbody {
  border-bottom: 0.1rem solid #9bb8c6;
}

thead {
  color: #5b89a0;
  font-size: 0.8em;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

tbody tr:nth-child(odd) {
  /* background-color: #f2f5f7; */
}

tbody tr + tr {
  border-top: 0.1rem solid #dce6eb;
}

th,
td {
  padding: 0.8rem 1.2rem;
}

th:first-child,
td:first-child {
  padding-left: 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

th {
  position: sticky;
  top: 0;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
}

.icon-sort {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='transparent' d='M0,0h24v24H0V0z'/%3e%3cpolygon fill='%239bb8c6' points='12,5.8 15.2,9 16.6,7.6 12,3 7.4,7.6 8.8,9 '/%3e%3cpolygon fill='%239bb8c6' points='12,18.2 8.8,15 7.4,16.4 12,21 16.6,16.4 15.2,15 '/%3e%3c/svg%3e ");
}

.sort {
  cursor: pointer;
}

.sort.asc .icon-sort {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='transparent' d='M0,0h24v24H0V0z'/%3e%3cpolygon fill='%2336515f' points='12,5.8 15.2,9 16.6,7.6 12,3 7.4,7.6 8.8,9 '/%3e%3cpolygon fill='transparent' points='12,18.2 8.8,15 7.4,16.4 12,21 16.6,16.4 15.2,15 '/%3e%3c/svg%3e ");
}

.sort.desc .icon-sort {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='transparent' d='M0,0h24v24H0V0z'/%3e%3cpolygon fill='transparent' points='12,5.8 15.2,9 16.6,7.6 12,3 7.4,7.6 8.8,9 '/%3e%3cpolygon fill='%2336515f' points='12,18.2 8.8,15 7.4,16.4 12,21 16.6,16.4 15.2,15 '/%3e%3c/svg%3e ");
}

.orgao-search,
.programa-search,
.acao-search,
.autorizada-sort,
.bloqueada-sort {
  display: none;
}

.autorizada,
.bloqueada {
  /* width: 15%; */
  text-align: right;
}

th.autorizada,
th.bloqueada {
  padding-right: 0;
}

.undefined {
  opacity: 0.6;
  font-size: 0.8em;
  font-weight: bold;
}

.porcentagem {
  text-align: center;
}

.chart {
  border-radius: 0.4rem;
  line-height: 2.4rem;
}

.pagination {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 3.6rem 0;
  padding: 0;
  /* color: #5b89a0; */
}

.pagination li {
  margin: 0 0.8rem;
  border-radius: 0.4rem;
  background-color: #f2f5f7;
}

.pagination a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: inherit;
  text-decoration: none;
}

.pagination .active,
.pagination .disabled {
  pointer-events: none;
}

.pagination .active {
  background-color: #bccfd8;
  /* color: #36515f; */
}

.pagination .disabled {
  background-color: transparent;
}

.pagination .active a,
.pagination .disabled a {
  /* text-decoration: none; */
}
