/* stylelint-disable scss/operator-no-unspaced */
/* stylelint-enable scss/operator-no-unspaced */
/**
* Link component
* @define link
*/
.ecl-link {
  color: #004494;
  margin: 0;
  text-decoration: underline;
}
.ecl-link:hover {
  color: #002f67;
}
.ecl-link:focus-visible {
  border-radius: 0;
  outline: 2px solid #004494;
  outline-offset: 2px;
}
.ecl-link:visited {
  color: #4b0076;
}

.ecl-link--no-visited:visited {
  color: #004494;
}
.ecl-link--no-visited:visited:hover, .ecl-link--no-visited:visited:focus-visible {
  color: #002f67;
}

.ecl-link--icon-before,
.ecl-link--icon-after {
  display: inline;
}

.ecl-link--icon {
  text-decoration: none;
}
.ecl-link--icon .ecl-link__icon {
  fill: currentcolor;
  position: relative;
  top: -1px;
  vertical-align: middle;
}
.ecl-link--icon:not(.ecl-link--standalone) .ecl-link__label {
  text-decoration: underline;
}

.ecl-link--icon-before .ecl-link__icon {
  -webkit-margin-end: 0.5rem;
          margin-inline-end: 0.5rem;
}

.ecl-link--icon-after .ecl-link__icon {
  -webkit-margin-start: 0.5rem;
          margin-inline-start: 0.5rem;
}

/**
* Negative
*/
.ecl-link--negative {
  color: #fff;
  /* stylelint-disable-next-line plugin/selector-bem-pattern */
}
.ecl-link--negative:hover, .ecl-link--negative:focus-visible {
  color: #fff4bb;
  /* stylelint-disable-next-line max-nesting-depth */
}
.ecl-link--negative:hover.ecl-link--standalone, .ecl-link--negative:focus-visible.ecl-link--standalone {
  color: #fff;
}
.ecl-link--negative:focus-visible {
  color: #fff;
  outline-color: #fff;
}
.ecl-link--negative:visited {
  color: #d2bfdd;
}
.ecl-link--negative.ecl-link--no-visited:visited {
  color: #fff;
  /* stylelint-disable-next-line */
}
.ecl-link--negative.ecl-link--no-visited:visited:hover, .ecl-link--negative.ecl-link--no-visited:visited:focus-visible {
  color: #fff4bb;
  /* stylelint-disable-next-line */
}
.ecl-link--negative.ecl-link--no-visited:visited:hover.ecl-link--standalone, .ecl-link--negative.ecl-link--no-visited:visited:focus-visible.ecl-link--standalone {
  color: #fff;
}

/**
* Standalone
*/
.ecl-link--standalone {
  font-family: arial, sans-serif;
  text-decoration: none;
}
.ecl-link--standalone:hover, .ecl-link--standalone:focus-visible {
  text-decoration: underline;
}

/**
* Button link
*/
.ecl-link--cta,
.ecl-link--primary,
.ecl-link--secondary {
  display: inline-block;
}

.ecl-link--secondary, .ecl-link--primary, .ecl-link--cta {
  border-radius: 0;
  box-sizing: border-box;
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-decoration: none;
}
.ecl-link--secondary:hover, .ecl-link--primary:hover, .ecl-link--cta:hover, .ecl-link--secondary:active, .ecl-link--primary:active, .ecl-link--cta:active {
  box-shadow: none;
}
.ecl-link--secondary:focus-visible, .ecl-link--primary:focus-visible, .ecl-link--cta:focus-visible {
  border-radius: 0;
  outline: 2px solid #fff;
  outline-offset: -4px;
  text-decoration: none;
}

/**
* Call to action
*/
.ecl-link--cta {
  background-color: #ffd617;
  color: #000;
}
.ecl-link--cta:hover, .ecl-link--cta:active {
  background-color: #f8ae21;
  color: #000;
}
.ecl-link--cta:focus {
  color: #000;
}
.ecl-link--cta:focus-visible {
  outline-color: #000;
}
.ecl-link--cta:visited {
  color: #4b0076;
}
.ecl-link--cta.ecl-link--no-visited:visited {
  color: #000;
}
.ecl-link--cta.ecl-link--no-visited:visited:hover, .ecl-link--cta.ecl-link--no-visited:visited:active {
  color: #000;
}

/**
* Primary
*/
.ecl-link--primary {
  background-color: #004494;
  color: #fff;
}
.ecl-link--primary:hover, .ecl-link--primary:active {
  background-color: #002f67;
  color: #fff;
}
.ecl-link--primary:focus {
  color: #fff;
}
.ecl-link--primary:visited {
  color: #d2bfdd;
}
.ecl-link--primary.ecl-link--no-visited:visited {
  color: #fff;
}
.ecl-link--primary.ecl-link--no-visited:visited:hover, .ecl-link--primary.ecl-link--no-visited:visited:active {
  color: #fff;
}

/**
* Secondary
*/
.ecl-link--secondary {
  background-color: #fff;
  border: 2px solid #004494;
  color: #004494;
  padding: calc(
      0.75rem - 2px
    ) calc(
      1rem - 2px
    );
}
.ecl-link--secondary:hover, .ecl-link--secondary:active {
  border-color: #002f67;
  color: #004494;
}
.ecl-link--secondary:focus {
  color: #004494;
}
.ecl-link--secondary:focus-visible {
  box-shadow: 0 0 0 4px #004494 inset;
  outline: 2px #fff solid;
}
.ecl-link--secondary:visited {
  color: #4b0076;
}
.ecl-link--secondary.ecl-link--no-visited:visited {
  color: #004494;
}
.ecl-link--secondary.ecl-link--no-visited:visited:hover, .ecl-link--secondary.ecl-link--no-visited:visited:active {
  color: #004494;
}

/**
 * Button component
 * @define button
 */
.ecl-button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border-radius: 0;
  border-width: 0;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  font-weight: 700;
  margin: 0;
  padding: 0.75rem 1rem;
  text-decoration: none;
}
.ecl-button:hover, .ecl-button:active {
  box-shadow: none;
  text-decoration: none;
}
.ecl-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
  text-decoration: none;
}
.ecl-button[disabled], .ecl-button[disabled]:hover {
  cursor: not-allowed;
  text-decoration: none;
}

.ecl-button__container {
  align-items: center;
  display: flex;
}

.ecl-button__icon {
  flex-shrink: 0;
}

.ecl-button__icon--before,
.ecl-button__icon + .ecl-button__label {
  -webkit-margin-end: 0.5rem;
          margin-inline-end: 0.5rem;
}

.ecl-button__icon--after,
.ecl-button__label + .ecl-button__icon {
  -webkit-margin-start: 0.5rem;
          margin-inline-start: 0.5rem;
}

.ecl-button__icon:only-child {
  margin: 0;
}

/**
* Primary
*/
.ecl-button--primary {
  background-color: #004494;
  color: #fff;
}
.ecl-button--primary:hover, .ecl-button--primary:active {
  background-color: #002f67;
}
.ecl-button--primary[disabled] {
  background-color: rgba(0, 68, 148, 0.5);
  color: rgba(255, 255, 255, 0.5);
}
.ecl-button--primary[disabled]:hover {
  background-color: rgba(0, 47, 103, 0.5);
  color: rgba(255, 255, 255, 0.5);
}

/**
* Secondary
*/
.ecl-button--secondary {
  background-color: #fff;
  border: 2px solid #004494;
  color: #004494;
  padding: calc(0.75rem - 2px) calc(1rem - 2px);
}
.ecl-button--secondary:hover, .ecl-button--secondary:active {
  border-color: #002f67;
  color: #002f67;
}
.ecl-button--secondary:focus-visible {
  box-shadow: 0 0 0 4px #004494 inset;
  outline: 2px #fff solid;
}
.ecl-button--secondary[disabled] {
  background-color: rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 68, 148, 0.5);
  color: rgba(0, 68, 148, 0.5);
}
.ecl-button--secondary[disabled]:hover {
  border-color: rgba(0, 47, 103, 0.5);
  color: rgba(0, 47, 103, 0.5);
}

/**
* Ghost
*/
.ecl-button--ghost {
  color: #004494;
}
.ecl-button--ghost:hover, .ecl-button--ghost:active {
  color: #002f67;
}
.ecl-button--ghost:focus-visible {
  outline: 2px solid #004494;
}
.ecl-button--ghost[disabled] {
  color: rgba(0, 68, 148, 0.5);
}
.ecl-button--ghost[disabled]:hover {
  color: rgba(0, 47, 103, 0.5);
}

/**
* Call to action
*/
.ecl-button--call {
  background-color: #ffd617;
  color: #000;
}
.ecl-button--call:hover, .ecl-button--call:active {
  background-color: #f8ae21;
  border-color: #f8ae21;
}
.ecl-button--call:focus-visible {
  outline: 2px solid #000;
}
.ecl-button--call[disabled] {
  background-color: rgba(255, 214, 23, 0.5);
  color: rgba(0, 0, 0, 0.5);
}
.ecl-button--call[disabled]:hover {
  background-color: rgba(248, 174, 33, 0.5);
}

:host {
  display: contents;
}

.ecl-button .ecl-icon {
  vertical-align: text-top;
}

.ecl-button__icon--after,
.ecl-button__icon--after:only-child {
  -webkit-margin-start: 0.5rem !important;
          margin-inline-start: 0.5rem !important;
}

.ecl-button__icon--before,
.ecl-button__icon--before:only-child {
  -webkit-margin-end: 0.5rem !important;
          margin-inline-end: 0.5rem !important;
}