/* general style for the form */

.triaje--form--form {
  width: 100%;
  margin: 0.3em auto 0 auto;
  font-size: 3em;
  line-height: 1.5;
}

.triaje--form--form-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 70px;
  width: 60%;
}

.triaje--form--form ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* normalize the input elements, make them look like everything else */

/* .triaje--form--form input, .triaje--form--form select, .triaje--form--form button {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
  line-height: inherit;
  display: inline-block;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
} */

.triaje--form--form input:focus {
  outline: none;
}

/* custom field (drop-down, text element) styling  */

.triaje--form--field {
  display: inline-block;
  position: relative;
}

.triaje--form--field.triaje--form--field-open {
  z-index: 10000;
}

/* the toggle is the visible part in the form */

/* .triaje--form--field-toggle, .triaje--form--form input, .triaje--form--form select {
  line-height: inherit;
  display: inline-block;
  color: #72933A;
  cursor: pointer;
  border-bottom: 1px dashed #72933A;
} */

/* drop-down list / text element */

.triaje--form--field ul {
  position: absolute;
  visibility: hidden;
  background: #76C3BD;
  left: -0.5em;
  top: 50%;
  font-size: 80%;
  opacity: 0;
  -webkit-transform: translateY(-40%) scale(0.9);
  -moz-transform: translateY(-40%) scale(0.9);
  transform: translateY(-40%) scale(0.9);
  -webkit-transition: visibility 0s 0.3s, opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: visibility 0s 0.3s, opacity 0.3s, -moz-transform 0.3s;
  transition: visibility 0s 0.3s, opacity 0.3s, transform 0.3s;
}

.triaje--form--field.triaje--form--field-open ul {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateY(-50%) scale(1);
  -moz-transform: translateY(-50%) scale(1);
  transform: translateY(-50%) scale(1);
  -webkit-transition: visibility 0s 0s, opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: visibility 0s 0s, opacity 0.3s, -moz-transform 0.3s;
  transition: visibility 0s 0s, opacity 0.3s, transform 0.3s;
}

.triaje--form--field ul li {
  color: #fff;
  position: relative;
}

.triaje--form--dd ul li {
  padding: 0 1.5em 0 0.5em;
  cursor: pointer;
  white-space: nowrap;
}

.triaje--form--dd ul li.triaje--form--dd-checked {
  color: #478982;
}

.no-touch .triaje--form--dd ul li:hover {
  background: rgba(0, 0, 0, 0.05);
}

.no-touch .triaje--form--dd ul li:hover:active {
  color: #478982;
}

/* icons for some elements */

.triaje--form--dd ul li.triaje--form--dd-checked:before, .triaje--form--submit:before, .triaje--form--field-go:before {
  font-family: 'nlicons';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

.triaje--form--dd ul li.triaje--form--dd-checked:before {
  content: "\e000";
  position: absolute;
  right: 1em;
  font-size: 50%;
  line-height: 3;
}

.triaje--form--ti-text ul {
  min-width: 8em;
}

.triaje--form--ti-text ul li.triaje--form--ti-input input {
  width: 100%;
  padding: 0.2em 2em 0.2em 0.5em;
  border-bottom: none;
  color: #fff;
}

.triaje--form--form .triaje--form--field-go {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.1);
  width: 1.8em;
  text-align: center;
  color: transparent;
}

.triaje--form--field-go:before {
  content: "\e001";
  font-size: 75%;
  color: #fff;
  width: 100%;
  line-height: 2.5;
  display: block;
}

/* custom placeholder color */

/* input::-webkit-input-placeholder {
	color: rgba(255,255,255,0.8);
}

input:active::-webkit-input-placeholder ,
input:focus::-webkit-input-placeholder {
	color: rgba(255,255,255,0.2);
}

input::-moz-placeholder {
	color: rgba(255,255,255,0.8);
}

input:active::-moz-placeholder,
input:focus::-moz-placeholder {
	color: rgba(255,255,255,0.2);
}

input:-ms-input-placeholder {
	color: rgba(255,255,255,0.8);
}

input:active::-ms-input-placeholder ,
input:focus::-ms-input-placeholder {
	color: rgba(255,255,255,0.2);
} */

/* example field below text input */

.triaje--form--ti-text ul li.triaje--form--ti-example {
  font-size: 40%;
  font-style: italic;
  font-weight: 400;
  padding: 0.4em 1em;
  color: rgba(0, 0, 0, 0.2);
  border-top: 1px dashed rgba(255, 255, 255, 0.7);
}

.triaje--form--ti-text ul li.triaje--form--ti-example em {
  color: #fff
}

/* submit button */

.triaje--form--submit-wrap {
  margin-top: 0.4em;
}

.triaje--form--form .triaje--form--submit {
  line-height: 3;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  background: #72933A;
  color: #fff;
  padding: 0 1em;
  font-size: 40%;
  font-weight: bold;
  letter-spacing: 3px;
}

.no-touch .triaje--form--form .triaje--form--submit:hover, .no-touch .triaje--form--form .triaje--form--submit:active {
  background: #69B1A9;
}

.no-touch .triaje--form--form .triaje--form--submit:hover:before {
  background: #58a199;
}

/* overlay becomes visible when a field is opened */

.triaje--form--overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  z-index: 9999;
  visibility: hidden;
  -webkit-transition: visibility 0s 0.3s, opacity 0.3s;
  -moz-transition: visibility 0s 0.3s, opacity 0.3s;
  transition: visibility 0s 0.3s, opacity 0.3s;
}

.triaje--form--field.triaje--form--field-open~.triaje--form--overlay {
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
}

@media screen and (max-width: 45em) {
  .triaje--form--form {
    font-size: 3em;
  }
}

@media screen and (max-width: 25em) {
  .triaje--form--form {
    font-size: 2em;
  }
}