/* CSS Document */

@charset "utf-8";

body {
	font-size: 1.1em;
}
h4 {
	display: block;
	margin: .5em 0;
}
p {
	margin: 0 1em .85em;
	font-size: .85em;
}
.application-form {
	line-height: 1.2;
}
.form-group {
	background:rgba(34,34,34,0.4);
	margin-bottom: 1em;
	padding: 4px 10px;
	border: rgba(153,153,153,0.4) solid 2px;
}
.form-group ul {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}
.notes li {
	list-style: circle;
/*	font-size: 1em;*/
	margin: 0 20px;
}
.form-group li {
  margin-bottom: 0.5em;
}
.form-group h3 {
		margin-bottom: 1em;
}
.form-fields input[type="text"],
.form-affil  input[type="text"],
.form-fields input[type="tel"],
.form-fields input[type="date"],
.form-fields input[type="url"],
.form-fields input[type="email"],
.form-fields input[type="number"],
.form-fields textarea,
.form-fields select {
  box-sizing: border-box;
  padding: 0.3em 0.8em;
  color: #000;
  background: #FFF;
  border: 1px solid #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9em;
  text-decoration: none;
  line-height: normal;
  max-height: 2em;
}
  .form-fields input[type="text"]:focus,
  .form-affil input[type="text"]:focus,
  .form-fields input[type="tel"]:focus,
  .form-fields input[type="date"]:focus,
  .form-fields input[type="url"]:focus,
  .form-fields input[type="email"]:focus,
  .form-fields input[type="number"]:focus,
  .form-fields textarea:focus,
  .form-fields select:focus {
    border: 1px solid #C00;
    outline: none;
    background: #FFB;
  }
  .text-area {
    width: auto;
  }

/*flex it*/
.application-form {
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -2em;
	max-width: 100%;
}
.form-group {
	flex: 1 0 400px;
	flex-wrap: wrap;
	margin-right: 2em;
}
.form-submit {
	flex: 1 0 100%;
}
.form-fields li {
  display: flex;
  flex-wrap: wrap;
}
.form-fields input[type="text"],
.form-affil  input[type="text"],
.form-fields input[type="tel"],
.form-fields input[type="date"],
.form-fields input[type="url"],
.form-fields input[type="email"],
.form-fields input[type="number"],
.form-fields textarea,
.form-fields select {
	flex: 1 0 350px;
}
.form-fields label {
/*  width: 300px;*/
	flex: 1 0 180px;
	max-width: 200px;
}

@media (max-width: 300px) {
body {
  width: 100%;
  margin: 0;
  padding: 0 0 2em;
}
header, .form-submit {
  padding: 2% 5%;
}