.buttons{
  max-width: 960px;
  text-align: center;
  margin: auto;
}
.desativo{
  pointer-events: none;
  background: #006194 !important;
  color: #FFFFFF !important;
}
.buttons a{
  width: 50%;
  background: #CCCCCC;
  padding: 2rem;
  border: 1px solid #CCCCCC;
  text-decoration: none;
  color: #333333;
}
.buttons a:hover{
  background: #006194;
  color:#FFFFFF;
}

@media ( max-width: 900px ) {
  .buttons a{
    width:100%;
    display: block;
    background: #CCCCCC;
    padding: 2rem;
    border: 1px solid #CCCCCC;
    text-decoration: none;
    color: #333333;
  }
  }


.byline {
  display: none;
}

thead {
  border-bottom: 1px solid #ddd;
}

th {
  text-align: left;
}

thead tr {
  height: 4.8rem;
}

tbody tr {
  height: 9.6rem;
}

.ranking-container {
  display: none;
  margin: 0 auto 6rem;
  width: 100%;
  max-width: 144rem;
}

@media ( min-width: 768px ) {
  .ranking-container {
    max-width: 72rem;
  }
}

@media ( min-width: 1024px ) {
  .ranking-container {
    max-width: 96rem;
  }
}

@media ( min-width: 1200px ) {
  .ranking-container {
    max-width: 115.2rem;
  }
}

@media ( min-width: 1600px ) {
  .ranking-container {
    max-width: 144rem;
  }
}

.ranking-container [type="search"] {
  margin-bottom: 3.2rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 5px 15px;
  margin-top: 5rem;
  margin-bottom: 5rem;
  width: 100%;
}

.ranking-container [type="search"]:focus {
  outline: none;
  border-color: #006194;
}

/*.avg-wrapper {
  background-color: #eee;
}*/

.avg {
  padding-left: 0.6rem;
  /*font-size: 0.8em;*/
  /*background-color: #006194;*/
  /*text-shadow:
   -1px -1px 0 #006194,
    1px -1px 0 #006194,
    -1px 1px 0 #006194,
     1px 1px 0 #006194;*/
}

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

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

td.school {
  font-size: 0.8em;
  font-weight: bold;
}

.ranking tr:nth-child(even) {
  background-color: #f5f5f5;
}

.ranking th,
.ranking td {
  /*border: 1px solid #777;*/
  padding: 0 0.6rem;
  /*table-layout: fixed;
  width: 60px;*/
  /*width: 16.666%;*/
}

.rank,
.state {
  width: 7.1428%;
}

.rank {
  border-right: 1px solid #ddd;
}

.ranking .school {
  /*width: 25%;*/
}

th.rank,
th.state,
td.state {
  text-align: center;
}

.type,
.test,
.essay {
  width: 10%;
}

td.rank
/*td.test,
td.essay*/ {
  font-weight: bold;
  text-align: center;
}

.city {
  width: 20%;
}

td.test,
td.essay {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  color: white;
  line-height: 3.2rem;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

.pagination a {
  display: block;
  width: 4.8rem;
  height: 4.8rem;
  color: inherit;
  line-height: 4.8rem;
  text-align: center;
  text-decoration: none;
}

.pagination a:hover,
.pagination a:focus {
  background-color: #f5f5f5;
}

.pagination .active a {
  background-color: #006194;
  color: white;
}

/*.list {
  font-family:sans-serif;
}
td {
  padding:10px;
  border:solid 1px #eee;
}

input {
  border:solid 1px #ccc;
  border-radius: 5px;
  padding:7px 14px;
  margin-bottom:10px
}
input:focus {
  outline:none;
  border-color:#aaa;
}
.sort {
  padding:8px 30px;
  border-radius: 6px;
  border:none;
  display:inline-block;
  color:#fff;
  text-decoration: none;
  background-color: #28a8e0;
  height:30px;
}
.sort:hover {
  text-decoration: none;
  background-color:#1b8aba;
}
.sort:focus {
  outline:none;
}
.sort:after {
  display:inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
  content:"";
  position: relative;
  top:-10px;
  right:-5px;
}
.sort.asc:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  content:"";
  position: relative;
  top:4px;
  right:-5px;
}
.sort.desc:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #fff;
  content:"";
  position: relative;
  top:-4px;
  right:-5px;
}*/
