html,
body {
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
  background-color: #ddd;
}

html * {
  box-sizing: border-box;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #fff;
  text-decoration: none;
}

button {
  background-color: transparent;
  border: 2px solid #f2463d;
  color: #f2463d;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 20px;
  padding: 5px 30px;
  outline: none;
  transition: all 0.2s ease-in-out;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  line-height: 100%;
}
button ion-icon {
  margin-right: 15px;
  margin-left: -5px;
}

button:hover {
  background-color: #f2463d;
  color: #fff;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.33);
}

.main-container {
  min-height: 100vh;
  background-color: #ddd;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - 6rem);
  justify-content: center;
  align-items: center;
  display: flex;
}

.tabla-resultados-container {
  background-color: #fff;
  padding: 1.5rem;
  width: 100%;
}

.tabla-resultados-container:not(.tabla-resultados-container-testigo) {
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.33);
}

.table-end-padding {
  width: 1rem;
  height: 1rem;
  display: block;
  flex-shrink: 0;
}

.tabla-scrolleable {
  overflow-x: auto;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding-left: 1rem;
  padding-bottom: 1rem;
}

.tabla-resultados {
  font-size: 1rem;
  border-collapse: collapse;
}

.tabla-resultados thead {
  font-weight: 900;
}

.tabla-resultados thead th {
  border-bottom: 2px solid #000;
  padding: 10px 20px 20px 20px;
  text-align: center;
  border-left: none;
  border-right: none;
  outline: none;
  font-size: 1.1rem;
}

.tabla-resultados tbody tr.spacer {
  height: 10px;
}

.tabla-resultados tbody tr td.destacada {
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 10px 10px 1px rgba(0, 0, 0, 0.33);
  background-color: rgb(255, 208, 107);
  border-bottom: 1px solid rgb(196, 163, 55);
}
.tabla-resultados tbody td.subdestacada,
.tabla-resultados tbody th.subdestacada {
  background-color: rgb(247, 229, 171);
  box-shadow: 0 10px 10px 1px rgba(0, 0, 0, 0.33);
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 1px solid rgb(194, 164, 65);
}

.tabla-resultados tbody th.subdestacada {
  z-index: 2;
  box-shadow: none;
}

.tabla-resultados tbody td {
  text-align: center;
  padding: 20px;
  border: none;
  border-bottom: 1px solid #777;
  outline: none;
}
.tabla-resultados tbody th {
  border-bottom: 1px solid #777;
  text-align: left;
  padding-right: 25px;
}

.home-menu-container {
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  min-height: calc(100vh - 6rem);
  align-content: flex-start;
}

.home-menu-container.center-home-menu-container {
  align-content: center;
}

.home-menu-button {
  background-color: #f2463d;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.33);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem 2rem 1rem 2rem;
  color: #fff;
  font-size: 4rem; /* for icons */
  margin: 2rem;
  border-radius: 20px;
  transition: all 0.2s ease-in-out;
}

.home-menu-button h2 {
  font-size: 1.1rem;
  text-align: center;
  max-width: 200px;
  font-weight: 700;
  line-height: 1.4rem;
  margin-top: 1rem;
}

.home-menu-button:hover {
  color: #fff;
  text-decoration: none;
  transform: scale(1.1);
  box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.66);
}

.c404-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f2463d;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.33);
  border-radius: 20px;
}

.c404-container > * {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.d-none {
  display: none;
}

.login-container {
  margin-left: 0;
  margin-right: 0;
  background-color: #333;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.33);
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin: 2rem auto;
}

.login-container > h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.login-container > p {
  text-align: center;
}
.qr-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}
.qr-container .qr-code {
  background-color: #fff;
  padding: 2rem;
  min-width: 90%;
  margin: 0 auto;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.login-form input {
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  border: none;
  outline: none;
  font-size: 1.1rem;
}

.login-form label {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.login-buttons .btn.btn-primary {
  background-color: #fff;
  border-color: #fff;
  color: #f2463d;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: 90%;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 10px 1px rgb(0 0 0 / 33%);
}

.login-container .btn-secondary {
  color: #fff;
  border-radius: 20px;
  border: 2px solid #fff;
  padding: 0.25rem 1rem;
}

.login-container a {
  color: #f2463d;
}
.menu-provincia-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.menu-provincia-container > h1 {
  margin-top: 3rem;
  margin-bottom: 3rem;
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
}

.menu-provincias-provincia {
  width: 200px;
  height: auto;
}

.provincias-menu-outter {
  overflow: auto;
}

.provincias-menu-inner {
  padding: 1rem;
}
.departamentos-menu-inner {
  padding: 2rem 1rem 1rem 0;
}

.provincias-menu-inner > li,
.departamentos-menu-inner > li {
  flex-shrink: 0;
}

.pagination {
  box-shadow: 0 0 10px 1px rgb(0 0 0 / 33%);
  min-width: 0;
  width: auto;
  flex-grow: 0;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.step-links,
.step-links a {
  color: #f2463d;
}

.step-links a {
  margin-right: 1rem;
}

.step-links .current {
  color: #000;
  font-weight: bold;
  margin: 0 1rem;
}

.menu-lista-mesas {
  background-color: #f2463d;
  margin-bottom: 1rem;
  padding: 1rem;
  flex-wrap: wrap;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}

.menu-lista-mesas a {
  margin-right: 1rem;
  font-weight: bold;
}

.proyeccion-nacional-container {
  background-color: white;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.33);
  padding: 1rem;
  font-size: 0.9rem;
  align-self: flex-end;
  margin-bottom: 1rem;
  font-weight: 400;
}
.proyeccion-nacional-container span {
  font-weight: bold;
}

.resumen-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.resumen-container h1,
.resumen-container h2 {
  background-color: #ffee00;
  padding: 0.5rem;
}

.table-container {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  margin: 1rem;
}
.table-container td,
.table-container th {
  padding: 0.5rem;
  word-wrap: break-word;
}

.table-container table {
  text-align: center;
  table-layout: fixed;
}

.table-container td.Multicolor,
.table-container th.Multicolor {
  background-color: #bbff00;
}
.table-container td.Celeste,
.table-container th.Celeste {
  background-color: #00eeff;
}
.table-container td.Indeciso,
.table-container th.Indeciso {
  background-color: #ffee00;
}
.table-container td.Desconocido,
.table-container th.Desconocido {
  background-color: #fff;
}
.table-container tr.ya-voto {
  background-color: #b7f19c;
}

.table-container table {
  border-collapse: collapse;
}
.table-container tr {
  border-bottom: 1px solid gray;
}

.table-container > h2 {
  margin-top: 0;
}

.data-lista-votantes {
  display: flex;
  flex-direction: row;
}

.data-lista-votantes div {
  display: flex;
  flex-direction: row;
  margin: 0 1rem .3rem 1rem;
}

.data-lista-votantes h5 {
  margin: 0;
}

.data-lista-votantes h5:last-child {
  margin-left: .5rem;
}

.table-container tr.hora {
  background-color: #ffee00;
}
.table-container tr.hora th {
  padding-top: 2rem;
}

@media screen and (max-width: 650px) {
  .main-container {
    background-color: #ddd;
  }

  .login-container {
    box-shadow: none;
  }

  .step-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }

  .step-links a,
  .step-links .current {
    margin-bottom: 0.5rem;
  }

  .home-menu-container {
    flex-direction: column;
    margin: 2rem 0;
    align-content: center;
  }

  .home-menu-button {
    margin: 0 0 1rem 0;
  }

  .c404-container {
    box-shadow: none;
  }

  .departamentos-menu-inner {
    padding: 1rem;
  }

  .table-container input{
    font-size: 1rem;
  }

  .table-container {
    overflow-x: scroll;
    padding: .5rem;
  }

  .table-container table {
    width: 100%;
    table-layout: fixed;
  }

  .lista-votantes-container.table-container table {
    width: 150vw;
  }

  .table-container table td {
    word-wrap: break-word;
    padding: 0.75rem 0.1rem;
  }

  .resumen-container {
    width: 100%;
  }

  .resumen-container .table-container {
    width: 95%;
  }
}

span.si,
td.si {
  background-color: #bbff00;
  padding: 10px;
}

span.no,
td.no {
  background-color: #000;
  padding: 10px;
}
