/**
* Style shim that enables us to transition from semantic-ui to Narmi Design System.
* This file serves to resolve any styling conflicts between semantic-ui and NDS.
*
* Once `banking` no longer relies on semantic-ui, this file can be removed.
*/

/*
* anchors in .ui context should use semantic-ui default link color
*/
.ui a,
.ui a:hover {
    color: rgba(var(--theme-rgb-primary));

    /* color: #2185d0; */
}

/*
* prevent the catchall style above from affecting NDS buttons
* as anchor elements inside of a `.ui` context
*/
.ui .nds-button--primary,
.ui .nds-button--primary:hover {
    color: var(--color-white);
}

.ui .nds-button--plain,
.ui .nds-button--plain:hover {
  color: rgba(var(--theme-rgb-secondary));

}

.nds-dropdownTrigger-label {
  font-size: var(--font-size-default);
  font-family: var(--font-family-default);
  font-weight: var(--font-weight-default);
}

.nds-checkbox p {
  margin-block-end: 2px !important;
}

/**
* prevent semnatic-ui from overriding the NDS input/textarea placeholder color
*/
::placeholder {
  color: var(--color-mediumGrey) !important;
}
