/* LOGO BIGGER */
.ct-logo .ct-logo__image {
   max-height: 5rem;
}
.main-menu {
    position: sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure it stays on top of other elements */
}


/* HOME HEADER SQUARES*/

#ct-manual-list-192 div.ct-promo-card__subtitle {
   text-align:center;
}

#ct-manual-list-192 div.ct-promo-card__subtitle > span {
    font-size: 1.1rem;
    font-weight: bold;
	color: #1E1E1E;
}

/* HEADER TITLES */
#ct-manual-list-192 h4 {
    color: #2258A9;
    font-size: 1.8rem;
    text-align: center;
}

/* HOME HEADER SQUARES ALIGN CENTER */
#ct-manual-list-192 div.ct-paragraph.ct-theme-light.ct-paragraph--regular.ct-promo-card__summary {
    text-align: center;
}

/* PUBLICATIONS PAGE -> LINKS -> TEXT TO THE RIGHT */
#ct-manual-list-276 .ct-service-card .ct-service-card__links .ct-item-list__item {
    text-align: left;
}


/* FOOTER - REMOVE DOTS IN LIST */
.remove-dots li:before {
    display: none;
}

/* FOOTER - REORGANIZE RIGHT PANEL WITH IMAGE */
.special-class-order {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

/* FOOTER - REMOVE IMAGE LOGO */
#block-civictheme-footer-sitebranding a img.ct-image.ct-theme-dark.ct-logo__image.ct-logo__image--desktop.hide-xxs.show-l {
    display: none !important;
}

/* REMOVE MARGINS IN IMAGE FOOTER */
.special-class-order div img {
    margin: 0;
}

/* MAKE THE CONTENT FOR GRAPHS
.paragraph--view-mode--default {
    max-width: 80% !important;
    margin: 0 auto !important;
}
*/

.paragraph--view-mode--default {
    max-width: 1024px;
    margin: 0 auto;
}

@media (min-width: 368px) {
.paragraph--view-mode--default {
        max-width: 320px !important;
  		margin: 0 auto;
    }
}

@media (min-width: 576px) {
.paragraph--view-mode--default {
        max-width: 528px !important;
  		margin: 0 auto;
    }
}

@media (min-width: 768px) {
.paragraph--view-mode--default {
        max-width: 720px !important;
  		margin: 0 auto;
    }
}

@media (min-width: 992px) {
.paragraph--view-mode--default {
        max-width: 896px !important;
	    margin: 0 auto;
    }
}

@media (min-width: 1280px) {
.paragraph--view-mode--default {
        max-width: 1184px !important;
	    margin: 0 auto;
    }
}

@media (min-width: 1440px) {
.paragraph--view-mode--default {
        max-width: 1248px !important;
        margin: 0 auto;
    }
}


/* TABLE STYLES */
span.highcharts-title,table.chart-data-table caption {
    color: #222!important;
    font-size: 1.2rem!important;
    font-weight: 500!important;
    left: 0!important;
    margin-bottom: 1rem!important;
    margin-top: .75rem!important;
    text-align: left!important;
    top: 0!important;
    width: 100%!important
}

table thead, .table-wrapper>table thead, table.chart-data-table thead {
    background: none;
    border-bottom: 2px solid #444;
    border-top: 1px solid #222;
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
}

tbody > tr.even {
    background-color: #eee !important;
}
tbody > tr.odd {
    background-color: #fff !important;
}

.table-wrapper {
    padding-top: 10px;
}

.indicators caption {
    text-align: left
}

td.indicator {
    width: 33%
}

table.display {
    border: none;
    border-collapse: separate;
    margin: 0 auto;
    padding: 0;
    width: 100%
}

tr.odd {
    background-color: #fff
}

tr.even {
    background-color: #eee
}

td.group {
    background-color: #d1cfd0;
    border-bottom: 2px solid #a19b9e;
    border-top: 2px solid #a19b9e
}

td.details {
    background-color: #fff
}

tr:nth-child(odd) {
    background: #eeeeee;
}

tr:nth-child(even) {
    background: #fcfcfc;
}

/* CENTER TAGS IN THE MIDDLE */
/*div.ct-tag-list > ul {
  align-items:center;
  justify-content:center;
}*/

/* PROMO CARD LINK FULLY CLICKABLE */
.ct-promo-card .ct-promo-card__tags__link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
}

/* FIX TABLE OF CONTENT DUPLICATED CHILDREN */
.ct-table-of-contents__links:has(li:nth-child(2):last-child) li:nth-child(n+2),
.ct-table-of-contents__links:has(li:nth-child(4):last-child) li:nth-child(n+3),
.ct-table-of-contents__links:has(li:nth-child(6):last-child) li:nth-child(n+4),
.ct-table-of-contents__links:has(li:nth-child(8):last-child) li:nth-child(n+5),
.ct-table-of-contents__links:has(li:nth-child(10):last-child) li:nth-child(n+6),
.ct-table-of-contents__links:has(li:nth-child(12):last-child) li:nth-child(n+7),
.ct-table-of-contents__links:has(li:nth-child(14):last-child) li:nth-child(n+8),
.ct-table-of-contents__links:has(li:nth-child(16):last-child) li:nth-child(n+9),
.ct-table-of-contents__links:has(li:nth-child(18):last-child) li:nth-child(n+10),
.ct-table-of-contents__links:has(li:nth-child(20):last-child) li:nth-child(n+11),
.ct-table-of-contents__links:has(li:nth-child(22):last-child) li:nth-child(n+12),
.ct-table-of-contents__links:has(li:nth-child(24):last-child) li:nth-child(n+13),
.ct-table-of-contents__links:has(li:nth-child(26):last-child) li:nth-child(n+14),
.ct-table-of-contents__links:has(li:nth-child(28):last-child) li:nth-child(n+15),
.ct-table-of-contents__links:has(li:nth-child(30):last-child) li:nth-child(n+16),
.ct-table-of-contents__links:has(li:nth-child(32):last-child) li:nth-child(n+17),
.ct-table-of-contents__links:has(li:nth-child(34):last-child) li:nth-child(n+18),
.ct-table-of-contents__links:has(li:nth-child(36):last-child) li:nth-child(n+19),
.ct-table-of-contents__links:has(li:nth-child(38):last-child) li:nth-child(n+20),
.ct-table-of-contents__links:has(li:nth-child(40):last-child) li:nth-child(n+21) {
  /*display: none;*/
}

/* ASK ALLIE AND BACK-TO-TOP BUTTONS */
button-askellie {
  background: var(--ct-color-light-interaction-background) !important;
  font-family: 'Lexend', Arial, sans-serif !important;
  font-weight: 500 !important;
}

.ct-back-to-top {
  right: 50% !important;
  bottom: 1rem !important;
  transform: translateX(-50%) !important;
}

/* TAXONOMY PAGE */
.views-view-responsive-grid.views-view-responsive-grid--horizontal .ct-navigation-card.ct-theme-light {
  box-shadow: none;
}

.views-view-responsive-grid.views-view-responsive-grid--horizontal .ct-navigation-card.ct-theme-light .ct-navigation-card__content {
  padding: 0.5rem 0;
}

.views-view-responsive-grid.views-view-responsive-grid--horizontal .ct-navigation-card.ct-theme-light .ct-navigation-card__content h4 {
  margin: 0;
}

/* BANNER MODIFICATIONS */
.ct-banner .ct-banner__inner {
  padding-bottom: 1.5rem !important;
}

.ct-banner .ct-banner__breadcrumb {
  margin-bottom: 1rem !important;
}

@media (min-width: 768px) {
  .ct-banner .ct-banner__breadcrumb {
    margin-bottom: 1.5rem !important;
  }
}

.ct-banner .ct-banner__title {
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
}


/* FIX WORDS BREAKING IN HEADER */
.ct-menu__item.ct-menu__item--level-0 {
  display: flex;
  align-items: center;
}

.ct-link.ct-theme-light.ct-search__link,
.ct-link.ct-theme-light.ct-menu__item__link {
  word-break: keep-all !important;
}

/* HIDDEN FOOTER LOGO */
a.ct-logo.ct-theme-dark.ct-logo--inline-stacked.ct-footer__logo {
    display: none;
}

/* IMPROVE MENU UI/UX */
.ct-menu.ct-menu--level-0 a.ct-link.ct-theme-light.ct-menu__item__link {
  border: none;
  width: 100%;
}

/* LEFT ALIGN TEXT IN LISTS */
.ct-service-card:has(.ct-service-card__links) .ct-service-card__title,
.ct-service-card:has(.ct-service-card__links) .ct-item-list__item {
  text-align: left;
}