/* === Remove input autofocus webkit === */
*:focus {outline: none;}

/* === Form Typography === */


.form_hint, .required_notification {font-size: 11px;}

/* === List Styles === */
.registr_form ul {
	width:100%;
	list-style-type:none;
	list-style-position:outside;
	margin:0px;
	padding:0px;
}
.registr_form li{
	padding:12px; 
	border-bottom:1px solid #eee;
	position:relative;
} 
.registr_form li:first-child, .registr_form li:last-child {
	border-bottom:1px solid #777;
}

/* === Form Header === */
.registr_form h2 {
	margin:0;
	display: inline;
}
.required_notification {
	color:#d45252; 
	margin:20px 0 0 0; 
	display:inline;
	float:right;
}

/* === Form Elements === */
.requiredCheckboxes {
	max-width: 25px!important;
}
.registr_form label {
	max-width:120px;
	margin-top: 3px;
	display:inline-block;
	float:left;
	padding:3px;
}
.registr_form input {
	height:20px; 
	max-width:220px; 
	padding:5px 8px;
}
.registr_form .checkbox{
	height:auto!important; 
	width:auto!important; 
	padding:none!important;
	margin: 5px;
	margin-right:10px;
}

.inline-field input,
.inline-field label {
  position: relative;
 bottom: 1px;
  vertical-align: middle;
 /* Fixes any weird issues in Firefox and IE */
font-weight:normal
}

.registr_form select {
	height:30px; 
	max-width:260px; 

}
.registr_form textarea {padding:8px; max-width:300px;}
 .registr_form button {margin-left:156px;} 

/* for the proceed to payment button we need to override the 156px above */
#proceed {
     margin-left: auto;
     margin-right: auto;
     text-align: center;
     }

	/* form element visual styles */
	.registr_form input, .registr_form textarea, .registr_form select{ 
		border:1px solid #aaa;
		box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
		border-radius:2px;
		padding-right:30px;
		-moz-transition: padding .25s; 
		-webkit-transition: padding .25s; 
		-o-transition: padding .25s;
		transition: padding .25s;
	}
	.registr_form input:focus, .registr_form textarea:focus, .registr_form select:focus {
		background: #fff; 
		border:1px solid #555; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:70px;
	}


/* === HTML5 validation styles === */	
.registr_form input:required, .registr_form textarea:required {
	background: #fff url(/images/red_asterisk.png) no-repeat 98% center;
}
.registr_form input:required:valid, .registr_form textarea:required:valid {
	background: #fff url(/images/valid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}
.registr_form input:focus:invalid, .registr_form textarea:focus:invalid {
	background: #fff url(/images/invalid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #d45252;
	border-color: #b03535
}
.registr_form select:required, .registr_form textarea:required {
	background: #fff url(/images/red_asterisk.png) no-repeat 85% center;
}
.registr_form select:required:valid, .registr_form textarea:required:valid {
	background: #fff url(/images/valid.png) no-repeat 85% center;
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}
.registr_form select:focus:invalid, .registr_form textarea:focus:invalid {
	background: #fff url(/images/invalid.png) no-repeat 85% center;
	box-shadow: 0 0 5px #d45252;
	border-color: #b03535
}

/* === Form hints === */
.form_hint {
	background: #d45252;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:8px;
	padding: 7px 20px;
	z-index: 999; /* hints stay above all other elements */
	position: absolute; /* allows proper formatting if hint is two lines */
	display: none;
	font-size: 12px;
}
.form_hint::before {
	content: "\25C0";
	color:#d45252;
	position: absolute;
	top:8px;
	left:-6px;
}
.registr_form input:focus + .form_hint {display: inline;}
.registr_form input:required:valid + .form_hint {background: #28921f;}
.registr_form input:required:valid + .form_hint::before {color:#28921f;}

/* === Button Style === */
.submit {
	background-color: #68b12f;
	background: -webkit-gradient(linear, left top, left bottom, from(#68b12f), to(#50911e));
	background: -webkit-linear-gradient(top, #68b12f, #50911e);
	background: -moz-linear-gradient(top, #68b12f, #50911e);
	background: -ms-linear-gradient(top, #68b12f, #50911e);
	background: -o-linear-gradient(top, #68b12f, #50911e);
	background: linear-gradient(top, #68b12f, #50911e);
	border: 1px solid #509111;
	border-bottom: 1px solid #5b992b;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	box-shadow: inset 0 1px 0 0 #9fd574;
	-webkit-box-shadow: 0 1px 0 0 #9fd574 inset ;
	-moz-box-shadow: 0 1px 0 0 #9fd574 inset;
	-ms-box-shadow: 0 1px 0 0 #9fd574 inset;
	-o-box-shadow: 0 1px 0 0 #9fd574 inset;
	color: white;
	font-weight: bold;
	padding: 6px 20px;
	text-align: center;
	text-shadow: 0 -1px 0 #396715;
}
button.submit:hover {
	opacity:.85;
	cursor: pointer; 
}
button.submit:active {
	border: 1px solid #20911e;
	box-shadow: 0 0 10px 5px #356b0b inset; 
	-webkit-box-shadow:0 0 10px 5px #356b0b inset ;
	-moz-box-shadow: 0 0 10px 5px #356b0b inset;
	-ms-box-shadow: 0 0 10px 5px #356b0b inset;
	-o-box-shadow: 0 0 10px 5px #356b0b inset;

}
.formnav ul {
	list-style-type:none;
	list-style-position:outside;
	margin:0;
	margin-top:70px!important;
	padding:0px;
	width:100%;
	text-align:center; 
}
.formnav li {
	position:relative;
	display:inline-block;
	margin-left:5px;
	margin-right:5px;
	margin-bottom:0!important;
}
.formnav .active {
	color:orange;

} 
.formnav .active .number {
	border:1px solid orange!important;
	background: -webkit-linear-gradient(top, white, orange);
}
.formnav .done .number {
	border:1px solid green!important;
	background: -webkit-linear-gradient(top, white, green);
}
.formnav .number {
	color:black;
	width:30px;
	height:30px;	
	border:1px solid black;
	position:absolute;
	top:0;
	margin-top:-40px;
	margin-left:25px;
	border-radius: 30px;


}
.formnav .done {
	color:green;
}
#app {
	border:1px solid black;
}
.intro {
	margin-top:100px!important;
	margin-bottom:50px!important;
}


/* for smaller screens as soon as the application form top numbers start breaking up, then put the numbers and descriptions underneath each other instead of in a line. This is for
the application forms and registration forms (CYIA and Camp) */

@media screen and (max-width:869px) {

.formnav .number {
    margin-top: 0px;
}

#app li {
    float: left;
    width: 96%;
    display: block;
}

}
