.page_content.rfp_template .pager__item--first,
.page_content.rfp_template .pager__item--last {
  display: none;
}
#views-exposed-form-housing-programs-page-1 select,
#views-exposed-form-housing-programs-page-1 input {
  width: 100%;
}

#block-khc-primary-local-tasks ul {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

div[role="contentinfo"] {
    overflow: auto;
    box-sizing: border-box;
    padding: 10px;
    color: #000;
    background-color: #61bb46;
    top: 0;
    z-index: 999;
    width: 100%;
    text-align: left;
    margin: 0 0 15px;
    left: 0;
}
div[role="contentinfo"] ul{
  margin-bottom: 0;
}
div[aria-labelledby="message-status-title"] .messages__title{
  color:#32cea4;
}
div[aria-label="Status message"] {
    color: #fff;
}
div[aria-label="Status message"] a {
    color: #fff;
    text-decoration: underline;
}
div[aria-label="Error message"] {
    background-color: #BE0404;
    color: #fff;
}
div[aria-labelledby="message-error-title"] {
    background-color: #BE0404;
    color: #fff;
}
div[aria-labelledby="message-error-title"] {
  background-color: #BE0404;
  color: #fff;
}
div[aria-labelledby="message-error-title"] h2{
  color: #fff;
}


div[aria-label="Error message"] a {
    color: #fff;
    text-decoration: underline;
}


/* swipe gallery */
/* Single image carousel */
.wp-block-gallery.swiper {
  width: 100%;
  height: 500px; /* Adjust as needed */
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.wp-block-gallery .swiper-wrapper {
  height: 100%;
}

.wp-block-gallery .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.wp-block-gallery .swiper-slide-active {
  opacity: 1;
}

.wp-block-gallery .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Navigation buttons */
.wp-block-gallery .swiper-button-prev,
.wp-block-gallery .swiper-button-next {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  color: white;
  transition: background 0.3s ease;
}

.wp-block-gallery .swiper-button-prev:hover,
.wp-block-gallery .swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.9);
}

.wp-block-gallery .swiper-button-prev:after,
.wp-block-gallery .swiper-button-next:after {
  font-size: 20px;
  font-weight: bold;
}

/* Pagination dots */
.wp-block-gallery .swiper-pagination {
  bottom: 10px;
}

.wp-block-gallery .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #333;
  opacity: 0.7;
  margin: 0 5px;
}

.wp-block-gallery .swiper-pagination-bullet-active {
  background: #0073ba;
  opacity: 1;
  border-color: #0073ba;
}
/* swipe gallery */

.cost-info {
  margin-bottom: 10px;;
}

.event-calendar-add .addeventatc .addeventatc_icon {
    background-image: url(../img/calendar.svg) !important;
    left: 0px !important;
    display: block;
}
.event-calendar-add .addeventatc {
    background: none;
    box-shadow: none !important;
    border: 0;
    color: #153683 !important;
    font-weight: bold;
    font-size: 16px !important;
    text-decoration: underline !important;
    padding-left: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: none !important;
    z-index: 0 !important;
}
a.btn-copy.social-sharing-buttons-button.share-copy {
    order: 1;
}
a.social-sharing-buttons-button.share-x {
    order: 2;
}
a.social-sharing-buttons-button.share-facebook {
    order: 3;
}
a.social-sharing-buttons-button.share-linkedin {
    order: 4;
}

#views-exposed-form-news-and-publications-page-2 .form-item-sort-by,
#views-exposed-form-search-page-1 .form-item-sort-by,
#views-exposed-form-search-page-1 .js-form-item-sort-order {
    display: none;
}
.filter_inner {
    display: grid;
    grid-template-columns: 250px 250px 200px 200px 1fr;
    align-items: end;
    grid-column-gap: 10px;
} 

.fc-view.fc-dayGrid-view .fc-body .fc-content-skeleton .fc-day-grid-event .fc-content .fc-title {
  cursor: pointer;
}
.form-required::after {
  content: " *";
  color: red;
  font-weight: bold;
}
.js-form-item-sort-by label {
    display: none;
}
.page-node-5 .main_breadcrumb {
    display: none;
}
.paragraph--type--resources a[href$=".pdf"]::before {
  content: "";
  background-image: url(/themes/custom/khc/img/PDF.svg);
  background-repeat: no-repeat;
  width: 15px;
  height: 18px;
  display: inline-block;
  background-size: 15px;
  margin-right: 5px;
  position: relative;
  top: 5px;
}
.paragraph--type--resources a[href$=".doc"]::before {
  content: "";
  background-image: url(/themes/custom/khc/img/Word.svg);
  background-repeat: no-repeat;
  width: 15px;
  height: 18px;
  display: inline-block;
  background-size: 15px;
  margin-right: 5px;
  position: relative;
  top: 5px;
}
.paragraph--type--resources a[href$=".xls"]::before {
  content: "";
  background-image: url(/themes/custom/khc/img/xls.svg);
  background-repeat: no-repeat;
  width: 15px;
  height: 18px;
  display: inline-block;
  background-size: 15px;
  margin-right: 5px;
  position: relative;
  top: 5px;
}
.paragraph--type--resources a[href$=".docx"]::before {
  content: "";
  background-image: url(/themes/custom/khc/img/Word.svg);
  background-repeat: no-repeat;
  width: 15px;
  height: 18px;
  display: inline-block;
  background-size: 15px;
  margin-right: 5px;
  position: relative;
  top: 5px;
}

.paragraph--type--resources a::before {
  content: "";
  background-image: url(/themes/custom/khc/img/Link.svg);
  background-repeat: no-repeat;
  width: 15px;
  height: 18px;
  display: inline-block;
  background-size: 15px;
  margin-right: 5px;
  position: relative;
  top: 5px;
}
.paragraph--type--resources a {
  display: inline-block;
  margin-bottom: 10px;
}
.wp-block-advgb-how-to-list.style-solid ol,
.wp-block-advgb-how-to-list.style-solid ul {
  counter-reset: alpha;
}
.wp-block-advgb-how-to-list.style-solid li {
  counter-increment: alpha;
}
.wp-block-advgb-how-to-list.style-solid ol > li::before,
.wp-block-advgb-how-to-list.style-solid ul > li::before {
  content: counter(alpha, upper-alpha);
  background: #153683;
  border-radius: 100%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-right: 20px;
}
.gtranslate_wrapper {
  display: none;
}
.top_icon {
  position: relative;
}

.gtranslate_wrapper {
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 9999;
  text-align: center;
  background: #61bb46;
}
a.glink img { display: none!important; }
.gtranslate_wrapper a {
    display: inline-block;
}
.gtranslate_wrapper .glink {
  display: block;
  width: 100%;
  padding: 6px 12px;
  box-sizing: border-box;
}
p.news_category a {
  text-decoration: none;
}

.faq-accordion .acc__title {
  color: #153683;
  font-size: 17px !important;
  font-style: normal;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}
.faq-accordion .acc__title:hover {
    background: #153683;
    color: #FFFFFF;
}
.wp-block-advgb-contact .social-icons {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.wp-block-advgb-contact .social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.wp-block-advgb-contact .social-icons a img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(69%) saturate(1080%) hue-rotate(196deg) brightness(90%) contrast(95%);
}

.wp-block-advgb-contact .social-icons a:hover {
  background-color: #61bb46;
}

.wp-block-advgb-contact .social-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(69%) saturate(1080%) hue-rotate(196deg) brightness(90%) contrast(95%);
}
.events-block .fc-view-container,
.events-block .fc-view,
.events-block .fc-scroller,
.events-block .fc-list-table {
  width: 100% !important;
}

.events-block .fc-list-table {
  table-layout: fixed;
}

.events-block .fc-list-item-title {
  width: 100%;
}

.page-node-34.page-node-type-page-builder .page_title.primary,
.page-node-type-events .page_title.primary,
.page-node-type-news .page_title.primary{
    display: none;
}
.page_title.housing_program_title.no_background {
    background: none;
}
.no-found-info {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Search section spacing */
.no-found-info .top_search {
  margin: 30px 0;
}

/* Wrapper */
.no-found-info .searchbar {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

/* Input */
.no-found-info #searchbox {
  width: 100%;
  padding: 15px 50px 15px 20px; /* space for icon */
  border: 2px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
}

/* Search icon button inside input */
.no-found-info .buttonsearch {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  z-index: 5;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* Icon size */
.no-found-info .buttonsearch img {
  width: 20px;
  height: 20px;
  filter: none; /* prevents fading */
  opacity: 1;
}

/* Text spacing */
.no-found-info p {
  margin-bottom: 20px;
}

/* Buttons */
.no-found-info .btn_sm {
  display: inline-block;
  margin: 10px 8px;
  padding: 12px 25px;
}
#block-khc-views-block-faq-featured-results-block-1 {
    display: none;
}
.wp-block-group.resultWraper.grey {
  display: none;
}
input[disabled],
textarea[disabled],
select[disabled] {
  background-color: #f5f5f5;
  color: #777;
  border: 1px solid #ddd;
  cursor: not-allowed;
  opacity: 1;
}

.contact-type-tabs {
  display: flex;
  gap: 10px;
  margin: 10px 0 15px;
}

.contact-type-tabs .tab-item {
  padding: 8px 14px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  border-radius: 4px;
}

.contact-type-tabs .tab-item.active {
  background: #0074bd;
  color: #fff;
  border-color: #0074bd;
}

.mortgage-calculator [id^="edit-actions"],
.affordability-calculator [id^="edit-actions"] {
  display: none;
}

.affordability-calculator {
    width: 100%;
    padding: 40px 0;
}
.page-node-34 .page_title.text-center {
  display: none;
}
.indollar {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='15px' height='20px'><text x='2' y='15' style='font: normal 16px Arial;'>$</text></svg>");
    background-position: 10px center;
    background-repeat: no-repeat;
    padding-left: 25px !important;
}
.inpercent {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='17px' height='20px'><text x='1' y='15' style='font: normal 16px arial;'>%</text></svg>");
    background-position: right 10px center;
    background-repeat: no-repeat;
    padding-right: 28px !important;
}
button.mortgage-reset-btn.reset-defaults {
    margin-top: unset;
}
/* 1. Make the wrapper relative so we can position the icon inside */
#views-exposed-form-lender-directory-page-1 .form-item-combine {
  position: relative;
  display: inline-block;
}

/* 2. Style the input to have right padding so text doesn't overlap the icon */
#views-exposed-form-lender-directory-page-1 #edit-combine {
  padding-right: 40px;  /* make room for the icon */
  padding-left: 12px;
  height: 38px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

/* 3. Position the button (which holds the icon) inside the input */
#views-exposed-form-lender-directory-page-1 #news-search-btn {
  position: absolute;
  right: 4px;
  top: 75%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4. Size the icon image */
#views-exposed-form-lender-directory-page-1 #news-search-btn img {
  width: 18px;
  height: 18px;
  display: block;
}

form#views-exposed-form-lender-directory-page-1 label {
  color: var(--Black, #000);
  font-family: "Nunito Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}
form#views-exposed-form-lender-directory-page-1 #edit-actions {
  display: none;
}

.path-user #block-khc-primary-local-tasks  {
  display: none;
}

.top_icon i.fas.fa-wheelchair{
    font-size: 22px;
    color: #153683;
}

.event-teaser {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.event-teaser h3 {
  margin: 0 0 5px;
}

.event-teaser .event-category {
  margin-top: 5px;
}
.webform-submission-sign-up-for-news-alerts-form .form-item-name ,
.webform-submission-sign-up-for-news-alerts-form .form-item-email,
.webform-submission-sign-up-for-news-alerts-form .form-actions  {
    display: none;
}

.coc-events.meeting-schedule .evtRow {
    gap: 0;
}
.alert-message {
  display: none;
}
#views-exposed-form-faq-list-page-1 select#edit-field-faq-category-target-id,
#views-exposed-form-faq-list-page-1 #edit-combine {
    color: #4C4C4F;
}