/*!
 * Start Bootstrap - Small Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

html {
    overflow-y:scroll;
}
body {
    padding-top: 70px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */
	text-decoration:none;
}
.navbar-fixed-top .nav {
    padding: 15px 0;
}

.navbar-fixed-top .navbar-brand {
    padding: 0 15px;
}

footer {
    padding: 30px 0;
}

@media(min-width:768px) {
    body {
        padding-top: 100px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */
    }

    .navbar-fixed-top .navbar-brand {
        padding: 15px 0;
    }
}
#form_wrap	{
	width:560px;
	clear:right;
	float:left;
	margin:0 auto;
}
#form	{
	clear:both;
	float:none;
	margin:0 auto;
}
/* === List Styles === */
#form ul {
    width:570px;
    list-style-type:none;
	list-style-position:outside;
	margin:0px;
	padding:0px;
}
#form li{
	padding:12px; 
	border-bottom:1px solid #eee;
	position:relative;
} 
#form li:last-child {
	border-bottom:none;
}

#form label {
	width:150px;
	margin-top: 7px;
	display:inline-block;
	float:left;
	padding:3px;
	padding-right:10px;
	clear:none;
	text-align:right;
}
#form input {
	height:20px; 
	width:300px; 
	padding:5px 8px;
}
#form textarea {padding:8px; width:300px;}
#form button {margin-left:162px;}

	/* form element visual styles */
	#form input, #form textarea { 
		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;
	}
	#form input:focus, #form textarea:focus {
		background: #fff; 
		border:1px solid #555; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:70px;
	}

/* === HTML5 validation styles === */	
#form input:required, #form textarea:required {
	background: #fff url(http://www.mirellavirgili.com/images/form/red_asterisk.png) no-repeat 98% center;
}
#form input:required:valid, #form textarea:required:valid {
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}
#form input:focus:invalid, #form textarea:focus:invalid {
	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: 1px 6px;
	z-index: 999; /* hints stay above all other elements */
	position: absolute; /* allows proper formatting if hint is two lines */
	display: none;
}
.form_hint::before {
	content: "\25C0";
	color:#d45252;
	position: absolute;
	top:1px;
	left:-6px;
}
#form input:focus + .form_hint {display: inline;}
#form input:required:valid + .form_hint {background: #28921f;}
#form input:required:valid + .form_hint::before {color:#28921f;}
	
/* === Button Style === */
button.submit {
	background-color: #999;
	background: -webkit-gradient(linear, left top, left bottom, from(#999), to(#777));
	background: -webkit-linear-gradient(top, #999, #777);
	background: -moz-linear-gradient(top, #999, #777);
	background: -ms-linear-gradient(top, #999, #777);
	background: -o-linear-gradient(top, #999, #777);
	background: linear-gradient(top, #999, #777);
	border: 1px solid #666;
	border-bottom: 1px solid #555;
	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 #AAA;
	-webkit-box-shadow: 0 1px 0 0 #AAA inset ;
	-moz-box-shadow: 0 1px 0 0 #AAA inset;
	-ms-box-shadow: 0 1px 0 0 #AAA inset;
	-o-box-shadow: 0 1px 0 0 #AAA inset;
	color: white;
	font-weight: bold;
	padding: 6px 20px;
	text-align: center;
	text-shadow: 0 -1px 0 #333;
}
button.submit:hover {
	opacity:.85;
	cursor: pointer; 
}
button.submit:active {
	border: 1px solid #222;
	box-shadow: 0 0 10px 5px #333 inset; 
	-webkit-box-shadow:0 0 10px 5px #333 inset ;
	-moz-box-shadow: 0 0 10px 5px #333 inset;
	-ms-box-shadow: 0 0 10px 5px #333 inset;
	-o-box-shadow: 0 0 10px 5px #333 inset;
}