/* :not(.contextual) button, */
.button, a.button {
  transition: all 0.25s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  margin: 0;
  opacity: 1;
  /* font-weight: normal; */
  text-align: center;
  text-decoration: none;
  /* cursor: pointer; */
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
  /* white-space: pre-wrap; */
  overflow: hidden;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  width: max-content;
  max-height: max-content;
  max-width: 100%;
  transition: all 0.25s ease-in-out;
}
.button.small {
  padding: 0 15px;
  opacity: 1;
  font-size: 13px;
  line-height: 28px;
}
.button.extra-small {
  padding: 0 11px;
  opacity: 1;
  font-size: 13px;
  line-height: 15px;
  min-height: 30px;
}
.button.extra-small.outline {
  padding: 5px 15px;
  opacity: 1;
  font-size: 12px;
  line-height: 15px;
  min-height: 30px;
  border-width: 1px;
  font-weight: 400;
  text-transform: none;
}

/* :not(.contextual) button, */
.button, a.button {
  min-height: 35px;
  line-height: 34px;
  text-transform: uppercase;
  padding: 0 1.3rem;
  font-weight: 700;
  /* letter-spacing: .05rem; */
  font-size: 0.75rem;
  border-radius: 50px;
  border: solid 1px var(--color-black);
  /*box-shadow: none;*/
  color: var(--color-white) !important;
  background-color: var(--color-black);
  background-repeat: no-repeat;
  /* background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23FFFFFF" class="bi bi-arrow-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"/></svg>'); */
  background-size: 20px;
  background-position: left 15px center;
  /* box-shadow: 0px 6px 15px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 6px 15px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 6px 15px 2px rgba(0, 0, 0, 0.1); */
}
.button:hover {
  background-color: transparent !important;
  border-color: var(--color-black) !important;
  color: var(--color-black) !important;
  text-decoration: none!important;
}
.button.active, .button.outline.active {
  background-color: var(--color-black) !important;
  border-color: var(--color-black) !important;
  color: var(--color-white) !important;
  text-decoration: none!important;
}
.button.outline.active:hover {
  background-color: var(--color-red) !important;
  border-color: var(--color-red) !important;
  color: var(--color-white) !important;
  text-decoration: none!important;
}
.button:active,
.button:focus {
  outline: none;
  /*box-shadow: none;*/
  text-decoration: none;
}
.button.outline {
  background-color: transparent !important;
  border-color: var(--color-black) !important;
  color: var(--color-black) !important;
  /* border-width: 4px; */
  /*box-shadow: none;*/
  /* background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23000000" class="bi bi-arrow-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"/></svg>'); */
}
.button.white {
  background-color: var(--color-white) !important;
  border-color: var(--color-black) !important;
  color: var(--color-black) !important;
}
.button.white.outline {
  background-color: transparent !important;
  border-color: var(--color-white) !important;
  color: var(--color-white) !important;
}
.button.gray {
  background-color: var(--color-gray) !important;
  border-color: var(--color-gray) !important;
  color: var(--color-white) !important;
}
.button.gray:hover {
  background-color: var(--color-white) !important;
  border-color: var(--color-black) !important;
  color: var(--color-black) !important;
}
.button.outline.black {
  border-color: var(--color-black) !important;
  color: var(--color-black) !important;
}
/* CUSTOM COLORS */
.button.red {
  background-color: var(--color-red) !important;
  border-color: var(--color-red) !important;
  color: var(--color-white) !important;
}
.button.red.outline {
  background-color: transparent !important;
  border-color: var(--color-red) !important;
  color: var(--color-red) !important;
}
.button.blue {
  background-color: var(--color-blue) !important;
  border-color: var(--color-blue) !important;
  color: var(--color-white) !important;
}
.button.blue.outline {
  background-color: transparent !important;
  border-color: var(--color-blue) !important;
  color: var(--color-blue) !important;
}
.button.purple {
  background-color: var(--color-purple) !important;
  border-color: var(--color-purple) !important;
  color: var(--color-white) !important;
}
.button.purple.outline {
  background-color: transparent !important;
  border-color: var(--color-purple) !important;
  color: var(--color-purple) !important;
}
.button.green {
  background-color: var(--color-green) !important;
  border-color: var(--color-green) !important;
  color: var(--color-green) !important;
}
.button.green.outline {
  background-color: transparent !important;
  border-color: var(--color-green) !important;
  color: var(--color-green) !important;
}
button.arrow-right, .button.arrow-right {
  background-image: var(--arrow-red);
  background-position: right 15px center;
  background-size: 19px;
  padding: 0 40px 0 0;
  background-color: transparent;
  color: var(--color-black) !important;
  border: none;
  font-weight: 400;
}
button.arrow-right:hover, .button.arrow-right:hover {
  padding: 0 0 0 40px;
  background-position: left 15px center;
  background-color: transparent!important;
  color: var(--color-black) !important;
  border: none;
}
button.arrow, .button.arrow {
  background-image: var(--arrow-red);
  background-position: right 15px center;
  background-size: 19px;
  padding: 0 60px 0 1.3rem;
}
button.outline.arrow, .button.outline.arrow {
  background-image: var(--arrow-red);
}
button.red.outline.arrow, .button.outline.arrow {
  background-image: var(--arrow-red);
}
button.outline.arrow, .button.outline.arrow {
  background-image: var(--arrow-red);
}
button.outline.arrow, .button.outline.arrow {
  background-image: var(--arrow-red);
}
button.outline.arrow, .button.outline.arrow {
  background-image: var(--arrow-red);
}
.button.outline.no-icon, .button.outline.no-icon:hover {
  background-image: none;
  padding-right: 20px!important;
}

.button.active:hover {
  color: var(--color-white)!important;
}
/* .button:active, .button:focus {
  color: var(--color-white) !important;
  background-color: var(--color-black);
  border-color: var(--color-black);
  box-shadow: 0px 0px 0px var(--color-black);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23FFFFFF" class="bi bi-arrow-right-circle-fill" viewBox="0 0 16 16"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/></svg>');
} */
.button.white:hover,
.button.red:hover,
.button.purple:hover,
.button.blue:hover,
.button.green:hover,
.button.gray:hover,
.button.outline:hover,
.button.outline:focus,
.button.outline.small:hover,
.button.outline.small:focus {
  background-color: var(--color-black) !important;
  border-color: var(--color-black) !important;
  color: var(--color-white) !important;
  /* background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23FFFFFF" class="bi bi-arrow-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"/></svg>'); */
}
.button.outline.yellow:hover,
.button.outline.yellow:focus {
  background-color: var(--color-yellow) !important;
  border-color: var(--color-yellow) !important;
  color: var(--color-blue) !important;
  background-repeat: no-repeat;
}
.button.arrow:hover,
.button.arrow:focus {
  /* background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23ef4050" class="bi bi-arrow-right-circle-fill" viewBox="0 0 16 16"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/></svg>'); */
  background-repeat: no-repeat;
}
.button.outline.arrow:hover,
.button.outline.arrow:focus {
  /* background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23FFFFFF" class="bi bi-arrow-right-circle-fill" viewBox="0 0 16 16"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/></svg>'); */
}
.button.small, .button[value="Retirer"] {
  border-width: 4px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  /* background-image: none; */
  min-height: 28px;
}
.button.small.arrow {
  padding-left: 10px !important;
  padding-right: 50px !important;
  /* background-image: inherit; */
  background-size: auto 45%;
}
.button.rectangle {
  background-color: var(--color-red);
  color: var(--color-white);
  /*box-shadow: none;*/
  /*-webkit-box-shadow: none;*/
  /*-moz-box-shadow: none;*/
}
.button.rectangle:hover {
  background-color: var(--color-black)!important;
  color: var(--color-white);
  box-shadow: 3px 3px 0px 0px var(--color-black);
  -webkit-box-shadow: 3px 3px 0px 0px var(--color-black);
  -moz-box-shadow: 3px 3px 0px 0px var(--color-black);
}
.button.rectangle:hover i::before {
  transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}

button.button-remove-appearance, a.button.button-remove-appearance {
  background: transparent !important;
  border: none!important;
  padding: 0;
  color: inherit!important;
  text-align: inherit!important;
  line-height: inherit!important;
  min-height: none;
  min-width: none;
  font-weight: inherit!important;
  font-size: inherit!important;
}

.button .throbber { height: 100%; }
.button .spinner-grow { margin-top: 10px; }
.button.small .spinner-grow { margin-top: 0px; }

.contextual button {
  min-height: unset!important;
  max-height: unset!important;
  max-width: unset!important;
}
