.field [data-validate-for] {
  font-size: .8rem;
  color: red;
  text-align: right;
}

.formyaml-date-range > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.formyaml-date-range > div input:first-child {
  margin-right: .5rem;
}

.formyaml-date-range > div input:last-child {
  margin-left: .5rem;
}

.formyaml-file label {
  position: relative;
  display: block;
  color: #05adff;
  text-decoration: underline;
  cursor: pointer;
  background: url(../img/upload.svg);
  background-size: 27px;
  background-repeat: no-repeat;
  height: 27px;
  padding-left: 32px;
}

.formyaml-file label > span {
  font-size: .9rem;
}

.formyaml-file label input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}

.formyaml-file.mode-image label {
  background: url(../img/photo-upload.svg);
  background-size: 27px;
  background-repeat: no-repeat;
  height: 27px;
  padding-left: 32px;
}

.formyaml-upload-container.mode-image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.formyaml-upload-container.mode-image > div {
  width: 100px;
  height: 100px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: .5rem .5rem 0 0;
  position: relative;
}

.formyaml-upload-container.mode-image > div span {
  display: none;
}

.formyaml-upload-container.mode-image > div a {
  position: absolute;
  right: 5px;
  top: 2px;
  color: red;
}

.formyaml-upload-container.mode-file > div {
  display: inline-block;
  margin: 0 .5rem .5rem 0;
  background: #eee !important;
  padding: 0 .5rem;
  border-radius: 4px;
}

.formyaml-upload-container.mode-file > div span {
  font-size: .9rem;
  color: #05adff;
}

.formyaml-upload-container.mode-file > div a {
  margin-left: 5px;
  color: red;
}
