/* Mismas medidas que el cupón de /graduado-eso-distancia (html a 12px: 6rem = 72px). */
.form {
	background: #fff5c7;
	border: 1px solid #ffe57f;
	padding: 20px;
	border-radius: 5px;
	float: left;
	width: 100%;
	margin: 0 0 10px;
	color: #555;
	position: relative;
}
.form .form-group {
	margin-bottom: 15px;
}
.form label {
	display: inline-block;
	margin-bottom: 5px;
	font-weight: 700;
	color: #555;
}
.form h4 {
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	line-height: 1.5em;
	color: #555;
	margin: 10px 0;
}
.form .has-float-label {
	display: block;
	position: relative;
}
.form .has-float-label label {
	position: absolute;
	cursor: text;
	font-size: 95%;
	opacity: 1;
	-webkit-transition: all .2s;
	transition: all .2s;
	top: 1em;
	left: 1rem;
	z-index: 3;
	line-height: 1;
	padding: 0 1px;
	font-weight: 400;
}
.form .has-float-label label::after {
	content: " ";
	display: block;
	position: absolute;
	background: #fff;
	height: 2px;
	top: 75%;
	left: -.2em;
	right: -.2em;
	z-index: -1;
}
.form .has-float-label .form-control::-webkit-input-placeholder,
.form .has-float-label .form-control::placeholder {
	color: #999;
	opacity: 1;
	-webkit-transition: all .2s;
	transition: all .2s;
}
/* Campo vacío: solo la etiqueta. El placeholder se esconde, como en /graduado-eso-distancia. */
.form .has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder,
.form .has-float-label .form-control:placeholder-shown:not(:focus)::placeholder {
	opacity: 0;
}
.form .has-float-label .form-control:placeholder-shown:not(:focus) + * {
	font-size: 120%;
	opacity: .5;
	top: 1.5em;
}
/* En el curso, col-md gana a col-xs en cualquier ancho: teléfono a 12, CP a 8, edad a 4. */
.form .col-md-12 { float: left; width: 100%; }
.form .col-md-8 { float: left; width: 66.66666667%; }
.form .col-md-4 { float: left; width: 33.33333333%; }
.form .form-control,
.form input[type=text] {
	display: block;
	width: 100%;
	height: 72px;
	margin-bottom: 15px;
	padding: 40px 18px 20px;
	font-size: 16px;
	line-height: 1.42857143;
	font-family: inherit;
	color: #555;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
.form .form-control:focus {
	border-color: #66afe9;
	outline: 0;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
.form input[type=submit],
.form .btn-success {
	-webkit-appearance: button;
	width: 100%;
	height: 72px;
	margin-top: 15px;
	font-size: 30px;
	color: #fff;
	background-color: #2ecc71 !important;
	border: 0;
	border-bottom: 3px solid rgba(0,0,0,.2);
	border-radius: 5px;
	cursor: pointer;
}
.form input[type=checkbox] {
	width: 20px;
	height: 23px;
	clear: none;
	float: left;
	border: 0;
	box-shadow: none;
	margin-top: 10px;
}
.form input[type=checkbox] + label {
	font-size: 14px;
	padding-left: 1rem;
	margin-top: 5px;
	float: left !important;
	font-weight: 400;
}
.mt3 { margin-top: 1rem !important; }
.pb5 { padding-bottom: 3rem !important; }
@media (max-width: 768px) {
	.form input[type=submit],
	.form .btn-success { font-size: 21px; }
}
@media (max-width: 767px) {
	.form input[type=checkbox] + label {
		font-size: 12px;
		margin-top: 10px;
		padding-left: 1.5rem;
		margin-bottom: 30px;
	}
}
