
@font-face {
  font-family: 'GillSans';
  src: url('fonts/gill-sans/GillSans.eot'); /* IE9 Compat Modes */
  src: url('fonts/gill-sans/GillSans.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/gill-sans/GillSans.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/gill-sans/GillSans.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/gill-sans/GillSans.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/gill-sans/GillSans.svg#svgFontName') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Cavorting';
  src: url('fonts/cavorting/Cavorting.eot'); /* IE9 Compat Modes */
  src: url('fonts/cavorting/Cavorting.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/cavorting/Cavorting.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/cavorting/Cavorting.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/cavorting/Cavorting.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/cavorting/Cavorting.svg#svgFontName') format('svg'); /* Legacy iOS */
}

html {
  min-height: 100%;
  position: relative;
}

body {
  background-color: #fff;
  color: #292b2c;
  font-family: 'GillSans';
  font-size: 18px;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
  margin-bottom: 40px;
}

header {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-image: url('../images/background-header.png');
  color: #fff;
  padding: 0px 20px 0px 20px;
  width: 100%;
  height: 160px;
}

footer {
  text-align: center;
  background-color: #6c757d;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  color: white;
  left:0px;
  bottom:0px;
  padding: 10px 0px;
  font-size: 11pt;
}

footer a:active, footer a:visited, footer a:link {
  color: white;
}


/********************************************************/
/* Header classes */
/********************************************************/

.cabecera {
  margin: 0px;
  display: flex;
  flex-direction: column;
  height: 100%; 
}

header h1 {
  text-align: center
}

.cabecera img {
  width: 150px;
  margin-top: 15px;
  margin-left: 15px;
}

.cabecera .buttons  {
  margin: 0px;
  align-items: center;
  display: flex;
  width: 24%;
  margin-left: auto;
  margin-top: -110px;
}

.poll {
  margin-left: auto;
}

.cabecera .search {
  margin: 0px;
  width: 25%;
  display: flex;
  margin-left: auto;
  margin-top: 10px;
}

.cabecera .search input {
  border-color: #4e555b;
  font-size: 15px;
}

/********************************************************/
/* Legend */
/********************************************************/

#legend {
  font-family: 'Cavorting';

}

#legend ul li {
  background-color: #c90000;
  margin-right: 10px;
  border-radius: 5px;
}

#legend ul li a {
  color: white;
}

.modal-content {
  font-size: 85% !important;
}

.title {
  font-weight: bold;
}

.legend {
  padding-top: 10px;
}

.symbol-item {
  width: auto;
}

.symbol-item span {
  padding-left: 15px;
}

.symbol-item img {
  width: 80px;
}

.celda_blue {
  background-color: #00FFFF;
}

.celda_green {
  background-color: #00FF00;
}

.celda_orange {
  background-color: #FACC2E;
}

.celda_gray {
  background-color: #D8D8D8;
}

.celda_edades {
  width: 125px;
}

.celda_curso {
  width: 160px;
}

/********************************************************/
/* Content classes */
/********************************************************/

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  flex-direction: column;
  font-size: 22px;
}

.filters {
  display: flex;
  flex-direction: row;
  margin-top: 15px;
}

.filters div {
  margin-right: 15px;
  width: 200px;
}

.results-activities {
  float: left;
  width: 75%;
}

.filter-buttons {
  margin-top: 15px;
}

.filter-buttons button {
  font-size: 15px;
}

/********************************************************/
/* Form controls */
/********************************************************/

select {
  height: 120px !important;
}

/********************************************************/
/* Table results */
/********************************************************/

table, tr, th, td {
  border: 1px solid black;
}

th {
  background-color: #fcf080;
}

th, td {
  padding: 5px;
  text-align: center;
}

#results {
  font-size: 14px;
  float: left;
  width: 93%;
  margin-top: 15px;
  margin-bottom: 30px;
}

#results th {
  vertical-align: middle;
}
