/*
  Font family is Nunito Sans. Its fallback is Helvetica
*/
/*
  Font sizes have been converted to rem considering a base size of 16px.
*/
/*
*  Z-Index
*  
*  The z-index CSS property sets the z-order of a positioned element and its descendants or flex items. 
*  Overlapping elements with a larger z-index cover those with a smaller one.
*  
*  REF: https://developer.mozilla.org/en-US/docs/Web/CSS/z-index
*  REF: https://www.smashingmagazine.com/2019/04/z-index-component-based-web-application/  
*/
/**
 * Define media query values
 */
.menuaction {
  position: relative;
}
.menuaction__button {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  background-color: var(--color-surface-1, #F6F6F6);
  border: 0;
  border-radius: 8px;
  padding: 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.menuaction__button__activeicleft {
  grid-template-columns: auto 1fr;
}
.menuaction__button__activeicright {
  grid-template-columns: 1fr auto;
}
.menuaction__button__activeicleftright {
  grid-template-columns: auto 1fr auto;
}
.menuaction__button .icon-item {
  color: var(--color-content-default, #454545);
}
.menuaction__button .content-item {
  width: 100%;
  color: var(--color-content-default, #454545);
  display: flex;
  flex-direction: column;
}
.menuaction__button .arrow {
  color: var(--color-content-default, #454545);
}
.menuaction__button__lipstick .icon-item {
  color: #a01c2c;
}
.menuaction__button__lipstick .content-item {
  color: #a01c2c;
}
.menuaction__button__lipstick .arrow {
  color: #a01c2c;
}
.menuaction__button__disabled {
  opacity: 0.5;
  cursor: no-drop;
}
.menuaction__button:hover {
  background-color: var(--color-surface-2, #E0E0E0);
}
.menuaction__submenu {
  position: absolute;
  pointer-events: none;
  display: block;
  padding: 2px;
  background-color: var(--color-surface-1, #F6F6F6);
  border-radius: 8px;
  box-shadow: 0px 4px 16px rgba(7, 71, 166, 0.12);
  min-width: 196px;
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.menuaction__submenu__open {
  pointer-events: auto;
  opacity: 1;
}
.menuaction.position-right .menuaction__button .icon-item {
  order: 0;
}
.menuaction.position-right .menuaction__button .content-item {
  order: 1;
}
.menuaction.position-right .menuaction__button .arrow {
  order: 2;
}
.menuaction.position-right .menuaction__submenu {
  top: -2px;
  left: 100%;
}
.menuaction.position-left .menuaction__button .icon-item {
  order: 1;
}
.menuaction.position-left .menuaction__button .content-item {
  order: 2;
}
.menuaction.position-left .menuaction__button .arrow {
  order: 0;
}
.menuaction.position-left .menuaction__submenu {
  top: -2px;
  right: 100%;
}