/* Este arquivo contém ajustes para o MDL */

.mdl-card {
  max-width: 100%;
}

/* make supporting text fill the card */
.mdl-card__supporting-text {
  flex-grow: 1;
}

/* remove the default width:90% */
.mdl-card__supporting-text {
  width: unset;
}

/* make spacers work in card actions */
.mdl-card__actions {
  display: flex;
  box-sizing: border-box;
  align-items: center;
}

.mdl-cell--12-col > .mdl-card {
  width: 100%;
}

.mdl-textfield.valor {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.mdl-textfield.valor .mdl-textfield__input {
  margin-left: 1ex;
}

.mdl-textfield.valor .mdl-textfield__label {
  margin-left: 3.5ex;
}

.mdl-button--file input {
  cursor: pointer;
  height: 100%;
  right: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 300px;
  z-index: 4;
}

.mdl-textfield--file .mdl-textfield__input {
  box-sizing: border-box;
  width: calc(100% - 32px);
}

.mdl-textfield--file .mdl-textfield__input::placeholder {
  color: rgba(0, 0, 0, 0.26);
}

.mdl-textfield--file .mdl-button--file {
  right: 0;
}

.mdl-button + .mdl-button {
  margin-left: 1em;
}

.mdl-mini-footer {
  padding: 0 16px;
}

/* remove some padding in smaller screens */
@media only screen and (max-width: 1280px) {
  .mdl-data-table td {
    padding: 2px 8px;
  }
  .mdl-data-table td:first-of-type,
  .mdl-data-table th:first-of-type {
    padding-left: 0;
  }
  .mdl-cell.mdl-cell--3-col .mdl-card {
    width: 100%;
  }
}
