fieldset {
	border: 1px solid #eaeaea;
	background-color: #fff;
	padding: 5px 10px 5px;
	margin: 0 0 1.45em;
	overflow: hidden;
}
legend {
	background: #d11836 url(images/form_button_hover_bg.gif) left top repeat-x;
	background: -webkit-gradient(linear, left top, left 25, from(#d11836), color-stop(12%, #98001d), to(#d11836));
	background: -moz-linear-gradient(top, #d11836, #98001d 3px, #d11836 25px);
	line-height: 1.8em;
	padding: 0px 7px;
	border: 1px solid #98001d;
	color:#fff;
	font-size: 1em;
}
form {
	padding:0;
	margin:0 0 1.8em;
}
label {
	display:block;
	clear:both;
}
label em {
	font-style:normal;
	color:#C00;
}
form p {
	margin-bottom:5px;
}

select {
	outline:none;
}

input, textarea, a.button, input.error {
	width: 260px;
	color:#666;
	padding: 9px;
	margin:0px;
	border: solid 1px #E5E5E5;
	outline: 0;
	/*font: normal 13px/100% Verdana, Tahoma, sans-serif;*/
	background: #fff url(images/form_input_bg.gif) left top repeat-x;
	background: -webkit-gradient(linear, left top, left 25, from(#fff), color-stop(4%, #eee), to(#fff));
	background: -moz-linear-gradient(top, #fff, #eee 1px, #fff 25px);
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 6px;
	-moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 6px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 6px;
}
fieldset, legend, a.button, input, textarea, .pagecontrols {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
/*a.button, .pagecontrols {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}*/

input.error, input.error:hover {
	border-color:#900;
}

input.medium {
	width:150px;
}
input.longer {
	width:380px;
}
input.short {
	width:80px;
}
textarea {
	height: 78px;
}
textarea.big {
	width:380px;
	height: 150px;
}

textarea.tinymce, textarea.tinymcenewsletter {
	height: 430px;
	width: 380px;
}
input:hover, textarea:hover, input.hover, textarea.hover, input:focus, textarea:focus, input.focus, textarea.focus {
	border-color:#C9C9C9;
	background-color:#fff;
	color: #111;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px;
}
input:focus, textarea:focus, input.focus, textarea.focus, a.button:active {
	border-color:#F30;
}
ul.gallerythumbnails label {
	clear:none;
}
input.checkbox {
	width: auto;
	padding:0px;
	margin:0px;
	background:none;
	border:none;
}
.pagecontrols {
	overflow: auto;
	padding: 5px;
	border: 1px solid #eee;
	margin: 0 0 1.4em;
}
.formbuttons {
	overflow: hidden;
	margin-bottom: 1.45em;
	clear:both;
}

.buttongroup {
	overflow: hidden;
	margin: 0 0 20px;
	border:1px solid #ccc;
	padding: 3px 3px;
	background-color: #f5f5f5;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

a.button, input.button {
	display: block;
	padding: 0px 15px;
	text-decoration: none;
	line-height: 2.2em;
	float: left;
	border: 1px solid #dadada;
	color: #666;
	width:auto;
	margin:6px;
}

a.button:hover,  input.button:hover,  input.button.hover {
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 8px;
	background: #d11836 url(images/form_button_hover_bg.gif) left top repeat-x;
	background: -webkit-gradient(linear, left top, left 25, from(#d11836), color-stop(12%, #98001d), to(#d11836));
	background: -moz-linear-gradient(top, #d11836, #98001d 3px, #d11836 25px);
	color:#fff;
	border-color: #7B0011;
}

a.button:active {
	position:relative;
	top: 1px;
}


/* styles for firefox */

@-moz-document url-prefix() {
    input.button {
			padding: 5px 15px;
			line-height: 1em;
    }
}