/*
  @mixin theme($property, $key, $inlineExtra:null, $postExtra:null)
  Assigns a property a theme value for each defined theme.
Example usage:
    .mySelector {
      padding: 6px;
      @include theme(background-color, backgroundLight);
      @include theme(border, borderDark, 1px solid);
    }
sass generated equivalent:
    .mySelector {
      padding: 6px;
      :global(.light) & {
        border: 1px solid color(woodsmoke);
        border: 1px solid var(--theme-light-borderDark, color(woodsmoke));
      }
      :global(.light) & {
        background-color: color(alabaster);
        background-color: var(--theme-light-backgroundLight, color(alabaster));
      }
      :global(.dark) & {
        border: 1px solid color(alabaster);
        border: 1px solid var(--theme-dark-borderDark, color(alabaster));
      }
      :global(.dark) & {
        background-color: color(woodsmoke);
        background-color: var(--theme-dark-backgroundLight, color(woodsmoke));
      }
    }
browser output:
    .mySelector {
      padding: 6px;
    }
    .light .mySelector {
      border: 1px solid #141519;
      border: 1px solid var(--theme-light-borderDark, #141519);
    }
    .light .mySelector {
      background-color: #FCFCFC;
      background-color: var(--theme-light-backgroundLight, #FCFCFC);
    }
    .dark .mySelector {
      border: 1px solid #FCFCFC;
      border: 1px solid var(--theme-dark-borderDark, #FCFCFC);
    }
    .dark .mySelector {
      background-color: #141519;
      background-color: var(--theme-dark-backgroundLight, #141519);
    }
*/
/*
  @mixin generateThemeMappings(themeName: string, themeMap: map)
  helper function for generating list of theme variables and adding to existing map.
  This will add a new theme to the themes array and the theme color list.
*/
/*
  @mixin generateThemeVariables
  Auto-generates the entire list of theme variables for use in var() statements.
  Really should only be called in the html selector at the app root.
*/
/** this section generates a theme map for each theme **/
/** end theme generation **/
.modal-background {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}
.theme-light .modal-background {
  background-color: var(--theme-theme-light-overlayBackground, rgba(0, 0, 0, 0.5));
}

.theme-dark .modal-background {
  background-color: var(--theme-theme-dark-overlayBackground, rgba(0, 0, 0, 0.5));
}

.modal-background.hidden {
  display: none;
}
.modal-background .modal {
  --width: 340px;
  max-width: 90vw;
  width: var(--width);
  margin: auto;
  margin-top: 20px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}
.theme-light .modal-background .modal {
  background-color: var(--theme-theme-light-backgroundLight, #F9F4F5);
}

.theme-dark .modal-background .modal {
  background-color: var(--theme-theme-dark-backgroundLight, #0d1f2d);
}

.theme-light .modal-background .modal {
  box-shadow: 4px 4px 10px 0px var(--theme-theme-light-shadow, rgba(0, 0, 0, 0.3));
}

.theme-dark .modal-background .modal {
  box-shadow: 4px 4px 10px 0px var(--theme-theme-dark-shadow, rgba(0, 0, 0, 0.3));
}

@media only screen and (min-width: 576px) {
  .modal-background .modal {
    margin-top: 90px;
  }
}
.modal-background .modal .header {
  font-size: 1.5em;
  line-height: 2.3em;
  font-weight: bold;
  display: flex;
  border-radius: 6px 6px 0px 0px;
  flex: 0;
}
.theme-light .modal-background .modal .header {
  background-color: var(--theme-theme-light-primary, #124e78);
}

.theme-dark .modal-background .modal .header {
  background-color: var(--theme-theme-dark-primary, #1985a1);
}

.theme-light .modal-background .modal .header {
  color: var(--theme-theme-light-textLight, #FFFFFF);
}

.theme-dark .modal-background .modal .header {
  color: var(--theme-theme-dark-textLight, #FFFFFF);
}

.modal-background .modal .header .title {
  flex: 1;
  padding-left: 20px;
}
.modal-background .modal .header button {
  flex: 0;
  background: none;
  min-width: 60px;
  cursor: pointer;
  border: none;
}
.theme-light .modal-background .modal .header button {
  color: var(--theme-theme-light-textLight, #FFFFFF);
}

.theme-dark .modal-background .modal .header button {
  color: var(--theme-theme-dark-textLight, #FFFFFF);
}

.modal-background .modal .body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}
.modal-background .modal .body .form-element {
  display: flex;
  line-height: 1.8em;
  justify-content: space-between;
  align-content: space-between;
  align-items: baseline;
  padding: 3px 0px;
}
.modal-background .modal .body .form-element label {
  flex: 1;
  display: inline-block;
  padding-right: 6px;
}
.modal-background .modal .body .form-element input {
  flex: 0;
  max-width: 120px;
}
.modal-background .modal .body .form-element input[type=checkbox] {
  flex: 0;
}
.modal-background .modal .body .form-element input.amount, .modal-background .modal .body .form-element input.count {
  text-align: right;
}
.modal-background .modal .body .form-element input.amount {
  max-width: 60px;
}
.modal-background .modal .body .form-element input.count {
  max-width: 40px;
}
.modal-background .modal .body .form-element .hidden {
  display: none;
}
.theme-light .modal-background .modal #edit-form.submitted input:invalid {
  color: var(--theme-theme-light-fail, #F89BAF);
}

.theme-dark .modal-background .modal #edit-form.submitted input:invalid {
  color: var(--theme-theme-dark-fail, #F89BAF);
}

.theme-light .modal-background .modal #edit-form.submitted input:invalid {
  border: 1px solid var(--theme-theme-light-fail, #F89BAF);
}

.theme-dark .modal-background .modal #edit-form.submitted input:invalid {
  border: 1px solid var(--theme-theme-dark-fail, #F89BAF);
}

.modal-background .modal .action-buttons {
  flex: 0;
  display: flex;
  justify-content: flex-end;
  padding: 0 8px 8px 8px;
}
.modal-background .modal .action-buttons button {
  margin: 8px 10px;
  width: 140px;
}

/*# sourceMappingURL=edit_modal.css.map */
