#sp-header {
  height: auto;
  background-color: #fefefe;
  box-shadow: none;
  border-top: 1px solid #f9f9f9;
  border-bottom: 1px solid #BE0C4D;
}

#sp-main-body {
  padding: 30px 0 50px 0px;
}

#sp-position1 .d-flex {
  flex-direction: column;
}

.fondoazo {
  background-color: #013762;
  color: #FFFFFF;
}

/* ==== Buscar ==== */
.awesomplete {
  display: inline-block;
  position: relative;
  width: 75%;
}


/* ==== Subir Página ==== */
.sp-scroll-up {
  bottom: 100px;
  right: 40px;
}

#sp-bottom {
  background: rgba(0, 0, 0, 0);
  color: #FFFFFF;
  margin-top: 0em;
}

/* ==== Footer ==== */
#sp-footer {
  background-color: #3366CC;
  color: #000000;
  margin-top: 0px;
}

#contenfooter {
  margin-top: -8em;
}

#sp-footer2do {
  background-color: #3366CC;
  padding: 0px 0px 15px 0px;
}


/* ==== Movimiento fa-icon ==== */
.btn:hover .fa-icon {
  color: #ffe97f;
  transform: scale(1.08) translateY(-2px);
  text-shadow: 0 1px 2px rgba(255,255,180,0.6), 0 3px 6px rgba(0,0,0,0.2);
}
.fa-icon {
  position: relative;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.15);
  transition: transform 0.35s ease, color 0.35s ease, text-shadow 0.35s ease;
}


/* Estilo del botón */
.btn-img-text {
  /*background: linear-gradient(135deg, #0a8044, #024624);*/
  color: #086a00;
  border: 1px solid #047d0026;
  /*border: none;*/
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  text-align: center;
}
.btn-img-text img {
  width: 50px;
  height: 50px;
  border-radius: 10%;
  object-fit: cover;
}
.btn-img-text:hover,
.btn-img-text:focus {
  /*background: linear-gradient(135deg, #0cbf65, #057a3a);*/
  background: linear-gradient(135deg, #5757575e, #00ff74);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transform: scale(1.05);
  /*color: #fff;*/
  color: #570000;
  -webkit-animation: color-item 1s !important;
  animation: color-item 1s !important;
  box-shadow: 0 0 0 0.2em rgba(0, 94, 19, 0.2) !important;
  border: none !important;
  filter: grayscale(90%) !important;
}
/* Para pantallas pequeñas: centrado */
@media (max-width: 576px) {
  .btn-img-text {
    width: 100%;
    justify-content: start;
  }
}


.btnsub:hover, .btnsub:focus {
  -webkit-animation: color-item 1s !important;
  animation: color-item 1s !important;
  box-shadow: 0 0 0 0.2em rgba(0, 94, 19, 0.2) !important;
  border: none !important;
  filter: grayscale(90%) !important;
}
.btnsub:hover {
  background: #FEFEFE !important;
  transform: translateY(-10px) !important;
  transition: all 0.3s ease-in-out 0s !important;
  box-shadow: 0px 0 60px 0 rgba(79, 16, 16, 0.09) !important;
}





/* ==== Buscador Inteligente - Diseño en Dos Columnas ==== */
.card.card-outline-secondary.mb-3 {
  display: none !important;
}

/* ==== Búsqueda Inteligente Avanzada - Estilo Moderno 2 Columnas ==== */
.js-finder-advanced {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.js-finder-advanced:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ==== Título del formulario ==== */
.js-finder-advanced h2,
.js-finder-advanced legend {
  font-weight: 600;
  color: #198754;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ==== Grid general de 2 columnas ==== */
.js-finder-advanced fieldset,
.js-finder-advanced .control-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2rem;
  align-items: flex-start;
}

/* Campos individuales */
.js-finder-advanced .control-label {
  font-weight: 500;
  color: #212529;
  margin-bottom: 0.3rem;
}

.js-finder-advanced .controls input,
.js-finder-advanced .controls select,
.js-finder-advanced .controls textarea {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  padding: 0.6rem 0.8rem;
  transition: all 0.2s ease-in-out;
  font-size: 1rem;
}

.js-finder-advanced .controls input:focus,
.js-finder-advanced .controls select:focus,
.js-finder-advanced .controls textarea:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.25rem rgba(25,135,84,0.25);
  outline: none;
}

/* ==== Botones de acción (buscar, limpiar, etc.) ==== */
.js-finder-advanced .btn {
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.js-finder-advanced .btn-primary {
  background-color: #198754;
  border-color: #198754;
}

.js-finder-advanced .btn-primary:hover {
  background-color: #157347;
  border-color: #146c43;
  transform: translateY(-1px);
}

.js-finder-advanced .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.js-finder-advanced .btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

/* ==== Campos grandes o completos ==== */
.js-finder-advanced .finder-search,
.js-finder-advanced .finder-keywords {
  grid-column: span 2;
}

/* ==== Responsivo ==== */
@media (max-width: 768px) {
  .js-finder-advanced fieldset,
  .js-finder-advanced .control-group {
    grid-template-columns: 1fr;
  }

  .js-finder-advanced {
    padding: 1.2rem;
  }
}


/* ==== Diseño Cartas Inicio ===== */
.card-temint {
  position: relative;
  background-color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
  color: #000;
}

.card-temint::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #e2fdd0 0%, #e8e8e8 100% );
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(10px);
}

.head-temint {
  font-size: 19px;
  /*text-transform: capitalize;*/
  font-weight: 700;
  line-height: 1.2;
  color: #3e7705;
  padding: 0px 0px 4px 0px;
}

.card-temint p:not(.head-temint) {
  font-size: 14px;
}

.card-temint p:last-child {
  color: #000;
  font-weight: 400;
  text-align: center;
  padding: 0px 20px 0px 20px;
}

.card-temint:hover, .card-temint:focus{
  -webkit-animation: color-item 1s;
          animation: color-item 1s;
  box-shadow: 0 0 0 1em rgba(255, 255, 255, 0);
}

.card-temint:hover {
  background-color: #FEFEFE;
  color:#fff;
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-image: none;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out 0s;
  box-shadow: 0 5px 10px rgba(0, 128, 0, 0.3);
}

