//
// Pills
//

.nav-lang {
  .img-langflag {
    height: $font-size-base;
    width: auto;
    display: inline-block;
  }
}


.ce-header {
  [data-bs-toggle="collapse"]::before {
    display: inline-block;
  }

  &[aria-expanded="false"] &::before {
    content: '+ '
  }

  &[aria-expanded="true"] &::before {
    content: '- '
  }
}


[data-bs-toggle="collapse"] {

  .ce-header > *::before {
    display: inline-block;
    width: 1em;
  }

  &[aria-expanded="false"] .ce-header > *::before {
    content: '+';
  }

  &[aria-expanded="true"] .ce-header > *::before {
    content: '-';
  }

  & + .collapse {
    margin-bottom: 2rem;
    @include media-breakpoint-up(sm) {
      display: block;
    }
  }
}
