div.form
{
    padding:10px;
	margin:10px;
	background: #f2f2f2 url(../images/background_container_sub.png) repeat;
	overflow: auto;
}

button, input[type="button"], input[type="reset"], input[type="submit"]{cursor:pointer;}

/* hide radio buttons */
input[type="radio"] {
    display:none;
}

/*styling form buttons and input */
select, input.upload, input[type="file"],input[type="text"], input[type="password"], input[type="search"], .toggle-title {
	color: #666;
	font-weight: normal;
	padding: 0.38em 1.0em 0.38em 1.0em;
	text-shadow: 0 1px 0 #fff;
	border: solid 1px #ddd;
	text-decoration: none;
	cursor: pointer;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	
	-webkit-transition: 0.1s linear all;
	-moz-transition: 0.1s linear all;
	-ms-transition: 0.1s linear all;
	-o-transition: 0.1s linear all;
	transition: 0.1s linear all; }

/*styling file input properly so it shows full line of text */	
input[type="file"]{
	width: 250px;
}

input.upload:hover, input[type="file"]:hover, .toggle-title:hover , .button:hover, button:hover{
	color: #333;
	text-decoration: none;
	border-color: #BBB;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);}
input.upload:focus, input[type="file"]:focus, input:focus, .toggle-title:focus , .button:focus, button:focus{
	color: #333;
	border-color: #BBB;}
input.upload:active, input[type="file"]:active, input:active, .toggle-title:active ,.button:active,button:active{
	color: #545454;
	background: #F5F5F5;
	border-color: #444;
	position: relative; top:1px;}

input[type="radio"] +label{ margin: 5px; font-size: 1.5em;} 

input[type="radio"]:checked+label{ background-color: #e7e7e7;padding:5px;border: 1px solid; border-color: #999999;} 

input[type="search"]{-webkit-appearance:textfield; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box}
input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
button::-moz-focus-inner, input::-moz-focus-inner{border:0; padding:0}
textarea{overflow:auto; vertical-align:top; resize:vertical}
table{border-collapse:collapse; border-spacing:0}
td{vertical-align:top}
.chromeframe { margin: 1em 0; background: red; color: black; padding: 1em; }



div.form input{
	margin: -2px 5px 0px 0px;
	padding: 7px;
}

div.form input[type="checkbox"]{
	margin: 10px 15px 0px 5px;
}

div.form input[type="submit"]{
}

div.form textarea,
div.form fieldset
{
	margin: 0px 7px 10px 0px;
	padding: 7px;
}

div.form select{
	margin: -2px 5px 0px 0px;
	padding: 7px;
}

div.form label
{
	color: #959595;
	font-weight:bold;
	font-size: 0.8em;
	display: block;
	margin-top: 5px;
}

div.form .hint
{
	font-size: 0.7em;
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
}

div.form span.required
{
	color: red;
}

div.form div.error label,
div.form label.error,
div.form span.error
{
	color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
	background: #FEE;
	border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}

div.form legend {font-size:1.2em; font-weight:600; color: #979797;}

div.form .errorSummary
{
	border: 1px solid #C00;
	background: #FEE;
}

div.form .errorMessage
{
	color: red;
}

div.form .errorSummary p
{
}

div.form .errorSummary ul
{
}
