  /***
 * Colors
 ***/
/**
 * Typography
 **/
/*
 * We can use the font weight fot the bold styling example below
 * .test-font { font-family: $font-default; } regular
 * .test-font-bold { font-family: $font-default; font-weight: $font-weight-bold; }
 * @see: _typography.scss
*/
/**
 * Global elements
 **/
/*
 * Sizing/Spacing
 */
/**
 * Forms
 */
/*
 * Bootstrap
 */
/
 * Mappings
 ****/
/*
 * IMPORTANT:
 *   - This file should *only contain* variables not considered UN style guide *
 */
/**
  Help theming for rtl languages.
*/
/* background opacity */
/*
 * This handles indentation for the depth of child levels for accordion
 * TODO: improve this implementation, overly complex due to previous design
 */
/*
 * Reset the button appearance to make it look like regular text.
 *
 * The padding can be optionally passed, as it is usually overriden.
 *
 * @param {Number} $padding - The padding to apply to the button.
 */
.dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown .dropdown-toggle::after {
  display: none;
}

.drop-down-menu {
  position: relative;
  z-index: 150;
  margin-inline-start: auto;
  padding-inline: 1rem;
}

.drop-down-menu .drop-down-menu__toggle {
  display: flex;
  align-items: center;
  background-color: transparent;
  padding: 0;
  color: #404040;
  font-size: 1.5rem;
}

.drop-down-menu .drop-down-menu__toggle .drop-down-menu__toggle-text {
  padding-inline-end: 0.35rem;
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--uw-font-default);
}

.drop-down-menu .drop-down-menu__toggle i {
  transition: 0.5s;
  font-size: 1em;
}

.drop-down-menu .drop-down-menu__toggle:not(.collapsed) i {
  transform: rotate(180deg);
}

.drop-down-menu .drop-down-menu__toggle,
.drop-down-menu .drop-down-menu__toggle:focus,
.drop-down-menu .drop-down-menu__toggle:hover {
  border: 0;
}

.drop-down-menu .drop-down-menu__list {
  position: absolute;
  right: 0;
  flex-direction: column;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  background-color: #fff;
}

[dir=rtl] .drop-down-menu .drop-down-menu__list {
  right: unset;
  left: 0;
}

.drop-down-menu .drop-down-menu__list ul {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 0.75rem;
  padding: 0;
  white-space: nowrap;
}

.drop-down-menu .drop-down-menu__list ul li {
  display: block;
  margin: 0;
  padding-inline: 1rem;
  padding-block: 0.5rem;
}

.drop-down-menu .drop-down-menu__list ul li a {
  padding-inline: 0.75rem;
  padding-block: 0;
  color: #404040;
  text-decoration: none;
}

.drop-down-menu .drop-down-menu__list ul li.is-active a {
  font-weight: bold;
  font-family: var(--uw-font-default);
}

.drop-down-menu.inline-menu {
  display: flex;
  align-items: center;
}

.drop-down-menu.inline-menu .drop-down-menu__toggle {
  display: none;
}

.drop-down-menu.inline-menu .drop-down-menu__list {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
}

.drop-down-menu.inline-menu .drop-down-menu__list.collapse {
  display: block;
}

.drop-down-menu.inline-menu .drop-down-menu__list ul {
  flex-direction: row;
  margin-bottom: 0;
}

.drop-down-menu.inline-menu .drop-down-menu__list ul li {
  padding-inline: 0.25rem;
  padding-block: 0.5rem;
}

.drop-down-menu.inline-menu .drop-down-menu__list ul li:last-child {
  padding-inline-end: 0;
}

.drop-down-menu.inline-menu .drop-down-menu__list ul li:last-child a {
  padding-inline-end: 0;
}
