[data-toggle="collapse"]:not(.navbar-toggler):not(.et-collapse) {
  @extend .dropdown-toggle;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;

  &.no-caret {
    display: block;
  }

  &.no-caret::after {
    display: none;
  }
}

.btn[data-toggle="collapse"][aria-expanded=true] {
  i.fa-chevron-down {
    transform: none;
  }
}

/** Duplicated class names to override FA Pro default styles */
.et-collapse-open.et-collapse-open,
.et-collapse-closed.et-collapse-closed {
  padding-left: 5px;
  float: right;
  display: none;
  &.et-collapse-inline {
    float: none;
  }
}

[aria-expanded="true"] {
  .et-collapse-open.et-collapse-open {
    display: inline-block;
  }
}
[aria-expanded="false"] {
  .et-collapse-closed.et-collapse-closed {
    display: inline-block;
  }
}