body {
  font-family: 'Blinker', Arial, Helvetica, sans-serif;
  color: var(--color-gray4);
  min-height: 100vh;
  font-size: 100%; /* this sets 1rem = 16px by default, or user-defined value */
}

a, button {
  cursor: pointer;
}

a, a:visited {
  color: var(--color-action);
  text-decoration: none;
}

/* find the parent element of the fly-out and position it relative so that the absolute position of the fly-out can be relative to it */
*:has(.fly-out) { 
  position: relative;
}

.fly-out{
  border-radius: 4px;
  min-width: 14rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-half);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  position: absolute;
  right: 0rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  z-index: 100;
}
.fly-out li {
  width: 100%;
}

.fly-out a, .fly-out a:visited{
  color: var(--color-black);
  padding: 0.25rem 1rem;
  font-size: 1rem;
  box-sizing: border-box;
  margin: initial;
  display: inline-block;
  width: 100%;
}

.fly-out a.color-danger,
.fly-out a.color-danger:visited {
  color: var(--color-danger);
}

textarea,
input[type="color"],
input[type="email"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"], 
input[type="url"],
input[type="week"] {
  background-color: var(--color-gray-half);
  border: none;
  border-radius: 4px;
  padding: .75rem .75rem .625rem .75rem;
}

::placeholder {
  color: var(--color-gray2);
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: var(--color-gray2);
}

select {
  background-color: var(--color-gray-half);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="rgb(116, 143, 168)" height="16" width="16" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>');
  background-repeat: no-repeat;
  background-position-x: calc(100% - .75rem);
  background-position-y: 50%;
  background-size: .8rem;
  border-radius: 4px;
  border: none;
  color: var(--color-black);
  padding: .75rem .75rem .625rem .75rem;
  -moz-appearance: none;
  -webkit-appearance: none;
}

select::-ms-expand { display: none; }
