.dropdown-submenu > .dropdown-toggle::after {
  border-top: 0em solid !important; /* ❌ quita la raya */
  border-bottom: 0em solid !important; /* ✔ mueve la flecha */
}
.category-pill {
  padding: 8px 16px;
  border-radius: 20px;
  background: #f1f1f1;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.clamp-6 {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-pill:hover {
  background: #ddd;
}

.category-pill.active {
  background: #0950159a;
  color: #fff;
}
a {
  color: #fff;
}

a:not(.btn):hover,
a:not(.btn):focus,
a:not(.btn):active {
  color: #c4c3c3;
}

/* .retys {
    
    background: url(../img/bgbanner.jpg) !important;
} */

.site-footer {
  background: url(../img/bg_footer.jpg) no-repeat center bottom !important;
  background-size: cover;
}

.card-news-link-wrap {
  text-decoration: none;
  color: inherit;
}

.card-news-link-wrap:hover .card-news {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.card-news-date-elegant {
  font-size: 0.85rem;
  color: #666;
  /* font-weight: 500; */
  margin-bottom: 12px;
  text-align: left;
  text-transform: capitalize; /* para que diga: Diciembre */
}

.card-news-date-elegant .sep {
  margin: 0 0px;
  color: #aaa;
  font-size: 0.9rem !important;
}
.card-news {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-news:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* IMAGEN DESTACADA */
.card-news-img {
  width: 100%;
  height: 170px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-news-img img {
  /* width: 100%; */
  height: 100%;
  object-fit: cover;
}

/* AVATAR FLOTANTE */
.card-news-avatar {
  position: absolute;
  top: 135px;
  left: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-news-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* CUERPO */
.card-news-body {
  padding: 50px 20px 22px;
  flex-grow: 1;
}

/* FECHA */
.card-news-date {
  display: flex;
  align-items: left;
  gap: 6px;
  margin-bottom: 10px;
}

.card-date-day {
  background: #eee;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  color: #333;
  font-size: 16px;
}

.card-date-month {
  font-size: 12px;
  background: #d6d6d6;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  color: #555;
}

/* TÍTULO */
.card-news-title {
  font-size: 16px;
  /* font-weight: 700; */
  color: #1111119e;
  margin-bottom: 8px;
  line-height: 1.3;
}

/* LINK */
.card-news-link {
  font-size: 14px;
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
  transition: 0.2s;
}

.card-news-link:hover {
  color: #0056c8;
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
  .card-news-avatar {
    top: 120px;
    width: 55px;
    height: 55px;
  }
  .card-news-img {
    height: 150px;
  }
}

@media (max-width: 576px) {
  .card-news-img {
    height: 140px;
  }
  .card-news-avatar {
    top: 110px;
  }
}

/* SFA custom css */
.click {
  cursor: pointer !important;
}
.card {
  min-height: 150px;
  height: 150px !important;
}
.activar {
  color: var(--azul_claro);
}

.bold {
  font-weight: bold;
}

.tree {
  font-weight: 600;
}
.item {
  color: #999999 !important;
  /* color: var(--azul_claro) !important; */
  cursor: pointer;
}

.dots {
  padding-left: 1em;
  line-height: 1.5em;
  /*list-style-type: dot;*/
  list-style-type: none;
  color: var(--azul_marino) !important;
}

.noDots {
  list-style-type: none;
}

.card-custom {
  overflow: hidden;
  min-height: 450px;
  box-shadow: 0 0 15px rgba(10, 10, 10, 0.3);
  border-radius: 2.53em !important;
}

@media (max-width: 375px) {
  .card-custom {
    width: 21rem !important;
  }
}
@media (max-width: 360px) {
  .card-custom {
    width: 21rem !important;
    left: 0px !important;
  }
}

@media (max-width: 320px) {
  .card-custom {
    width: 18rem !important;
    left: 0px !important;
  }
}
@media (max-width: 768px) {
  .card-custom {
    width: 21rem !important;
    left: 0px !important;
  }
}

.card-custom-img {
  height: 200px;
  min-height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-color: inherit;
}

/* First border-left-width setting is a fallback */
.card-custom-img::after {
  position: absolute;
  content: "";
  top: 161px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-top-width: 40px;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 545px;
  border-left-width: calc(575px - 5vw);
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: inherit;
}

.card-custom-avatar img {
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(10, 10, 10, 0.3);
  position: absolute;
  top: 100px;
  left: 32%;
  width: 120px;
  height: 120px;
}

.card-custom-img-transparencia {
  height: 230px;
  min-height: 230px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-color: inherit;
}

.card-custom-avatar-transparencia img {
  position: absolute;
  top: 100px;
  left: 32%;
  width: 120px;
  height: 120px;
}

.card-custom-img-transparencia::after {
  position: absolute;
  content: "";
  top: 161px;
  left: 0;
  width: 0;
  height: 0;
}

.child1 {
  left: 4% !important;
}
.child2 {
  left: 8% !important;
}
.child3 {
  left: 4% !important;
}

.empty-child {
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
  padding-left: 0px !important;
  margin-bottom: -10px !important;
  font-size: 1em !important;
  font-weight: 600 !important;
  color: #212529 !important;
  cursor: pointer !important;
}
.empty-child:hover {
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
  padding-left: 0px !important;
  margin-bottom: -10px !important;
  font-size: 1em !important;
  font-weight: 600 !important;
  color: var(--azul_claro) !important;
  cursor: pointer !important;
  text-decoration: underline;
}
.toggle.toggle-simple .toggle > label:hover {
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #777;
  padding-left: 32px;
  margin-bottom: -10px;
  font-size: 1em;
  font-weight: 600;
  color: var(--azul_claro);
  text-decoration: underline;
}

.toggle.toggle-simple .toggle > label:before {
  border: 0;
  left: 9px;
  right: auto;
  margin-top: 0;
  top: 12px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f067";
  z-index: 2;
  color: #fff;
  font-size: 7px;
  width: auto;
  height: auto;
  -webkit-transform: none;
  transform: none;
}
.m24 {
  margin: 24px 0 0 !important;
}

.img-mov {
  display: none !important;
}
@media (max-width: 768px) {
  .img-full {
    width: 150px;
  }
  #header .header-row {
    max-width: 100% !important;
  }
  .headTop {
    display: none !important;
  }
  .tree-mov {
    order: 1;
  }
}
.b-image {
  background-image: url("../img/generic/b_tree.jpg") !important; /* The image used */
  background-attachment: fixed !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
.b-image-map {
  background-image: url("../img/fondoverde.jpg") !important; /* The image used */
  background-attachment: fixed !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
.b-image-acercade {
  background-image: url("../img/generic/b_acercade.jpg") !important; /* The image used */
  background-attachment: fixed !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.m50 {
  margin-bottom: -50px !important;
}

.news-image {
  width: 100% !important;
  height: 12em !important;
  object-fit: cover !important;
  /* border-top-right-radius: 2em!important;
    border-top-left-radius: 2em!important; */
}

.card-custom:hover {
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.25),
    0 10px 10px rgba(0, 0, 0, 0.22);
}

/*Loader for any page
Works with:
<div class="loader">
    <div class="dot"></div>
    <div class="dot"></div>
    <div class="dot"></div>
    <div class="dot"></div>
    <div class="dot"></div>
</div>
*/
/* Page Header */
.page-header {
  background-color: #102e4d;
  margin: 0 0 35px 0;
  padding: 30px 0;
  position: relative;
  text-align: left;
}

.page-header .breadcrumb {
  background: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb > li {
  display: inline-block;
  font-size: 0.8em;
  text-transform: uppercase;
  text-shadow: none;
}

.page-header .breadcrumb > li + li:before {
  color: inherit;
  opacity: 0.5;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f105";
  padding: 0 7px 0 5px;
}

.page-header .breadcrumb.breadcrumb-block {
  background: #212529;
  display: inline-block !important;
  padding: 7.2px 19.2px;
  padding: 0.45rem 1.2rem;
  border-radius: 4px;
  -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-header .breadcrumb.breadcrumb-light {
  color: #fff;
}

.page-header .breadcrumb.breadcrumb-light a {
  color: #fff;
}

.page-header .breadcrumb.breadcrumb-light .active {
  opacity: 0.7;
}

.page-header h1 {
  color: #fff;
  display: inline-block;
  font-size: 30px;
  line-height: 1;
  margin: 0;
  padding: 0;
  font-weight: 400;
  position: relative;
  top: 1px;
}

.page-header .sub-title {
  display: block;
  font-size: 1.2em;
  font-weight: 300;
  margin: 0;
  opacity: 0.8;
  color: #fff;
}

.page-header .page-header-extra-button {
  position: absolute;
  width: 100%;
  bottom: 50px;
  left: 0;
  right: 0;
  z-index: 5;
}

.page-header.page-header-sm {
  padding: 30px 0;
}

.page-header.page-header-sm h1 {
  font-size: 22px;
}

.page-header.page-header-lg {
  padding: 50px 0;
}

.page-header.page-header-lg h1 {
  font-size: 40px;
}

.page-header.page-header-classic:after {
  content: "";
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  bottom: 0;
  left: 0;
}

.page-header.page-header-classic .page-header-title-border {
  width: 0;
  height: 5px;
  position: absolute;
  bottom: 0;
  background: transparent;
  z-index: 1;
}

.page-header.page-header-modern h1 {
  font-size: 28px;
}

.page-header.page-header-modern.page-header-sm h1 {
  font-size: 22px;
}

.page-header.page-header-modern.page-header-md {
  padding: 50px 0;
}

.page-header.page-header-modern.page-header-lg {
  padding: 65px 0;
}

.page-header.page-header-modern.page-header-lg h1 {
  font-size: 32px;
}

.page-header.page-header-modern.page-header-background {
  padding: 130px 0;
  background-size: cover;
}

.page-header.page-header-modern.page-header-background.page-header-background-pattern {
  background-size: auto;
  background-repeat: repeat;
  background-attachment: fixed;
}

.page-header.page-header-modern.page-header-background.page-header-background-sm {
  padding: 50px 0;
}

.page-header.page-header-modern.page-header-background.page-header-background-md {
  padding: 150px 0;
}

.page-header.page-header-modern.page-header-background.page-header-background-lg {
  padding: 250px 0;
}

.loader {
  position: absolute;
  top: 50%;
  left: 40%;
  margin-left: 10%;
  transform: translate3d(-50%, -50%, 0);
}
.dot {
  width: 10px;
  height: 10px;
  background: #3ac;
  border-radius: 100%;
  display: inline-block;
  animation: slide 1s infinite;
}
.dot:nth-child(1) {
  animation-delay: 0.1s;
  background: var(--azul_marino);
}
.dot:nth-child(2) {
  animation-delay: 0.2s;
  background: var(--azul_claro);
}
.dot:nth-child(3) {
  animation-delay: 0.3s;
  background: var(--verde);
}
.dot:nth-child(4) {
  animation-delay: 0.4s;
  background: var(--amarillo);
}
.dot:nth-child(5) {
  animation-delay: 0.5s;
  background: var(--rojo);
}
@-moz-keyframes slide {
  0% {
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes slide {
  0% {
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}
@-o-keyframes slide {
  0% {
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes slide {
  0% {
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}
/*Loader for any page*/

/*Shadow for header*/
.header-body {
  border-bottom-style: solid !important;
  box-shadow: 0px 1px 10px #999 !important;
}
/*Shadow for header*/
.header-nav-bar {
  background-color: rgb(82, 84, 90) !important;
}
.testimonial blockquote {
  /* background-color: #3c3c3c!important; */
  border-radius: 15px !important;
  font-family: Roboto, sans-serif !important;
  font-size: 24px !important;
}
.card {
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(50, 50, 50, 1) 56%,
    rgba(77, 77, 77, 1) 100%,
    rgba(20, 21, 22, 1) 100%
  );
  border-radius: 15px !important;
  font-family: system-ui !important;
  font-size: 24px !important;
}
.card2 {
  height: 100% !important;
  /*background: linear-gradient(90deg, rgba(50,50,50,1) 56%, rgba(77,77,77,1) 100%, rgba(20,21,22,1) 100%);*/
  border-radius: 15px !important;
  font-family: system-ui !important;
  font-size: 24px !important;
}
.card a {
  font-size: 14px !important;
  color: rgb(0, 0, 0) !important;
  margin: 0;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.card-body .row .mask {
  background: url(../img/shape-avatar.svg) no-repeat center bottom;
  position: absolute;
  top: calc(288px - 52px);
  left: 33px;
  width: 100px;
  height: 70px;
  background-size: contain;
  text-align: center;
  padding-top: 28px;
}

.card-body .row .avatar {
  width: 55%;
  height: auto;
  border-radius: 50%;
  display: inline-block;
}

#footer {
  border-top: 3px solid transparent;
  /* -moz-border-image: url(../img/linecolor.svg) 30 30 stretch;
    -webkit-border-image: url(../img/linecolor.svg) 30 30 stretch;
    -o-border-image: url(../img/linecolor.svg) 30 30 stretch;
    border-image: url(../img/linecolor.svg) 30 30 stretch; */
}
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.herobg {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #22242a;
  background-size: cover;
  background-position: center;
  min-height: 230px;
  margin-bottom: 20px;
  position: relative;
}

.herobg:after {
  content: "";
  background: rgba(34, 36, 42, 0.36);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.herobg .entry-title {
  text-align: center;
  color: white;
  font-size: calc(2rem + 1.25vw);
  font-weight: 700;
}

.herobg .entry-header {
  position: relative;
  z-index: 1;
}

#footer .direccion-label {
  color: #ffffff;
  font-weight: 500; /* semibold, no pesado */
}
#footer {
  font-size: 13px;
}

#footer h3 {
  margin-bottom: 8px;
  line-height: 1.3;
}

#footer p {
  margin-bottom: 6px;
  line-height: 1.4;
}

#footer ul {
  margin-bottom: 10px;
}

#footer .social-icons {
  margin-bottom: 12px;
}

.footer-text {
  font-size: 18px !important;
  line-height: 1.4;
}

.footer-label {
  font-weight: 600;
  color: #ffffff;
}

.footer-separator {
  color: #ffffff;
  margin-right: 4px;
}

.footer-value {
  color: #a2a7ab;
  font-weight: 400;
}
.card-body .row .mask {
  background: url(img/shape-avatar.svg) no-repeat center bottom;
  position: absolute;
  top: calc(308px - 52px);
  left: 33px;
  width: 100px;
  height: 70px;
  background-size: contain;
  text-align: center;
  padding-top: 33px;
}

.card-body .row .avatar {
  width: 55%;
  height: auto;
  border-radius: 50%;
  display: inline-block;
}

.modal-content {
  /*flex-direction:row!important;*/
  align-items: center;
  justify-content: center;
}

@media (max-width: 1375px) {
  #informe {
    height: 50% !important;
    width: 50% !important;
  }
}

@media (max-width: 850px) {
  #informe {
    height: 70% !important;
    width: 70% !important;
  }
}
@media (max-width: 550px) {
  #informe {
    height: 90% !important;
    width: 90% !important;
  }
}
@media (max-width: 300px) {
  #informe {
    height: 100% !important;
    width: 100% !important;
  }
}

/* Contenedor banner */
.cardbanner {
  /* border-radius: 12px; */
  /* transition: all 0.3s ease; */
  background-color: #fff;
  padding: 2rem;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */

  /* display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%; */
}

.owl-carousel .owl-stage-outer {
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cardbanner .row {
  /* align-items: center; centra verticalmente */
  min-height: 260px;
}

/* Solo el botón cambia el cursor */
.banner-btn {
  cursor: pointer;
}
.banner-titulo,
.banner-descripcion {
  text-align: justify; /* justifica todas las líneas */
  text-align-last: left; /* última línea alineada a la izquierda */
}

/* En el resto del banner, cursor normal */
.cardbanner,
.col-lg-5,
.col-lg-7,
.banner-titulo,
.banner-descripcion {
  cursor: default;
}

/* Columnas */
.col-lg-5 {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
}

.col-lg-7 {
  display: flex;
  /* justify-content: center; */
  /* align-items: center; */
}

/* Imagen */
.col-lg-7 img {
  max-height: 350px;
  width: auto;
  object-fit: contain;
}

/* Título */
.banner-titulo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 1rem;
}

/* Descripción */
.banner-descripcion {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  max-height: 9rem; /* aprox. 6 líneas */
  overflow: hidden;
  margin-bottom: 1.5rem;
}

/* Botón */
.banner-btn {
  font-size: 0.9rem;
  color: #0505057e;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.banner-btn:hover {
  color: #0056b3;
  text-decoration: underline;
}

@media (max-width: 991px) {
  div#tramitesdireccion {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center;
  }
}

/* Owl Carousel imagenes */
.owl-item img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0; /* quitamos centrado automático para alinear a la derecha */
  object-fit: cover !important; /* mejor que contain para llenar espacio */
}

.container .owl-carousel {
  min-height: 450px;
}

/* Responsive */
@media (max-width: 768px) {
  .cardbanner {
    flex-direction: column;
    padding: 1.5rem;
  }

  .col-lg-5,
  .col-lg-7 {
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0;
    text-align: center;
  }

  .banner-descripcion {
    max-height: none;
  }

  .banner-btn {
    margin-bottom: 1rem;
  }

  .col-lg-7 img {
    display: block;
    margin: 1rem auto 0 auto; /* top 1rem, auto a los lados para centrar */
    max-height: 250px;
    width: auto;
    max-width: 100%;
  }
}

/* Menu Inicio sitios links */ 
.sitios {
  max-height: 100%;
}

.wrapper-sitios {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.wrapper-sitios>div {
  margin: 0.6em;
  padding: 0.5em;
  /* border-radius: 10px; */
  flex: 1;
  /* border: 1px solid #5f5f5f; */
  text-align: center;
  max-width: fit-content;
}

#header .header-logo img {
  width: 320px;
  height: 95px;
}

@media (max-width: 359px) {
  #header .header-logo img {
    width: 260px;
    height: auto;
  }

  .detalle-cont {
    overflow-wrap: anywhere;
  }
}