/* Field */
.field-label {
  vertical-align: top;
}

.form-item {
  margin: 0.8rem 2px;

}

.form-item label {
  font-weight: bolder;
  border: 1px solid var(--wildcat-blue);
  position: relative;
}

.form-item label > div {
  overflow: hidden;
}


.form-item .description {
  font-size: 0.9rem;
}



.form-item input {
  padding: 2px 6px;
  width: 100%;
  height: 2rem;
}

.form-item select {
  background: white;
  padding: 2px 6px;
  width: 100%;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}



/*
.form-actions input[type=submit] {
  background-color: var(--sky);
  padding: 4px;
  margin-bottom: 1rem;
}
*/

a.btn input[type=submit] {
  background-color: inherit;
}


/* Views */
.views-element-container table.cols-3 .views-field-title {
  width: 45%;
}

.views-element-container table.cols-3 .views-field-field-location {
  width: 30%;
}

/* Input labels */
.form-item label {
  display: block;
}
.form-item label span {
  position: absolute;
  z-index: 1;
  cursor: text;
  pointer-events: none;
  color: #999;
  /* Input padding + input border */
  padding: 2px 4px;
  display: flex;
  top: 0;
  bottom: 0;
  margin-left: 4px;
  justify-content: center;
  flex-direction: column;
  /*transition: transform 250ms, background 250ms;*/
  transform-origin: left;
}
.form-item label input,
.form-item label textarea,
.form-item label select {
  z-index: 0;
  margin: 0;
  font: inherit;
}
.form-item label select {
  height: 2rem;
}


.form-item label span {
  transform: scale(0.6) translateY(-100%);
  background: white;
}
.form-item.js-placeholder-label label span {
  transform: unset;
  background: unset;
}

.form-item label input,
.form-item label textarea,
.form-item label select {
  color: unset;
}

.form-item.js-placeholder-label label input,
.form-item.js-placeholder-label label textarea,
.form-item.js-placeholder-label label select {
  color: transparent;
}


.form-item.js-form-type-select label::before {
  content: '\f0dc';
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--wildcat-blue);
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  padding: 2px;
}

