.spinner {
  left: 50%;
  top: 50%;
  height: 60px;
  width: 60px;
  margin: 0px auto;
  -webkit-animation: rotation 0.6s infinite linear;
  -moz-animation: rotation 0.6s infinite linear;
  -o-animation: rotation 0.6s infinite linear;
  animation: rotation 0.6s infinite linear;
  border-left: 6px solid rgba(0, 174, 239, 0.15);
  border-right: 6px solid rgba(0, 174, 239, 0.15);
  border-bottom: 6px solid rgba(0, 174, 239, 0.15);
  border-top: 6px solid rgba(0, 174, 239, 0.8);
  border-radius: 100%;
}

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
@-moz-keyframes rotation {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(359deg);
  }
}
@-o-keyframes rotation {
  from {
    -o-transform: rotate(0deg);
  }
  to {
    -o-transform: rotate(359deg);
  }
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

/* This is the style of our error messages */
.error {
  width: 100%;
  padding: 0;

  font-size: 80%;
  color: white;
  background-color: #900;
  border-radius: 0 0 5px 5px;

  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.error.active {
  padding: 0.3em;
}

.btn-google {
  color: #545454;
  box-shadow: 0 1px 2px 1px #ddd;
  font-family: "Roboto";
}

.ballot {
  display: none;
}
.ballot + label {
  width: 100%;
}

.ballot + label .marca {
  cursor: pointer;
  background: url("https://evoting.s3.amazonaws.com/Chileactores+2024/papeleta_mark.png") center no-repeat;
  height: 80px;
  width: 68px;
  display: inline-block;
  padding: 0 0 0 0px;
  max-width: 100%;
}

.ballot:checked + label .marca {
  background: url("https://evoting.s3.amazonaws.com/Chileactores+2024/papeleta_marked.png") center no-repeat;
  height: 80px;
  width: 68px;
  display: inline-block;
  padding: 0 0 0 0px;
  max-width: 100%;
}

.ballot + label .marca-square {
  border: 4px solid black;
  border-radius: 15px;
  height: 60px;
  width: 68px;
  display: inline-block;
  padding: 0 0 0 0px;
}

.ballot:checked + label .marca-square {
  background: url("/assets/images/papeleta_marked_cr.png") center no-repeat;
  height: 60px;
  width: 68px;
  display: inline-block;
  padding: 0 0 0 0px;
}

.image-option {
  display: table-cell;
  vertical-align: middle;
  height: 80px;
}

.lista {
  /* border-color: black; */
  border: 1px solid black;
  border-radius: 4px;
  margin: 10px;
}

.container {
  font-family: "Raleway";
}

.container-fluid {
  font-family: "Raleway";
}

.EvColor {
  background-color: #d5aa3f;
  color: #000000;
}

.EvColorGris {
  background-color: #c6ccd4;
}

.EvColorLightBlue {
  background-color: #212f3d;
}

.EvColorBlue {
  background-color: #d5aa3f;
}

.EvColorGrisLight {
  background-color: #e5ecf0;
}

.btn {
  cursor: pointer;
}

.logoEV {
  max-height: 50px;
}

.logo {
  max-height: 150px;
}

.blured {
  filter: blur(100px) !important;
}
.crossOut {
  background: url("/assets/images/sistema_seguro.jpg") repeat;
}

.mati-hide {
  display: none;
}

.hidden {
  display: none;
}

.cl-claveunica {
  display: inline-block;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  background-color: #d5aa3f;
  color: #ffffff;
}

.img-autentiz {
  height: 1.5rem;
  width: auto;
}

.goldenColor {
  background-color: #d5aa3f;
}

.colorWhite {
  background-color: white;
}

.pr-0 {
  padding-right: 0px !important;
}

.mr-0 {
  margin-right: 0px !important;
}

.bt-0 {
  border-top: 0px !important;
}

.card-header {
  position: sticky;
  top: 0;
  z-index: 10; /* Ensure it's above other content */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.nominado-body {
  flex: 1 1 auto;
  padding: 1rem 1rem;
}

.nominado-header {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  padding-left: 10px;
  padding-right: 10px;
}

.premio-border {
  border: 2px solid #d5aa3f;
  border-radius: 10px;
}

.card-header {
  border-radius: 10px !important;
}

.sticky-bg {
  background: white !important; /* Use !important to override any other background properties */
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
}

.card-header {
  transition: transform 0.3s ease, top 0.3s ease;
  background: white; /* Background color for all headers */
  z-index: 1; /* Ensure headers stack correctly */
}

.card-header.current {
  transform: scale(1); /* Full size for the current header */
  z-index: 2; /* Ensure the current header is above the smaller headers */
}

.card-header.past {
  z-index: 100 !important; /* Keep small headers below the current header */
  font-size: calc(0.85rem + 0.3vw);
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 5px;
  padding-right: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-header.clickable {
  cursor: pointer; /* Esto cambia el cursor a un puntero de mano */
}

/* Contenedor del ÃƒÂ­ndice */
#index {
  background-color: #f7f7f7; /* Color de fondo claro */
  padding: 10px;
  height: 100vh; /* Altura completa de la vista */
  overflow-y: auto; /* Permite desplazamiento si el contenido es largo */
  border-right: 1px solid #ddd; /* Borde derecho para separar del contenido */
  position: sticky;
  top: 0;
}

/* Estilos para los encabezados de categorÃƒÂ­as */
#index h4 {
  font-size: 0.95rem; /* TamaÃƒÂ±o de fuente mÃƒÂ¡s pequeÃƒÂ±o */
  font-weight: bold; /* Fuente en negrita para mejor lectura */
  color: black; /* Color oscuro para el texto */
  margin-top: 20px; /* Espacio en la parte superior */
  margin-bottom: 10px; /* Espacio en la parte inferior */
}

/* Estilos para los elementos de la lista */
#index ul {
  list-style-type: none; /* Remover viÃƒÂ±etas */
  margin: 0;
  padding: 0;
}

#index li {
  margin-bottom: 5px; /* Espacio entre elementos */
}

/* Estilos para los enlaces */
#index a {
  text-decoration: none; /* Eliminar subrayado */
  color: #555; /* Color oscuro para los enlaces */
  font-size: 0.75rem; /* TamaÃƒÂ±o de fuente mÃƒÂ¡s pequeÃƒÂ±o */
  display: block; /* Hacer que el enlace ocupe todo el espacio del elemento li */
  transition: background-color 0.3s, color 0.3s; /* Transiciones suaves */
}

#index a:hover {
  background-color: #e9ecef; /* Color de fondo al pasar el ratÃƒÂ³n */
  color: #000; /* Texto mÃƒÂ¡s oscuro al pasar el ratÃƒÂ³n */
}

/* Estilos para el indicador de respuesta */
.answer-info {
  font-size: 0.7rem; /* TamaÃƒÂ±o de fuente mÃƒÂ¡s pequeÃƒÂ±o para el indicador */
}

@media screen and (max-width: 375px) {
  .mobilepx0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .nominado-body {
    padding: 0.5rem 0.5rem !important;
  }
}

#index .list-item .badge {
  display: block; /* AsegÃƒÂºrate de que el badge ocupa su propio espacio */
  white-space: nowrap; /* No permitir el salto de lÃƒÂ­nea */
  overflow: hidden; /* Ocultar el contenido desbordado */
  text-overflow: ellipsis; /* AÃƒÂ±adir puntos suspensivos si el texto es demasiado largo */
  max-width: 100%; /* AsegÃƒÂºrate de que no exceda el ancho del contenedor */
}

.badge1 {
  border-radius: 0px !important;
  font-size: large;
  width: 100%;
}

.badge2 {
  font-size: large;
  border: none; /* Sin bordes */
  border-radius: 5px; /* Esquinas redondeadas */
  transition: all 0.3s ease; /* Transicion suave para efectos de hover */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra para efecto 3D */
}

.badge2:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra mÃƒÂ¡s pronunciada */
  transform: translateY(-2px); /* Mover el botÃƒÂ³n hacia arriba para efecto de "elevaciÃƒÂ³n" */
}

@media (max-width: 1080px) {
  .badge2 {
    font-size: small;
  }
}

@media (max-width: 885px) {
  .badge2 {
    font-size: smaller;
  }
}

.rotated {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

@media (max-width: 575px) {
  #sidebar.collapsed .badge2 {
    font-size: 0; /* O alternativamente, puedes usar 'visibility: hidden' */
    min-height: 20px; /* Altura mÃƒÂ­nima del cuadrado */
    min-width: 100%; /* Anchura mÃƒÂ­nima del cuadrado */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #sidebar.collapsed .sidebar-title {
    text-indent: -9999px; /* Mueve el texto original fuera de la vista */
    overflow: hidden; /* Evita que el texto desplazado se muestre */
    width: 100%; /* Anchura del badge */
    height: 20px; /* Altura del badge */
    position: relative;
  }

  #sidebar.collapsed .sidebar-title::after {
    content: attr(data-number); /* Usa un atributo personalizado para el nÃƒÂºmero */
    text-indent: 0; /* Restablece text-indent para el contenido generado */
    display: block; /* Asegura que ::after sea un bloque y ocupe el espacio adecuado */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%; /* Asegura que el contenido generado ocupe todo el ancho del padre */
    height: 100%; /* Asegura que el contenido generado ocupe toda la altura del padre */
    text-align: center; /* Centra el contenido horizontalmente */
    line-height: 20px; /* Centra el contenido verticalmente */
  }

  #sidebar.collapsed .sidebar-title:nth-of-type(1)::after {
    content: "TE";
  }
  #sidebar.collapsed .sidebar-title:nth-of-type(2)::after {
    content: "SE";
  }
  #sidebar.collapsed .sidebar-title:nth-of-type(3)::after {
    content: "CI";
  }
  #sidebar.collapsed .sidebar-title:nth-of-type(4)::after {
    content: "CO";
  }
}

.icon-toggle {
  max-width: 30px;
  width: 100%;
}

.icon-toggle2 {
  max-width: 30px;
  width: 100%;
}

.candidato-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.1em;
  content: "";
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
}

.cerrar-voto:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra mÃƒÂ¡s pronunciada */
  transform: translateY(-2px); /* Mover el botÃƒÂ³n hacia arriba para efecto de "elevaciÃƒÂ³n" */
}

.text-end {
  text-align: right !important;
}
