/* Importa la fuente Poppins desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Utiliza la fuente Poppins en tu selector */
body {
  font-family: 'Poppins', sans-serif;
}

/* Estilos predeterminados para todos los dispositivos */
.menu-inicio a:before,
.menu-tramites a:before,
.menu-info a:before,
.menu-ayuda a:before {
  display: none;
  /* Oculta los iconos por defecto */
}

/* Estilos para tablet y móvil - Icono para Inicio */
@media only screen and (max-width: 768px) {
  .menu-inicio a:before {
    display: inline-block !important;
    font-family: 'ETmodules' !important;
    content: "\e074" !important;
    margin-right: 10px !important;
    margin-top: -1px !important;
    color: white !important;
    font-size: 18px !important;
    float: left !important;
  }
}

/* Estilos para tablet y móvil - Icono para Trámites */
@media only screen and (max-width: 768px) {
  .menu-tramites a:before {
    display: inline-block !important;
    font-family: 'ETmodules' !important;
    content: "\e059" !important;
    margin-right: 10px !important;
    margin-top: -1px !important;
    color: white !important;
    font-size: 18px !important;
    float: left !important;
  }
}

/* Estilos para tablet y móvil - Icono para Info */
@media only screen and (max-width: 768px) {
  .menu-info a:before {
    display: inline-block !important;
    font-family: 'ETmodules' !important;
    content: "\e107" !important;
    margin-right: 10px !important;
    margin-top: -1px !important;
    color: white !important;
    font-size: 18px !important;
    float: left !important;
  }
}

/* Estilos para tablet y móvil - Icono para Ayuda */
@media only screen and (max-width: 768px) {
  .menu-ayuda a:before {
    display: inline-block !important;
    font-family: 'ETmodules' !important;
    content: "\e064" !important;
    margin-right: 10px !important;
    margin-top: -1px !important;
    color: white !important;
    font-size: 18px !important;
    float: left !important;
  }
}



.et_pb_scroll_top.et-pb-icon {
  height: 50px;
  width: 50px;
  border-radius: 100px;
  right: 15px;
  background: linear-gradient(90deg, #50376F 2.8%, #B6264F 100%);
}

.et_pb_scroll_top:before {
  content: "\21";
  font-size: 35px;
  color: #ffffff;
  position: absolute;
  top: 7px;
  left: 7px;
}

.et_pb_scroll_top.et-pb-icon:hover {
  background: linear-gradient(90deg, #005C91 0%, #009DDD 100%);
  transition: all 300ms ease 0ms;
}

.wpcf7-response-output {
  display: none;
}


.btn-enlinea {
  text-align: center;
}

.btn-enlinea .et_pb_button_module_wrapper {
  display: inline-block !important;
  margin: 0 5px;
  /* add a small margin between buttons */
}

@media (max-width: 980px) {
  .btn-enlinea .et_pb_button_module_wrapper {
    display: block !important;
    margin: 0 auto 10px auto;
    /* Ajusta el valor de 10px según lo necesites */
    text-align: center;
    /* Asegúrate de que los botones estén centrados */
  }
}


/* Style Search box */
#ajaxsearchlite1 .probox,
div.asl_w .probox {
  box-shadow: none !important;
}

div.asl_m.asl_w {
  outline: 1px solid #212121;
  outline-offset: -1px;
  margin-top: 25px !important;
}

div.asl_w .probox .prosettings,
div.asl_w .probox .promagnifier {
  background-color: #fff;
  background-image: -webkit-linear-gradient(185deg, #fff, #fff);
  background-image: linear-gradient(185deg, #fff, #fff);
  border: 0 solid #212121;
}

#ajaxsearchlite1 .probox,
div.asl_w .probox,
div.asl_m .probox .proinput input {
  height: 40px !important;
}

div.asl_w .probox .prosettings,
div.asl_w .probox .promagnifier {
  margin-top: 6px;
}

#ajaxsearchlite1 .probox .proinput input,
div.asl_w .probox div.proinput input {
  font-size: 16px !important;
}

.prosettings:before {
  content: '\e037' !Important;
  color: #212121;
  font-family: 'ETmodules' !Important;
  font-size: 18px !Important;
  background: #fff;
  padding: 5px;
}

div.asl_m .probox .proclose svg {
  fill: #fff !Important;
  margin-top: -4px;
}

div.asl_w .probox div.asl_simple-circle {
  margin-top: 10px;
  padding: 10px !important;
}

div.asl_m .probox .proinput input.autocomplete {
  margin-top: -40px !important;
}

#ajaxsearchlite1 .probox,
div.asl_w .probox,
div.asl_w .probox .promagnifier {
  background: #fff;
  background-image: -webkit-radial-gradient(center, ellipse cover, #fff, #fff);
  background-image: radial-gradient(ellipse at center, #fff, #fff);
}

div.asl_w .probox .promagnifier {
  margin-top: 3px;
  margin-right: 1px;
}

div.asl_w .probox .promagnifier .innericon svg {
  fill: #000;
}

#ajaxsearchlite1 .probox .proinput input,
div.asl_w .probox .proinput input {
  color: #000 !Important;
  fon-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif !important;
}

div.asl_m .probox .proclose svg {
  top: 40%;
}

div.asl_r.vertical,
div.asl_w {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 3px;
  margin-top: -10px;
}

#ajaxsearchlite1 .probox,
div.asl_w .probox {
  border: none !important;
}

div.asl_s.searchsettings {
  background: var(--color-dark-black);
}

div.asl_w .probox div.prosettings {
  background: #fff;
  background-image: -webkit-radial-gradient(center, ellipse cover, #fff, #fff);
  background-image: radial-gradient(ellipse at center, #fff, #fff);
}

div.asl_r .results .item .asl_content h3,
div.asl_r .results .item .asl_content h3 a {
  color: var(--color-one);
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif !important;
}

div.asl_r .results .item .asl_content .asl_desc {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif !important;
}


/* Estilos para dispositivos móviles */

@media screen and (max-width: 767px) {

  /* Cambiar tamaño de la caja de búsqueda */
  #ajaxsearchlite1 .probox,
  div.asl_w .probox,
  div.asl_m .probox .proinput input {
    height: 36px !important;
  }

  /* Ajustar tamaño del icono de ajustes */
  .prosettings:before {
    font-size: 16px !important;
  }

  /* Ajustar posición del botón de cierre */
  div.asl_m .probox .proclose svg {
    margin-top: -2px !important;
  }

  /* Ajustar tamaño de la lupa */
  div.asl_w .probox .promagnifier {
    margin-top: 1px !important;
  }

  /* Cambiar tamaño del texto de entrada */
  #ajaxsearchlite1 .probox .proinput input,
  div.asl_w .probox .proinput input {
    font-size: 14px !important;
  }

  /* Estilos para el contenedor de resultados */
  div.asl_r.vertical,
  div.asl_w {
    border: 1px solid #eee;
    border-radius: 3px;
  }

  /* Estilos para el botón de ajustes */
  div.asl_w .probox div.prosettings {
    background: #fff;
  }

  /* Cambiar color del texto del resultado */
  div.asl_r .results .item .asl_content h3,
  div.asl_r .results .item .asl_content h3 a {
    color: #333 !important;
  }

  /* Cambiar fuente del texto del resultado */
  div.asl_r .results .item .asl_content .asl_desc {
    font-family: 'Arial', sans-serif !important;
  }
}

.et_pb_post {
  border: solid#80808069 1px !important;
}

#no-border .et_pb_post {
  border: none !important;
}

.hilite {
  background-color: #9CD4FF;
  box-shadow: 3px 3px 4px 0px rgba(0, 0, 0, 0.25);
  font-weight: bold;
}

li.meta-author {
  display: none;
}

.dipi_typing_text_0 .dipi-typing .dipi-typing-text-prefix {
  text-transform: uppercase !important;
  font-size: 35px !important;
  /* Reduced font size */
  color: #E0E0E0 !important;
  /* Softer white */
  letter-spacing: 1.5px !important;
  /* Slightly tighter spacing */
  line-height: 1.1em !important;
  font-family: 'Poppins', sans-serif !important;
  text-shadow: 2px 2px 5px rgba(161, 7, 70, 0.6) !important;
  /* Softer shadow */
  1px 1px 3px rgba(0, 0, 0, 0.3) !important;
  /* Lighter secondary shadow */
  font-weight: bold !important;
}

.dipi_typing_text_0 .dipi-typing .dipi-typing-text {
  font-size: 45px !important;
  /* Reduced font size */
  color: #FF6384 !important;
  /* Softer, lighter red */
  font-family: 'Poppins', sans-serif !important;
  font-weight: bold !important;
  letter-spacing: 1.5px !important;
  /* Slightly tighter spacing */
  text-shadow: 3px 3px 6px rgba(161, 7, 70, 0.6) !important;
  /* Softer shadow */
  2px 2px 5px rgba(0, 0, 0, 0.3) !important;
  /* Lighter secondary shadow */
  line-height: 1.15 !important;
  /* Slightly adjusted line height */
}

 /* Formas de pago */
 .payment-methods-section {
  text-align: center;
  background: linear-gradient(90deg, rgba(173,0,56,1) 0%, rgba(99,39,137,1) 80%, rgba(118,63,164,1) 100%);
  padding: 40px 20px;
}

.payment-methods-section h2 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 2.5em;
}

.payment-methods-section p {
  color: #eeeeee;
  margin-bottom: 20px;
}

.payment-methods-section .info-link {
  display: inline-block;
  color: #00bfff;
  font-weight: bold;
  margin-bottom: 30px;
  text-decoration: none;
}

.payment-cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.payment-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  flex: 1 1 180px;
  max-width: 250px;
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.payment-card:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.3);
  border-color: #00ffff; /* Bordes de neón */
}

.payment-card i {
  font-size: 2.5em;
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.payment-card:hover i {
  transform: scale(1.1);
}

.payment-card span {
  display: block;
  font-size: 1.1em;
}

/* Animación de deslizamiento en la carga */
@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.payment-card {
  animation: slideIn 0.5s ease-in-out;
}

/* Estilos responsivos para tablets y dispositivos medianos */
@media (max-width: 1024px) {
  .payment-card {
      flex: 1 1 45%; /* Las tarjetas ocupan el 45% del ancho */
      max-width: 220px;
  }
}

/* Estilos responsivos para dispositivos pequeños (teléfonos) */
@media (max-width: 768px) {
  .payment-card {
      flex: 1 1 100%; /* Las tarjetas ocupan el 100% del ancho */
      max-width: 100%;
      margin-bottom: 15px;
  }
}

/* Estilos para teléfonos pequeños */
@media (max-width: 480px) {
  .payment-card {
      padding: 15px;
      font-size: 0.9em;
  }

  .payment-card i {
      font-size: 2em;
  }

  .payment-card span {
      font-size: 1em;
  }
}

/* Botones en autogestion */
.unique-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.unique-btn {
  padding: 12px 20px;
  text-decoration: none !important;
  color: #ffffff !important;
  font-weight: bold;
  border-radius: 5px;
  background: linear-gradient(135deg, #023F5E 0%, #612247 100%);
  /* Default background color */
  transition: background-color 0.3s, transform 0.3s;
  text-align: center;
}

/* Primary button */
.unique-btn-primary {
  background: linear-gradient(135deg, #023F5E 0%, #612247 100%) !important;
}

.unique-btn-primary:hover {
  background: linear-gradient(135deg, #023F5E 0%, #612247 100%) !important;
  transform: scale(1.05);
}

/* Secondary button */
.unique-btn-secondary {
  background: linear-gradient(135deg, #023F5E 0%, #612247 100%) !important;
}

.unique-btn-secondary:hover {
  background: linear-gradient(135deg, #023F5E 0%, #612247 100%) !important;
  transform: scale(1.05);
}

/* Video button */
.unique-btn-video {
  background: linear-gradient(135deg, #023F5E 0%, #612247 100%) !important;
}

.unique-btn-video:hover {
  background-color: #23272b !important;
  transform: scale(1.05);
}

/* Tramite button */
.unique-btn-tramite {
  background: linear-gradient(135deg, #023F5E 0%, #612247 100%) !important;
}

.unique-btn-tramite:hover {
  background: linear-gradient(135deg, #023F5E 0%, #612247 100%) !important;
  transform: scale(1.05);
}

/* Consulta button */
.unique-btn-consulta {
  background: linear-gradient(135deg, #023F5E 0%, #612247 100%) !important;
}

.unique-btn-consulta:hover {
  background: linear-gradient(135deg, #023F5E 0%, #612247 100%) !important;
  transform: scale(1.05);
}

/* Responsiveness */
@media (max-width: 768px) {
  .unique-btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .unique-btn {
    width: 100%;
    margin-bottom: 10px;
  }
}
/* FIN */

/* Seccion Tramites en el menu */
/* Sección de las tarjetas */
/* Sección Título General */
.custom-card-wrapper {
  text-align: center;
  margin: 40px auto;
  max-width: 1200px;
}

.custom-card-title {
  font-size: 28px;
  font-weight: 700;
  color: #101931;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.custom-card-description {
  font-size: 18px;
  color: #666666;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

/* Efecto Hover y Colores Adaptativos */
.custom-card:hover {
  background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
}

.custom-card:hover .custom-card-text {
  color: #0056b3;
}

.custom-card:hover .custom-card-icon {
  color: #0078ff;
}

/* Texto Fade-in */
.custom-card:hover .custom-card-text {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(10px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsividad Ajustada */
@media (max-width: 768px) {
  .custom-card-wrapper {
      padding: 0 15px;
  }
  .custom-card-title {
      font-size: 24px;
  }
  .custom-card-description {
      font-size: 16px;
  }
}

.custom-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 15px;
}

/* Tarjeta base */
.custom-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 180px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  position: relative;
}

/* Efecto Hover en la tarjeta */
.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #f0f0f0, #eaeaea);
}

/* Ícono de la tarjeta */
.custom-card-icon {
  font-size: 48px;
  color: #D1626D;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.custom-card:hover .custom-card-icon {
  color: #0056b3;
}

/* Texto de la tarjeta */
.custom-card-text {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.custom-card:hover .custom-card-text {
  color: #222222;
}

/* Fondo dinámico */
.custom-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0));
  z-index: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.custom-card:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

/* Responsividad */
@media (max-width: 768px) {
  .custom-card-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .custom-card-container {
    grid-template-columns: 1fr;
  }
}