* {
  font-family: Dosis, "Montserrat", sans-serif;
}

/* BACKGROUN INDEX*/

.bg-light {
  background-color: transparent !important;
}

/* Estilos para la imagen de fondo */
body.bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
  margin: 0;
}

@media (max-width: 576px) {
  .mb {
    margin-bottom: 3rem;
  }
}

/* Estilos para hacer la imagen de fondo responsive */
@media (max-width: 768px) {
  .bg-image {
    height: 100vh;
  }
}

.background1 {
  background-image: url("/Img/fondonosotros.png");
}

.background2 {
  background-image: url("/Img/fondoaccion.png");
}

.background3 {
  background-image: url("/Img/fondoproyectos.png");
}

.background4 {
  background-image: url("/Img/fondodescargas.png");
}

.background5 {
  background-image: url("/Img/fondocontacto.png");
}

/*menu dropdown*/
.navbar-nav a {
  font-size: medium;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  margin-bottom: -10px;
}

.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
  color: rgba(42, 180, 194, 1);
}

.navbar-light .navbar-nav .nav-link {
  color: #fff;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: rgba(42, 180, 194, 1);
}

.navbar-toggle {
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  border: none;
  outline: none;
}

/* Estilos para personalizar el fondo del menu dropdown */
.dropdown-menu {
  background-color: rgba(226, 40, 135, 1);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 915px) {
  .navbar-nav {
    background: rgba(42, 180, 194, 1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
  }

  .navbar-nav a {
    padding-top: 20px;
    align-content: center;
    z-index: 500;
  }

  .navbar-nav .nav-item:hover {
    background-color: rgba(226, 40, 135, 1);
    color: white;
  }
}

@media (max-width: 768px) {
  .navbar-divider {
    display: block;
    width: 100%;
    border-top: 1px solid #ccc;
    margin: 10px 0;
    padding: 10px;
    align-items: center;
    justify-content: center;
    align-content: center;
  }
}

/*CAROUSEL INDEX*/

.carousel-index .carousel-item img {
  width: 100vh;
  height: 100vh;
  max-height: auto;
  object-fit: cover;
  object-position: top right;
}

.carousel-caption-index {
  bottom: auto; 
    top: 70%;
  position: absolute; 
  left: 50%; 
  transform: translateX(-50%); 
  bottom: 20px; 
  width: 70%; 
  max-height: calc(100vh - 200px); 
  padding: 20px; 
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
  .carousel-caption-index {
    bottom: auto; 
    top: 40%; 
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 90%;
    max-height: calc(100vh - 200px); 
    padding: 20px; 
  }

  .carousel-caption-index h5{
    font-size: 16px;
  }

  .carousel-caption-index p {
    font-size: 14px;
  }
}

/* Media query para pantallas medianas */
@media (min-width: 769px) and (max-width: 992px) {
  .carousel-caption-index {
    bottom: auto; 
    top: 40%; 
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 90%;
    max-height: calc(100vh - 200px); 
    padding: 20px; 
  }

  .carousel-caption-index h5{
    font-size: 18px;
  }

  .carousel-caption-index p {
    font-size: 16px;
  }
}

/* Media query para pantallas grandes */
@media (min-width: 993px) {
  .carousel-caption-index h5{
    font-size: 20px; 
  }

  .carousel-caption-index p {
    font-size: 18px;
  }
}

.carousel-index h5 {
  color: white;
  font-size: x-large;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: left;
  text-shadow: 2px 2px 2px black;
}

.carousel-index p {
  font-size: large;
  font-style: italic;
  font-weight: bold;
  text-align: left;
  text-shadow: 2px 2px 2px black;
  align-items: center;
}

@media (max-width: 768px) {
  .carousel-index h5 {
    font-size: 1.5rem;
  }

  .carousel-index p {
    font-size: 1rem;
  }
}

.carousel-indicators-index li {
  list-style: none;
}

.carousel-indicators-index li::marker {
  display: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  color: black !important;
  font-size: 30px !important;
  padding: 10px !important;
  filter: invert(108%);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

@media (max-width: 768px) {
  .custom.carousel-control-prev,
  .custom.carousel-control-next {
    margin: auto 10px;
  }
}

/* ESTILO TITULOS DE PAGINA */
.row-titulo-paginas {
  display: flex;
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  margin-top: 5px;
}

.custom-h2 {
  width: 100%; 
}

.subtitle {
  margin-bottom: 5px; 
}

/* CAROUSEL DE LAS PAGINAS */
.custom.carousel {
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: -70px;
}

.custom.carousel-inner {
  display: flex;
  text-align: center;
}

p,
ul,
li,
strong {
  color: white;
}

.version2 .single-form .left.left-with-image {
  border-radius: 15px;
}

.version2 .form-area {
  width: 100%;
  height: 100%;
}

#form-area-variant {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10vh;
  box-shadow: 0 2px 20px -5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 990px) {
  .version2 .single-form .col-sm-12 {
    width: 100%;
    height: 90%;
  }

  .version2 .single-form .left.left-with-image {
    padding-top: 10%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
  }

  .version2 .single-form .left.left-with-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 100;
  }

  .version2 .single-form .right-container {
    flex: 1;
    width: 100%;
    border-radius: 0 0 10px 10px;
  }

  .single-form .content-container {
    max-height: calc(45vh - 70px);
    overflow-y: auto;
    line-height: 1.5;
    padding: 5px;
  }

  .single-form .content-container::-webkit-scrollbar {
    -webkit-overflow-scrolling: touch;
    width: 5px;
  }

  .single-form .content-container::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 20px;
  }
}

#form-area-variant .row.single-form.g-0 {
  border-radius: 15px;
  overflow: hidden;
}

#form-area-variant .left {
  padding: 50px 40px;
}

#form-area-variant .left.left-with-image {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.version2 .text-custom-container h5 {
  padding: 10px;
  margin: 0;
}

@media (min-width: 992px) {
  .version2 .right-container {
    width: calc(800px - 320px);
    height: 90%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0 10px 10px 0;
  }

  .content-container {
    max-height: 357px;
    overflow-y: auto;
    line-height: 1.5;
    padding: 10px;
    justify-content: center;
    align-items: center;
  }

  .content-container::-webkit-scrollbar {
    width: 5px;
  }

  .content-container::-webkit-scrollbar-thumb {
    background-color: yellow;
    border-radius: 5px;
  }

  .single-form .left.left-with-image {
    height: 100%;
    overflow: hidden;
  }

  .single-form .left.left-with-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 100;
  }
}

/* CAROUSEL-TRANSPARENCIAS */
.container-transparencia {
  width: 80%;
  height: 90%;
}

.inner-carousel-transparencia {
  height: 100%;
  text-align: left;
  border-radius: 15px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }

.item-carousel-trasparencia {
  width: 100%;
  height: 100%;
}

.item-carousel-trasparencia-color {
  padding: 40px;
  border-radius: 15px;
  overflow-y: auto; 
  height: 700px; 
}

.item-carousel-trasparencia p {
  margin: 30px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-carousel-trasparencia-color h5,
.item-carousel-trasparencia-color p,
.item-carousel-trasparencia-color ul,
.item-carousel-trasparencia-color li {
    font-size: 1em; 
    max-width: 100%; 
}

.item-carousel-trasparencia-color ul,
.item-carousel-trasparencia-color li {
    padding-left: 0;
}

.item-carousel-trasparencia-color ul li {
    margin-bottom: 10px; 
}

.item-carousel-trasparencia-color::-webkit-scrollbar {
  width: 5px;
}

.item-carousel-trasparencia-color::-webkit-scrollbar-thumb {
  background-color: yellow;
  border-radius: 5px;
}

@media (max-width: 576px) {
  .item-carousel-trasparencia-color {
    height: 70vh;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .item-carousel-trasparencia-color {
    height: 70vh; 
  }
}

.carousel-indicators-transparencia {
  position: absolute; 
  bottom: 0; 
  transform: translateY(200%); 
}

.carousel-indicators.carousel-paginas.carousel-indicators-paginas {
  justify-content: center;
  align-items: center; 
  position: absolute; 
  bottom: -50px;
}

.linea-horizontal {
  border-top: 1px solid white; 
  width: 100%; 
}

/* BOTON DENUNCIAS */
.boton-modal-denuncias {
  display: flex;
  align-items: center; 
  position: absolute; 
  top: 50px; 
  right: 50px;
  background-color: transparent; 
  z-index: 999;
}

.boton-modal-denuncias .col-1 {
  margin-left: 15px;
}

.svg-modal-denuncias {
  width: 24px; 
  height: 24px; 
  fill: white; 
}

.fixed-right {
  position: fixed;
  top: 60px;
  right: 0;
  z-index: 1000;
}

.container-fluid.fixed-right svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.subtitle {
  text-align: center; 
  margin-top: 25px;
}

/* FORMULARIOS DE CONTACTO Y DENUNCIAS */
.container-fluid.form-area.contacto {
  width: 90%;
}

.col-sm-12.col-lg-6 {
  border-radius: 15px;
}

#form-area .row.single-form.g-0 {
  overflow: hidden;
}

.form-area .left {
  border-radius: 15px;
}

.row.single-form {
  box-shadow: 0 2px 20px -5px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
}

.left {
  padding: 100px 60px;
}

.left h2,
.left h2 span {
  font-family: Dosis, sans-serif;
  border-radius: 20px;
}

.left h2 {
  color: #fff;
  font-weight: 700;
  font-size: 58px;
}

.left h2 span {
  font-weight: 4rem;
}

.single-form {
  background: #fff;
}

.right {
  padding: 15px 15px;
  border-radius: 15px;
}

.right i {
  position: absolute;
  font-size: 80px;
  left: -27px;
  top: 40%;
  color: #fff;
}

.form-control {
  border: 2px solid grey;
}

.right button {
  border: none;
  border-radius: 0;
  background: grey;
  width: 350px;
  color: #fff;
  padding: 15px 0;
  display: inline-block;
  font-size: 18px;
  margin-top: 10px;
  cursor: pointer;
}

.right button:hover {
  background-color: #2ab4c2;
}

/*RESPONSIVE*/
@media (min-width: 400px) and (max-width: 800px) {
  .right i {
    top: -52px;
    transform: rotate(90deg);
    left: 50%;
  }
}

@media (max-width: 500px) {
  .left {
    padding: 40px 30px;
    text-align: center;
  }

  .left h2 {
    font-size: 20px;
  }

  .right {
    padding: 20px;
  }

  .right i {
    top: -52px;
    transform: rotate(90deg);
    left: 46%;
  }

  .right button {
    width: auto;
    padding: 12px 0;
  }
}

/* ESTILOS MAPA */
.casilla-impar,
.casilla-par {
  margin: 0 auto; 
  padding: 10px; 
  border: 1px solid #ccc;
}

.modelo li.casilla-impar,
.modelo li.casilla-par {
  list-style-type: none;
}

.protocolo-de-respuesta,
.protocolo-de-respuesta li,
.protocolo-de-respuesta strong {
  color: wheat;
}

/*BOTONES MODAL PROYECTOS*/
.svg-container {
  width: 462px;
  height: 552px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg-container svg {
  width: 100%;
  height: auto;
}

.intervenido {
  fill: grey;
  stroke: whitesmoke;
  stroke-width: 2;
}

.nointervenido {
  fill: rgba(245, 245, 245, 0.5);
  stroke: whitesmoke;
  stroke-width: 2;
}

.btn-outline-secondary[data-class="gestiónsocial"]:hover {
  background-color: rgba(42, 180, 194);
}

.btn-outline-secondary[data-class="gestiónterritorial"]:hover {
  background-color: rgba(226, 40, 135);
}

.btn-outline-secondary[data-class="gestiónconvivencia"]:hover {
  background-color: rgba(191, 141, 32);
}

.btn-outline-secondary[data-class="gestiónmetodologías"]:hover {
  background-color: rgba(125, 194, 76);
}

.btn-outline-secondary[data-class="gestiónpedagogías"]:hover {
  background-color: rgba(204, 121, 184);
}

.path-con-popover.intervenido {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.path-con-popover.intervenido:hover {
  background-color: rgb(83, 137, 45);
}

/* Estilo para proyectos1 */
.accordion-item.proyectos1 {
  background-color: white;
  color: #000;
}
.accordion-item.proyectos2 {
  background-color: whitesmoke;
}

.accordion-header.proyectos1 {
  background-color: #ffcc00;
  color: #000;
}

.accordion-header.proyectos2 {
  background-color: #66cc66;
  color: #fff;
}

.accordion {
  border-radius: 10px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
  border-bottom: none;
}

.card.proyectos {
    width: 100%;
  background-color: grey;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  margin: 0;
  padding: 0;
}

.card.proyectos .card-title {
  color: whitesmoke;
}

.card.proyectos .card-subtitle {
  color: white;
}

.svg-path {
  fill: whitesmoke;
}

/* ESTILOS DESCARGAS*/
.container-horizontal-scroll {
  height: 440px;
  margin-top: 50px;
  display: flex;
  overflow-x: scroll;
  cursor: grab;
  white-space: nowrap;
}

.container-horizontal-scroll .card{
  flex: 0 0 auto;
  width: 240px;
  height: 420px;
  margin-right: 10px;
}

.container-horizontal-scroll .card-body {
  padding: 1rem;
  height: 420px;
  text-overflow: ellipsis;
}

.card-title {
  font-size: 18px;
  margin-bottom: 0.5rem;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-text {
  font-size: 14px;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #000;
}

.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.container-horizontal-scroll::-webkit-scrollbar {
  width: 90%;
  height: 8px;
  scroll-behavior: smooth;
}

.container-horizontal-scroll::-webkit-scrollbar-track {
  height: 4px;
  -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.9);
}

.container-horizontal-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(226, 40, 135, 0.9);
  border-radius: 9999px;
  width: 10px;
}

.container-horizontal-scroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(125, 194, 76, 0.9);
}

.container-horizontal-scroll::-webkit-scrollbar-button {
  background-color: rgba(
    239,
    230,
    235,
    0.9
  ); 
  background-image: none; 
  width: 10px; 
  height: 10px; 
}

/* ESTILOS GALERIA */
.modal-galeria {
    flex: 0 0 auto; 
    width: 300px; 
    margin-right: 10px; 
}

.boton-modal-galeria {
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.boton-modal-galeria img {
    width: 274px; 
    height: 274px; 
    border-radius: 15px;
    object-fit: cover;
    filter: grayscale(100%); 
    transition: transform 0.3s ease, filter 0.3s ease;
}

.boton-modal-galeria img:hover {
  filter: grayscale(0%); 
  transform: scale(1.1); 
}

.imagen-modal-galeria .modal-content {
  background-color: black;
}

.imagen-modal-galeria .modal-header p {
  color: white;
  margin-top: 40px;
  margin-left: 12px;
  margin-right: 12px;
  white-space: normal; 
  word-wrap: break-word;
}

.imagen-modal-galeria .modal-header .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 8px;
  margin-right: 8px;
}

.imagen-modal-galeria .modal-header {
  padding: 0px;
}

.imagen-modal-galeria .modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; 
}

.imagen-modal-galeria .modal-body img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 15px;
}

/* ESTILOS CONTACTO-ERROR-EXITO */
.contacto-error-exito{
    margin-top: 150px;
}
