/* From a host app */

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  color: var(--primary-text-color);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  background-color: var(--body-background);
}
/* overwrite system-ui font */
input,
select,
textarea,
button {
  font-family: Roboto, sans-serif;
}
h1,
h2,
h3,
h4,
p,
blockquote,
figure,
ol,
ul {
  margin: 0;
  padding: 0;
}
main,
li {
  display: block;
}
h1,
h2,
h3,
h4 {
  font-size: inherit;
}
strong {
  font-weight: bold;
}
a,
button {
  color: inherit;
  transition: 0.3s;
}
a {
  text-decoration: none;
}
button {
  overflow: visible;
  border: 0;
  font: inherit;
  -webkit-font-smoothing: inherit;
  letter-spacing: inherit;
  background: none;
  cursor: pointer;
}
::-moz-focus-inner {
  padding: 0;
  border: 0;
}
:focus {
  outline: 0;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
/* End Of Normalize and Reset Code Snippet */

#root {}

body.ReactModal__Body--open {
  overflow: hidden;
}

/* https://stackoverflow.com/questions/38663578/how-to-hide-autofill-safari-icon-in-input-field */
/* Hide autofill Safari icon in input */
input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: input-placeholder-color;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: input-placeholder-color;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: input-placeholder-color;
}

.TextAsLink {
  color: primary-color;
  cursor: pointer;
}
.TextAsLink:hover {
  text-shadow: 1px 0 0 currentColor;
}

a,
a:link,
a:visited,
a:active,
a:hover {
  text-decoration: none;
}

ul {
  list-style-type: none;
}

/* From a host app */
.Aligner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Aligner-item {
  flex: 1;
}

.Aligner-item--top {
  align-self: flex-start;
}

.Aligner-item--bottom {
  align-self: flex-end;
}

.Aligner-item--fixed {
  flex: none;
  max-width: 50%;
}
