:root {
  --primary: #2e9c9d;
  --light: #eff5ff;
  --dark: #009192;
  --red: #a2282d;
  --redprimary: #e0202a;
  --red1: #ed8380;
  --green1: #cdeeee;
  --green2: 102, 187, 186;
  --text-default: #2c2a29;
  --text-dark: #006d6e;
  --gray: #f5f5f5;
}
html {
  overflow-x: hidden;
}
body {
  /*background-color: var(--light);*/
  font-family: "Lato", sans-serif;
  font-style: normal;
  font-size: 16px;
  color: var(--text-default);
  scrollbar-color: var(--red) var(--dark);
  overflow-x: hidden;
}
.bodycopy p {
  text-align: justify;
}
@media (max-width: 1399.98px) {
  .bodycopy p {
    text-align: left;
  }
  #header .logo img {
    width: 80px;
  }
}
.bodycopy ul,
.text ul {
  margin-left: 30px;
  margin-top: 20px;
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}
.bodycopy ul li,
.text ul li {
  font-size: 17px;
  margin: 5px 0;
  position: relative;
  text-align: left;
}

.bodycopy ul li:before,
.text ul li:before {
  font-family: "FontAwesome";
  content: "\f0a9";
  color: var(--dark);
  position: absolute;
  left: -25px;
}
.yui3-dd-proxy,
.filemanager.control .filelist li:before {
  content: none !important;
}
img {
  max-width: 100%;
  height: auto;
}
figure.image img {
  margin: 0 !important;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--red);
}
#main {
  margin-top: 170px;
}
.fw-medium {
  font-weight: 500 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-black {
  font-weight: 900 !important;
}
.text-danger {
  color: var(--red) !important;
}
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-weight: 700;
}
h3,
.h3,
h4,
.h4 {
  color: var(--text-dark);
  margin-bottom: 0;
}
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: var(--light);
}
.btn-primary {
  background-color: var(--primary) !important;
  --bs-btn-border-color: var(--dark) !important;
}
.btn-primary:hover {
  background-color: var(--dark) !important;
  --bs-btn-border-color: var(--dark) !important;
}
.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.asmetnav.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.asmetnav.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.asmetnav.navbar .navbar-nav .nav-link:hover,
.asmetnav.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .asmetnav.navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .asmetnav.navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

.asmetnav.navbar .navbar-brand,
.navbar a.btn {
  height: 75px;
}

.asmetnav.navbar .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.asmetnav.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

@media (min-width: 992px) {
  .asmetnav.navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .asmetnav.navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel-indicators {
  list-style: none;
}
.carousel-item {
  display: block;
}
.carousel-item .texthero h2 {
  color: var(--dark) !important;
  font-weight: 800;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgb(253 252 251 / 40%);
}
.carousel-item .texthero p {
  text-shadow: 1px 1px 2px #222222;
  font-size: 1.2em;
}
.carousel-item .texthero a {
  background: var(--red);
  color: var(--light);
  text-decoration: none;
  text-align: center;
  padding: 10px 25px;
  border-radius: 25px;
  display: inline-block;
  position: relative;
}
.carousel-item .texthero a:hover {
  background: var(--redprimary);
  color: var(--light);
}
.carousel-item .texthero a::after {
  content: "\f061"; /* Código unicode del ícono de Font Awesome */
  font-family: "Font Awesome 5 Free"; /* Asegúrate de que esté cargada esta fuente */
  font-weight: 900; /* Necesario para la versión sólida del ícono */
  margin-left: 8px; /* Espacio entre el texto y el ícono */
  display: inline-block;
}
.owl-carousel.single-item {
  cursor: default; /* Quita la manito de drag */
}

.owl-carousel.single-item a {
  pointer-events: auto; /* Permite interacción con los enlaces */
}

.header-carousel .owl-carousel-text {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 3rem;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.header-carousel .owl-nav,
.owl-banners .owl-nav {
  position: absolute;
  width: 98%;
  height: 45px;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next,
.owl-banners .owl-nav .owl-prev,
.owl-banners .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light) !important;
  background: rgb(255 255 255 / 35%) !important;
  border: 1px solid var(--dark) !important;
  border-radius: 45px;
  transition: 0.5s;
  color: var(--dark) !important;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover,
.owl-banners .owl-nav .owl-prev:hover,
.owl-banners .owl-nav .owl-next:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--light) !important;
}

.header-carousel .owl-dots,
.owl-banners .owl-dots {
  position: absolute;
  height: 45px;
  /* bottom: 7px; */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dot,
.owl-banners .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  background: transparent !important;
  border: 1px solid var(--dark) !important;
  border-radius: 15px;
  transition: 0.5s;
}

.header-carousel .owl-dot::after,
.owl-banners .owl-dot::after {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  top: 6px;
  left: 6px;
  background: var(--dark) !important;
  border-radius: 5px;
}

.header-carousel .owl-dot.active,
.owl-banners .owl-dot.active {
  background: var(--dark) !important;
  border-color: var(--primary) !important;
}
.header-carousel .owl-dot.active::after,
.owl-banners .owl-dot.active::after {
  background: var(--light) !important;
}
.page-header {
  background: url(../img/header-page.jpg) top center no-repeat;
  background-size: cover;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--red);
}

/*** Service ***/
.service-item {
  position: relative;

  transition: 0.5s;
}

.service-item::before {
  content: "\f028"; /* Código unicode del icono de Font Awesome */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 4rem;
  color: rgb(162 40 45 / 20%); /* Ajusta el color del icono */
  position: absolute;
  top: 80%;
  left: 80%;
  transform: translate(-50%, -50%);
  z-index: 1; /* Ponemos el icono por encima del fondo */
}

.service-item-content {
  position: relative;
  z-index: 2; /* Asegúrate de que el contenido del div quede por encima del icono */
}

.service-item:hover {
  margin-top: -10px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.service-item .boton .btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  background: var(--gray);
  border-radius: 40px;
  white-space: nowrap;
  overflow: hidden;
  transition: 0.5s;
}

.service-item:hover .boton .btn {
  width: 200px;
}

/*** Feature ***/
@media (min-width: 992px) {
  .container.feature {
    max-width: 100% !important;
  }

  .feature-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .feature-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .feature-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Team ***/
.team-item img {
  position: relative;
  top: 0;
  transition: 0.5s;
}

.team-item:hover img {
  top: -30px;
}

.team-item .team-text {
  position: relative;
  height: 120px;
  transition: 0.5s;
}

.team-item:hover .team-text {
  margin-top: -30px;
  height: 140px;
}

.team-item .team-text .team-social {
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-text .team-social {
  opacity: 1;
}

.team-item .team-social .btn {
  display: inline-flex;
  color: var(--primary);
  background: #ffffff;
  border-radius: 40px;
}

.team-item .team-social .btn:hover {
  color: #ffffff;
  background: var(--primary);
}

/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

/*** Testimonial ***/
/* .testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
} */

/* .testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
} */

.testimonial-carousel .owl-item .testimonial-text {
  background: var(--light);
  transform: scale(0.8);
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary);
  transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 100%;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
  width: 90%;
  opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  color: var(--primary);
  font-size: 45px;
  transition: 0.5s;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary) !important;
  background: rgb(242 242 242 / 50%) !important;
  border: 1px solid var(--primary) !important;
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--green1) !important;
  border-color: var(--light);
  color: var(--light);
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}
.testimonial-carousel .owl-dots {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: var(--green1) !important;
  border-radius: 15px !important;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: var(--primary) !important;
}

.showall-featured .display-files {
  /* height: 326px;*/
}
.showall-featured .display-files img {
  width: 100%;
  height: auto;
  aspect-ratio: auto !important;
  border-radius: 0;
  object-position: center center;
  object-fit: contain;
  transition: 0.5s;
}
/*** Footer ***/
.bg-dark {
  background-color: var(--dark) !important;
}
.bg-light {
  background-color: var(--green1) !important;
}
.bg-gray {
  background-color: var(--gray) !important;
}
.bg-success {
  background-color: rgba(var(--green2), var(--bs-bg-opacity)) !important;
}
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  /* text-transform: capitalize; */
  /* transition: 0.3s; */
  text-decoration: none;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--green1);
  /* letter-spacing: 1px; */
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .copyright a:hover {
  color: var(--primary);
}
iframe {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
}
/* .modal-dialog {
  max-width: 80%;
  max-height: 80%;
}

.modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modal-body {
  overflow-y: auto;
  flex: 1;
} */
/* Personalizar el backdrop de una modal con staticBackdrop */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.8); /* Ajusta el color y transparencia */
  transition: opacity 0.3s ease; /* Suaviza la aparición del backdrop */
}

.modal-backdrop.show {
  opacity: 1; /* Asegura que el fondo se vea cuando esté activo */
}

/* Personalizar la modal en staticBackdrop */
.modal-static .modal-dialog {
  transition: transform 0.3s ease-out; /* Animación para entrada/salida de la modal */
  transform: translateY(0); /* Sin efecto de desplazamiento */
}

.modal-static .modal-content {
  border-radius: 10px; /* Ajusta el borde de la modal */
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4); /* Sombra suave */
}

iframe.pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.pro-features .text.single .bodycopy a {
  display: block;
  background: var(--light);
  color: var(--text-dark);
  text-decoration: none;
  text-align: center;
  padding: 7px;
  border-radius: 12px;
  line-height: 20px;
  font-weight: 600;
}
.pro-features .text.single .bodycopy a:hover {
  background: var(--green1);
}
.text.single .bodycopy a {
  display: block;
  background: var(--red);
  color: var(--light);
  text-decoration: none;
  text-align: center;
  padding: 7px;
  border-radius: 12px;
  line-height: 20px;
}
.text.single .bodycopy a:hover {
  background: var(--dark);
}
.accordion {
  --bs-accordion-border-color: var(--light);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem
    rgba(var(--green2), var(--bs-bg-opacity));
}
.accordion-button:not(.collapsed) {
  color: var(--light);
  background-color: var(--red);
}
.accordion-button {
  color: var(--light);
  background-color: var(--primary);
  font-size: 1.2rem;
}
.text-primary {
  color: var(--dark) !important;
}
#secciones {
  background-color: var(--color-secondary);
}

#secciones a {
  text-decoration: none;
}

#secciones .item {
  transition: all 0.3s ease 0s;
}

#secciones .item:hover {
  transform: scale(0.95);
}
/*Cards Home*/
.news .card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: all 0.25s ease;
  backface-visibility: hidden;
  box-shadow: 2px 2px 5px 1px rgb(0 0 0 / 15%);
  border: 2px solid #fff;
}

#cardshome .card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backface-visibility: hidden;
  box-shadow: 2px 2px 5px 1px rgb(0 0 0 / 15%);
  border: 2px solid #fff;
  /* border: none; */
}

#cardshome .card:hover {
  /* transform: scale(0.9); */
}

#cardshome .card:hover:after {
  height: 250px;
}

#cardshome .card h4 {
  /* font-weight: 700; */
  /* text-shadow: 1px 1px 2px rgb(10 10 10 / 75%); */
  /* color: #fff; */
}

#cardshome .card:hover h4 {
  /* color: #fff; */
  /* text-shadow: 2px 2px 2px rgb(16 8 6); */
  /* font-weight: 600; */
}

#cardshome .card:hover .con-text .p p {
  margin: 0;
  font-size: 0.9rem;
  /* text-shadow: 2px 2px 2px rgb(16 8 6 / 75%); */
}

#cardshome .card:hover .con-text .p {
  margin-bottom: 0px;
  opacity: 1;
}

#cardshome .card:hover img {
  /* transform: scale(1.25); */
}

#cardshome .card:hover .ul {
  transform: translate(0);
  opacity: 1;
}

#cardshome .card:after {
  width: 100%;
  content: "";
  left: 0px;
  bottom: 0px;
  height: 90px;
  position: absolute;
  /* background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(51 51 51 / 55%) 50%
  ); */
  /* z-index: 20; */
  transition: all 0.25s ease;
}

#cardshome .card:hover:after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    var(--color-textdark) 180%
  );
  z-index: 20;
  transition: all 0.25s ease;
}

#cardshome .card img {
  /* transition: all 0.25s ease; */
  /* width: 80px; */
  /* filter: contrast(1.3); */
  /* -webkit-filter: contrast(1.3); */
  padding: 30px 0 50px 0;
}

#cardshome .card .con-text {
  z-index: 25;
  position: absolute;
  bottom: 0px;
  /* color: #fff; */
  padding: 20px;
  padding-bottom: 40px;
  text-align: center;
  transition: all 0.25s ease;
}

#cardshome .card:hover .con-text {
  padding-bottom: 20px;
  /* background: #ccc; */
  /* width: 100%; */
  /* height: 100%; */
  background: var(--green1);
}

#cardshome .card .con-text .p {
  font-size: 0.8rem;
  opacity: 0;
  margin-bottom: -170px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
}

#cardshome .card .con-text .p a {
  padding: 7px 25px;
  border-radius: 15px;
  background: transparent;
  border: 2px solid var(--light);
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  display: block;
  margin: 7px auto;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
}

#cardshome .card .con-text .p a:hover {
}

/* End Cards Home*/
/*news*/
.news.showall .display-files img {
  border-radius: 0;
  object-position: center center;
  object-fit: cover;
  transition: 0.5s;
  aspect-ratio: 1;
}
.news.showall .display-files img:hover {
  transform: scale(1.1);
}
.date,
.attribution,
.tags {
  color: var(--text-default);
  font-size: 16px;
  font-style: normal;
}
/*downoads*/
.filedownload.showall-accordion ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.showall-accordion .piece {
  overflow: hidden;
  margin-left: 0px;
}
.showall-tabbed .card {
  display: flex;
  flex-direction: column;
  height: 100%; /* Asegúrate de que la tarjeta ocupe el 100% de su contenedor */
}

.showall-tabbed .card-body {
  flex-grow: 1; /* Permite que el contenido ocupe el espacio disponible */
}

.showall-tabbed .card-body .btn {
  margin-top: auto; /* Esto empuja el botón al final */
}
@media (max-width: 991.98px) {
  #secciones .owl-carousel .owl-stage-outer {
    overflow: hidden;
  }
}
.item.tool {
  position: relative; /* Necesario para que el bodycopy se posicione en relación a este */
}

.bodycopy.onhover {
  display: none; /* Oculto por defecto */
  position: absolute; /* Posicionamiento absoluto */
  z-index: 9999; /* Asegura que se muestre encima de otros elementos */
  background-color: white; /* Fondo blanco */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Sombra */
  width: auto; /* Ancho completo del item */
  padding: 10px; /* Espaciado interno */
  box-sizing: border-box; /* Incluye el padding en el ancho */
  top: 60px;
}
/*tabs*/
.nav-tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--light);
  background-color: var(--primary);
}
.nav-tabs .nav-link {
  color: var(--text-dark);
  background: var(--green1);
}
.display-files img,
.bodycopy img {
  border-radius: 6px;
  margin: 0px !important;
}
.tumb {
  /* border: 3px solid #a60d1a; */
  /* border-radius: 6px; */
  /* box-sizing: border-box; */
}
.tumb img {
  object-fit: cover;
  transition: 0.5s;
  aspect-ratio: 1;
}
.image-wrapper img:hover {
  transform: scale(1.1);
}
.image-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.pagination-links {
  padding: 3px 0;
  margin: 30px 0;
  border: none;
  border-width: 1px 0;
  background: var(--light);
}
.page-link {
  background: var(--green1);
  color: var(--text-dark);
}
.page-link {
  background: var(--green1);
  color: var(--text-dark);
  border: solid 1px var(--light);
}
.page-item.active .page-link {
  background: var(--dark);
  color: var(--light);
}
figure.image {
  display: inline-block;
  border: none;
  margin: 0 2px 0 1px;
  background: var(--gray);
}
.show blockquote {
  text-align: center !important;
  margin: 25px 0;
  padding: 6px 0;
  position: relative;
  width: 100%;
}

/* @media only screen and (min-width: 768px) {
  .show blockquote {
    margin: 55px 60px;
  }
}

@media only screen and (min-width: 1080px) {
  .show blockquote {
    margin: 40px 100px;
  }
} */

.show blockquote:after,
.show blockquote:before {
  content: " ";
  display: block;
  border: 2px solid var(--red);
  width: 50px;
  left: calc(50% - 25px);
  margin: 0 0;
  position: absolute;
}

.show blockquote p {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 10px;
  padding: 20px 0;
  text-align: center;
}
.gob_links {
  margin-top: 40px;
  background: #fff;
}

.gob_links img {
  padding: 20px;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  opacity: 0.8;
  z-index: 0;
}

.gob_links img:hover {
  filter: none;
  -webkit-filter: none;
  opacity: 1;
}
.card.single-feature {
  box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 15%);
  text-align: center;
  transition: all 0.3s ease 0s;
  position: relative;
  overflow: hidden;
  border: none;
}

.card.single-feature:hover {
  -webkit-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  transform: translateY(-10px);
  box-shadow: 0px 20px 40px -20px rgb(0 0 0 / 80%);
  background: var(--green1);
  color: var(--text-dark);
  border: none;
}
.card.single-feature:hover a {
  color: #fff;
}
/*Galery*/
.card-img,
.card-img-top {
  height: 170px;
  object-fit: cover;
}

.display--files .item {
  border: none;
  margin-bottom: 30px;
  border-radius: 4px;
}

.display--files .item a {
  /* display: block; */
  /* position: relative; */
}

.display--files .item a img {
  position: relative;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  /* border-radius: 8px; */
  overflow: hidden;
}

.display--files .item .item-wrap {
  display: block;
  position: relative;
  overflow: hidden;
}

.display--files .item .item-wrap:after {
  z-index: 2;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  height: 200px;
}

.display--files .item .item-wrap > span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  -webkit-transform: translate(-50%, -50%) scale(0);
  -ms-transform: translate(-50%, -50%) scale(0);
  transform: translate(-50%, -50%) scale(0);
  color: var(--light);
  font-size: 2.7rem;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.display--files .item .item-wrap:hover:after {
  opacity: 1;
  visibility: visible;
}

.display--files .item .item-wrap:hover span {
  margin-top: 0px;
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate(-50%, -50%) scale(1);
  -ms-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}

.display--files .item:hover a img {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
/*eventos*/
#eventos .eventos .evento .calendario {
  float: left;
  margin-right: 15px;
}

#eventos .eventos .evento .contenido-evento {
  display: table;
  /* background: #ccc; */
}

#eventos .eventos .evento .btn {
  background-color: var(--red);
  right: 0;
  bottom: 0;
  border-radius: 15px 0 15px 0;
  font-size: 1.2rem;
  color: var(--light);
}

.events.show .sede,
.events.show .sede span.tag a {
  font-size: 2rem !important;
  /* color: #fff !important; */
  background: var(--calltoaction);
  margin-top: 15px;
}

.sede .label.tags {
  display: none;
}

.sede span.value span {
  margin: 0;
}

.sede .tag a {
  pointer-events: none;
  background-color: transparent !important;
  color: #333 !important;
  padding: 0 !important;
  font-size: 1rem !important;
  text-transform: capitalize;
  font-weight: 500;
}

.sede .tag a::before {
  width: 0px !important;
  height: 0px !important;
  background-color: transparent !important;
}

.sede .tag a::after {
  width: 0 !important;
  height: 0 !important;
  background-color: transparent !important;
}

.meta span i {
  color: var(--color-green);
}

.tab-content {
  /* background: var(--gray); */
  /* padding: 25px; */
}

.eventos h3 {
  color: inherit;
  background: transparent;
  margin: auto;
}

.calendario .sup {
  width: 100%;
  background-color: var(--gray);
  padding: 17px 0 8px;
  border-radius: 5px 5px 0 0;
  position: relative;
}

.calendario {
  width: 92px;
  height: 99px;
}

.calendario .sup .puntos .punto.der {
  right: 15%;
}

.calendario .sup .puntos .punto.izq {
  left: 15%;
}

.calendario .sup .puntos .punto {
  width: 7px;
  height: 7px;
  background-color: var(--red);
  opacity: 0.2;
  border-radius: 50%;
  position: absolute;
  top: 8px;
}

.calendario .sup .dia {
  color: var(--text-default);
  font-size: 45px;
  font-weight: 700;
  text-align: center;
  margin: 0;
  line-height: 1;
}

.calendario .inf {
  width: 100%;
  background-color: var(--primary);
  padding: 6px 0;
  border-radius: 0 0 5px 5px;
}

.calendario .inf .mes {
  color: var(--gray);
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.eventos.scroll {
  margin: 2rem auto;
  border: 1px solid #e2e2e5;
  height: 450px;
  width: 100%;
  /* max-width: 400px; */
  background: #fff;
  overflow: auto;
  box-sizing: border-box;
  padding: 0 1rem;
}

.eventos.scroll::-webkit-scrollbar {
  -webkit-appearance: none;
}

.eventos.scroll::-webkit-scrollbar:vertical {
  width: 10px;
}

.eventos.scroll::-webkit-scrollbar-button:increment,
.eventos.scroll::-webkit-scrollbar-button {
  display: none;
}

.eventos.scroll::-webkit-scrollbar:horizontal {
  height: 10px;
}

.eventos.scroll::-webkit-scrollbar-thumb {
  background-color: #797979;
  border-radius: 20px;
  border: 2px solid #f1f2f3;
}

.eventos.scroll::-webkit-scrollbar-track {
  border-radius: 10px;
}

#eventos .eventos .evento .desc:link,
#eventos .eventos .evento .desc:visited,
.summary {
  color: var(--dark);
  font-size: 20px;
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

a.ver-mas {
  color: var(--green1);
}

.evento {
  border-radius: 15px;
  display: flex;
  overflow: hidden;
  border-top-width: 6px;
  padding-top: 20px !important;
  padding-right: 20px !important;
  padding-bottom: 20px !important;
  padding-left: 20px !important;
  box-shadow: 0px 12px 18px -6px rgba(34, 56, 101, 0.12);
  flex-direction: row;
  align-items: center;
  position: relative;
  background: var(--light);
  margin-bottom: 15px;
}
.showall-accordion .tag div.location {
  display: none !important;
}
.tag.finalizada::before {
  content: "Convocatoria Finalizada";
  background: #cbcbcb;
  padding: 7px;
  border-radius: 6px;
  display: block;
  line-height: 16px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--bs-border-radius-pill) !important;
}
.tag.abierta::before {
  content: "Convocatoria Abierta";
  background: var(--green1);
  padding: 7px;
  border-radius: 6px;
  display: block;
  line-height: 16px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--bs-border-radius-pill) !important;
}
.tag.adjudicada::before {
  content: "Convocatoria Adjudicada";
  background: rgb(162 40 45 / 40%);
  padding: 7px;
  display: block;
  line-height: 16px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--bs-border-radius-pill) !important;
}
.tag.desierta::before {
  content: "Convocatoria Desierta";
  background: #ccc;
  padding: 7px;
  border-radius: 6px;
  display: block;
  line-height: 16px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--bs-border-radius-pill) !important;
}

.bootstrap-tagsinput .tag {
  margin-right: 2px;
  color: var(--text-default);
}
span.value span {
  display: inline-block;
  margin: 0 0 0 7px;
  /* padding: 0 10px; */
  background: var(--gray);
  color: var(--dark);
  text-transform: capitalize;
}
/* Estilos generales para el contenedor del audio */
.custom-audio {
  width: 100%;
  background-color: var(--gray);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.custom-audio audio {
  width: 100%;
  outline: none;
}

/* Estilos para los controles del audio */
.custom-audio audio::-webkit-media-controls-panel {
  background-color: var(--light);
  border-radius: 10px;
}

/* Barra de progreso estilizada */
.custom-audio audio::-webkit-media-controls-timeline {
  background-color: var(--gray);
  height: 8px;
  border-radius: 5px;
}

/* Cambiar el color de la barra de progreso cuando se reproduce */
.custom-audio audio::-webkit-media-controls-timeline-container {
  background-color: var(--red);
}

.custom-audio audio::-webkit-media-controls-current-time-display,
.custom-audio audio::-webkit-media-controls-time-remaining-display {
  color: var(--text-default);
}

/* Personalización de los botones de reproducción */
.custom-audio audio::-webkit-media-controls-play-button,
.custom-audio audio::-webkit-media-controls-pause-button {
  background-color: var(--redprimary); /* Rojo */
  border-radius: 50%;
  width: 35px;
  height: 35px;
  color: var(--light);
}

.custom-audio audio::-webkit-media-controls-play-button:hover,
.custom-audio audio::-webkit-media-controls-pause-button:hover {
  background-color: var(--red); /* Rojo oscuro */
}

/* Personalización del volumen */
.custom-audio audio::-webkit-media-controls-mute-button,
.custom-audio audio::-webkit-media-controls-unmute-button {
  color: #333;
}

.custom-audio audio::-webkit-media-controls-volume-slider-container {
  background-color: var(--gray);
  border-radius: 10px;
}

/* Personalización del rango de volumen */
.custom-audio audio::-webkit-media-controls-volume-slider {
  background-color: var(--primary); /* Azul */
}

.custom-audio audio::-webkit-media-controls-volume-slider-thumb {
  background-color: var(--primary); /* Azul claro */
  border-radius: 50%;
}
.pro-features {
  position: fixed;
  right: -600px;
  width: 600px;
  height: auto;
  line-height: 46px;
  background: var(--primary);
  text-align: left;
  top: 50%;
  transform: translateY(-50%);

  color: var(--white);
  z-index: 9999;
  padding: 15px 30px 30px 30px;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
  border-radius: 0 0 0 30px;
}
@media (max-width: 991.98px) {
  .pro-features {
    position: fixed;
    right: -320px;
    width: 320px;
    padding: 15px;
  }
}
.pro-features.active {
  right: 0;
}
.pro-features li.big-title {
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}
.pro-features li.title {
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}
.pro-features .button .btn {
  width: 100%;
  text-align: center;
  margin-top: 8px;
  display: inline-block;

  /* font-size: 13px; */
  width: 100%;
  text-transform: capitalize;
}
.pro-features li {
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 22px;
  margin-bottom: 10px;
}
.get-pro {
  position: absolute;
  left: -60px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 2rem;
  border-radius: 10px 0 0 10px;
  background: var(--primary);
  text-align: center;
  top: 100px;
  cursor: pointer;
  box-shadow: -4px 0px 5px #00000036;
  color: var(--light);
}
.get-pro i {
  color: var(--light);
}
@media (min-width: 991.98px) {
  .make-me-sticky {
    position: fixed;
    top: 180px; /* Valor por defecto */
    padding: 0 15px;
  }

  #sticky {
    transition: all 0.5s;
    /* max-width: 320px; */
    padding: 0;
  }

  #sticky.sidebar-scrolled {
    top: 105px;
  }

  /* Ajuste cuando el aside se acerca al footer */
  #sticky.near-footer {
    position: absolute;
    top: auto; /* Se coloca al final del contenedor antes del footer */
    bottom: 0; /* Pegado al fondo del contenedor */
  }
}

/* Evitar que el sticky funcione en pantallas pequeñas */
@media (max-width: 991.98px) {
  .make-me-sticky {
    position: relative;
    top: auto;
    padding: 0 15px;
  }
}
.expanding-hierarchy-children-only ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul {
  border-top: solid 1px var(--primary);
}
.main-nav li {
  border-bottom: solid 1px var(--primary);
}
.main-nav a {
  padding: 1.1em 0;
  text-align: center;
}
.main-nav a:hover {
  color: #fff;
}

.list-hover-slide li {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
}
.list-hover-slide a {
  display: block;
  position: relative;
  z-index: 1;
  transition: 0.35s ease color;
}
.list-hover-slide a.active {
  background: var(--dark);
  color: var(--light);
}
.list-hover-slide a:before {
  content: "";
  display: block;
  z-index: -1;
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  border-right: solid 5px var(--red);
  background: var(--primary);
  transition: 0.35s ease left;
}
.list-hover-slide a.is-current:before,
.list-hover-slide a:hover:before {
  left: 0;
}
/* @media (max-width: 991px) {
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
} */

table {
  display: block;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

@media (min-width: 992px) {
  #wcx-chat .styles_button_main__2rvIi {
    height: 35px;
    width: 135px;
  }
  .styles_slideIn__1Hvh3 {
    animation: styles_slideIn__1Hvh3 500ms both;
  }
  #wcx-chat .styles_button_main__2rvIi .styles_image_tab__xD5r7 {
    width: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .styles_button_main__2rvIi .styles_image_tab__xD5r7 {
    position: absolute;
    bottom: 100%;
    width: 90%;
    left: 20px;
    max-width: 180px;
    max-height: 180px;
  }
  #wcx-chat .styles_button_main__2rvIi .styles_button_icon__PYERy {
    width: 30px;
    height: 30px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    left: 0;
  }
  .styles_button_main__2rvIi .styles_button_icon__PYERy {
    flex-shrink: 0;
    fill: currentColor;
    display: flex;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    transition: transform ease-in 200ms;
    transform: translateX(-104px);
  }
  #wcx-chat .styles_button_main__2rvIi .styles_button_text__2fM2J {
    font-size: 12px;
    transition: width 0.5s ease;
  }
  .styles_button_main__2rvIi .styles_button_text__2fM2J {
    width: 100px;
    height: 50px;
    font-size: 14px;
    padding: 0 5px;
    position: absolute;
    right: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #wcx-chat .styles_button_main__2rvIi:hover {
    width: 165px;
  }
}
/*cookies*/
.cookie-alert {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #2c3e50;
  color: #ecf0f1;
  text-align: center;
  padding: 15px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.cookie-alert p {
  margin: 0;
  font-size: 14px;
}

.cookie-alert a {
  color: #1abc9c;
  text-decoration: underline;
}

.cookie-alert .btn-accept {
  background-color: #1abc9c;
  border: none;
  color: #fff;
  padding: 10px 20px;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
}

.cookie-alert .btn-accept:hover {
  background-color: #16a085;
}
