/* -------------TIPOGRAFGIA----------- */

thead th, tfoot th {
  font-family: 'open sans', cursive;
}

th {
  letter-spacing: 1px;
  text-align: center;
}

td {
  letter-spacing: 1px;
}

tbody td {
  text-align: center;
}

tfoot th {
  text-align: right;
}




/*---------------bordes y area de relleno-----------------------*/

table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border: 3px solid black;

}

thead th:nth-child(1) {
  width: 25%;
}

thead th:nth-child(2) {
  width: 10%;
}

thead th:nth-child(3) {
  width: 10%;
}

thead th:nth-child(4) {
  width: 10%;
}

th, td {
  padding: 5px;
}
/*---------------Gráficos y colores-----------------------*/
thead, tfoot {
  color: white;
  text-shadow: 1px 1px 1px black;
}

thead th, tfoot th, tfoot td {
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
  border: 3px solid black;
}


/*---------------ESTILO RAYAS DE CEBRA-OPCIONAL----------------------*/

tbody tr:nth-child(odd) {
  background-color: white;
  font-style: italic;
  color: #666;
  text-align: center;
}

tbody tr:nth-child(even) {
  background-color: #CEDCEC;
  font-style: italic;
  color: #666;
  text-align: center;
}


table {
  background-color: #084A99;
}


/*---------------SE APLICA ESTILO AL TÍTULO---------------------*/

caption {
  font-family: 'open sans', cursive;
  padding: 4px;
  font-style: italic;
  color: #666;
  text-align: center;
  letter-spacing: 1px;
}