body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1c1e21;
  font-family: Helvetica Neue, serif;
}

body .navbar-dark {
  --bs-navbar-active-color: #81309d;
}

#main-wrapper {
  background-color: #f9f8f6;
  padding: 40px 20px;
}

.content-top {
  background-color: #f9f8f6;
}

.sidebar .block {
  border: unset;
}

.sidebar h2,
.sidebar .h2 {
  border-bottom: unset;
  font-weight: 700;
  color: #1c1e21;
  font-family: Helvetica Neue, serif;
}

h3 {
  font-family: Helvetica Neue, sans-serif;
  font-weight: 700;
  margin: 0;
}

#header {
  background-color: #c4efec;
  align-items: center;
  display: flex;
  left: 0;
  position: relative;
  right: 0;
  top: 0;
  transition: all .3s ease-in-out;
  width: 100%;
  z-index: 11;
}

.header__container {
  padding: 0 20px;
  max-width: 100%;
  width: 100%;

  @media (min-width: 992px) {
    padding: 0 30px;
  }

}

.bg-primary,
.bg-secondary {
  background-color: unset !important;
}

@media screen and (min-width: 1280px) {
  .header__link {
    padding: 61.5px 0;
  }
}

.card {
  border: unset;
  padding: 20px 20px 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .03);
  text-align: left;
}

@media (min-width: 768px) {
  .card {
    padding: 40px 40px 10px;
  }
}

.card p,
.card a {
  font-family: "Helvetica Neue", serif;
  font-weight: 400;
  color: rgb(98, 97, 96);
  margin-top: 0px !important;
}

.view-self-help .card-body {
  padding-top: unset;
}

.card p,
.card a {
  font-family: "Helvetica Neue", serif;
  font-weight: 400;
  color: #626160;
  margin-top: 15px;
}

.facet-item.checkbox {
  margin-top: 10px;
}

#node-self-help-public-form .form-switch .form-check-input {
  --bs-form-switch-bg: unset;
  width: unset;

  background-image: unset;
  background-position: unset;
  border-radius: unset;
  -webkit-transition: unset;
  -o-transition: unset;
  transition: unset;
}

#node-self-help-public-form .form-check-label {
  padding-top: 6px;
  margin-left: 10px;
}

#node-self-help-public-form .js-form-type-radio {
  margin-bottom: 10px;
}

#node-self-help-public-form .form-radio[type=radio],
#node-self-help-public-form .form-checkbox[type=checkbox],
.form-checkbox[type=checkbox] {
  appearance: none;
  background-color: #fff;
  border: 2px solid #1c1e21;
  border-radius: 8px;
  cursor: pointer;
  height: 30px;
  min-width: 30px;
}

#node-self-help-public-form .form-radio:checked[type=radio],
#node-self-help-public-form .form-checkbox:checked[type=checkbox],
.form-checkbox:checked[type=checkbox] {
  background-color: #0a0a0a;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  background-position-x: 50%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  background-size: contain;
}


#node-self-help-public-form #edit-field-faith-based-value:checked[type=checkbox],
#node-self-help-public-form #edit-field-free-to-access-value:checked[type=checkbox] {
  background-color: #268287;
}

.form-check-input:checked[type=checkbox] {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-checkbox {
  margin-bottom: 10px;
}

.sidebar .block li {
  display: flex;
  flex-direction: column;
  overflow: visible;
  text-align: left;
  justify-content: start;

  li {
    padding-left: 1.5rem;
  }
}

.sidebar .block .form-check-label {
  display: flex;
  font-weight: 400;
  margin-left: 20px;
  min-height: 34px;
  align-items: center;
  max-height: 34px;
}

.form-control {
  border: 2px solid #1c1e21;
  border-radius: 50px;
  box-sizing: border-box;
  height: 53px;
  padding: 10px 30px 12px 20px;
}

#edit-sort-order--9,
#edit-sort-by--9,
#edit-sort-by--3,
#edit-sort-order--3,
#edit-search-api-fulltext--3 {
  border: 2px solid #1c1e21;
  border-radius: 50px;
  box-sizing: border-box;
  height: 53px;
  padding: 10px 30px 12px 20px;
}

.facets-apply-button-wrapper {
  display: none;
}

.block-facet-blocktopic .facets-apply-button-wrapper:last-child {
  display: block;
}

.facets-apply-button {
  min-width: 131px;
  max-width: 302px;
  min-height: 52px;
  border: 2px solid;
  font-size: calc(13.69231px + .25641vw);
  background-color: #268287;
  border-color: #268287;
  transform: scale(1);
  color: #1c1e21;
  padding: 13px 25px 15px;
  border-radius: 50px;
  outline: 0;
  text-align: center;
  text-decoration: none;
  transition: all .3s ease-in-out;
  vertical-align: middle;
  white-space: nowrap;
  width: 100%;
  font-weight: 700
}

.form-checkbox[type=checkbox]:indeterminate {
  background-color: #0a0a0a;
  border-color: #0a0a0a;
}

label[for=edit-sort-by--9],
label[for=edit-sort-order--9],
label[for=edit-sort-by--3],
label[for=edit-sort-order--3] {
  display: none;
}

svg.d-inline-block {
  font-size: 30px;
  width: 30px;
}

.btn {
  min-width: 130px;
  transition: all .3s ease-in-out;
  border-radius: 1000px;
}

.btn-light {
  background-color: #c4efec;
}

.btn.btn-secondary {
  display: inline-flex;
  border: 2px solid #81309D;
  border-radius: 1000px;
  justify-content: center;
  text-align: center;
  background-color: #81309D;
  color: #fff;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  min-width: 130px;
  max-width: 200px;
  transition: all .3s ease-in-out;

  &:hover {
    border-color: #81309D;
    color: #81309D !important;
  }
}

.menu--main li a {
  color: #1c1e21;
  text-decoration: none;
  transition: all .3s;
  vertical-align: middle;
  letter-spacing: calc(.17308px - .01923vw);
  font-family: Helvetica Neue, sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.nav-link:hover,
.nav-link:focus {
  color: #81309d;
}

.nav-link>.dropdown {
  position: absolute;
}

.nav-item>a:after {
  transition: all .3s;
}

.nav-item:hover>a:after {
  transform: rotate(180deg);
}

.dropdown>a {
  display: flex;
  align-items: center;
  column-gap: .75rem;
}

.dropdown>a:after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 700;
  border: 0;
  font-size: 0.9rem;
  margin-left: 0;
  transition: all .3s;
}

.dropdown-menu:not(.dropdown-submenu)>.dropdown>a:after {
  content: "\f054";
}

.dropdown-item:hover>a:after {
  transform: rotate(-180deg);
}

.dropdown-menu {
  padding: 0;
  left: 0;

  @media (min-width: 992px) {
    width: 380px !important;
  }
}

.dropdown-menu:not(.dropdown-submenu):before {
  content: "";
  width: 100%;
  height: 64px;
  top: -64px;
  position: absolute;

}

.dropdown:hover>.dropdown-menu {
  display: block;
  margin-top: 0;
  background-color: unset;
  border: unset;
  width: 100%;
}

.dropdown:hover>.dropdown-menu:not(.dropdown-submenu) {
  top: 140px;
}

.dropdown:first-child:hover>.dropdown-menu:not(.dropdown-submenu) {
  top: 140px;
}

.dropdown-submenu {
  top: 0;
  left: 100%;
}

.dropdown-item {
  background-color: #f9f8f6;
  width: 380px;
  padding: 20px;
}

.dropdown-item>.dropdown-menu {
  display: none;
}

.dropdown-item:hover>.dropdown-menu {
  display: block;
  position: absolute;
  left: 100%;
  top: 0;
}

.dropdown-item:hover>a {
  color: #81309d;
}

.dropdown-menu .dropdown-item>a {
  font-weight: normal;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: wrap;
  line-height: 1.375;
}

.dropdown-item:active {
  background: #f9f8f6;
}

.logo{
  width: 80px;
  height: 80px;
  @media (min-width: 992px) {
    width: 140px;
    height: 140px;
  }
}

#block-csac-selfhelp {
  width: 100%;
  background-color: #c4efec;
  padding-bottom: 70px;
}

.featured-top,
.featured-top__inner,
.region-featured-top {
  margin-right: unset;
  margin-left: unset;
  --bs-gutter-x: unset;
  --bs-gutter-y: unset;
  max-width: 100% !important;
}

.featured-top h2 {
  font-family: Helvetica Neue, serif;
  color: #083446;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  letter-spacing: calc(-.98077px - .05769vw);
  font-size: calc(32.69231px + 1.92308vw);
}

.featured-top h3 {
  font-family: Helvetica Neue, serif;
  text-align: center;
  line-height: 1.3;
  letter-spacing: calc(.50769px - .05641vw);
  font-size: 22px;
  font-weight: 400;
}

.sidebar .block-facets {
  padding: unset;
}

.page-item:last-child .page-link,
.page-item:first-child .page-link,
.page-link {
  align-items: center;
  background-color: transparent;
  border: 2px solid #1c1e21;
  border-radius: 100%;
  display: flex;
  height: 53px;
  justify-content: center;
  text-decoration: none;
  transition: all .3s ease-in-out;
  width: 53px;
  color: #1c1e21;
}

.page-link.next,
.page-link.prev,
.page-link.last,
.page-link.first {
  font-size: 2.5em;
}

.page-link.active,
.active>.page-link {
  background-color: #81309d !important;
  border: 2px solid #81309d !important;
  color: #fff !important;
}

.page-link:hover {
  color: var(--bs-pagination-hover-color);
  background-color: unset;
  border: 2px solid #81309d;
  color: #81309d;
}

.pagination {
  --bs-pagination-color: #268287;
  --bs-pagination-border-width: 0;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn.tax {
  border: 2px solid #c4efec;
  cursor: default;
}

.btn.tax:hover {
  border-width: 2px;
  border-style: solid;
  border-color: rgb(196, 239, 236);
  border-image: initial;
  background-color: rgb(196, 239, 236);
  color: #000 !important;
}

.facet-item--expanded .facet-item {
  margin-left: 20px;
}

.btn-primary,
.btn-dark {
  display: inline-flex;
  border: 2px solid #268287;
  border-radius: 1000px;
  justify-content: center;
  text-align: center;
  background-color: #268287;
  color: #fff;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  min-width: 130px;
  max-width: 200px;
  transition: all .3s ease-in-out;
}

#edit-submit-self-help--9,
#edit-submit-self-help--3 {
  height: 53px;
  padding: 14px 21px 12px 20px;

}

#edit-reset-self-help--9,
#edit-reset-self-help--3 {
  position: absolute;
  left: 268px;
  width: 20px;
  padding: unset;
  border: unset;
  background-color: unset;
  color: #000;
  max-width: 20px;
  min-width: 20px;
  top: 16px;
}

a.btn-dark {
  font-weight: 700;
  color: #fff;
}

.btn:hover,
.btn-dark:hover {
  color: #268287 !important;
  background-color: #fff;
  border-color: #268287;
}

@media (min-width: 992px) {
  .sidebar_first {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 3rem);
    overflow-y: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: #2fa1a7 transparent;
    scroll-behavior: smooth;
  }

  .sidebar_first.stuck {
    overflow-y: scroll !important;
  }
}


#block-csac-filterstitleblock {
  padding: 0;
}


ul.form-checkbox {
  padding-left: 0;
}

.sidebar .block .facet-item--expanded {
  display: flex;
  flex-flow: row wrap;
}

.sidebar .block .facet-item--expanded input {
  flex-basis: 30px;
}

.sidebar .block .facet-item--expanded label {
  flex-basis: calc(100% - 30px);
}

.sidebar .bef-exposed-form legend {
  font-size: 20px;
  font-weight: 700;
}

.fieldgroup {
  width: 100%;

  ul {
    padding-left: 0;
  }
}

.form-switch .form-check-input {
  background-image: unset;
  --bs-form-switch-bg: unset;
}

#block-csac-exposedformself-helphelppage-3 {
  margin: unset;
  padding: unset;
}

#edit-submit-self-help--10,
#edit-submit-self-help--4 {
  display: none;
}

#edit-reset-self-help--10 {
  margin-left: 16px;
}

.node--type-pathway .main-content .layout--twocol-section {
  max-width: 1270px;
  margin: 0 auto;
  display: grid;
  row-gap: 2rem;

  @media (min-width: 992px) {
    grid-template-columns: 2fr 1fr;
    column-gap: 3rem;
  }

  .layout__region--first {
    display: flex;
    flex-flow: column;
    row-gap: 1.5rem;
  }
}

.node--type-pathway h1 {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 4rem;
  font-weight: 700;
  text-align: center;

  span {
    max-width: 875px;
  }
}

body a {
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.main-content {
  a:not(.btn, .page-link) {
    color: var(--color-black);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: var(--csa-purple--bright);
    transition: color .2s ease-in-out;

    &:hover {
      color: var(--csa-purple--bright);
    }
  }
}

.text-formatted {
  *:last-child {
    margin-bottom: 0;
  }
}

a.document-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--csa-purple--pastel);
  padding-left: 5px;
  position: relative;
  z-index: 3;
  border-radius: 5px;
  text-decoration-thickness: 1px !important;
  line-height: 1.1;

  &:after {
    content: "";
    display: inline-block;
    position: relative;
    z-index: 5;
    mask-image: url(../images/icons/download.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 10px 12px;
    width: 20px;
    height: 26px;
    background-color: var(--color-white);
  }

  &:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 26px;
    background-color: var(--csa-purple--text);
    border-radius: 0 5px 5px 0;
  }
}

.breakout {
  margin: 0 calc(50% - 50vw);
}

.user-logged-in {
  .breakout {

    @media (min-width: 1024px) {
      margin: 0 calc(50% - 50vw + 44px);
    }
  }
}

#layout-builder {
  .breakout {
    margin: 0 calc(50% - 50vw);

    @media (min-width: 1024px) {
      margin: 0 calc(50% - 50vw + (100px / 2));
    }

    .container {
      padding: 0 3rem;
    }
  }
}

body {
  @media (min-width: 87.5rem) {

    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
      max-width: 1270px;
    }

    .container.featured-top__inner {
      max-width: 100%;
    }

    .featured-top__inner .container {
      max-width: 100%;
    }
  }
}

.submenu__overlay {
  background-color: rgba(28, 30, 33, 0);
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 140px;
  transition: all .1s;
  z-index: -1;
}

.self-help-page {
  .submenu__overlay--active {
    background-color: rgba(28, 30, 33, .2);
    opacity: 1;
    z-index: 3;
  }

  .sidebar .accordion{
    width: 100%;
    margin-bottom: 20px;
  }

  .sidebar .accordion h2{
    padding: unset;
    margin: unset;
    border-bottom: unset;
    font-weight: 700;

  }

  .accordion-button:not(.collapsed){
    color: #1c1e21;
    background-color: #fff;
  }

  .accordion-button{
    font-size: 20px;
    font-weight: 700;
    color: #1c1e21;
    font-family: Helvetica Neue, serif;
  }

  .sidebar .block {
    padding: 1rem 0rem;
  }

  .description.text-muted{
    display: none;
  }
}

