/**********************************
FORMS
**********************************/
:root {
  --mdc-theme-primary: #5a5a5a!important;
  --mdc-theme-secondary: #5a5a5a!important;
  --mdc-theme-error: #E40521!important;
}

.mdc-text-field--focused .mdc-floating-label--float-above,
.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label {
  color: #5a5a5a !important;
}

.mdc-form-field--invalid .mdc-checkbox__background {
  border-color: #E40521 !important;
}

.mdc-form-field--invalid label {
  color: #E40521 !important;
}

.mdc-text-field, .mdc-select {
  background: white !important;
}

.mdc-menu {
	z-index:999999!important;
}

/**********************************
FONTS
**********************************/
.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: "liga";
}



.form-row-new {
  margin: 0 0 0.7em 0;
  display: flex;
}
.form-row-new > * {
  margin-right: 1em;
  flex: 1;
}
.form-row-new > *:last-child {
  margin-right: 0;
}
.form-row-new input, .form-row-new select, .form-row-new textarea, .form-row-new label {
  width: 100%;
}

.form-row-new.flex {
  flex-direction: column;
}
.form-row-new.flex > * {
  margin: 0 0 0.7em 0;
}
.form-row-new.flex > *:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .form-row-new.flex {
    flex-direction: row;
  }
  .form-row-new.flex > * {
    margin: 0 1em 0 0;
  }
  .form-row-new.flex > *:last-child {
    margin-right: 0;
  }
}

.form-row--podminky {
  margin: 2em 0 1em 0;
}

.form-item {
  position: relative;
}

.form-dropdown {
  position: absolute;
  z-index: 1;
  width: 100%;
  background-color: #ffffff;
  box-shadow: rgba(90, 90, 90, 0.1) 0 10px 5px;
  max-height: 30em;
  overflow: auto;
  font-size: 0.9em;
}

.form-dropdown ul li a {
  display: block;
  padding: 0.3em 1em;
  border-bottom: 1px solid rgba(204, 204, 204, 0.5);
  color: #5a5a5a;
  text-decoration: none;
}
.form-dropdown ul li a:hover {
  background-color: rgba(204, 204, 204, 0.1);
}