﻿:root {
  --colorPP: #006eb6;
}

.modal-backdrop.fade.show {
  display: none !important;
}
.bg__modal .modal-dialog {
  max-width: 650px;
  margin: 0 auto;
}
.bg__modal {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  display: flex;
  align-items: center;
  display: none;
}

.modal__content {
  background: white;
  position: absolute;
  z-index: 99999;
  width: 100%;
}

.modal__header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3%;
  gap: 15px;
}

.modal__header figure {
  display: flex;
  justify-content: center;
}

.modal__img {
  width: 15%;
}

.modal__body {
  background: #f9f9fb;
  padding: 3%;
  list-style: none;
}
.splide__pagination {
  display: none !important;
}
.ListaResults div {
  display: flex;
  gap: 5px;
  align-items: center;
}
.ListaResults {
  display: flex;
  justify-content: space-between;
}
.iconLink {
  width: 30px;
  color: var(--colorPP) !important;
}
.iconNotLink {
  width: 80px;
  color: var(--colorPP) !important;
}
#myModal .modal-dialog {
  pointer-events: visible;
}

.resultadosBusqueda {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.UrlBuscador {
  color: black;
  font-weight: bold;
  transition: all 0.5 ease;
}

.UrlBuscador:visited {
  color: purple !important;
}

.UrlBuscador:hover {
  color: blue !important;
}

.modal__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2%;
}

.btn.btn-secondary {
  cursor: pointer;
  background: var(--colorPP);
  padding: 8px 22px;
  color: white;
  border-radius: 11px;
  font-size: 15px;
  transition: all 0.5s;
}
.btn.btn-secondary:hover {
  background: #10223a;
}

.ResultsnotFound {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.msnResultsNot {
  color: black;
  font-weight: bold;
  font-size: 17px;
}

#pagination {
  display: flex;
  justify-content: center;
  padding-top: 30px;
}
.modal__body .page-item.active .page-link {
  z-index: 2;
  color: #fff;
  background-color: var(--colorPP) !important ;
  border-color: var(--colorPP);
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 4px;
}
.modal__body .page-item .page-link {
  z-index: 2;
  color: #fff;
  background-color: white;
  border-color: white;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 4px;
  color: black;
}

.modal__body .page-link {
  color: black;
}

.Contenedorfiltros {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 29px;
}
.palabra__p {
  margin-top: initial;
  margin-bottom: initial;
}
#palabraBuscada {
  font-size: 15px;
  font-weight: bold;
}
.filtros2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.filtros2 span {
  align-self: flex-end;
}
.ResultsnotFound img {
  width: 36%;
}
.moduloPagina span {
  font-weight: bold;
}
@media (max-width: 1024px) {
  .modal-dialog {
    max-width: 100%;
  }
  .Contenedorfiltros {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding-bottom: 2%;
    gap: 20px;
  }
  .filtros2 span {
    align-self: flex-start;
  }
  .ListaResults {
    flex-direction: column;
    padding: 0 10px;
  }
  .palabra__p {
    text-align: center;
  }
}

figure {
  margin: inherit !important;
}
#sectionTitle {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* CSS para el modal */
#ModalBuscador {
  display: none; /* Ocultar el modal por defecto */
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente */
  align-items: center;
  justify-content: center;
}

.modal__content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  max-width: 600px; /* Ancho máximo del contenido */
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal__title {
  margin: 0;
}

.modal__img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}

.Contenedorfiltros {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
}

.filtros2 select {
  margin-left: 10px;
}
#ModalBuscador li.page-item.active {
  background: transparent;
}
