/* Common Styles 
::selection {
  color: #fff;
  background-color: #100423;
}*/


.nhb{
  width: 70%;
}


/* Cambiar el color del botón del acordeón (colapsado y no colapsado) */
button.accordion-button {
  color: #100423; /* Reemplaza "tu-color-normal" con el color deseado en el estado normal */
  background-color: #fff; /* Reemplaza "tu-color-normal-fondo" con el color de fondo deseado en el estado normal */
}

button.accordion-button:hover {
  color: var(--dark); /* Reemplaza "tu-color-hover" con el color deseado al pasar el ratón sobre el botón */
  background-color:  var(--red-2); /* Reemplaza "tu-color-hover-fondo" con el color de fondo deseado al pasar el ratón sobre el botón */
}

button.accordion-button:focus{
  border-color:none;
  box-shadow:none;
}

/* Cambiar el color del botón activo del acordeón */
button.accordion-button:not(.collapsed) {
  background-color:var(--red-2);
  color:var(--dark);
}

/* Cambiar el color del icono de la flecha en el botón del acordeón (activo y no activo) */
button.accordion-button::after {
   /* Desactivar la imagen de fondo por defecto */
  color: var(--dark); /* Reemplaza "tu-color-de-flecha-normal" con el color deseado para la flecha cuando el botón está en estado normal (colapsado) */
}

button.accordion-button:not(.collapsed)::after {
  
  color: var(--dark); /* Reemplaza "tu-color-de-flecha-activo" con el color deseado para la flecha cuando el botón está activo */
}


/* Search Input Styles */
.container {
  max-width: 450px;
  margin: auto auto auto auto;
}
.contenido-1 {
  width: 65%;
}
.container .searchInput {
  background: #fff;
  color: var(--dark);
  width: 100%;
  border-radius: 5px;
  position: relative;
  box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
}

.searchInput input {
  height: 55px;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 5px;
  padding: 0 60px 0 20px;
  font-size: 18px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
}

.searchInput.active input {
  border-radius: 5px 5px 0 0;
}

.searchInput .resultBox {
  padding: 0;
  pointer-events: none;
  max-height: 100%;
  overflow-y: auto;
  height: 100%;
}

.searchInput.active .resultBox {
  padding: 0px;
  opacity: 1;
  pointer-events: auto;

}

.resultBox li {
  list-style: none;
  padding: 8px 12px;
  display: none;
  width: 100%;
  cursor: default;
  border-radius: 3px;
  text-align: left;
}

.resultBox p {
  text-align: left;
  margin:0px;
  padding: 5px;
}

.searchInput.active .resultBox li {
  display: block;
  cursor: pointer;
}

.searchInput .icon {
  position: absolute;
  right: 0px;
  top: 0px;
  height: 55px;
  width: 55px;
  text-align: center;
  line-height: 55px;
  font-size: 20px;
  color: #fa0050;
  cursor: pointer;
}

/* Body and Header Styles */
body {
  color: #100423;
  background: #fff;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-attachment: scroll;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  padding: 1em 1em;
  width: auto;
  background-color: #fa0050;
  color: #ffffff;
  height: fit-content;
}

header h1 {
  width: 100%;
  font-weight: 800;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 60px;
}

/* Main Content Styles */
main {
  height: auto;
  margin-bottom: 90px;
  background-color: #f8f8f8;
}

main h1 {
  font-weight: var(--pageTitleFontWeight);
  font-size: var(--pageTitleFontSize);
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

main h2{
  font-weight: var(--pageTitleFontWeight);
}
main p{
  font-size: 16px;
  font-weight: 500;
}

/* Card Styles */
.card-group .card {
 
  padding: 20px;
  margin: 30px;
  background-color: #fff;
  height: 230px;
  overflow: hidden;
}

.card-title {
  font-weight: 800;
  letter-spacing: -0.23px;
  margin-bottom: 20px !important;
}

.card-group .card:hover {
  background-color: #46e8e8;
  transition-duration: 0.5s;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
  transition: all 0.5s ease;
}

.card-group .card a {
  color: #100423;
  text-decoration-line: none;
}

.card-group .card img {
  width: 150px;
}

/* Other Styles */
.cont-rows {
  cursor: pointer;
  margin-top: 17px;
  margin-bottom: 17px;
  padding: 10px 20px;
  border-radius: 35px;
  border-style: solid;
  border-color: #fa0050;
  width: 80%;
  background-color: #f6f8f8;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  font-size: small;
}

.cont-rows a {
  text-decoration: none;
  color: #100423;
}

.cont-rows:hover,
.cont-rows a:hover {
  background-color: #fa0050;
  color: #f6f8f8;
  transition-duration: 0.5s;
}

/* Responsive Styles */
@media only screen and (max-width: 700px) {
  .nav-principal {
    height: auto;
  }

  table .contenido-1 {
    display: block;
    width: 100%;
  }

  .contenido-1 {
    width: 90%;
  }
  .th,
  .td {
    display: block;
    width: 100%;
  }
  .nhb{
    width: 100%;
  }

  th .th[width],
  td .td[width] {
    width: 100% !important;
  }
  .card-group .card {
    padding:10px;
    margin: 10px;
    background-color: #fff;
    height: 200px;
    overflow: hidden;
  }
  header h1 {
    width: 100%;
    font-weight: 800;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 30px;
    padding: 10px;
  }

  header {
    display: flex;
    padding: 1em 1em;
    width: auto;
    background-color: #fa0050;
    color: #ffffff;
    height: fit-content;
  }

  .titulo {
    background-color: #0659ff;
    height: auto;
    padding: 25px 10px;
  }

  .titulo-pag {
    font-size: 30px;
    text-align: center;
    line-height: 27px;
    font-weight: 800;
    padding: 0px;
  }

  .cont-rows {
    font-size: 10px;
  }

  
}

@media only screen and (max-width: 300px) {
  header h1 {
    font-size: 20px;
  }

  .text h1 {
    font-size: 18px;
  }
}
