#scrollUp {
	left:40px !important;
	bottom:15px !important;
	border-radius:50px !important;
    height: 50px;
    width: 50px;
}
#scrollUp i {
	margin-top: 1px;
  	font-size: 32px;
}
#scrollUp:hover { background-color: #f7cc7b; }
#scrollUp:hover i{ color:#FFCB6B; font-size: 33px;}

.visually-hidden {
  position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important;
  overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important;
}

iframe#chatwoot_live_chat_widget {
  position: relative;
}

iframe#chatwoot_live_chat_widget::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #ffffff;
  z-index: 9999;
  pointer-events: none;
}


/* reglas css para las imagenes de las paginas de servicios */
.img-custom {
  border-radius: 15px !important;
  width: 100%; 
  max-width: 100%; 
  height: auto;
  border-radius: 15px; 
  overflow: hidden; 
}

/* reglas css para las imagenes de las paginas de servicios para pantallas pequeñas */
@media (max-width: 768px) { 
  .img-custom {
    width: 90%; 
    margin: 0 auto; 
  }
}

/* reglas css para footer */
.footer-1 img {
  width: 120px !important;
}

.footer .footer-1 .row {
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 10px; 
}


.footer .footer-1 .h5 {
  min-height: 50px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin-bottom: 15px; 
  font-size: 1.2rem; 
}

.footer .footer-1 .col-lg-3,
.footer .footer-1 .col-md-12 {
  flex: 1 1 200px; 
  text-align: center; 
}


.footer .footer-1 ul {
  padding: 0; 
  margin: 0; 
  list-style: none; 
}

/* ajustes footer en pantallas pequeñas */
@media (max-width: 768px) {
  .footer .footer-1 .row {
    flex-direction: column; 
    align-items: center; 
  }
  .footer .footer-1 .h5 {
    min-height: auto;
    text-align: center; 
  }
}

@media (max-width: 499px) {
  .address, .hours {
    width:90%; 
  }
}


#biography-text p{
	margin-bottom: 15px;
    font-family: var(--primary-font) !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 24px !important;
    text-align: justify;
    color: #4e6770;
}

#biography-text p i{ font-size:20px;margin-bottom:30px; font-weight: bold;}

#collapseRequirements1 a, #collapseStateregulatedBusinesses3 a { color: hsl(210, 75%, 60%); }

/*Appointments top-menu*/
.top-bar-dropdown {
    float: left;
    position: relative;
    text-align: left;
}
.top-bar-dropdown ul {
    background-color: #fff;
    border: 1px solid #cde2e7;
    border-radius: 8px;
    box-shadow: 0 0 20px 0 rgba(14, 41, 50, .17);
    left: 0;
    min-width: 220px;
    padding: 10px 0 0 0;
    position: absolute;
    top: 100%;
    transition-duration: .2s;
    z-index: 999999;
}

.top-bar-dropdown ul li {
    float: left;
    padding-right: 15px;
    position: relative;
    text-align: left;
    margin-bottom: 15px;
}
.top-bar-dropdown ul li a {
    color: #071920;
    font-size: 14px;
    padding: 6px 22px;
    position: relative;
    transition: .2s;
}
.top-bar-dropdown ul li a:hover {
    padding-left: 25px;
    transition: .2s;
    color: #0d6efd;
}

.ck-content h2 {
  margin-bottom: 15px;
  color:#004c81;
}

ol li span { padding:revert; }



/* reglas css para las imagenes de las paginas de servicios para pantallas pequeñas */
.responsive-iframe {
  width: 100%;
  height: 850px;
  border: none;
}

/* reglas css donacion page */
.new-01-donation-section {
  background-color: white;
  padding: 4rem 1rem;
}

.new-01-container {
  max-width: 64rem;
  margin: 0 auto;
}

.new-01-header {
  text-align: center;
  margin-bottom: 3rem;
}

.new-01-main-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.new-01-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 50rem;
  margin: 0 auto;
  line-height: 1.6;
}

.new-01-donation-card {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 2px solid #004c81;
  margin-bottom: 2rem;
}

.new-01-card-content {
  text-align: center;
}

.new-01-card-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.new-01-card-description {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.new-01-donate-btn {
  background-color: #004c81;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 1rem 3rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: inline-block;
}

.new-01-donate-btn:hover {
  background-color: #003a61;
  transform: scale(1.05);
  text-decoration: none;
}

.new-01-disclaimer {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.new-01-disclaimer-text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  padding: 1rem;
  background-color: #f3f4f6;
  border-radius: 0.5rem;
  border-left: 4px solid #004c81;
}

@media (max-width: 768px) {
  .new-01-main-title {
    font-size: 1.875rem;
  }
  
  .new-01-subtitle {
    font-size: 1.125rem;
  }
  
  .new-01-donation-card {
    padding: 1.5rem;
  }
  
  .new-01-donate-btn {
    font-size: 1.125rem;
    padding: 0.875rem 2rem;
  }
  
  .new-01-disclaimer-text {
    font-size: 0.8rem;
  }
}

/* ===== ADA fixes for CKEditor output ===== */
.content-detail .ck-content {
  color: #0f3554;                /* texto con mejor contraste sobre blanco */
  font-size: 1rem;               /* relativo al usuario */
  line-height: 1.5;              /* unitless */
}

/* 1) Evitar tamaños fijos que llegan inline desde el editor */
.content-detail .ck-content [style*="font-size"] {
  font-size: inherit !important;
  line-height: inherit !important;
}

/* 2) Evitar texto justificado (WCAG 1.4.8) */
.content-detail .ck-content p,
.content-detail .ck-content li {
  text-align: left !important;
}

/* 3) Links con objetivo táctil ≥44px (WCAG 2.5.5) */
.content-detail .ck-content a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 45px;
  padding-block: 8px;            /* suma área clickeable sin romper layout */
  line-height: 1.3;
  color: #004C81;                /* color de marca con buen contraste */
  text-decoration: underline;
}
.content-detail .ck-content a:not(.btn):hover,
.content-detail .ck-content a:not(.btn):focus {
  text-decoration: underline;
}

/* 4) Foco visible en teclado */
.content-detail .ck-content a:focus-visible,
#gallery-next-btn:focus-visible,
#gallery-prev-btn:focus-visible {
  outline: 2px solid #004C81;
  outline-offset: 2px;
  border-radius: .25rem;
}

/* 5) Títulos con line-height unitless y ritmo vertical limpio */
.content-detail .ck-content h1,
.content-detail .ck-content h2,
.content-detail .ck-content h3 { line-height: 1.25; color: #004C81;  }
.content-detail .ck-content h4,
.content-detail .ck-content h5,
.content-detail .ck-content h6 { line-height: 1.3; color: #004C81;  }
.content-detail .ck-content h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 .625rem;
}

.content-detail .ck-content h2 { line-height: 1.4; color: #004C81; font-size: 1.25rem; }
.content-detail .ck-content h3 { line-height: 1.4; color: #004C81; font-size: 1.125rem; }

/* 6) Imágenes responsivas + alt ya existe en tu HTML */


/* 7) Botones de la galería: asegurar área mínima y contraste */
#gallery-next-btn, #gallery-prev-btn {
  min-width: 45px;
  min-height: 45px;
  line-height: 45px;             /* centra el símbolo */
  text-align: center;
}

/* (Opcional) Muchos spans “page_speed_*”: heredar estilos limpitos */
.content-detail .ck-content span[class^="page_speed_"] {
  color: inherit;
  font: inherit;
}

/* Ajuste accesible para párrafos */
.content-detail p {
  font-size: 1rem;      /* relativo al tamaño base del navegador (≈16px por defecto) */
  line-height: 1.5;
}

/* Applies to: the content inside .accordion-collapse (your HTML block) */
.accordion-collapse a {
  color: #004C81;                /* institutional dark blue – 8.93:1 on white (AAA) */
  text-decoration: underline;    /* visible affordance */
}

/* Hover/Active: keep high contrast and clear feedback */
.accordion-collapse a:hover,
.accordion-collapse a:active {
  color: #00365D;                /* slightly darker, still AAA on white */
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* Visited: maintain sufficient contrast */
.accordion-collapse a:visited {
  color: #003B6B;                /* AAA on white */
}

/* Keyboard focus: visible outline for accessibility */
.accordion-collapse a:focus-visible {
  outline: 2px dashed currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Optional: ensure paragraph text remains readable and consistent */
.accordion-collapse p,
.accordion-collapse li {
  line-height: 1.5;              /* unitless for better scaling */
  color: #0a0a0a;                /* strong body text color (AAA on white) */
}

/* If you use light backgrounds inside the accordion, enforce link contrast there too */
.accordion-collapse [style*="background:#fff"],
.accordion-collapse [style*="background: #fff"] {
  color: inherit;                 /* avoid inline styles overriding contrast */
}

/* Links de alto contraste dentro del acordeón CKEditor */
.content-term .content-detail .ck-content .accordion-collapse p a:not(.btn),
.content-term .content-detail .ck-content .accordion-collapse li a:not(.btn),
.content-term .content-detail .ck-content .accordion-collapse a:not(.btn) {
  color: #004C81 !important;         /* AAA sobre blanco */
  text-decoration: underline !important;
  line-height: 1.3;                   /* mantiene el alto táctil si agregas padding */
}

/* Hover/active/visited con buen contraste */
.content-term .content-detail .ck-content .accordion-collapse a:not(.btn):hover,
.content-term .content-detail .ck-content .accordion-collapse a:not(.btn):active {
  color: #00365D !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.content-term .content-detail .ck-content .accordion-collapse a:not(.btn):visited {
  color: #003B6B !important;
}

/* Foco visible (por si el theme lo pisa) */
.content-term .content-detail .ck-content .accordion-collapse a:focus-visible {
  outline: 2px dashed currentColor !important;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Por si CKEditor mete spans internos, heredar color/typography */
.content-term .content-detail .ck-content .accordion-collapse a span[class^="page_speed_"] {
  color: inherit !important;
  font: inherit !important;
}