/* @override 
	http://iviewsource.com/exercises/forms_finished/mystyle.css */

form * {
	background: transparent;
}

input[type=text],input[type=password],input[type=submit],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=datetime],textarea,button, select {
	-webkit-appearance: none;
	-moz-appearance: none;
	border: none;
	background: white;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	padding: 5px;
	margin: 0;
	margin-bottom: 10px;
}

.group:before, .group:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.group:after { clear: both; }  
.group { zoom: 1; }  

#form1 {
	font: normal .8em/1em Arial, Helvetica, Geneva, sans-serif;
	width: 80%;
	margin: 0;
	max-width: 650px;

}

#form1 fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

#form1 fieldset:before {
	content:attr(title);
	display: block;
	padding: 0;
	padding: 20px 10px 3px 10px;
	font-weight: bold;
	font-size: 1.25em;
	color: #777;
	margin: 0 auto;
	text-shadow: 1px 1px 1px #FFF;
}
  
#form1 legend {
	display: none;
}


#form1 ol {
	margin: 0px;
	padding: 0px;
}
 
#form1 ol li {
	position: relative;
	list-style: none;
	padding: 8px;
	border-top: 1px solid #8cb7c7;
	border-bottom: 1px solid #888;
}

#form1 ol li:first-child {
	border-top:none;
}

#form1 ol li:last-child {
	border-bottom:none;
}

#form1 ol li ol li {
	padding-bottom: 0;
	display: inline;
	padding: 0px;
	border-top: none;
	border-bottom: none;
}

#form1 ol li ol li label {
	font-weight: normal;
	display: inline;
	cursor: pointer;
	padding-top:10px;
}

#form1 ol li.singleline label {
	font-weight: normal;
	display: inline;
	padding-top:10px;
}

#form1 ol li label, .grouphead {
	font-weight: bold;
	display: block;
	margin-bottom: 5px;
	color: #8cb7c7;
	padding-left: 5px;
}
#form1 textarea {
	display: block;
	width: 96%;
	padding: 5px;
	margin: 0 auto;
	color:#FFFFFF;
	outline: none;
	border: 1px solid #999;
	resize:vertical;
	background: #1b1d1e;
	background: -webkit-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: -moz-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: -o-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: -ms-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: linear-gradient(#1b1d1e,#000000) no-repeat;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1b1d1e', endColorstr='#000000',GradientType=0 );

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#form1 ol li input{
	display: block;
	width: 96%;
	padding: 5px;
	margin: 0 auto;	
	outline: none;
	border: 1px solid #999;
	color:#FFFFFF;
	background: #1b1d1e;
	background: -webkit-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: -moz-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: -o-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: -ms-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: linear-gradient(#1b1d1e,#000000) no-repeat;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1b1d1e', endColorstr='000000',GradientType=0 );

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#form1 ol li ol li input {
	width: auto;
	display: inline;
}
#form1 ol ol ol li  input[type="checkbox"]{
	margin-top:12px;
}

#form1 ol li input[type="checkbox"],#form1 ol li input[type="radio"] {
	width: auto;
	display: inline;
	margin-left: 10px;
}

#form1 textarea {
	height: 75px;
}

#form1 .hint {
	font-weight: normal;
	color: #2076c8;
	margin-left: 10px;
}

#form1 .error {
	font-weight: normal;
	color: #cf1925;
	margin-left: 10px;
}



#form1 ol li select {
	width: 200px;
	width: 50%;
	color: #000;
	font-weight: bold;
	border: 0;
		color:#FFFFFF;
			border: 1px solid #999;
	background: #1b1d1e;
	background: -webkit-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: -moz-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: -o-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: -ms-linear-gradient(#1b1d1e,#000000) no-repeat;
	background: linear-gradient(#1b1d1e,#000000) no-repeat;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1b1d1e', endColorstr='#000000',GradientType=0 );

	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

#form1 button {
	width: 100px;
	width: 20%;
	min-width: 100px;
 	height: 24px;
	float: right;
	padding: 0;
	margin-right: 10px;
	margin-top: 5px;
	border: 0;
	color:#FFF;
	font-weight: bold;
	cursor: pointer;
	
	background: #466E82;
	background: url(arrows.png) no-repeat right top, #466E82;
	background: url(arrows.png) no-repeat right top, -webkit-linear-gradient(#466E82,#2C4552);
	background: url(arrows.png) no-repeat right top, -moz-linear-gradient(#466E82,#2C4552);
	background: url(arrows.png) no-repeat right top, -ms-linear-gradient(#466E82,#2C4552);
	background: url(arrows.png) no-repeat right top, -o-linear-gradient(#466E82,#2C4552);
	background: url(arrows.png) no-repeat right top, linear-gradient(#466E82,#2C4552);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#466E82', endColorstr='#2C4552',GradientType=0 );
	

	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

#form1 button:hover {
	background: #333;
	background: -webkit-linear-gradient(#333,#000);
	background: -moz-linear-gradient(#333,#000);
	background: -ms-linear-gradient(#333,#000);
	background:  -o-linear-gradient(#333,#000);
	background:  linear-gradient(#333,#000);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333', endColorstr='#000',GradientType=0 );
}


#message {

	font: bold 1em/1em Arial, Helvetica, Geneva, sans-serif;
	color: #466E82;
	width: 80%;
	margin-bottom: 20px;
	max-width: 650px;
	background: url(greytexture.jpg) #DDD;

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;


	-webkit-box-shadow: 10px 10px 10px #20242C;
	-moz-box-shadow: 10px 10px 10px #20242C;
	box-shadow: 10px 10px 10px #20242C;	
}

#message p {
	padding: 20px;
}